help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

erin-mode: problem with auto-mode-alist and saving


From: Loris Bennett
Subject: erin-mode: problem with auto-mode-alist and saving
Date: Thu, 22 Oct 2015 16:03:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux)

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.


reply via email to

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