From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: bug-gnu-emacs@gnu.org (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4553: marked as done (23.1; uniquify gives *vc-dir* buffer the wrong name) Date: Fri, 08 Jan 2010 03:41:02 +0000 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1262922062-21953-2" X-Trace: ger.gmane.org 1262922605 10388 80.91.229.12 (8 Jan 2010 03:50:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 8 Jan 2010 03:50:05 +0000 (UTC) Cc: emacs-bug-tracker@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 08 04:49:57 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NT5rH-0006r3-Df for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Jan 2010 04:49:56 +0100 Original-Received: from localhost ([127.0.0.1]:37537 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NT5rH-0006N8-Ut for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Jan 2010 22:49:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NT5qc-0006I5-I7 for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2010 22:49:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NT5qY-0006Hg-NO for bug-gnu-emacs@gnu.org; Thu, 07 Jan 2010 22:49:14 -0500 Original-Received: from [199.232.76.173] (port=33286 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NT5qT-0006HC-Hu; Thu, 07 Jan 2010 22:49:05 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50003) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NT5qT-0002PF-1m; Thu, 07 Jan 2010 22:49:05 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NT5ig-0005i9-BO; Thu, 07 Jan 2010 22:41:02 -0500 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: closed 4553 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34056 Archived-At: This is a multi-part message in MIME format... ------------=_1262922062-21953-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 8 Jan 2010 04:40:33 +0100 with message-id and subject line Re: bug#3224: 23.0.92; vc-dir vs uniquify: wrong directory= used has caused the Emacs bug report #3224, regarding 23.1; uniquify gives *vc-dir* buffer the wrong name to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact bug-gnu-emacs@gnu.org immediately.) --=20 3224: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D3224 Emacs Bug Tracking System Contact bug-gnu-emacs@gnu.org with problems ------------=_1262922062-21953-2 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit 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 Subject: 23.1; uniquify gives *vc-dir* buffer the wrong name Reply-To: Tom Tromey 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-bu ffer-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 ------------=_1262922062-21953-2 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3224-done) by debbugs.gnu.org; 8 Jan 2010 03:41:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NT5ie-0005hu-0q for submit@debbugs.gnu.org; Thu, 07 Jan 2010 22:41:00 -0500 Received: from mail-fx0-f226.google.com ([209.85.220.226]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NT5ib-0005hp-Hx for 3224-done@debbugs.gnu.org; Thu, 07 Jan 2010 22:40:58 -0500 Received: by fxm26 with SMTP id 26so16800242fxm.39 for <3224-done@debbugs.gnu.org>; Thu, 07 Jan 2010 19:40:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=yy8/NwBvtofjIyOQXMNhY3abp/tA3KZyItw2/BQaBWU=; b=oMzDylWwr6V6TZ/DifP+fuunqis2h4VH/1LL/E+A2865KDGE1YuMSzwTCtbKDnrSTl ddDNu9IdrG4RHaAkdfXM7xweVnI5u1Peh5beaYcqtLea1IzYfuooXNqXUnDvtpUyq/Xt ZmZE3Fu1k90gQiUMKuVnpF8qIwLXeEl1ZugXM= 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=JfhhCezOExCGyfdbPQ2oLTAeEDXi5oS6mxDDrxsk//qgQAV62rESFQNTYuYxa+Bqwj vq46fQG5ggd170W7qm19Bhg4q55SbtO7Fc6wgbg2GXYmfusewvRA8DEKAJBow0m4HVh5 qdA11uAYKzn31nxKlIyJ4ea2F8kN9O02CpxO8= MIME-Version: 1.0 Received: by 10.239.136.18 with SMTP id f18mr1351335hbf.64.1262922053122; Thu, 07 Jan 2010 19:40:53 -0800 (PST) In-Reply-To: References: <84my9rfuhg.fsf@linux-b2a3.site> From: Juanma Barranquero Date: Fri, 8 Jan 2010 04:40:33 +0100 Message-ID: Subject: Re: bug#3224: 23.0.92; vc-dir vs uniquify: wrong directory used To: Stefan Monnier Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 3224-done Cc: 3224-done@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.6 (--) On Fri, Jan 8, 2010 at 04:22, Stefan Monnier wro= te: > Problem is that some modes use list-buffers-directory for incompatible > purposes. =C2=A0E.g. shell-mode uses it to display the CWD of the shell i= n > the buffer-menu. In the particular case of shell that would not cause trouble anyway; shell for the same buffer name just pops to that buffer, and C-u M-x shell calls `generate-new-buffer-name' and bypasses uniquify. AFAICS, eshell does the same thing (C-u M-x eshell brings a "*eshell*<2>" buffer). But this is all best left post-release, for the introduction of a new varia= ble. I'm closing this bug now, as the patch is already installed. Juanma ------------=_1262922062-21953-2--