From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Mail mode and message mode hooks Date: Sun, 06 Dec 2009 21:16:12 -0500 Message-ID: References: <871vjfwi6a.fsf@stupidchicken.com> <87skbqm6q3.fsf@stupidchicken.com> <15483.128.165.0.81.1260038051.squirrel@webmail.lanl.gov> <87ljhfk8bp.fsf@stupidchicken.com> <87tyw3fyo9.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1260152221 21045 80.91.229.12 (7 Dec 2009 02:17:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 7 Dec 2009 02:17:01 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 07 03:16:54 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NHT9g-0005hi-NY for ged-emacs-devel@m.gmane.org; Mon, 07 Dec 2009 03:16:52 +0100 Original-Received: from localhost ([127.0.0.1]:50346 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHT9g-0002qP-Fn for ged-emacs-devel@m.gmane.org; Sun, 06 Dec 2009 21:16:52 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NHT97-0002az-GY for emacs-devel@gnu.org; Sun, 06 Dec 2009 21:16:17 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NHT93-0002Zu-P0 for emacs-devel@gnu.org; Sun, 06 Dec 2009 21:16:17 -0500 Original-Received: from [199.232.76.173] (port=56383 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NHT93-0002Zr-Ix for emacs-devel@gnu.org; Sun, 06 Dec 2009 21:16:13 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:16671 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NHT93-0000hu-Ed for emacs-devel@gnu.org; Sun, 06 Dec 2009 21:16:13 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArgEALbzG0tMCrV1/2dsb2JhbACBS9QbhDMEih4 X-IronPort-AV: E=Sophos;i="4.47,351,1257138000"; d="scan'208";a="50814909" Original-Received: from 76-10-181-117.dsl.teksavvy.com (HELO pastel.home) ([76.10.181.117]) by ironport2-out.pppoe.ca with ESMTP; 06 Dec 2009 21:16:13 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id D5F1B80B4; Sun, 6 Dec 2009 21:16:12 -0500 (EST) In-Reply-To: <87tyw3fyo9.fsf@stupidchicken.com> (Chong Yidong's message of "Sun, 06 Dec 2009 18:52:22 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118357 Archived-At: >> 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. > To flesh out this idea a bit more, here is a patch that implements it. > Opinions? Sounds good to me. It's not ideal, but at least it will avoid silent surprises. And will make it obvious to people who might care, how to revert to mail-mode. It's clearly the best "fix" so far, Stefan