From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davis Herring" Newsgroups: gmane.emacs.devel Subject: Re: Mail mode and message mode hooks Date: Sat, 5 Dec 2009 10:34:11 -0800 (PST) Message-ID: <15483.128.165.0.81.1260038051.squirrel@webmail.lanl.gov> References: <871vjfwi6a.fsf@stupidchicken.com> <87skbqm6q3.fsf@stupidchicken.com> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1260038085 12536 80.91.229.12 (5 Dec 2009 18:34:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Dec 2009 18:34:45 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: "Chong Yidong" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Dec 05 19:34:35 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 1NGzSd-0006ut-AZ for ged-emacs-devel@m.gmane.org; Sat, 05 Dec 2009 19:34:27 +0100 Original-Received: from localhost ([127.0.0.1]:42198 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGzSc-0003N3-Ix for ged-emacs-devel@m.gmane.org; Sat, 05 Dec 2009 13:34:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGzSX-0003Mm-4m for emacs-devel@gnu.org; Sat, 05 Dec 2009 13:34:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGzSR-0003MC-Vu for emacs-devel@gnu.org; Sat, 05 Dec 2009 13:34:20 -0500 Original-Received: from [199.232.76.173] (port=39351 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGzSR-0003M9-Qb for emacs-devel@gnu.org; Sat, 05 Dec 2009 13:34:15 -0500 Original-Received: from proofpoint1.lanl.gov ([204.121.3.25]:54760) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NGzSR-0005Uk-OB for emacs-devel@gnu.org; Sat, 05 Dec 2009 13:34:16 -0500 Original-Received: from mailrelay1.lanl.gov (mailrelay1.lanl.gov [128.165.4.101]) by proofpoint1.lanl.gov (8.14.3/8.14.3) with ESMTP id nB5IYBgL023087; Sat, 5 Dec 2009 11:34:11 -0700 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 7E86918424A; Sat, 5 Dec 2009 11:34:11 -0700 (MST) X-NIE-2-Virus-Scanner: amavisd-new at mailrelay1.lanl.gov Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay1.lanl.gov (Postfix) with ESMTP id 665BD184243; Sat, 5 Dec 2009 11:34:11 -0700 (MST) Original-Received: by webmail1.lanl.gov (Postfix, from userid 48) id 645C71DE0117; Sat, 5 Dec 2009 11:34:11 -0700 (MST) Original-Received: from 128.165.0.81 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Sat, 5 Dec 2009 10:34:11 -0800 (PST) In-Reply-To: <87skbqm6q3.fsf@stupidchicken.com> User-Agent: SquirrelMail/1.4.8-5.7.lanl7 X-Priority: 3 (Normal) Importance: Normal X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.8161:2.4.5, 1.2.40, 4.0.166 definitions=2009-12-05_01:2009-11-30, 2009-12-05, 2009-12-04 signatures=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:118312 Archived-At: >> 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.