From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#57986: 29.0.50; Citation prefix lost when message-newline-and-reformat Date: Sat, 24 Sep 2022 11:39:36 +0200 Message-ID: <87czbl157r.fsf@gnus.org> References: <87r104r2zd.fsf@melete.silentflame.com> <87mtaq2hap.fsf@gnus.org> <87fsgi2gs2.fsf@melete.silentflame.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37992"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 57986@debbugs.gnu.org To: Sean Whitton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 24 11:40:19 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oc1dz-0009jH-DB for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Sep 2022 11:40:19 +0200 Original-Received: from localhost ([::1]:44422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oc1dy-0005EX-1L for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 24 Sep 2022 05:40:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oc1di-0005CT-4r for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2022 05:40:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43246) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oc1dh-0001Au-Sq for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2022 05:40:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oc1dh-0001ku-Pd for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2022 05:40:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Sep 2022 09:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57986 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 57986-submit@debbugs.gnu.org id=B57986.16640123886712 (code B ref 57986); Sat, 24 Sep 2022 09:40:01 +0000 Original-Received: (at 57986) by debbugs.gnu.org; 24 Sep 2022 09:39:48 +0000 Original-Received: from localhost ([127.0.0.1]:42321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc1dU-0001kC-Es for submit@debbugs.gnu.org; Sat, 24 Sep 2022 05:39:48 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:46292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oc1dS-0001jt-4f for 57986@debbugs.gnu.org; Sat, 24 Sep 2022 05:39:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=XP1MgLbJMtGQbUn7BRm1T5jDc2y+XgaXWQuGHbE+G0I=; b=h0un0IC4i/YcMDIN9NXHIcgyEm JuBMrFEO5SNShbMVtVqH5JdpqiXetlk60VVOCavzRGpsIfLqxwOQwwkLKusvyzGKexeBayqOoU/hp aQ74+Y37vdQz3paSZrqSAGmgGu5/pyNr1FuoNWb+DHFGUpzIHv0JD/qhvDdw1hxDxbTI=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oc1dJ-0002J3-89; Sat, 24 Sep 2022 11:39:39 +0200 In-Reply-To: <87fsgi2gs2.fsf@melete.silentflame.com> (Sean Whitton's message of "Fri, 23 Sep 2022 09:32:13 -0700") X-Now-Playing: Terry Riley's _Third Noise Principle (Formative North American Electronica 1975-1984) (3)_: "Across the Lake of the Ancient Word" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:243511 Archived-At: Sean Whitton writes: > Yeah, the docstring sounds like do-what-I-mean reformatting, not > something more specific that cares about exactly where point is in the > line. (I'd still advocate for changing it -- is there any use for this > command aside from splitting up quoted text like this?) No, but point determines what to use as the quote prefix, and that makes some difference if you have variations on >> Foo bar >>> Foo bar zot etc -- it uses the bit before point to find the prefix. And if you look at the code, it's explicitly checking whether we're at bolp to disable that logic. I've played around a bit hitting `M-RET' at various places, and I think that what it does probably makes sense, even if it's not totally intuitive, so I've just clarified this in the doc string instead of changing what it's doing.