From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34573 Path: main.gmane.org!not-for-mail From: Dmitry Yaitskov Newsgroups: gmane.emacs.gnus.general Subject: message-newline-and-reformat - changed (buggy?) behavior Date: 06 Feb 2001 12:21:40 -0500 Organization: Just me at home Sender: owner-ding@hpc.uh.edu Message-ID: <8766inhgm3.fsf@home.com> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035170476 31145 80.91.224.250 (21 Oct 2002 03:21:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:21:16 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 136A5D049D for ; Tue, 6 Feb 2001 12:22:50 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id LAC25827; Tue, 6 Feb 2001 11:22:28 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 06 Feb 2001 11:21:36 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id LAA03435 for ; Tue, 6 Feb 2001 11:21:27 -0600 (CST) Original-Received: from lucy.on.wave.home.com (unknown [24.66.110.146]) by mailhost.sclp.com (Postfix) with ESMTP id 41D87D049D for ; Tue, 6 Feb 2001 12:21:56 -0500 (EST) Original-Received: from Spooler by lucy.on.wave.home.com (Mercury/32 v3.21c) ID MO0003A3; 6 Feb 01 12:21:56 -0500 Original-Received: from spooler by lucy.on.wave.home.com (Mercury/32 v3.21c); 6 Feb 01 12:21:49 -0500 Original-Received: from lucy.on.wave.home.com (127.0.0.1) by lucy.on.wave.home.com (Mercury/32 v3.21c) with ESMTP ID MG0003A2; 6 Feb 01 12:21:40 -0500 Original-To: Ding User-Agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.2 (Terspichore) Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 56 Xref: main.gmane.org gmane.emacs.gnus.general:34573 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34573 Hi, In message mode, prior to Oort Gnus v0.01, if I pressed M-q (which invokes (message-newline-and-reformat t) in the 1st position of the 1st line of the following text (paragraph): > 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 blah blah blah blah blah blah blah blah blah blah blah the whole paragraph got formatted and quoted properly: > 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 blah blah blah blah blah blah blah blah blah blah blah - which was exactly what I wanted. Now, the text looks like this: > 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 blah blah blah blah blah blah blah blah blah blah blah - which looks weird and not very useful. OTOH, if I press M-Enter instead (which invokes same message-newline-and-reformat but w/out the argument that tells not to insert newlines), I still get the old (correct IMHO) result (with 4 newlines inserted as per the doc). The patch below fixes this for me, but I am not sure I understood the intent of the code correctly... XEmacs 21.2 (beta43) "Terspichore" [Lucid] (i686-pc-cygwin) of Tue Jan 30 2001 on LUCY Oort Gnus v0.01 ---------------------------- cut here ---------------------------- Index: message.el =================================================================== RCS file: /usr/local/cvsroot/gnus/lisp/message.el,v retrieving revision 6.54 diff -u -r6.54 message.el --- message.el 2001/01/21 05:15:20 6.54 +++ message.el 2001/02/06 17:16:17 @@ -1810,7 +1810,6 @@ (looking-at "[ \t]*") (setq leading-space (match-string 0))) (if (and quoted - (not not-break) (< (- point beg) (length quoted))) ;; break in the cite prefix. (setq quoted nil ---------------------------- cut here ---------------------------- -- Cheers, -Dima.