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

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

Re: difficulty entering balance mode


From: Emanuel Berg
Subject: Re: difficulty entering balance mode
Date: Sat, 25 Jul 2015 03:31:08 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Haines Brown <haines@engels.histomat.net> writes:

> I don't know that I changed any emacs configuration,
> but it now has problems entering balance mode.
>
> Of do C-f to find ~/.balance.bal, nothing happens.
> If I do it a second time, emacs enters the balance
> mode properly.
>
> In .emacs I have:
>
>   (autoload 'balance-mode "balance")
>    (setq auto-mode-alist
>      (append '(("\\.bal$" . balance-mode)) auto-mode-alist))

What happens if you comment that out in .emacs, and
instead evaluate them manually - do you get any
error messages?

I just tried my way of doing it, which resembles
yours, and it works alright save for I don't have any
"balance-mode" in my system.

If you evaluate this -

(let ((modes '(
     ("\\.bal"                                               . balance-mode)
     ("\\.gpi"                                               . gnuplot-mode)
     ("\\.\\(glsl\\|oil\\|ssc\\|dfy\\)"                      . c-mode)
     ("\\.lua"                                               . lua-mode)
     ("\\.\\(service\\|list\\|theme\\|mailrc\\|sed\\|inc\\)" . conf-mode)
     ("\\.pic"                                               . nroff-mode)
     ("\\.xr"                                                . 
conf-xdefaults-mode)
     ("inputrc"                                              . conf-colon-mode)
     ("KILL"                                                 . emacs-lisp-mode)
     ("\\.service"                                           . emacs)
     )))
  (setq auto-mode-alist (append modes auto-mode-alist)) )

- and then opens .balance.bal - what happens?

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

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