From unknown Sat Aug 16 21:15:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4553: 23.1; uniquify gives *vc-dir* buffer the wrong name Reply-To: Tom Tromey , 4553@debbugs.gnu.org Resent-From: Tom Tromey Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 24 Sep 2009 21:00:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 4553 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125382560323238 (code B ref -1); Thu, 24 Sep 2009 21:00:03 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 24 Sep 2009 20:53:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.5 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8OKrLie023235 for ; Thu, 24 Sep 2009 13:53:22 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MqvJY-0001lM-Rn for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 16:53:20 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MqvJV-0001jO-05 for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 16:53:20 -0400 Received: from [199.232.76.173] (port=40522 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MqvJU-0001jI-Dy for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 16:53:16 -0400 Received: from mx1.redhat.com ([209.132.183.28]:1446) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MqvJT-00020A-SJ for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2009 16:53:16 -0400 Received: from int-mx01.intmail.prod.int.phx2.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8OKrFKL026144 for ; Thu, 24 Sep 2009 16:53:15 -0400 Received: from ns3.rdu.redhat.com (ns3.rdu.redhat.com [10.11.255.199]) by int-mx01.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id n8OKrE8p032436; Thu, 24 Sep 2009 16:53:14 -0400 Received: from opsy.redhat.com (ovpn01.gateway.prod.ext.phx2.redhat.com [10.5.9.1]) by ns3.rdu.redhat.com (8.13.8/8.13.8) with ESMTP id n8OKrDdq010102; Thu, 24 Sep 2009 16:53:13 -0400 Received: by opsy.redhat.com (Postfix, from userid 500) id D5D1D378188; Thu, 24 Sep 2009 14:53:12 -0600 (MDT) From: Tom Tromey To: bug-gnu-emacs@gnu.org X-Attribution: Tom Date: Thu, 24 Sep 2009 14:53:12 -0600 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Scanned-By: MIMEDefang 2.67 on 10.5.11.11 X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list, and to the gnu.emacs.bug news group. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I have a *vc-dir* buffer opened on a directory: VC backend : Git Working dir: ~/gnu/archer/archer/ Branch : archer-tromey-python [...] And, I have: uniquify-buffer-name-style is a variable defined in `uniquify.el'. Its value is post-forward-angle-brackets uniquify-strip-common-suffix is a variable defined in `uniquify.el'. Its value is t However, the aforementioned buffer is named *vc-dir*. This is simply wrong. I think I would expect *vc-dir*. I managed to get one named *vc-dir* as well. I don't know how, but that one was also clearly wrong, as the directory in question was in /home/tromey, not /tmp. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /usr/share/emacs/23.1/etc/DEBUG for instructions. In GNU Emacs 23.1.1 (i386-redhat-linux-gnu, GTK+ Version 2.16.5) of 2009-08-26 on x86-2.fedora.phx.redhat.com Windowing system distributor `The X.Org Foundation', version 11.0.10601901 configured using `configure '--build=i386-redhat-linux-gnu' '--host=i386-redhat-linux-gnu' '--target=i586-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-dbus' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xft' '--with-xpm' '--with-x-toolkit=gtk' 'build_alias=i386-redhat-linux-gnu' 'host_alias=i386-redhat-linux-gnu' 'target_alias=i586-redhat-linux-gnu' 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i586 -mtune=generic -fasynchronous-unwind-tables'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-agent-mode: t shell-dirtrack-mode: t erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-spelling-mode: t erc-truncate-mode: t diff-auto-refine-mode: t gnus-undo-mode: t erc-status-mode: t erc-services-mode: t erc-networks-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: n SPC 5 0 M-> q C-v C-u C-u C-n C-u C-n C-u C-n n n SPC 5 0 M-> C-p C-p C-p SPC E SPC E S-SPC E SPC q s M-v M-v M-v C-z o C-x b # g d b d j C-a C-k I SPC r e b u i l t SPC a n d SPC t h e SPC t e s t SPC s t i l l SPC p a s s C-a M-f SPC u p d a t e d , SPC & S-SPC M-SPC C-e s e s SPC f o r SPC m e C-z o C-l n n n M-g M-g M-g p SPC c SPC s C-u C-n = 9 7 M-> Q y C-z o C-z o C-z o C-z o C-s r f r y C-a SPC 5 0 C-u C-n n SPC C-z o C-z o M SPC SPC = Q y s C-z o C-x b * v c - d i r < a r / t C-x k C-x b * v c - d r C-x k C-x b * v c - d i r g d C-x v * C-g C-x v d a r a r C-x 1 C-z o M-x r e p o r t - e m b Recent messages: Generating summary...done Discard changes to this group and exit? (y or n) (No changes need to be saved) Saving /home/tromey/.newsrc.eld... Saving file /home/tromey/.newsrc.eld... Wrote /home/tromey/.newsrc.eld Saving /home/tromey/.newsrc.eld...done Making completion list... [4 times] Quit Making completion list... Tom From unknown Sat Aug 16 21:15:50 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#4553: 23.1; uniquify gives *vc-dir* buffer the wrong name Reply-To: Dan Nicolaescu , 4553@debbugs.gnu.org Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 24 Sep 2009 21:40:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 4553 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 4553-submit@emacsbugs.donarmstrong.com id=B4553.125382799129497 (code B ref 4553); Thu, 24 Sep 2009 21:40:04 +0000 Received: (at 4553) by emacsbugs.donarmstrong.com; 24 Sep 2009 21:33:11 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-6.5 required=4.0 tests=AWL,HAS_BUG_NUMBER, X_DEBBUGS_NO_ACK autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from sallyv2.ics.uci.edu (sallyv2.ics.uci.edu [128.195.1.120]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8OLXAma029494; Thu, 24 Sep 2009 14:33:11 -0700 Received: from godzilla.ics.uci.edu (godzilla.ics.uci.edu [128.195.10.101]) by sallyv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n8OLWwFH018819; Thu, 24 Sep 2009 14:32:58 -0700 (PDT) Received: (from dann@localhost) by godzilla.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n8OLWwML012223; Thu, 24 Sep 2009 14:32:58 -0700 (PDT) Date: Thu, 24 Sep 2009 14:32:58 -0700 (PDT) Message-Id: <200909242132.n8OLWwML012223@godzilla.ics.uci.edu> From: Dan Nicolaescu To: Tom Tromey Cc: 4553@debbugs.gnu.org References: In-Reply-To: (Tom Tromey's message of "Thu, 24 Sep 2009 14:53:12 -0600") Lines: 30 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n8OLWwFH018819 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@godzilla.ics.uci.edu forcemerge 3224 4553 quit Tom Tromey writes: > I have a *vc-dir* buffer opened on a directory: > > VC backend : Git > Working dir: ~/gnu/archer/archer/ > Branch : archer-tromey-python > [...] > > And, I have: > > uniquify-buffer-name-style is a variable defined in `uniquify.el'. > Its value is > post-forward-angle-brackets > > uniquify-strip-common-suffix is a variable defined in `uniquify.el'. > Its value is t > > However, the aforementioned buffer is named *vc-dir*. > This is simply wrong. I think I would expect *vc-dir*. > > I managed to get one named *vc-dir* as well. I don't know how, > but that one was also clearly wrong, as the directory in question was in > /home/tromey, not /tmp. This is the same a Bug#3224. Please comment on the info there. From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 21 07:52:33 2010 Received: (at control) by debbugs.gnu.org; 21 Jul 2010 11:52:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObXqi-0003Zf-Sm for submit@debbugs.gnu.org; Wed, 21 Jul 2010 07:52:33 -0400 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObXqh-0003Za-1y for control@debbugs.gnu.org; Wed, 21 Jul 2010 07:52:31 -0400 Received: by bwz7 with SMTP id 7so111035bwz.3 for ; Wed, 21 Jul 2010 04:52:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=A+uCP5XRFz87BV2VZc0XzWQNG5vP+JTIXar+8JhUvZI=; b=qyUoyvw5EmTGoF89TLccAQ9AgNg1qEHZ17JjA4HVlPzyQ7FUK+GA9McQzgwCHryklS 3qxx6lUuhmOrdcAtsq46ku/hTTDnQWh+V0udutlv/7cv6y/WvhfD/NXapvpJXkzkqkE+ LNlIeEi9Vj56d6NK0FE9zrimAQUf7QqcD7xX8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=DuR6/7y23cN51znibATb+tYXP6htrn6oQfrEIUdOpYqdwGpU1nRDai/n7DZouboncZ EduVxUzFQ5rbfZXrjvkZAUCFQmUZIE7T/50HGon2+Dxaxrp7szFLWoHttX7lKekjXYec T9ghCZreSTzpr9pzscgMHZHHK4nR+CZES23ow= Received: by 10.204.162.204 with SMTP id w12mr25881bkx.135.1279713176583; Wed, 21 Jul 2010 04:52:56 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.180.136 with HTTP; Wed, 21 Jul 2010 04:52:33 -0700 (PDT) In-Reply-To: References: <20100720004014.D0F2F11E286@eromajin.arikm.com> From: Juanma Barranquero Date: Wed, 21 Jul 2010 13:52:33 +0200 Message-ID: Subject: Re: bug#6672: 23.1; uniquify in vc-dir-mode inaccurate To: Arik Mitschang Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: control Cc: control@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) unarchive 3224 merge 3224 6672 close 6672 quit > and it comes up with a buffer named *vc-dir*|arikm and renames > the other buffer *vc-dir*|vm-dev Aha. This is bug#3224, already fixed from Emacs 23.2 on. See http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3224 I suggest you upgrade to 23.2. Thanks, =C2=A0 =C2=A0 Juanma From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 21 08:02:35 2010 Received: (at control) by debbugs.gnu.org; 21 Jul 2010 12:02:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObY0Q-0004HW-VJ for submit@debbugs.gnu.org; Wed, 21 Jul 2010 08:02:35 -0400 Received: from mail-bw0-f44.google.com ([209.85.214.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ObY0P-0004HR-5h for control@debbugs.gnu.org; Wed, 21 Jul 2010 08:02:33 -0400 Received: by bwz7 with SMTP id 7so116569bwz.3 for ; Wed, 21 Jul 2010 05:02:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=7isMvksavtYjc6+Ck3vbYdk0+xwRYvbSL21jtiSRwec=; b=WO2/fJVy/A9cZuDXSWYO3UlPYeH3qOTuKWGRa1YHgI9y9McZl8d4y7W3SUYnGq90Rg uKqh8nulnFPeanVPsDum05Y6GOS3tIK6s40eWuMLj7aztqeYqQqVonhz2rl6HtvZj3tF XVPjagK5iUKq4n5u82Jb1ZBySHF6onEJDZ7+w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=l41ua2lxQWM1n2ABDw3a4h0MWUmleKx/hGoK0imBByU/euLHjTsvTWMG3NZIetZoDd DqtZ/SjfT3yQbKn4S25Gz6q/y54OdovtsjwW27TCz6CayzGKCkxNp7mopkqsnyB7pTG2 YvIBkBAaLA/xNrIHckMYcFE/NRZHrZvkYQD0Q= Received: by 10.204.162.204 with SMTP id w12mr35429bkx.135.1279713778800; Wed, 21 Jul 2010 05:02:58 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.180.136 with HTTP; Wed, 21 Jul 2010 05:02:38 -0700 (PDT) From: Juanma Barranquero Date: Wed, 21 Jul 2010 14:02:38 +0200 Message-ID: Subject: To: control@debbugs.gnu.org Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) forcemerge 3224 6672 quit