GNU bug report logs - #41536
uniquify can select non-unique prefix

Previous Next

Package: emacs;

Reported by: ydirson <at> free.fr

Date: Tue, 26 May 2020 12:57:02 UTC

Severity: wishlist

Found in version 26.3

Full log


View this message in rfc822 format

From: ydirson <at> free.fr
To: 41536 <at> debbugs.gnu.org
Subject: bug#41536: uniquify can select non-unique prefix
Date: Tue, 26 May 2020 14:56:50 +0200 (CEST)
Package: emacs
Version: 26.3

After openning the following two files:

 /tmp/a/b/c
 /tmp/a/x/b/y/c

With style "forward" and all other customization vars as "standard",
the buffer names are respectively:

 b/c
 y/c

With my source-directory layout respecting the "higher-level is most significant"
principle, I would have expected the second buffer to be "x/b/c" instead.

In my case the "y" level is even a python package for modules containing abstract
classes, call it "lib" -- you'll understand that "lib/foo.py" is not really
helpful, when other packages could have a module of the same name in a "lib/"
subpackage.




This bug report was last modified 4 years and 295 days ago.

Previous Next


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