Gnus development mailing list
 help / color / mirror / Atom feed
From: Matt Armstrong <matt@lickey.com>
Subject: Re: problem whith abbrevs in message-mode
Date: Thu, 07 Feb 2002 10:10:28 -0700	[thread overview]
Message-ID: <8766595ibf.fsf@squeaker.lickey.com> (raw)
In-Reply-To: <200202030441.g134fwE02150@aztec.santafe.edu> (Richard Stallman's message of "Sat, 2 Feb 2002 21:41:58 -0700 (MST)")

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



  parent reply	other threads:[~2002-02-07 17:10 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-24  3:29 ShengHuo ZHU
2002-01-24  8:00 ` Richard Stallman
2002-01-24  8:39   ` Harry Putnam
2002-01-25  6:21     ` Richard Stallman
2002-01-26 22:37       ` Lars Magne Ingebrigtsen
2002-01-26 22:39       ` Lars Magne Ingebrigtsen
2002-01-27 18:56         ` Richard Stallman
2002-01-30 18:20           ` Matt Armstrong
2002-02-03  4:41             ` Richard Stallman
2002-02-07 17:03               ` Matt Armstrong
2002-02-07 17:10               ` Matt Armstrong [this message]
2002-02-07 17:24                 ` ShengHuo ZHU

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=8766595ibf.fsf@squeaker.lickey.com \
    --to=matt@lickey.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).