From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: ydirson@free.fr Newsgroups: gmane.emacs.bugs Subject: bug#41536: uniquify can select non-unique prefix Date: Tue, 26 May 2020 14:56:50 +0200 (CEST) Message-ID: <1422112800.1035313346.1590497810370.JavaMail.root@zimbra39-e7> References: <1806725215.1035270044.1590497113540.JavaMail.root@zimbra39-e7> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="47835"; mail-complaints-to="usenet@ciao.gmane.io" To: 41536@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue May 26 14:57:10 2020 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 1jdZ8o-000CM1-3y for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 May 2020 14:57:10 +0200 Original-Received: from localhost ([::1]:59162 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdZ8n-0002ex-6Q for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 May 2020 08:57:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52868) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdZ8g-0002cS-Ko for bug-gnu-emacs@gnu.org; Tue, 26 May 2020 08:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32838) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jdZ8g-0008Ef-CA for bug-gnu-emacs@gnu.org; Tue, 26 May 2020 08:57:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jdZ8g-0007j0-CW for bug-gnu-emacs@gnu.org; Tue, 26 May 2020 08:57:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ydirson@free.fr Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 May 2020 12:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41536 X-GNU-PR-Package: emacs X-Debbugs-Original-To: submit@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.159049781429678 (code B ref -1); Tue, 26 May 2020 12:57:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 May 2020 12:56:54 +0000 Original-Received: from localhost ([127.0.0.1]:44384 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdZ8Y-0007ib-49 for submit@debbugs.gnu.org; Tue, 26 May 2020 08:56:54 -0400 Original-Received: from smtp4-g21.free.fr ([212.27.42.4]:47998) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jdZ8V-0007iS-VH for submit@debbugs.gnu.org; Tue, 26 May 2020 08:56:52 -0400 Original-Received: from zimbra39-e7.priv.proxad.net (unknown [172.20.243.189]) by smtp4-g21.free.fr (Postfix) with ESMTP id 7A6AA19F5B5 for ; Tue, 26 May 2020 14:56:50 +0200 (CEST) In-Reply-To: <1806725215.1035270044.1590497113540.JavaMail.root@zimbra39-e7> X-Originating-IP: [91.170.159.152] X-Mailer: Zimbra 7.2.0-GA2598 (ZimbraWebClient - FF3.0 (Linux)/7.2.0-GA2598) X-Authenticated-User: ydirson@free.fr 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" Xref: news.gmane.io gmane.emacs.bugs:181030 Archived-At: 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.