From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: (require 'mailabbrev) Date: Sat, 9 Feb 2002 22:18:35 -0700 (MST) Message-ID: <200202100518.g1A5IZs06204@aztec.santafe.edu> References: <2npu3h9jpe.fsf@zsh.cs.rochester.edu> <200202082324.g18NOHk05726@aztec.santafe.edu> <2naduj1dhc.fsf@zsh.cs.rochester.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: quimby2.netfonds.no X-Trace: quimby2.netfonds.no 1013319059 19197 195.204.10.66 (10 Feb 2002 05:30:59 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 10 Feb 2002 05:30:59 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 16ZmZi-0004zR-00 for ; Sun, 10 Feb 2002 06:30:54 +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 16ZmQN-0000mn-00; Sun, 10 Feb 2002 00:21:15 -0500 Original-Received: from pele.santafe.edu ([192.12.12.119]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16ZmNo-0000XT-00; Sun, 10 Feb 2002 00:18:36 -0500 Original-Received: from aztec.santafe.edu (aztec [192.12.12.49]) by pele.santafe.edu (8.9.3/8.9.3) with ESMTP id WAA26372; Sat, 9 Feb 2002 22:18:35 -0700 (MST) Original-Received: (from rms@localhost) by aztec.santafe.edu (8.10.2+Sun/8.9.3) id g1A5IZs06204; Sat, 9 Feb 2002 22:18:35 -0700 (MST) X-Authentication-Warning: aztec.santafe.edu: rms set sender to rms@aztec using -f Original-To: zsh@cs.rochester.edu In-reply-to: <2naduj1dhc.fsf@zsh.cs.rochester.edu> (message from ShengHuo ZHU on Fri, 08 Feb 2002 23:33:03 -0500) 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:940 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:940 It would be wasteful to load a substantial file just to use 5 lines of code. Does this patch fix it? *** mailabbrev.el.~1.63.~ Sat Feb 9 04:45:14 2002 --- mailabbrev.el Sat Feb 9 05:24:37 2002 *************** *** 418,424 **** (looking-at mail-abbrev-mode-regexp)) ;; ;; ...and are we in the headers? ! (< (point) (mail-header-end))))) (defvar mail-mode-abbrev-table) ; quiet the compiler --- 418,429 ---- (looking-at mail-abbrev-mode-regexp)) ;; ;; ...and are we in the headers? ! (< (point) ! (save-restriction ! (widen) ! (save-excursion ! (rfc822-goto-eoh) ! (point))))))) (defvar mail-mode-abbrev-table) ; quiet the compiler _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel