help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: difficulty entering balance mode (SOLVED)


From: Haines Brown
Subject: Re: difficulty entering balance mode (SOLVED)
Date: Wed, 29 Jul 2015 11:44:46 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Tue, Jul 28, 2015 at 02:46:13PM -0700, Ian Zimmerman wrote:
> On 2015-07-28 23:28 +0200, Emanuel Berg wrote:
> 
> > In the context of this discussion so far, no, the file should open
> > fine either way (regardless of content) and the only thing that would
> > affect what mode Emacs is to put it in is the extension (and, the
> > Elisp that tells Emacs what to do with files of such extentions).
> > 
> > However, there are a couple of special cases that I know of.
> 
> Also, the OP has not shown us _all_ of his auto-mode-alist additions.
> It is conceivable that an earlier entry might match, for example because
> of missing end-of-string anchor.

Sorry, I thought I had made clear that the entire test configuration
file consisted of just these line:

  (autoload 'balance-mode "balance")
    (setq auto-mode-alist
      (append '(("\\.bal\\'" . balance-mode)) auto-mode-alist))

This configuration file is ~/.emacs-test. The balance mode configuration
file is ~/.emacs.d/elisp/balance.el. The database file is ~/.balance.bal.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]