From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.devel Subject: Re: (require 'mailabbrev) Date: Fri, 08 Feb 2002 23:02:11 -0500 Message-ID: <2ny9i3uwu4.fsf@zsh.cs.rochester.edu> References: <2npu3h9jpe.fsf@zsh.cs.rochester.edu> <200202082324.g18NOHk05726@aztec.santafe.edu> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: quimby2.netfonds.no 1013227943 20832 195.204.10.66 (9 Feb 2002 04:12:23 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 9 Feb 2002 04:12:23 GMT Cc: emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16ZOs8-0005Pu-00 for ; Sat, 09 Feb 2002 05:12:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16ZOjE-0003ZS-00; Fri, 08 Feb 2002 23:03:08 -0500 Original-Received: from roc-24-58-72-167.rochester.rr.com ([24.58.72.167] helo=zsh.2y.net) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16ZOiZ-0003Yh-00; Fri, 08 Feb 2002 23:02:27 -0500 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.6/8.11.2) id g1942Bx06478; Fri, 8 Feb 2002 23:02:11 -0500 Original-To: rms@gnu.org X-Attribution: ZSH X-Face: #zw9`a=vHLkn+ZH8C (Richard Stallman's message of "Fri, 8 Feb 2002 16:24:17 -0700 (MST)") Original-Lines: 43 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:904 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:904 Richard Stallman 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