From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/33303 Path: main.gmane.org!not-for-mail From: dme@dme.org Newsgroups: gmane.emacs.gnus.general Subject: Re: someone broke message-newline-and-reformat Date: 10 Nov 2000 12:58:26 +0000 Sender: owner-ding@hpc.uh.edu Message-ID: <874s1gm1al.fsf@serafina-pekkala.dme.org> 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 1035169436 24430 80.91.224.250 (21 Oct 2002 03:03:56 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:03:56 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from spinoza.math.uh.edu (spinoza.math.uh.edu [129.7.128.18]) by mailhost.sclp.com (Postfix) with ESMTP id 0DFA7D049A for ; Fri, 10 Nov 2000 07:59:01 -0500 (EST) 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 GAB28292; Fri, 10 Nov 2000 06:58:50 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 10 Nov 2000 06:58:15 -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 GAA22240 for ; Fri, 10 Nov 2000 06:58:06 -0600 (CST) Original-Received: from anchor-post-30.mail.demon.net (anchor-post-30.mail.demon.net [194.217.242.88]) by mailhost.sclp.com (Postfix) with ESMTP id 566A4D049A for ; Fri, 10 Nov 2000 07:58:29 -0500 (EST) Original-Received: from gw-purchasing-6.admin.demon.net ([193.195.225.92] helo=serafina-pekkala.dme.org) by anchor-post-30.mail.demon.net with esmtp (Exim 2.12 #1) id 13uDlE-00082m-0U; Fri, 10 Nov 2000 12:58:28 +0000 Original-To: Vladimir Volovich In-Reply-To: Original-Lines: 46 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Canyonlands) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:33303 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:33303 * vvv@vvv.vsu.ru [2000-11-10 11:39:38] | recently, the message-newline-and-reformat (M-RET) function became | broken. it used to work fine with SuperCite, but it no longer works. This one works for me. Please could you test and confirm: Index: message.el =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /usr/local/cvsroot/gnus/lisp/message.el,v retrieving revision 6.7 diff -c -r6.7 message.el *** message.el 2000/11/04 17:13:56 6.7 --- message.el 2000/11/10 11:57:50 *************** *** 1711,1724 **** (defun message-newline-and-reformat () "Insert four newlines, and then reformat if inside quoted text." (interactive) ! (let ((prefix "[]>=BB|:}+ \t]*") (supercite-thing "[-._a-zA-Z0-9]*[>]+[ \t]*") quoted point) (unless (bolp) (save-excursion (beginning-of-line) ! (when (looking-at (concat prefix "\\|" ! supercite-thing)) (setq quoted (match-string 0)))) (insert "\n")) (setq point (point)) --- 1711,1724 ---- (defun message-newline-and-reformat () "Insert four newlines, and then reformat if inside quoted text." (interactive) ! (let ((prefix "[]>=BB\|:}+ \t]*") (supercite-thing "[-._a-zA-Z0-9]*[>]+[ \t]*") quoted point) (unless (bolp) (save-excursion (beginning-of-line) ! (when (or (looking-at supercite-thing) ! (looking-at prefix)) (setq quoted (match-string 0)))) (insert "\n")) (setq point (point)) dme.