From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alexander =?UTF-8?Q?Pr=C3=A4hauser?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69479: 30.0.50; Attaching files to gnus fails Date: Fri, 01 Mar 2024 22:04:52 +0000 Message-ID: <87wmqlpn6q.fsf@protonmail.com> References: <87a5njw1d3.fsf@protonmail.com> <87msrjasez.fsf@ericabrahamsen.net> <87bk7yex1z.fsf@protonmail.com> <87il26c24w.fsf@ericabrahamsen.net> <87wmqm24wo.fsf@protonmail.com> <871q8ubqa6.fsf@ericabrahamsen.net> <87msriqloj.fsf@protonmail.com> <87il25u2zk.fsf@protonmail.com> <87plwdaetg.fsf@ericabrahamsen.net> Reply-To: Alexander =?UTF-8?Q?Pr=C3=A4hauser?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5707"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69479@debbugs.gnu.org, 69479-done@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 01 23:06:03 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 1rgB0z-0001Cw-WB for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Mar 2024 23:06:02 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rgB0b-00021v-BS; Fri, 01 Mar 2024 17:05:37 -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 1rgB0Z-00021U-Qm for bug-gnu-emacs@gnu.org; Fri, 01 Mar 2024 17:05:35 -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 1rgB0Y-0003Xo-HA for bug-gnu-emacs@gnu.org; Fri, 01 Mar 2024 17:05:34 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rgB10-0001eO-C6 for bug-gnu-emacs@gnu.org; Fri, 01 Mar 2024 17:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Alexander =?UTF-8?Q?Pr=C3=A4hauser?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Mar 2024 22:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69479 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: Alexander =?UTF-8?Q?Pr=C3=A4hauser?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" , 69479-done@debbugs.gnu.org Original-Received: via spool by 69479-done@debbugs.gnu.org id=D69479.17093307436298 (code D ref 69479); Fri, 01 Mar 2024 22:06:02 +0000 Original-Received: (at 69479-done) by debbugs.gnu.org; 1 Mar 2024 22:05:43 +0000 Original-Received: from localhost ([127.0.0.1]:37591 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgB0g-0001dW-VG for submit@debbugs.gnu.org; Fri, 01 Mar 2024 17:05:43 -0500 Original-Received: from mail-40131.protonmail.ch ([185.70.40.131]:57931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rgB0c-0001dD-TA for 69479-done@debbugs.gnu.org; Fri, 01 Mar 2024 17:05:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail3; t=1709330705; x=1709589905; bh=37c1DZud1uuPZ5Z4c2g42+N0GoAbUlptllngCjHsMZM=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=dCqk4MTVzjT7h5WJWSRJXMu8pygaN3KW6Mpas/IFzmA1+0e1jmC5/6qg6czpMdswz 0n3pEI39JcHojegOY2bMyhGTpngftCoRLgF1pYiTuwKqfT0IUQoai18TT4oozTw90V LQ3rZKBZVuxK3Nlgp8u+88Qn8OYY7XM4mX/qAscthTI3fLBtyaEsFnFEJah0chp8nn 8WeZXjKpvSTap2eqpCvKh0lYgsA/dTEVons/7Ge43gTwUg24RdMb2wWRCvXhUuXwXy l6A3GUBbUHqSkEbUcyw1N68ih54S5/LabfSdP0IWBLiZDH0+I2O9UxKLPBMmhrTYG6 vfrowR7LsO+jQ== In-Reply-To: <87plwdaetg.fsf@ericabrahamsen.net> Feedback-ID: 39886207:user:proton 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:280877 Archived-At: "Eric Abrahamsen" writes: > Alexander Pr=C3=A4hauser via "Bug reports for GNU Emacs, the Swiss army k= nife > of text editors" writes: > >> Alexander Pr=C3=A4hauser writes: >> >>> "Eric Abrahamsen" writes: >>> >>>> Alexander Pr=C3=A4hauser via "Bug reports for GNU Emacs, the Swiss arm= y knife >>>> of text editors" writes: >>>> >>>>> C-c C-a, as usual. >>>> >>>> What completion framework do you use? Crystal ball says icicles... >>> >>> No, Vertico, with Corfu for drop-down completion. >> >> Huh, it works if I disable Vertico. I'll file a bug report there. > > Thanks, I'll watch that report. There are other guards in this area of > the code against completion frameworks returning propertized strings, so > it may be that we end up adding one here (or in `gnus-completing-read'). > I don't actually know if there's an explicit contract saying completion > strings should not have properties, but in this case at least it looks > like leakage of something internal. > > I'm going to close this report for now; please reopen if necessary. One more thing, I sent a report to Daniel Mendler and we found out that the issue is that minibuffer-allow-text-properties was set to t by something. He also wrote this: "While I insist that it is a mistake to set minibuffer-allow-text-propertie= s globally, I still wonder why Gnus uses propertized candidates in the first place, in particular with a useless fontified=3Dnil= property. Ideally commands which pass propertized candidates can also handle propertized return values. So maybe a guard coul= d be added to Gnus, but I would rather recommend to strip the properties properly before passing the candidates li= ke text/plain to gnus-completing-read."