From: Glenn Morris <rgm@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master e82fd95: ; Comments.
Date: Tue, 28 Apr 2015 12:51:42 -0400 [thread overview]
Message-ID: <lzd22op55t.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <jwvy4lcpdg2.fsf-monnier+emacsdiffs@gnu.org> (Stefan Monnier's message of "Tue, 28 Apr 2015 09:54:54 -0400")
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!
next prev parent reply other threads:[~2015-04-28 16:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20150428064624.30702.5768@vcs.savannah.gnu.org>
[not found] ` <E1YmzHk-0007zt-I7@vcs.savannah.gnu.org>
2015-04-28 13:54 ` [Emacs-diffs] master e82fd95: ; Comments Stefan Monnier
2015-04-28 16:51 ` Glenn Morris [this message]
2015-04-29 3:32 ` Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=lzd22op55t.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.