GNU bug report logs - #76440
30.1; different behavaiour of 29.4 and 30 for ivy completition of absolute paths

Previous Next

Package: emacs;

Reported by: Evgeniy Dushistov <dushistov <at> mail.ru>

Date: Thu, 20 Feb 2025 16:17:02 UTC

Severity: normal

Tags: patch

Fixed in version 30.1

Done: "Basil L. Contovounesios" <basil <at> contovou.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Evgeniy Dushistov <dushistov <at> mail.ru>
To: "Basil L. Contovounesios" <basil <at> contovou.net>
Cc: Stefan Kangas <stefankangas <at> gmail.com>, 76440 <at> debbugs.gnu.org, Oleh Krehel <ohwoeowho <at> gmail.com>
Subject: bug#76440: 30.1; different behavaiour of 29.4 and 30 for ivy completition of absolute paths
Date: Thu, 20 Feb 2025 22:50:12 +0300
On Thu, Feb 20, 2025 at 06:26:53PM +0100, Basil L. Contovounesios wrote:
> Stefan Kangas [2025-02-20 10:29 -0600] wrote:
> 
> > Evgeniy Dushistov writes:
> >
> >> After start open "/tmp" directory, and then press
> >> C-x C-f and then type /var, the content of minibuffer would be
> >> "/tmp//var",
> >> if after that press TAB
> >> the result would be "/tmp/var"
> >> while expected "/var".
> >>
> >> emacs 29.4 gives "/var", while emacs 30.1-rc1 gives "/tmp/var".
> 
> Thanks, I can reproduce this.
> 

The similar, but much worse issue competition of absolute paths
with gud-gdb+ivy:

M-x gud-gdb
In minibuffer:
"gdb --fullname /tmp"

press TAB, and for some reason get:
"gdb --fullname tmp/"

ok, I fix this and add almost all path to 
existing directory (build-dir):
"gdb --fullname /tmp/build-d"

press TAB, and get:
"gdb --fullname build-dir"

so it just remove for some reason "/tmp" when complete path,
again I fix it in minibuffer, and add almost all path to existing
binary(exe):
"gdb --fullname /tmp/build-dir/ex"

press TAB and get:
"gdb --fullname /tmp/build-direxe"

instead of
"gdb --fullname /tmp/build-dir/exe"

So with gdb-gud+ivy+emacs 30.1 TAB almost always gives not
valid path for some reason, while with emacs 29.4 all works perfect.

-- 
/Evgeniy




This bug report was last modified 137 days ago.

Previous Next


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