From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Steven Newsgroups: gmane.emacs.bugs Subject: bug#14148: 24.3; make ido-mode slightly more customizable Date: Wed, 10 Jan 2024 05:29:43 -0600 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000189675060e95bfd4" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23797"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 14148@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jan 10 12:30:06 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 1rNWmb-0005zw-6N for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 10 Jan 2024 12:30:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rNWmS-0007IJ-KB; Wed, 10 Jan 2024 06:29:56 -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 1rNWmR-0007IB-IF for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 06:29:55 -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 1rNWmR-0005MG-97 for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 06:29:55 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rNWmY-0003EY-DH for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2024 06:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Steven Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jan 2024 11:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14148 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 14148-submit@debbugs.gnu.org id=B14148.170488619412390 (code B ref 14148); Wed, 10 Jan 2024 11:30:02 +0000 Original-Received: (at 14148) by debbugs.gnu.org; 10 Jan 2024 11:29:54 +0000 Original-Received: from localhost ([127.0.0.1]:42264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNWmP-0003Dm-Qz for submit@debbugs.gnu.org; Wed, 10 Jan 2024 06:29:54 -0500 Original-Received: from mail-ot1-x32b.google.com ([2607:f8b0:4864:20::32b]:51313) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rNWmO-0003DZ-I5 for 14148@debbugs.gnu.org; Wed, 10 Jan 2024 06:29:53 -0500 Original-Received: by mail-ot1-x32b.google.com with SMTP id 46e09a7af769-6dde00d8760so1355223a34.2 for <14148@debbugs.gnu.org>; Wed, 10 Jan 2024 03:29:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1704886179; x=1705490979; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=4IfxW2sc+qeULGyechZGvif1MjntqgFUG4fy/PsEUzU=; b=SHc4l9nfe6Sbcy5zkLqDADsjieBC+w841TlF1xYwRtvYLVRXQOsW9o+uDLqpyURblz EMfEe7ai0B8ntwU1dETQMvJ1RmmHFnGFQwOWEAQUIdCnIG0GT39xEgN2sqvnVvCTotgu Xni6bn7HiFWAiLRzOcdmr9eLSSG3IIi1pajBpRZCeo6TAo6PmxoH9TQUNHjFnnfmenuG mqHesifbkgkPaI1pmIapR7fyyDATE9NlrrWbyDJMWpRwKBNgU3QezY6b0uJragtFlIdn imaHyQk5eYEqa5qhmXTd35Fom+6GTd97QrM9tFjt17JV75hM4xfOurxCDhuXDIZTa/Cr deyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704886179; x=1705490979; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=4IfxW2sc+qeULGyechZGvif1MjntqgFUG4fy/PsEUzU=; b=xQr8KkBWYjdVCLJsEgKeV5xaQ0oTdDw3gjBuTwwxxbXPL4Kt6E+9NWMhELUbrgBf45 aRxw2XxAi/TTChhbNvTmQ1ZuaLQu0gPo8kjqlJepYTUVmjI5rUdHLesjJFpunUL67uGr LkAvbukxugBcON3SJ/ZBbe6AQnS4O6ImtdVS/JV7YFWeJeMoVi8TPy7od2PNCSMy03b5 dH48gPJo8bLxy9I271M2+PDqGk+YPVDu7wTXc92a0v+hkjbub3fX8KUOXFdnXzeJDcP+ KUib8ZAGQ3DH4fh+4NoeZeI0XDt8q/yVn0zSOwT1eNqjEuTXWSFqWjhvnzSXSsKWuP1p wPAA== X-Gm-Message-State: AOJu0Yw2Wv4WHnnLy+NdTLOHKpN7g19AZcA0N+g0IgwNoezmimw9BLSN r5Y56NB7hYTAEzDNODm/C8DmO9EDq2tfdhCPHz4= X-Google-Smtp-Source: AGHT+IExNKBnJXtJkzYmKNW89+6T11v0v0hglcSwZy7r0hAzhLw6X+qP0qvEuw4zdJtNyzOIxNqRqxPlhUNW5gJuHKM= X-Received: by 2002:a05:6870:6107:b0:206:1f1:1697 with SMTP id s7-20020a056870610700b0020601f11697mr575745oae.100.1704886179238; Wed, 10 Jan 2024 03:29:39 -0800 (PST) In-Reply-To: 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:277722 Archived-At: --000000000000189675060e95bfd4 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I haven't used Emacs in years. Thanks. On Wed, Jan 10, 2024 at 5:20=E2=80=AFAM Stefan Kangas wrote: > Steven Degutis writes: > > > list appear vertically. However, This is limited for two reasons, both > > of which are easy to fix. For one thing, the elements at indices 4 and = 5 > > of ido-decorations are overloaded, and used in two places when they > > really should be separated out into two different pairs of > > decorations. Specifically on lines 4573/4575, this should use new > > elements, at new indices 11 and 12 (for backwards compatibility), which > > default to the same values as the existing elements 4 and 5. Then these > > "brackets" can be customized separately (one as a newline and one not) > > when displaying vertically. And only when element 11 exists should it > > use 11 and 12, otherwise it should fall back to 4 and 5 for backwards > > compatibility with anyone who has customized ido-decorations themselves > > before this change. Finally, the inner-if on line 4563 has to be wrappe= d > > with an (and (not (ido-show-when-sole-exact-match)) ...) with that > > variable created as a defcustom above. This will prevent the sole exact > > match from being hidden, which in vertical mode is confusing and seems > > to indicate that there no longer remains any matches. I would add the > > changelog myself but I'm woefully ignorant on how to do so. There is > > already most of the work done in a patch on the devel mailing list in a > > post by Stefan Monnier. > > That was 10 years ago, so I'm reaching out to see if this is still > an issue on a modern version of Emacs. Did you try the new fido-mode, > for example? > > If I don't hear back from you within a couple of months, Ill just assume > that this has been fixed and close this bug. > > Thanks in advance. > --000000000000189675060e95bfd4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I haven't used Emacs in years. Thanks.

