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

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

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


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

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> 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
>
> auto-mode-alist is matched against the *file* name, not the *buffer* name.
>

OK, but the value of 'buffer-file-name' is nil.  How then can I set-up
the mode I would like?

Cheers,

Loris

-- 
Dr. Loris Bennett (Mr.)
ZEDAT, Freie Universität Berlin         Email loris.bennett@fu-berlin.de


reply via email to

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