From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks Date: Wed, 05 Aug 2009 21:11:20 +0200 Message-ID: <87ocqu3wkn.fsf@thinkpad.tsdh.de> Reply-To: Tassilo Horn , 4050@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1249500446 22370 80.91.229.12 (5 Aug 2009 19:27:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2009 19:27:26 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 05 21:27:19 2009 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 1MYm8s-0000nY-SH for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Aug 2009 21:27:19 +0200 Original-Received: from localhost ([127.0.0.1]:36374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYm8s-00080F-93 for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Aug 2009 15:27:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYm8W-0007pO-8V for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 15:26:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYm8R-0007lI-4E for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 15:26:55 -0400 Original-Received: from [199.232.76.173] (port=59957 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYm8R-0007lB-0R for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 15:26:51 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57007) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MYm8Q-0004Mw-46 for bug-gnu-emacs@gnu.org; Wed, 05 Aug 2009 15:26:50 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n75JQlEN010345; Wed, 5 Aug 2009 12:26:48 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n75JK6ck009711; Wed, 5 Aug 2009 12:20:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Tassilo Horn Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 05 Aug 2009 19:20:05 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 4050 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12494994879237 (code B ref -1); Wed, 05 Aug 2009 19:20:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 5 Aug 2009 19:11:27 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n75JBKrx009232 for ; Wed, 5 Aug 2009 12:11:21 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:35345 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1MYltP-0005Ck-Qd for emacs-pretest-bug@gnu.org; Wed, 05 Aug 2009 15:11:19 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1MYltM-0001PU-L6 for emacs-pretest-bug@gnu.org; Wed, 05 Aug 2009 15:11:19 -0400 Original-Received: from out1.smtp.messagingengine.com ([66.111.4.25]:34601) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYltL-0001P4-Tp for emacs-pretest-bug@gnu.org; Wed, 05 Aug 2009 15:11:16 -0400 Original-Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 5DF14344D51 for ; Wed, 5 Aug 2009 15:11:14 -0400 (EDT) Original-Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Wed, 05 Aug 2009 15:11:14 -0400 X-Sasl-enc: 3imipsFDJLgUqSvO1cFe0ZxklL4kz9TK47eSSbmjBcNu 1249499473 Original-Received: from thinkpad.tsdh.de (p54AF3B9A.dip0.t-ipconnect.de [84.175.59.154]) by mail.messagingengine.com (Postfix) with ESMTPA id 7B073333F for ; Wed, 5 Aug 2009 15:11:13 -0400 (EDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 05 Aug 2009 15:26:55 -0400 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:29905 gmane.emacs.pretest.bugs:24917 Archived-At: 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 emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I use iswitchb and the virtual buffer feature (iswitchb-use-virtual-buffers set to t). It's a great feature, but it doesn't play well with symlinks. I keep all my config files in a git repository. For example, my ~/.emacs is a symlink to ~/repos/configs/dot-emacs.el. Now I fire up iswithb and type ".emacs". There's no such buffer, so it shows the virtual buffer ".emacs" and I hit RET. Now I'm queried: Symbolic link to Git-controlled source file; follow link? (y or n) That's ok, and I say yes. The echo area says: Followed link to /home/horn/repos/configs/dot-emacs.el Also, the file is opened, and a buffer dot-emacs.el exists now. But then I get another query: No buffer matching `.emacs', create one? (y or n) When I say yes, an empty .emacs buffer is created. When I say no, no new buffer is created, but I stay in the buffer I invoked iswitchb from. The dot-emacs.el buffer is open, but not switched to. 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.50/etc/DEBUG for instructions. In GNU Emacs 23.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 2.16.5) of 2009-08-02 on localhost Windowing system distributor `The X.Org Foundation', version 11.0.10603000 configured using `configure '--prefix=/usr' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--build=x86_64-pc-linux-gnu' '--program-suffix=-emacs-23-cvs' '--infodir=/usr/share/info/emacs-23-cvs' '--with-sound' '--with-x' '--with-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=gtk' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=core2 -O2 -pipe' 'LDFLAGS=-Wl,-z,now'' 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: hl-line-mode: t gnus-topic-mode: t gnus-undo-mode: t display-time-mode: t yas/global-mode: t yas/minor-mode: t recentf-mode: t iswitchb-mode: t window-number-meta-mode: t window-number-mode: t exec-abbrev-cmd-mode: t savehist-mode: t show-paren-mode: t tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: n SPC n e w l i n e s SPC i n SPC t h e SPC n a m e . SPC SPC M-q M-q C-a C-SPC C-c M-m I SPC t h i n k SPC t h a t SPC C-h f d i r e d - e m o v e n b a s i c a l l y SPC t ` d i r e d - m o r v e l - t o - e n M-/ ' SPC h a s SPC t o SPC b e SPC a d a p t e d SPC t o SPC c o n s i d e r SPC t h o s e SPC f i l e n a m e s , SPC t o o . M-x t t s s C-c C-c c SPC c l s C-x C-b q C-x b . e m y n C-x b d o C-s C-x k M-x r e b Recent messages: (No changes need to be saved) 20090805T210311.609> Saving /home/horn/.newsrc.eld... Saving file /home/horn/.newsrc.eld... Wrote /home/horn/.newsrc.eld 20090805T210311.661> Saving /home/horn/.newsrc.eld...done Symbolic link to Git-controlled source file; follow link? (y or n) Followed link to /home/horn/repos/configs/dot-emacs.el No buffer matching `.emacs', create one? (y or n) no buffer matching `.emacs' call-interactively: End of buffer Load-path shadows: /usr/share/emacs/site-lisp/ruby-mode/ruby-mode hides /usr/share/emacs/23.1.50/lisp/progmodes/ruby-mode ~/repos/el/org-mode/lisp/org-bbdb hides /usr/share/emacs/23.1.50/lisp/org/org-bbdb ~/repos/el/org-mode/lisp/org-colview hides /usr/share/emacs/23.1.50/lisp/org/org-colview ~/repos/el/org-mode/lisp/org-footnote hides /usr/share/emacs/23.1.50/lisp/org/org-footnote ~/repos/el/org-mode/lisp/org-compat hides /usr/share/emacs/23.1.50/lisp/org/org-compat ~/repos/el/org-mode/lisp/org-clock hides /usr/share/emacs/23.1.50/lisp/org/org-clock ~/repos/el/org-mode/lisp/org-bibtex hides /usr/share/emacs/23.1.50/lisp/org/org-bibtex ~/repos/el/org-mode/lisp/org-faces hides /usr/share/emacs/23.1.50/lisp/org/org-faces ~/repos/el/org-mode/lisp/org-timer hides /usr/share/emacs/23.1.50/lisp/org/org-timer ~/repos/el/org-mode/lisp/org-vm hides /usr/share/emacs/23.1.50/lisp/org/org-vm ~/repos/el/org-mode/lisp/org-list hides /usr/share/emacs/23.1.50/lisp/org/org-list ~/repos/el/org-mode/lisp/org-gnus hides /usr/share/emacs/23.1.50/lisp/org/org-gnus ~/repos/el/org-mode/lisp/org-exp hides /usr/share/emacs/23.1.50/lisp/org/org-exp ~/repos/el/org-mode/lisp/org-wl hides /usr/share/emacs/23.1.50/lisp/org/org-wl ~/repos/el/org-mode/lisp/org-plot hides /usr/share/emacs/23.1.50/lisp/org/org-plot ~/repos/el/org-mode/lisp/org-w3m hides /usr/share/emacs/23.1.50/lisp/org/org-w3m ~/repos/el/org-mode/lisp/org-agenda hides /usr/share/emacs/23.1.50/lisp/org/org-agenda ~/repos/el/org-mode/lisp/org-archive hides /usr/share/emacs/23.1.50/lisp/org/org-archive ~/repos/el/org-mode/lisp/org-attach hides /usr/share/emacs/23.1.50/lisp/org/org-attach ~/repos/el/org-mode/lisp/org-mhe hides /usr/share/emacs/23.1.50/lisp/org/org-mhe ~/repos/el/org-mode/lisp/org-irc hides /usr/share/emacs/23.1.50/lisp/org/org-irc ~/repos/el/org-mode/lisp/org-table hides /usr/share/emacs/23.1.50/lisp/org/org-table ~/repos/el/org-mode/lisp/org-info hides /usr/share/emacs/23.1.50/lisp/org/org-info ~/repos/el/org-mode/lisp/org-jsinfo hides /usr/share/emacs/23.1.50/lisp/org/org-jsinfo ~/repos/el/org-mode/lisp/org-id hides /usr/share/emacs/23.1.50/lisp/org/org-id ~/repos/el/org-mode/lisp/org-publish hides /usr/share/emacs/23.1.50/lisp/org/org-publish ~/repos/el/org-mode/lisp/org-mew hides /usr/share/emacs/23.1.50/lisp/org/org-mew ~/repos/el/org-mode/lisp/org-remember hides /usr/share/emacs/23.1.50/lisp/org/org-remember ~/repos/el/org-mode/lisp/org-macs hides /usr/share/emacs/23.1.50/lisp/org/org-macs ~/repos/el/org-mode/lisp/org-mouse hides /usr/share/emacs/23.1.50/lisp/org/org-mouse ~/repos/el/org-mode/lisp/org-install hides /usr/share/emacs/23.1.50/lisp/org/org-install ~/repos/el/org-mode/lisp/org hides /usr/share/emacs/23.1.50/lisp/org/org ~/repos/el/org-mode/lisp/org-rmail hides /usr/share/emacs/23.1.50/lisp/org/org-rmail ~/repos/el/org-mode/lisp/org-mac-message hides /usr/share/emacs/23.1.50/lisp/org/org-mac-message ~/elisp/elp hides /usr/share/emacs/23.1.50/lisp/emacs-lisp/elp