From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/42969 Path: main.gmane.org!not-for-mail From: Matt Armstrong Newsgroups: gmane.emacs.gnus.general Subject: Re: problem whith abbrevs in message-mode Date: Thu, 07 Feb 2002 10:10:28 -0700 Sender: owner-ding@hpc.uh.edu Message-ID: <8766595ibf.fsf@squeaker.lickey.com> References: <2n3d0wo299.fsf@zsh.cs.rochester.edu> <200201240800.g0O806B17062@aztec.santafe.edu> <200201250621.g0P6LGk18813@aztec.santafe.edu> <200201271856.g0RIu1v21410@aztec.santafe.edu> <873d0ng0p7.fsf@squeaker.lickey.com> <200202030441.g134fwE02150@aztec.santafe.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178136 15010 80.91.224.250 (21 Oct 2002 05:28:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:28:56 +0000 (UTC) Return-Path: Original-Received: (qmail 17218 invoked from network); 7 Feb 2002 17:12:45 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 7 Feb 2002 17:12:45 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16Ys5y-00085h-00; Thu, 07 Feb 2002 11:12:27 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 07 Feb 2002 11:12:03 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA06605 for ; Thu, 7 Feb 2002 11:10:33 -0600 (CST) Original-Received: (qmail 17166 invoked by alias); 7 Feb 2002 17:10:31 -0000 Original-Received: (qmail 17161 invoked from network); 7 Feb 2002 17:10:31 -0000 Original-Received: from hank.lickey.com (ident-is-dumb@64.81.100.235) by gnus.org with SMTP; 7 Feb 2002 17:10:31 -0000 Original-Received: from squeaker.lickey.com (squeaker.lickey.com [192.168.100.10]) by hank.lickey.com (Postfix) with ESMTP id 578B3EE41 for ; Thu, 7 Feb 2002 10:10:30 -0700 (MST) Original-Received: from localhost (localhost [127.0.0.1]) by squeaker.lickey.com (Postfix) with ESMTP id 11740BF74 for ; Thu, 7 Feb 2002 10:10:30 -0700 (MST) Original-Received: by squeaker.lickey.com (Postfix, from userid 1000) id 2C355BE7F; Thu, 7 Feb 2002 10:10:29 -0700 (MST) Mail-Copies-To: never Original-To: ding Mail-Followup-To: ding@gnus.org In-Reply-To: <200202030441.g134fwE02150@aztec.santafe.edu> (Richard Stallman's message of "Sat, 2 Feb 2002 21:41:58 -0700 (MST)") Original-Lines: 34 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.1 (i386-debian-linux-gnu) X-Virus-Scanned: by AMaViS snapshot-20010714 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:42969 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:42969 Hi Gnus hackers. I'd like to take RMS' suggestion and have message-mode use text-mode-abbrev-table. I can't think of a legitimate reason somebody wouldn't want text-mode abbrevs in message-mode, or to have mode-abbrevs they define in message-mode to show up in text-mode. Can somebody apply this patch? With RMS' fixed mailabbrevs.el, this setting actually takes. With previous versions, mailabbrevs will clobber local-abbrev-table, but this patch won't cause any harm in either case. Index: lisp/message.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/message.el,v retrieving revision 6.201 diff -u -r6.201 message.el --- lisp/message.el 2002/02/05 16:55:12 6.201 +++ lisp/message.el 2002/02/07 17:15:38 @@ -1734,6 +1734,7 @@ C-c C-u `message-insert-or-toggle-importance' (insert or cycle importance). C-c M-n `message-insert-disposition-notification-to' (request receipt). M-RET `message-newline-and-reformat' (break the line and reformat)." + (setq local-abbrev-table text-mode-abbrev-table) (set (make-local-variable 'message-reply-buffer) nil) (make-local-variable 'message-send-actions) (make-local-variable 'message-exit-actions) -- matt