From: Emanuel Berg <embe8573@student.uu.se>
To: help-gnu-emacs@gnu.org
Subject: Re: difficulty entering balance mode
Date: Sun, 26 Jul 2015 23:44:59 +0200 [thread overview]
Message-ID: <87mvyih9us.fsf@nl106-137-147.student.uu.se> (raw)
In-Reply-To: jwvwpxok6lw.fsf-monnier+gmane.emacs.help@gnu.org
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
next prev parent reply other threads:[~2015-07-26 21:44 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-24 19:23 difficulty entering balance mode Haines Brown
2015-07-25 1:31 ` Emanuel Berg
2015-07-25 10:52 ` Haines Brown
2015-07-26 21:53 ` Emanuel Berg
2015-07-25 18:53 ` Haines Brown
2015-07-25 20:43 ` Ian Zimmerman
2015-07-26 21:59 ` Emanuel Berg
2015-07-27 10:16 ` difficulty entering balance mode (SOLVED) Haines Brown
2015-07-27 23:32 ` Emanuel Berg
[not found] ` <mailman.7494.1438040115.904.help-gnu-emacs@gnu.org>
2015-07-28 10:38 ` Haines Brown
2015-07-28 21:28 ` Emanuel Berg
2015-07-28 21:46 ` Ian Zimmerman
2015-07-29 15:44 ` Haines Brown
2015-07-29 17:04 ` difficulty entering balance mode Ian Zimmerman
[not found] ` <mailman.7618.1438189554.904.help-gnu-emacs@gnu.org>
2015-07-30 11:02 ` Haines Brown
2015-07-30 15:54 ` Ian Zimmerman
2015-07-30 17:30 ` Haines Brown
2015-07-30 22:44 ` Emanuel Berg
2015-07-25 8:02 ` Stefan Monnier
2015-07-25 10:39 ` Haines Brown
2015-07-25 16:06 ` Stefan Monnier
2015-07-26 21:44 ` Emanuel Berg [this message]
2015-07-26 22:14 ` Ian Zimmerman
2015-07-26 22:19 ` Emanuel Berg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87mvyih9us.fsf@nl106-137-147.student.uu.se \
--to=embe8573@student.uu.se \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.