unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: mailabbrev.el, mailalias.el and related package.
Date: Sun, 17 Feb 2002 09:48:47 -0700 (MST)	[thread overview]
Message-ID: <200202171648.g1HGmlu10290@aztec.santafe.edu> (raw)
In-Reply-To: <200202160447.WAA29111@eel.dms.auburn.edu> (message from Luc Teirlinck on Fri, 15 Feb 2002 22:47:29 -0600 (CST))

	    Now, when I type

		To: emacs-devel@gnu.-!-

	    it gets expanded to

		To: emacs-devel@<gnu@gnu.org>

I reproduced the failure, and fixed it by changing the syntax
of @.  However, a subsequent message pointed out that other more
obscure problem cases remain.  I think the place to fix them is in
the pre-abbrev-expand-hook function.  It can check the context carefully,
I think, and prevent expansion in inappropriate circumstances.

    The current mailabbrev.el needs to write mailabbrevs in
    ~/.abbrevs_defs, because that is the only way it can save them.  Of
    course aliases defined in .mailrc are already stored there, but
    mailabbrev needs to worry about aliases defined in other ways.

That is a bug, which I fixed recently by labeling abbrevs read
from .mailrc as "system abbrevs" (a new feature).

      My
    package would change that totally, because it would have all aliases
    defined in .mailrc.  It would still use abbrevs internally, but these
    would be essentially invisible to users.

That is good.  mailabbrev should never store these in .abbrev_defs.

_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel


  parent reply	other threads:[~2002-02-17 16:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-14  4:40 mailabbrev.el, mailalias.el and related package Luc Teirlinck
2002-02-15 10:36 ` Richard Stallman
2002-02-16  3:53   ` Luc Teirlinck
2002-02-17 16:48     ` Richard Stallman
2002-02-16  4:47   ` Luc Teirlinck
2002-02-16  5:36     ` Karl Eichwalder
2002-02-16 16:10       ` Luc Teirlinck
2002-02-16 19:04         ` Karl Eichwalder
2002-02-16 20:18           ` Luc Teirlinck
2002-02-17 16:48     ` Richard Stallman [this message]
2002-02-17 19:13       ` Luc Teirlinck
2002-02-17  2:32   ` Luc Teirlinck
2002-02-17  5:25   ` Luc Teirlinck
  -- strict thread matches above, loose matches on Subject: below --
2002-02-14  5:19 Luc Teirlinck
2002-02-14 21:13 Luc Teirlinck

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200202171648.g1HGmlu10290@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).