From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: master 431f8ff1e38: * lisp/imenu.el: Support more values for imenu-flatten (bug#70846) Date: Tue, 14 May 2024 09:10:05 -0400 Message-ID: References: <171558357066.26019.9766615061719600757@vcs2.savannah.gnu.org> <20240513065931.0D83AC12C31@vcs2.savannah.gnu.org> <86v83hwxjs.fsf@mail.linkov.net> <86ikzhq6ja.fsf@mail.linkov.net> <86o798x5hz.fsf@gnu.org> 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="6609"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Juri Linkov , me@eshelyaron.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 14 15:11:19 2024 Return-path: Envelope-to: ged-emacs-devel@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 1s6rw6-0001SF-MP for ged-emacs-devel@m.gmane-mx.org; Tue, 14 May 2024 15:11:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s6rvJ-0000jY-GB; Tue, 14 May 2024 09:10:29 -0400 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 1s6rvG-0000jG-UU for emacs-devel@gnu.org; Tue, 14 May 2024 09:10:27 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1s6rv5-0000i5-O1; Tue, 14 May 2024 09:10:26 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 387A1100064; Tue, 14 May 2024 09:10:07 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1715692206; bh=GZREgdpBHnbdfPXYW6g1j/vg98RK1x32+tXVjexLdD0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=XG2hqgQQ6d6mJR6AXMTWp6fnEMgbfRIKiPt8X1afAtuvu55m200/0sEoo07/wsehl 0lV1Z66KvIE6Rn1XAjbrKllJqbYxDSEHQRr0AomYDbMpbQHCWKq217EnaM/xU5AeYx CfCIXlVRzY8eir73VaQk73Q3s4MjnsM0xo0AEUfeUQ3zq9K+dDsAdNA5GzGyxwBYba IVocsctdVrEXeWOq42V4N0HPrIrUzk+VXwwzb5LEbhja9Sd+723au3N+ifyHJdhwye /o2RyBep8q7SZeR6mrB9V+ejO6fy+cnR9GvltEuSmJTzIEbyO7DcZ8yOr0YNY/nj7i IoUpYt7xuX60g== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5428B100042; Tue, 14 May 2024 09:10:06 -0400 (EDT) Original-Received: from pastel (unknown [45.72.201.215]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 23968120682; Tue, 14 May 2024 09:10:06 -0400 (EDT) In-Reply-To: <86o798x5hz.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 14 May 2024 09:38:32 +0300") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:319223 Archived-At: >> +(defcustom completion-allow-text-properties nil >> + "Non-nil means `choose-completion' should not discard text properties. >> +This also affects `completing-read' and any of the functions that do >> +minibuffer input with completion." > > This new user option should be announced in NEWS. > > I also wonder whether it should be a user option, i.e. is it > reasonable that a user would like all of his/her completions to > preserve text properties? Stefan, WDYT? I can't see how it can make sense as a user-option, no. AFAICT it's a hack for specific front-ends or specific backends (or combinations thereof) to work around limitations in the completion API (or maybe rather to allow abusing the completion API as a selection API =F0=9F=99=82). Stefan