From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: How to disable file extension auto-detection or auto-action?
Date: Tue, 22 Mar 2011 21:47:18 -0400 [thread overview]
Message-ID: <jwvvczad2wz.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.5.1300829265.13753.help-gnu-emacs@gnu.org
> (add-to-list 'auto-mode-alist '("\\.bz2$" . fundamental-mode))
> (it works for me), the other regexp was not correct...
While $ will work, \\' is better since it only matches the end of the
file name, whereas $ also matches the end of a line within a multiline
file names.
Stefan
next parent reply other threads:[~2011-03-23 1:47 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.5.1300829265.13753.help-gnu-emacs@gnu.org>
2011-03-23 1:47 ` Stefan Monnier [this message]
2011-03-22 21:27 How to disable file extension auto-detection or auto-action? Andrea Crotti
[not found] <mailman.1.1300728119.14572.help-gnu-emacs@gnu.org>
2011-03-22 1:30 ` Stefan Monnier
-- strict thread matches above, loose matches on Subject: below --
2011-03-21 8:12 Tadeus (Eus) Prastowo
2011-03-22 12:17 ` Andrea Crotti
2011-03-22 15:59 ` Tadeus (Eus) Prastowo
[not found] ` <mailman.1.1300809590.31145.help-gnu-emacs@gnu.org>
2011-03-22 19:31 ` Ralf Fassel
2011-03-23 18:34 ` Tadeus (Eus) Prastowo
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=jwvvczad2wz.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--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.