unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: ShengHuo ZHU <zsh@cs.rochester.edu>
Cc: emacs-devel@gnu.org
Subject: Re: (require 'mailabbrev)
Date: Fri, 08 Feb 2002 23:02:11 -0500	[thread overview]
Message-ID: <2ny9i3uwu4.fsf@zsh.cs.rochester.edu> (raw)
In-Reply-To: <200202082324.g18NOHk05726@aztec.santafe.edu> (Richard Stallman's message of "Fri, 8 Feb 2002 16:24:17 -0700 (MST)")

Richard Stallman <rms@gnu.org> writes:

> Does this change fix the problem?
>
> I am thinking that it is wasteful to load sendmail.el
> if the user is using message.el instead.
>
> *** mailabbrev.el.~1.62.~	Sat Feb  2 23:07:59 2002
> --- mailabbrev.el	Fri Feb  8 10:33:03 2002
> ***************
> *** 598,606 ****
>     (setq this-command 'end-of-buffer)
>     (end-of-buffer arg))
>   
> ! (define-key mail-mode-map "\C-c\C-a" 'mail-abbrev-insert-alias)
> ! (define-key mail-mode-map "\e\t"	; like lisp-complete-symbol
> !   'mail-abbrev-complete-alias) 
>   
>   ;;(define-key mail-mode-map "\C-n" 'mail-abbrev-next-line)
>   ;;(define-key mail-mode-map "\M->" 'mail-abbrev-end-of-buffer)
> --- 598,608 ----
>     (setq this-command 'end-of-buffer)
>     (end-of-buffer arg))
>   
> ! (eval-after-load "sendmail"
> !   (progn
> !     (define-key mail-mode-map "\C-c\C-a" 'mail-abbrev-insert-alias)
> !     (define-key mail-mode-map "\e\t"	; like lisp-complete-symbol
> !       'mail-abbrev-complete-alias)))
>   
>   ;;(define-key mail-mode-map "\C-n" 'mail-abbrev-next-line)
>   ;;(define-key mail-mode-map "\M->" 'mail-abbrev-end-of-buffer)

It doesn't fix the problem. But the following code will do (a quote
mark before progn).

 (eval-after-load "sendmail"
   '(progn
     (define-key mail-mode-map "\C-c\C-a" 'mail-abbrev-insert-alias)
     (define-key mail-mode-map "\e\t"	; like lisp-complete-symbol
       'mail-abbrev-complete-alias)))

ShengHuo

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


  reply	other threads:[~2002-02-09  4:02 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-07 19:26 (require 'mailabbrev) ShengHuo ZHU
2002-02-08 23:24 ` Richard Stallman
2002-02-09  4:02   ` ShengHuo ZHU [this message]
2002-02-09  4:33   ` ShengHuo ZHU
2002-02-10  5:18     ` Richard Stallman

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=2ny9i3uwu4.fsf@zsh.cs.rochester.edu \
    --to=zsh@cs.rochester.edu \
    --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).