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: (require 'mailabbrev)
Date: Sat, 9 Feb 2002 22:18:35 -0700 (MST)	[thread overview]
Message-ID: <200202100518.g1A5IZs06204@aztec.santafe.edu> (raw)
In-Reply-To: <2naduj1dhc.fsf@zsh.cs.rochester.edu> (message from ShengHuo ZHU on Fri, 08 Feb 2002 23:33:03 -0500)

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


      reply	other threads:[~2002-02-10  5:18 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
2002-02-09  4:33   ` ShengHuo ZHU
2002-02-10  5:18     ` Richard Stallman [this message]

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=200202100518.g1A5IZs06204@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).