From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39245 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: auto-fill in body after "^[A-Za-z]: " Date: Fri, 12 Oct 2001 18:45:06 +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=us-ascii X-Trace: main.gmane.org 1035174982 26857 80.91.224.250 (21 Oct 2002 04:36:22 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:36:22 +0000 (UTC) Return-Path: Original-Received: (qmail 11187 invoked from network); 12 Oct 2001 16:47:02 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 12 Oct 2001 16:47:02 -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 15s5Rb-0007NK-00; Fri, 12 Oct 2001 11:45:55 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 12 Oct 2001 11:45:32 -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 LAA10213 for ; Fri, 12 Oct 2001 11:45:22 -0500 (CDT) Original-Received: (qmail 11079 invoked by alias); 12 Oct 2001 16:45:39 -0000 Original-Received: (qmail 11074 invoked from network); 12 Oct 2001 16:45:38 -0000 Original-Received: from waldorf.cs.uni-dortmund.de (129.217.4.42) by gnus.org with SMTP; 12 Oct 2001 16:45:38 -0000 Original-Received: from lothlorien.cs.uni-dortmund.de (lothlorien [129.217.19.67]) by waldorf.cs.uni-dortmund.de with ESMTP id f9CGjBq09274 for ; Fri, 12 Oct 2001 18:45:11 +0200 (MES) Original-Received: from lucy.cs.uni-dortmund.de (lucy [129.217.19.80]) by lothlorien.cs.uni-dortmund.de id SAA15913; Fri, 12 Oct 2001 18:45:06 +0200 (MET DST) Original-Received: by lucy.cs.uni-dortmund.de (Postfix, from userid 6104) id 7659820BD; Fri, 12 Oct 2001 18:45:06 +0200 (CEST) Original-To: ding@gnus.org In-Reply-To: (Simon Josefsson's message of "Fri, 12 Oct 2001 17:51:32 +0200") Original-Lines: 32 User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.107 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:39245 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39245 Simon Josefsson writes: > This doesn't work if I manually add a header, right? It wouldn't > have the proper text property. If `foobar' has a text property and I add something in the middle to get `fooXXXbar', then surely XXX also has this text property, no? I just tested this by adding stuff to the Subject header and saying M-x list-text-properties-at RET -- the `field' property was there, even in the new stuff. > Maybe the above be replaced by something such as the following? > > (defun message-do-auto-fill () > (when (> (point) (save-excursion (rfc822-goto-eoh))) > (do-auto-fill))) I wanted to avoid this... > (Btw, use `gnus-point-at-bol' instead of `line-beginning-position' to > make it works in XEmacs as well.) No, gnus-point-at-bol might not be such a good choice, either, since it is defined in gnus-util.el, and message*.el is supposed to be independent from gnus*.el. Suggestions? kai -- Linux provides a nice `poweroff' command, but where is `poweron'?