all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: John Owens <john_owens@yahoo.com>
To: emacs-devel@gnu.org
Subject: mailabbrev fix from Jan 2005 now broken in latest CVS
Date: Tue, 31 Jul 2007 03:46:50 +0000 (UTC)	[thread overview]
Message-ID: <loom.20070731T053637-971@post.gmane.org> (raw)

Greetings, I use the "wanderlust" mailer in emacs and asked for some
changes in January 2005 in "mailabbrev" to support auto-completion.
When I type an alias, if that alias has a '-' in it, it autocompleted
when the - is typed. The fix corrected this problem. Now the 
problem has returned.

Here was the original fix:

http://thread.gmane.org/gmane.emacs.devel/31657

(That actually fixed the problem of typing a '@' causing an autocomplete
so if you had an alias 'mark' and typed 'mark@foo.com', it would
autocomplete your 'mark' alias when you typed the '@'. But as I recall,
there was a '-' completion problem as well.)

It appears that revision 1.75 fixed this:

http://cvs.savannah.gnu.org/viewvc/emacs/lisp/mail/mailabbrev.el?revision=1.75&root=emacs&view=markup

(sendmail-pre-abbrev-expand-hook):
Don't expand if the character is @, period, dash, etc.

The only major change between now and then was rms's 1.82.2.1 / 1.83
change, and I'm suspecting that caused it. I confirmed that this
is the case by installing the previous version (the one right
before the 1.82.2.1 / 1.83 fix) 1.68.2.10, which does not exhibit
the problem. 

I can reproduce by calling compose-mail and typing an alias to be
expanded that has a '-' in it - it currently expands when the '-' 
is typed even if the alias continues after the '-' ('mark-h' for
instance).

JDO

             reply	other threads:[~2007-07-31  3:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-31  3:46 John Owens [this message]
2007-08-01  5:39 ` mailabbrev fix from Jan 2005 now broken in latest CVS Richard Stallman
2007-08-01 18:22   ` John Owens
  -- strict thread matches above, loose matches on Subject: below --
2007-08-13  0:52 Richard Stallman
2007-08-15  2:07 ` Glenn Morris
2007-08-15  3:35   ` John Owens

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=loom.20070731T053637-971@post.gmane.org \
    --to=john_owens@yahoo.com \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.