GNU bug report logs - #39379
27.0.60; Fix for #38457 broke ido-vertical-mode

Previous Next

Package: emacs;

Reported by: Jimmy Yuen Ho Wong <wyuenho <at> gmail.com>

Date: Fri, 31 Jan 2020 23:54:02 UTC

Severity: normal

Merged with 39433

Found in version 27.0.60

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 39379 <at> debbugs.gnu.org, wyuenho <at> gmail.com
Subject: bug#39379: 27.0.60; Fix for #38457 broke ido-vertical-mode
Date: Tue, 4 Feb 2020 16:19:05 +0300
On 04.02.2020 6:27, Eli Zaretskii wrote:

> I think this is for ido.el to do: it is ido.el that puts the cursor on
> the overlay string, so it is up to it to make sure the cursor can be
> put where it puts the 'cursor' property.  It's a simple change: if the
> text to be displayed starts with a newline, prepend a SPC to it when
> defining the after-string.

But... the change in ido-vertical-mode is simpler still: just add an 
extra argument to concat.

If we do that in ido.do, the reason why would be fairly non-obvious from 
that code. After all, we don't provide any customization points in 
there, hooks or otherwise. So we risk accidentally losing that change in 
some future version.




This bug report was last modified 5 years and 103 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.