From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#41536: uniquify can select non-unique prefix Date: Wed, 27 May 2020 17:32:04 -0400 Message-ID: <857dwxt67f.fsf@gmail.com> References: <1422112800.1035313346.1590497810370.JavaMail.root@zimbra39-e7> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="15394"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) Cc: 41536@debbugs.gnu.org To: ydirson@free.fr Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed May 27 23:33:32 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 1je3g4-0003rI-5U for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 May 2020 23:33:32 +0200 Original-Received: from localhost ([::1]:58150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1je3g3-0006CQ-6U for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 27 May 2020 17:33:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45554) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1je3fc-0006Ao-R4 for bug-gnu-emacs@gnu.org; Wed, 27 May 2020 17:33:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38631) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1je3fa-0000cm-L0 for bug-gnu-emacs@gnu.org; Wed, 27 May 2020 17:33:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1je3fa-0008Dz-J6 for bug-gnu-emacs@gnu.org; Wed, 27 May 2020 17:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 May 2020 21:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41536 X-GNU-PR-Package: emacs Original-Received: via spool by 41536-submit@debbugs.gnu.org id=B41536.159061515031569 (code B ref 41536); Wed, 27 May 2020 21:33:02 +0000 Original-Received: (at 41536) by debbugs.gnu.org; 27 May 2020 21:32:30 +0000 Original-Received: from localhost ([127.0.0.1]:50176 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je3f3-0008D7-MJ for submit@debbugs.gnu.org; Wed, 27 May 2020 17:32:29 -0400 Original-Received: from mail-io1-f46.google.com ([209.85.166.46]:38029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1je3el-0007zR-It for 41536@debbugs.gnu.org; Wed, 27 May 2020 17:32:26 -0400 Original-Received: by mail-io1-f46.google.com with SMTP id d7so27801230ioq.5 for <41536@debbugs.gnu.org>; Wed, 27 May 2020 14:32:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=2/wxBzDJfay6+1PHicrKQ0aB0jA/M8Ka3hjTZL834Qs=; b=kslEICxoypaEndCZN/oClPmqga2l0jY7lfltKU3xOSMYW1HlPlH8v7chPyB4SObhUp ZJtlnN3F697U6KyxBFMmLsr1WP6a47Q5Lq9Kv0YB+lWeXVYLoKOw+nHQ8q+zN2xgYyPR CIoEJ1aV6+YwKXIQDoVnfvnRU7vClWtcPRg603uUyb52G4FnSsfm1QXlbEwgbWUjijCG QBjk+13Ux1HY9YtwHdgEJAlq9vjux4sSUVkS8u+cToaTuC7xV6TaHN6hqWSg47ENgDtF qsrDIMOfaWVPgoHJttx5VEMDYQzvOVbv41CMfMiOAPgnExF7/uTs/b3PGxXx6iHE3PEG 1QaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=2/wxBzDJfay6+1PHicrKQ0aB0jA/M8Ka3hjTZL834Qs=; b=mr8Y5XZCaBDFDkA8nktyk1qd1sBpkl8nZUtwmU1yBg7ibjHcjA4hF23Cp70HWy+uM5 a6k/8VVxlH55bd1T3XyT1UNkYI9+Xv9R9opbgaqZeZU1/49LAyN8MJFx7AU0OxEKPjH6 e3lPiDkkHb6YuOqBIHp2ei4d/M7oiEDvD/oyHpQrkEWmWxPuGK8N41twtiQM6b/x1M4L OUpja7MvxXIdH60Tx6jj7vReRwQaHBYDow6fs5rK2om8govy1FqPyli2iSWtJnUdjA7t QE0pnT3K8vi2d91nZ8LZ/FBjHF5/MAWfj1zYc8hh63CQogYMeoaIxU8mZf6msW2NEPXd 4UAg== X-Gm-Message-State: AOAM531vF//6pqzbxpJYUGrhbXcHZRfp4FLciMGDXu08PbKjHkPWEldN DVrRkGP/txb5u9OghvzS6nrtnnsJ X-Google-Smtp-Source: ABdhPJzDYLYkQgYX3fctVSTzqFhUV9Tsw3In9x9ph2V5p3zAg31SUB3ZPr0nzIEEQ7HwSfyiywcJ+w== X-Received: by 2002:a02:3341:: with SMTP id k1mr7772622jak.74.1590615125769; Wed, 27 May 2020 14:32:05 -0700 (PDT) Original-Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.38.42]) by smtp.gmail.com with ESMTPSA id g4sm2160876ilj.45.2020.05.27.14.32.04 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Wed, 27 May 2020 14:32:05 -0700 (PDT) In-Reply-To: <1422112800.1035313346.1590497810370.JavaMail.root@zimbra39-e7> (ydirson@free.fr's message of "Tue, 26 May 2020 14:56:50 +0200 (CEST)") 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:181111 Archived-At: ydirson@free.fr writes: > 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. I agree this can be annoying in many cases, but how do you expect Emacs to know which directory names should be considered? Have a backlist of "too generic" words like "lib", "utils", "config", etc?