unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: ydirson@free.fr
To: 41536@debbugs.gnu.org
Subject: bug#41536: uniquify can select non-unique prefix
Date: Tue, 26 May 2020 14:56:50 +0200 (CEST)	[thread overview]
Message-ID: <1422112800.1035313346.1590497810370.JavaMail.root@zimbra39-e7> (raw)
In-Reply-To: <1806725215.1035270044.1590497113540.JavaMail.root@zimbra39-e7>

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.





       reply	other threads:[~2020-05-26 12:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1806725215.1035270044.1590497113540.JavaMail.root@zimbra39-e7>
2020-05-26 12:56 ` ydirson [this message]
2020-05-27 21:32   ` bug#41536: uniquify can select non-unique prefix Noam Postavsky
2020-05-27 22:23     ` ydirson
2020-05-27 22:58       ` ydirson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1422112800.1035313346.1590497810370.JavaMail.root@zimbra39-e7 \
    --to=ydirson@free.fr \
    --cc=41536@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).