From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/39252 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: auto-fill in body after "^[A-Za-z]: " Date: Fri, 12 Oct 2001 19:19:11 +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 1035174988 26886 80.91.224.250 (21 Oct 2002 04:36:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:36:28 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: (qmail 12284 invoked from network); 12 Oct 2001 17:20:11 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 12 Oct 2001 17:20:11 -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 15s5yD-0008J6-00; Fri, 12 Oct 2001 12:19:37 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 12 Oct 2001 12:19:14 -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 MAA10463 for ; Fri, 12 Oct 2001 12:19:03 -0500 (CDT) Original-Received: (qmail 12264 invoked by alias); 12 Oct 2001 17:19:21 -0000 Original-Received: (qmail 12259 invoked from network); 12 Oct 2001 17:19:21 -0000 Original-Received: from dolk.extundo.com (195.42.214.242) by gnus.org with SMTP; 12 Oct 2001 17:19:21 -0000 Original-Received: from barbar.josefsson.org (slipsten.extundo.com [195.42.214.241]) (authenticated bits=0) by dolk.extundo.com (8.12.0/8.12.0) with ESMTP id f9CHJP0r019099; Fri, 12 Oct 2001 19:19:26 +0200 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 18:45:06 +0200") Mail-Copies-To: nobody 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:39252 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:39252 Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Gro=DFjohann) writes: > 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. Oh. Ok, all fine then. >> (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? `gnus-point-at-bol' is autoloaded in message.el, but otherwise Paul's idea is probably the best.