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: Sun, 26 Jul 2015 23:44:59 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>>      (append '(("\\.bal$" . balance-mode)) auto-mode-alist))
>                          ^
> Should be               \\'

Interesting, I never did either $ nor \\' and it
always worked, but now that you say it, I also read in
the Elisp manual at

    (info "(elisp)Auto Major Mode")

that

     For example,

          (("\\`/tmp/fol/" . text-mode)
           ("\\.texinfo\\'" . texinfo-mode)
           ("\\.texi\\'" . texinfo-mode)
           ("\\.el\\'" . emacs-lisp-mode)
           ("\\.c\\'" . c-mode)
           ("\\.h\\'" . c-mode)
           ...)

I believe that yes, that is the correct way :)

What is the reason, by the way? Does it have anything
to do with `this' Emacs notation?

PS. If I view an info page, is there a function to get
    an Elisp reference to what I look at, e.g.
    the one above?

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




reply via email to

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