all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Davis Herring" <herring@lanl.gov>
To: "Chong Yidong" <cyd@stupidchicken.com>
Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel@gnu.org
Subject: Re: Mail mode and message mode hooks
Date: Sat, 5 Dec 2009 10:34:11 -0800 (PST)	[thread overview]
Message-ID: <15483.128.165.0.81.1260038051.squirrel@webmail.lanl.gov> (raw)
In-Reply-To: <87skbqm6q3.fsf@stupidchicken.com>

>> So there is really no need to work that hard at making message-mode work
>> like mail-mode.
>
> I am also a supporter of message-mode.  But a user moving from Emacs
> 23.1 to Emacs 23.2---a minor version upgrade!---should not experience
> breakage.  And as the feedmail example shows, there is at least one
> not-unreasonable setup that currently does break.

Does my suggestion not help here?  The merge of hook values could even
check for functions registered on each.  Even if the user loads both (so
the merge and defvaralias have already happened) and then tries to add the
same function to each, she will only get one copy.

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.




  parent reply	other threads:[~2009-12-05 18:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-01  2:18 Mail mode and message mode hooks Chong Yidong
2009-12-01  3:40 ` Stefan Monnier
2009-12-05  3:37   ` Chong Yidong
2009-12-05  4:55     ` Stefan Monnier
2009-12-05  9:22     ` Eli Zaretskii
2009-12-05 18:34     ` Davis Herring [this message]
2009-12-06 23:10       ` Chong Yidong
2009-12-06 23:52         ` Chong Yidong
2009-12-07  2:16           ` Stefan Monnier
2009-12-01 19:07 ` Chong Yidong
2009-12-01 20:41   ` Davis Herring

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=15483.128.165.0.81.1260038051.squirrel@webmail.lanl.gov \
    --to=herring@lanl.gov \
    --cc=cyd@stupidchicken.com \
    --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.