viewmail-info
[Top][All Lists]
Advanced

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

Re: [VM] VM change in Emacs 24 - leaving mail mode


From: Daniel Barrett
Subject: Re: [VM] VM change in Emacs 24 - leaving mail mode
Date: Tue, 15 Dec 2015 20:25:23 -0500

On December 15, 2015, Uday Reddy wrote:
>> I've noticed a change in VM's behavior since upgrading to Emacs 24.
>> When I'm composing an email and I run "save-buffer" to a file, the
>> buffer enters text-mode instead of staying in mail-mode.
>That might depend on what file name you use for the file, and what your
>auto-mode setting is for that file name. 

Thanks Uday. The filename for saving has no extension (for example, "foo").

I removed this line from my .emacs file:

  (setq default-major-mode 'text-mode)

and the bad behavior stopped. However, this line was present for
earlier versions of Emacs and didn't cause the mode-switching on
saves.

Any suggestions to stop the mode-switching, and still have my default
major mode be text-mode?  Thanks.

--
Dan Barrett
address@hidden




reply via email to

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