From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39436 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: patches (Re: auto-fill in body after "^[A-Za-z]: ") Date: Fri, 19 Oct 2001 08:41:41 +0200 Organization: The Church of Emacs Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035175140 27819 80.91.224.250 (21 Oct 2002 04:39:00 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:39:00 +0000 (UTC) Return-Path: Original-Received: (qmail 20532 invoked from network); 19 Oct 2001 06:43:15 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 19 Oct 2001 06:43:15 -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 15uTMR-0000fG-00; Fri, 19 Oct 2001 01:42:27 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 Oct 2001 01:42:05 -0500 (CDT) 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 BAA11689 for ; Fri, 19 Oct 2001 01:41:53 -0500 (CDT) Original-Received: (qmail 20515 invoked by alias); 19 Oct 2001 06:42:09 -0000 Original-Received: (qmail 20510 invoked from network); 19 Oct 2001 06:42:08 -0000 Original-Received: from sheridan.dina.kvl.dk (130.225.40.227) by gnus.org with SMTP; 19 Oct 2001 06:42:08 -0000 Original-Received: from ssv2.dina.kvl.dk (ssv2.dina.kvl.dk [130.225.40.226]) by sheridan.dina.kvl.dk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id IAA18077; Fri, 19 Oct 2001 08:41:41 +0200 Original-Received: from abraham by ssv2.dina.kvl.dk with local (Exim 3.12 #1 (Debian)) id 15uTLh-0002Kc-00; Fri, 19 Oct 2001 08:41:41 +0200 Original-To: ding@gnus.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 16 Oct 2001 10:27:30 +0200") Original-Lines: 27 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.106 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39436 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39436 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > Oliver Scholz writes: >=20 >> O.k. here they are. >=20 > Installed. Thanks! I changed the 'field' property to 'message-field', 'field' has a special significance in Emacs 21. BTW: I really think text properties are the wrong solution, text properties tend to be sticky at the wrong times when moving text around. What we really want it to know whether we are before or after the "--text follows this line--" line. I therefore think Simon Josefssons suggestion (defun message-do-auto-fill () (when (> (point) (save-excursion (rfc822-goto-eoh))) (do-auto-fill))) is much cleaner. It running the test everytime do-auto-fill is called is too slow, we could set a mark on seperator line and test for that. But I doubt it would be a problem. Would anyone protest if I removed the text property, and installed Simons solution instead?