[Top][All Lists]

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

Re: Mail mode and message mode hooks

From: Chong Yidong
Subject: Re: Mail mode and message mode hooks
Date: Sun, 06 Dec 2009 18:10:18 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

"Davis Herring" <address@hidden> writes:

>> 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.

It's workable, but not very elegant.

Another idea I had is to change compose-mail to check for hook
duplication, and pop up a warning window telling the user that the
default mail-user-agent has changed.

reply via email to

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