From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Volf <~@wolfsden.cz> Newsgroups: gmane.emacs.bugs Subject: bug#68510: Bug in gnus' C-u S v Date: Fri, 19 Jan 2024 18:05:23 +0100 Message-ID: References: <87jzo5a65y.fsf@gmx.de> <87mst1qp72.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Py90CrMRcYvQ1sr9" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10860"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 68510@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 19 18:06:29 2024 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 1rQsK4-0002VO-Ei for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 19 Jan 2024 18:06:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rQsJr-0002ed-1C; Fri, 19 Jan 2024 12:06:16 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rQsJc-0002bd-BR for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2024 12:06:00 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rQsJc-0007G6-3W for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2024 12:06:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rQsJe-0000Pk-8F for bug-gnu-emacs@gnu.org; Fri, 19 Jan 2024 12:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Volf <~@wolfsden.cz> Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Jan 2024 17:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68510 X-GNU-PR-Package: emacs Original-Received: via spool by 68510-submit@debbugs.gnu.org id=B68510.17056839321538 (code B ref 68510); Fri, 19 Jan 2024 17:06:02 +0000 Original-Received: (at 68510) by debbugs.gnu.org; 19 Jan 2024 17:05:32 +0000 Original-Received: from localhost ([127.0.0.1]:60064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQsJA-0000Oj-1E for submit@debbugs.gnu.org; Fri, 19 Jan 2024 12:05:32 -0500 Original-Received: from wolfsden.cz ([37.205.8.62]:40954) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <~@wolfsden.cz>) id 1rQsJ7-0000OW-31 for 68510@debbugs.gnu.org; Fri, 19 Jan 2024 12:05:30 -0500 Original-Received: by wolfsden.cz (Postfix, from userid 104) id A5D1A257FE1; Fri, 19 Jan 2024 17:05:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1705683924; bh=Z3L7Bg+r1KYQV/cbnPDsMV+3uNY+abZL/sHVTtrintI=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=rzkPaydd7XnHx7gCSV3+ErFUHYbSzhqQ1+9+/yzQ2kLsNPL0yJ5TahsT4aGbsxkRk QohOzoBKkw6hO1f1bHkKlzbuUq8lOd5XThw4THIKlNwFBlyNC4XxaUaW3Z+O9gcw7L U+BBfFnz8k1E6LArYSb7+efKM+qmVoTwmyHawFblCIJQ21pNLrp0+NgC5XPS+VAkyK 5Ranv84wJbvH5q90vmCIWuBb28XTkmt+phUSZ7qNwP0jPOmhBUKIwzyw7H7wG/gQ+Z mi+k+F63aikRoGKb5+RowpCKfq5gF0ysS3YXSxDWCW+T2LpekkvvuJm8fSHLClj23l 8fhHoNF0tPuw0iZxkRvpm03gkt9kv0ZZRXQ9yNtEXuQcwTVA8rTLklirWEnuPvaT66 ROKN8Qj8nnuz9i2bXTSF3SwlRkEaUnaWIAw7v0/IRqsisLwlUukJ8+gtcm89RvHq+w zHyNNx3gTKJbV7JrL71/G/Z8KiGBrinCccilEDK4yEhXtG85Qbule/B7t9zlwhxD+H +q4Zbf9/sJj2JfZBOZvrTTQkXpJ1OA6ZNLNf9EC9pYWB71e2M00pmVSGb7D68+zGqz oAeBT0PLpIMuP8xts/ncOHpkS0HAyonHYYtw1lETxzQxrFcxoa59StDD1Z6F7u3QBj 9r8F2KGtZyK7YGH85XtAY8N4= Original-Received: from localhost (unknown [193.32.127.177]) by wolfsden.cz (Postfix) with ESMTPSA id 287ED257C78; Fri, 19 Jan 2024 17:05:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=wolfsden.cz; s=mail; t=1705683924; bh=Z3L7Bg+r1KYQV/cbnPDsMV+3uNY+abZL/sHVTtrintI=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=rzkPaydd7XnHx7gCSV3+ErFUHYbSzhqQ1+9+/yzQ2kLsNPL0yJ5TahsT4aGbsxkRk QohOzoBKkw6hO1f1bHkKlzbuUq8lOd5XThw4THIKlNwFBlyNC4XxaUaW3Z+O9gcw7L U+BBfFnz8k1E6LArYSb7+efKM+qmVoTwmyHawFblCIJQ21pNLrp0+NgC5XPS+VAkyK 5Ranv84wJbvH5q90vmCIWuBb28XTkmt+phUSZ7qNwP0jPOmhBUKIwzyw7H7wG/gQ+Z mi+k+F63aikRoGKb5+RowpCKfq5gF0ysS3YXSxDWCW+T2LpekkvvuJm8fSHLClj23l 8fhHoNF0tPuw0iZxkRvpm03gkt9kv0ZZRXQ9yNtEXuQcwTVA8rTLklirWEnuPvaT66 ROKN8Qj8nnuz9i2bXTSF3SwlRkEaUnaWIAw7v0/IRqsisLwlUukJ8+gtcm89RvHq+w zHyNNx3gTKJbV7JrL71/G/Z8KiGBrinCccilEDK4yEhXtG85Qbule/B7t9zlwhxD+H +q4Zbf9/sJj2JfZBOZvrTTQkXpJ1OA6ZNLNf9EC9pYWB71e2M00pmVSGb7D68+zGqz oAeBT0PLpIMuP8xts/ncOHpkS0HAyonHYYtw1lETxzQxrFcxoa59StDD1Z6F7u3QBj 9r8F2KGtZyK7YGH85XtAY8N4= Content-Disposition: inline In-Reply-To: <87mst1qp72.fsf@ericabrahamsen.net> 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:278540 Archived-At: --Py90CrMRcYvQ1sr9 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2024-01-19 08:10:25 -0800, Eric Abrahamsen wrote: >=20 > On 01/19/24 12:55 PM, Michael Albinus wrote: > > Tomas Volf <~@wolfsden.cz> writes: > > > >> Hello, > > > > Hi Tomas, > > > >> I think I found a bug in debbugs, however I am not sure if the bug is = in > >> documentation or in the code. Steps to reproduce (in emacs -Q): > >> > >> In *scratch* buffer: > >> (require 'debbugs-gnu) > >> (debbugs-gnu-bugs 66531) > >> > >> In the new buffer open the message and navigate cursor to last message= from Mike > >> Gran (47: ). Now, when I want to reply, I press S v and it opens a bu= ffer with > >> (addresses are censored): > >> > >> To: Mike Gran > >> Cc: Tomas Volf , "xxx@debbugs-gnu-org" > >> Subject: Re: bug#66531: [PATCH] ftw: Fix getuid-or-false, getgid-o= r-false macros. > >> From: me@hostname.mail-host-address-is-not-set > >> --text follows this line-- > >> > >> So far that is expected. However when I want to quote the original me= ssage, I can, based on the reading of the manual, use C-u S v: > >> > >>> If prefix argument YANK is non-nil, the original article(s) will be y= anked > >>> automatically. > >> > >> However while that does work, additional undocumented (and unwanted) c= hanges are > >> done as well,producing a following message: > >> > >> To: Mike Gran > >> Cc: Tomas Volf , Tomas Volf , control@debbugs-gnu-org, > >> xxx@debbugs-gnu-org > >> Subject: Re: bug#66531: [PATCH] ftw: Fix getuid-or-false, > >> getgid-or-false macros., bug#66531: [PATCH] ftw: Fix getuid-or-false, > >> getgid-or-false macros., bug#66531: [PATCH] ftw: Fix getuid-or-false, > >> getgid-or-false macros., bug#66531: [PATCH] ftw: Fix getuid-or-false, > >> getgid-or-false macros., control message for bug #66531, control > >> message for bug #66531 > >> From: me@hostname.mail-host-address-is-not-set > >> --text follows this line-- > >> Mike Gran writes: > >> > >> [..] > >> > >> Notice that the subject is pretty weird, and for some reason there is = a control > >> server in the CC list. I do not know if this is expected (well, at le= ast I did > >> not expect it), but it at the very least does not seem to be documente= d. Based > >> on my reading of the C-h k S v I would have expected just the "Mike Gr= an > >> writes:" change. > > > > Zhanks for the report, I could reproduce it. However, it doesn't seem to > > be a Debbugs bug, but rather a Gnus bug. I've reproduced it by using > > Gnus w/o Debbugs. > > > > For this, I've started a new Emacs instance w/o debbugs. I've opened > > Gnus, and browsed the gmane server {nntp:news.gmane.io} for the group > > gmane.lisp.guile.bugs. Message 10682 is the one you've mentioned above. > > > > Typing in the Summary buffer 'C-u S v' shows the error. > > > > I'm therefore changing the subject, adding Eric Abrahamsen into Cc. >=20 > I can't reproduce this exact result, but I can get buggy behavior -- in > my case it pulls in the subject of the *next* message in my Summary > buffer, in my case for bug #68506. Actually it seems to do a little > something different every time, also depending on whether I have things > edebugged or not. Fun! It is interesting you cannot reproduce it exactly. Now I see I forgot to s= tate an Emacs version (sorry!), I am using 29.1 release. But based on your description this sounds indeed like a fun bug. >=20 > I suspect the prefix argument is being interpreted wrong somehow. I > wouldn't be surprised if Tomas's subject line looks like that because > '(4) is resulting in four copies of the subject. I just tried M-1 S v (Which I *think* should sent '(1)? Sorry, still pretty new.) and I still got it 4 times. Maybe the number of repetitions is due to there being 4 messages above this one in the thread? Just guessing. >=20 > Tomas, would you first confirm that running "S V" > (gnus-summary-very-wide-reply-with-original) behaves correctly? > Essentially that's supposed to do exactly what "C-u S v" does, and it > works correctly for me, which is part of why I think it's a prefix > argument problem. I don't even know why we have all these variants. Yes, I can confirm that S V works as expected. Let me know if there is any= thing else I should test. Thank you for looking into this and have a nice day, Tomas Volf --=20 There are only two hard things in Computer Science: cache invalidation, naming things and off-by-one errors. --Py90CrMRcYvQ1sr9 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEt4NJs4wUfTYpiGikL7/ufbZ/wakFAmWqq9MACgkQL7/ufbZ/ waka+A/7B/MBYu57+sd3qND43LVl6FwLzMeE6BOkNagbflx50MTs8zzox74LVNdy x+D2mZtYUAD0b0kt3sG3sMvzTwIW2DyV9sfXTvZxKD8c9iRGiSZ8vUHB6OTz94HI zbTo9lRWTlHd9Zj8vV6wUIBqDs+7AJY8+G1VnXjF3Z2Q7dCGoHHCgp8h9i0y61ts E4bCVs2xACYSVAB28HY3093H6NQqkikWQDi3D0HvNEKF8levyv2iQOCRJY9oulZu e08GgeqSAxrS9YWHuGTgTIIvnrkC0oy04sreNQBVHM3xdb2ITIWnW1qITqs1JKIj WXAYfzGvBgfL/mxxMfZr+rJo7c/XCaDqyTnXSoO71dcNka9/dmTT4toaws92VAP7 fD1VIogNjF+3gTHP2yU+G/YjZJpe6TUG8yLxklUb5fUZQe8x7BSokjHDko9fhjnp 0rrZD7wFKhWC/iyP4iaNwepwqaP0LPnLUZ0/GmLXTwqQgx9Hrfih0TOUYkTrSjdM o6oYteR9qcC/wYCJz15Q1zbaQT1oARjDZBtx3AuCFLhmfegiFq2pAz4e7d4lhdbA JQKZqMYkMUrIGjFJ6YRja9xuB3Cu1+xaVYbbT+1pYy0yn7QrBrZ007Qd3Te6XbGX BgaQ7PL2huVayimBAblqajietbeJDwvdtKYli1wXTZXXLrC3ZV4= =JAQQ -----END PGP SIGNATURE----- --Py90CrMRcYvQ1sr9--