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: Haines Brown
Subject: Re: difficulty entering balance mode
Date: Sat, 25 Jul 2015 06:52:48 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, Jul 25, 2015 at 03:31:08AM +0200, Emanuel Berg wrote:
> What happens if you comment that out in .emacs, and
> instead evaluate them manually - do you get any
> error messages?

> 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?

I'm ignorant about lisp evaluation. I put emacs into lisp mode with M-x
emacs-lisp-mode. I then did M-:, which brings up Eval: prompt. At it I
pasted in all the above lines together and did RET. Error: . in wrong
context.



reply via email to

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