From: "Loris Bennett" <loris.bennett@fu-berlin.de>
To: help-gnu-emacs@gnu.org
Subject: erin-mode: problem with auto-mode-alist and saving
Date: Thu, 22 Oct 2015 16:03:19 +0200 [thread overview]
Message-ID: <8737x3xaoo.fsf@hornfels.zedat.fu-berlin.de> (raw)
Hi,
I am using Emacs 24.4.1 on Debian Jessie and the "Edit with Emacs"
plug-in 1.14 for chromium to edit a wiki. The buffer names created look
something like this:
wiki.some.org/edit/Web/SomePage
I have two problems:
1. I have the following entry in my .emacs
(setq auto-mode-alist
(append '(("\\.C$" . c++-mode)
;; ... lots of other modes, but not text-mode
("wiki\\..*$" . erin-mode)
) auto-mode-alist))
But this doesn't work. The buffer is opened in text-mode
2. When I turn on erin-mode by hand, this works. However, when I save,
the buffer reverts to text mode-mode.
Can anyone shed any light on what is going on?
Cheers,
Loris
--
This signature is currently under construction.
next reply other threads:[~2015-10-22 14:03 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-22 14:03 Loris Bennett [this message]
2015-10-22 14:19 ` erin-mode: problem with auto-mode-alist and saving Stefan Monnier
[not found] ` <mailman.791.1445523623.7904.help-gnu-emacs@gnu.org>
2015-10-22 15:05 ` Loris Bennett
2015-10-22 22:34 ` Stefan Monnier
[not found] ` <mailman.839.1445553269.7904.help-gnu-emacs@gnu.org>
2015-10-23 7:49 ` Loris Bennett
2015-10-23 9:58 ` Joost Kremers
2015-10-23 10:55 ` Loris Bennett
2015-10-23 11:26 ` Joost Kremers
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=8737x3xaoo.fsf@hornfels.zedat.fu-berlin.de \
--to=loris.bennett@fu-berlin.de \
--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.