[Top][All Lists]

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

Re: [Emacs-diffs] master e82fd95: ; Comments.

From: Glenn Morris
Subject: Re: [Emacs-diffs] master e82fd95: ; Comments.
Date: Tue, 28 Apr 2015 12:51:42 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stefan Monnier wrote:

>> +;; We can't straightforwardly make this derive from text-mode, because
>> +;; we need to bind (rmail-buffer-swapped) around the text-mode call.  :(
>>  (defun rmail-edit-mode ()
> Can't we just make a new `rmail-enter-edit-mode' function which does the
> rmail-buffer-swapped dance and then calls `rmail-edit-mode' which can
> then be a plain old derived mode?

So anyone who just called 'rmail-edit-mode' would get unexpected results?
Sounds confusing to me.
But if you can find a way to make it work, please go for it!

reply via email to

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