From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/25746 Path: main.gmane.org!not-for-mail From: Chris Brierley Newsgroups: gmane.emacs.gnus.general Subject: Adaptive fill in message-mode is weird Date: 08 Oct 1999 01:47:20 -0400 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035163077 15632 80.91.224.250 (21 Oct 2002 01:17:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:17:57 +0000 (UTC) Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id BAA11228 for ; Fri, 8 Oct 1999 01:51:30 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by spinoza.math.uh.edu (8.9.1/8.9.1) with ESMTP id AAB01425; Fri, 8 Oct 1999 00:47:52 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 08 Oct 1999 00:47:57 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id AAA14756 for ; Fri, 8 Oct 1999 00:47:38 -0500 (CDT) Original-Received: from optical.mindstorm.com (optical.mindstorm.com [209.113.156.7]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id BAA11194 for ; Fri, 8 Oct 1999 01:45:42 -0400 (EDT) Original-Received: from CBRIERLE.pobox.com (localhost [127.0.0.1]) by optical.mindstorm.com (MindstorM/MindstorM) with ESMTP id BAA17419 for ; Fri, 8 Oct 1999 01:45:38 -0400 Original-To: ding@gnus.org Original-Lines: 55 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:25746 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:25746 Hi all, I'm not really sure if this is really a pgnus question (because of message-mode), or a general adaptive-fill-mode question, so I figured I'd start here first. I use the following attribution style: ---+ John Doe wrote: | | Some stuff that John wrote. | | More stuff that John wrote. Blah, blah, blah, blah, blah, | blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, | blah, blah, blah, blah, blah, blah, blah, blah, blah, blah, | blah, blah. Now, my understanding of adaptive-fill-mode is pretty tenous, but here's the deal. If I leave my draft in message-mode, put point on the first line of text that John wrote ( | Some ...) and hit M-q, all of the text is filled as if it was one giant paragraph of normal text. However, if I put the draft in mail-mode and do the same thing, the message is filled appropriately. Now, this makes sense to me, because investigating the values of adaptive-fill-first-line-regexp and adaptive-fill-regexp shows that they are different in each mode: message-mode: adaptive-fill-first-line-regexp's value is "[ ]*[-a-z0-9A-Z]*\\(>[ ]*\\)+[ ]*\\|\\`[ ]*\\'" adaptive-fill-regexp's value is "[ ]*[-a-z0-9A-Z]*\\(>[ ]*\\)+[ ]*\\|[ ]*\\([-|#;>*]+ *\\|(?[0-9]+[.)] *\\)*" mail-mode: adaptive-fill-first-line-regexp's value is "\\`[ ]*\\'\\|[ ]*[-a-z0-9A-Z]*>+[ ]*" adaptive-fill-regexp's value is "[ ]*\\([-|#;>*]+ *\\|(?[0-9]+[.)] *\\)+\\|[ ]*[-a-z0-9A-Z]*>+[ ]*\\|[ ]*" But, the wierd thing is that if I put the draft in message-mode and *change* adaptive-fill-first-line-regexp and adaptive-fill-regexp to be the same strings as mail-mode, filling still *doesn't* work right. It works the same way it did with default message-mode values for those variables. So, this has me completely flummoxed. How can it be that if I make those variables the same as in mail-mode, filling still works differently. Anyone have any ideas on why this isn't working for me? Or, perhaps does anyone have adaptive-fill regexp's that will fill my example properly? Thanks very much!