From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39260 Path: main.gmane.org!not-for-mail From: Oliver Scholz Newsgroups: gmane.emacs.gnus.general Subject: Re: auto-fill in body after "^[A-Za-z]: " Date: Fri, 12 Oct 2001 22:53:25 +0200 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 1035174994 26939 80.91.224.250 (21 Oct 2002 04:36:34 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:36:34 +0000 (UTC) Summary: This message claims that Kai's change to message.el also works with Emacs 20.7 on a tty. It also points out a bug. Cc: ding@gnus.org Return-Path: Original-Received: (qmail 15143 invoked from network); 12 Oct 2001 19:45:20 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 12 Oct 2001 19:45:20 -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 15s8EG-0001Ev-00; Fri, 12 Oct 2001 14:44:20 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 12 Oct 2001 14:43:57 -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 OAA11266 for ; Fri, 12 Oct 2001 14:43:44 -0500 (CDT) Original-Received: (qmail 15127 invoked by alias); 12 Oct 2001 19:43:49 -0000 Original-Received: (qmail 15122 invoked from network); 12 Oct 2001 19:43:48 -0000 Original-Received: from 95-143.f.dial.o-tel-o.net (HELO localhost.localdomain) (212.144.95.143) by gnus.org with SMTP; 12 Oct 2001 19:43:48 -0000 Original-Received: (from egoge@localhost) by localhost.localdomain (8.11.4/8.11.4) id f9CKrSg17536; Fri, 12 Oct 2001 22:53:28 +0200 X-Authentication-Warning: localhost.localdomain: egoge set sender to epameinondas@gmx.de using -f Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Fri, 12 Oct 2001 15:18:54 +0200") X-attribution: os Original-Lines: 55 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39260 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39260 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > Oliver Scholz writes: >=20 >> This is the offspring from a discussion on gnu.emacs.gnus about the >> fact that something like "Suggestion: bla bla ..." breaks auto-fill in >> message buffer. I have added the following to my .emacs to correct >> that behaviour while still inhibiting auto-fill in the header. Kai >> suggested that I should mail my code to this list. >=20 > I have just committed a modified form of your changes to CVS. The > text property is added from message-setup-1 rather than from a hook > (this also avoids searching), and the fill variables are set from > message-setup-fill-variables rather than from a hook. >=20 > Please test. >=20 > Does this work on XEmacs? Not sure about the support of text > properties there. Does this code work on Emacs 20 on a tty? [...] Emacs 20: It does work on Emacs 20 on a tty. However I found two bugs: * In `message-setup-1': (put-text-property (point) (progn (insert mail-header-separator "\n") (1- (point))) 'read-only nil) ;; that should be 'read-only t * there are some headers that are inserted *after* the text-property 'field 'header is set. In my header the whole block: > Date: Fri, 12 Oct 2001 22:33:24 +0200 > In-Reply-To: (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Fri, 12 Oct 2001 15:18= :54 +0200") > Message-ID: > Gcc: nnfolder+archive:misc-mail > From: Oliver Scholz > X-attribution: os > --text follows this line-- So they have not the 'header text property and if you add a header line manually between these lines it will not have this property, too. I did not investigate in this yet, because I'm too tired. I will look at it again tomorrow. 'oliver --=20 Oliver Scholz Taunusstr. 25 60329 Frankfurt am Main Tel. 069 97 40 99 42