From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43050 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: mail-header-end Date: Tue, 12 Feb 2002 08:55:25 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <2nwuxils8i.fsf@zsh.cs.rochester.edu> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035178206 15531 80.91.224.250 (21 Oct 2002 05:30:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:30:06 +0000 (UTC) Return-Path: Original-Received: (qmail 11183 invoked from network); 12 Feb 2002 13:57:06 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 12 Feb 2002 13:57:06 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16adPb-00063n-00; Tue, 12 Feb 2002 07:55:59 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 12 Feb 2002 07:55:58 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id HAA03600 for ; Tue, 12 Feb 2002 07:55:46 -0600 (CST) Original-Received: (qmail 11169 invoked by alias); 12 Feb 2002 13:55:42 -0000 Original-Received: (qmail 11164 invoked from network); 12 Feb 2002 13:55:41 -0000 Original-Received: from pool-162-83-161-205.ny5030.east.verizon.net (HELO zsh.2y.net) (162.83.161.205) by gnus.org with SMTP; 12 Feb 2002 13:55:41 -0000 Original-Received: (from zsh@localhost) by zsh.2y.net (8.11.6/8.11.2) id g1CDtPu26076; Tue, 12 Feb 2002 08:55:25 -0500 Original-To: ding@gnus.org X-Attribution: ZSH X-Face: #zw9`a=vHLkn+ZH8C (Karl Eichwalder's message of "Tue, 12 Feb 2002 06:45:00 +0100") Original-Lines: 19 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43050 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43050 --=-=-= Karl Eichwalder writes: > Using Emacs 21.2.50 (devel from CVS) together with Gnus form CVS I must > say something like: > > (autoload 'mail-header-end "sendmail") > > when I want to call message-tab while in the To: line. Wondering > whether that's an Emacs bug or whether Gnus has to adopt this Eamcs > change? It is a bug in mailabbrev.el. RMS had sent me the patch, but I didn't get time to try it. Could you please try the attached patch? ShengHuo --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=mailabbrev.diff *** 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 --=-=-=--