all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* erin-mode: problem with auto-mode-alist and saving
@ 2015-10-22 14:03 Loris Bennett
  2015-10-22 14:19 ` Stefan Monnier
       [not found] ` <mailman.791.1445523623.7904.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 8+ messages in thread
From: Loris Bennett @ 2015-10-22 14:03 UTC (permalink / raw)
  To: help-gnu-emacs

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.


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-10-23 11:26 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-22 14:03 erin-mode: problem with auto-mode-alist and saving Loris Bennett
2015-10-22 14:19 ` 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

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.