On Wed, Jan 10, = 2024 at 5:20=E2=80=AFAM Stefan Kangas <stefankangas@gmail.com> wrote:
Steven Degutis <sbdegutis@gmail.com> writes:

> list appear vertically. However, This is limited for two reasons, both=
> of which are easy to fix. For one thing, the elements at indices 4 and= 5
> of ido-decorations are overloaded, and used in two places when they > really should be separated out into two different pairs of
> decorations. Specifically on lines 4573/4575, this should use new
> elements, at new indices 11 and 12 (for backwards compatibility), whic= h
> default to the same values as the existing elements 4 and 5. Then thes= e
> "brackets" can be customized separately (one as a newline an= d one not)
> when displaying vertically. And only when element 11 exists should it<= br> > use 11 and 12, otherwise it should fall back to 4 and 5 for backwards<= br> > compatibility with anyone who has customized ido-decorations themselve= s
> before this change. Finally, the inner-if on line 4563 has to be wrapp= ed
> with an (and (not (ido-show-when-sole-exact-match)) ...) with that
> variable created as a defcustom above. This will prevent the sole exac= t
> match from being hidden, which in vertical mode is confusing and seems=
> to indicate that there no longer remains any matches. I would add the<= br> > changelog myself but I'm woefully ignorant on how to do so. There = is
> already most of the work done in a patch on the devel mailing list in = a
> post by Stefan Monnier.

That was 10 years ago, so I'm reaching out to see if this is still
an issue on a modern version of Emacs.=C2=A0 Did you try the new fido-mode,=
for example?

If I don't hear back from you within a couple of months, Ill just assum= e
that this has been fixed and close this bug.

Thanks in advance.
--000000000000189675060e95bfd4--