unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks
@ 2009-08-05 19:11 ` Tassilo Horn
  2009-09-15 12:05   ` bug#4050: marked as done (23.1.50; iswitchb virtual buffers don't play well with symlinks) Emacs bug Tracking System
  0 siblings, 1 reply; 6+ messages in thread
From: Tassilo Horn @ 2009-08-05 19:11 UTC (permalink / raw)
  To: emacs-pretest-bug


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 <down> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <right> <right> 
<right> <right> <right> <right> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> M-q <down> <down> 
<down> <down> <down> <down> C-a C-SPC <down> <down> 
<down> <down> <down> <down> <down> C-c M-m <up> <up> 
<up> <up> <up> <up> <up> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <up> <return> I SPC t h i n k SPC t h a t SPC 
C-h f d i r e <tab> d <tab> - e <tab> <tab> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> m o <tab> v <tab> e n <tab> 
<return> b a s i c a l l y SPC t <M-backspace> <M-backspace> 
` d i r e d - m o r <backspace> v e l <backspace> - 
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 <return> 
C-c C-c c <return> SPC c l s C-x C-b q C-x b . e m 
<return> y n C-x b d o <right> C-s <return> C-x k <return> 
M-x r e b <return>

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





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks
@ 2009-09-13 20:23 Chong Yidong
  0 siblings, 0 replies; 6+ messages in thread
From: Chong Yidong @ 2009-09-13 20:23 UTC (permalink / raw)
  To: Stephen Eglen; +Cc: Tassilo Horn, 4050

Hi Stephen,

Could you take a look at this bug report?  Thanks.


Tassilo Horn <thorn@fastmail.fm> wrote:

> 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.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks
@ 2009-09-15 11:00 Stephen Eglen
  2009-09-15 11:25 ` Tassilo Horn
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Eglen @ 2009-09-15 11:00 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Tassilo Horn, Stephen Eglen, 4050

[-- Attachment #1: Type: text/plain, Size: 1044 bytes --]

I've looked athe bug that Tassilo submitted, and can see the problem.
It occurs when the name of the symlink differs from the name of the file
pointed to. e.g. if I do

ln -s teach txt/org/teaching.org

Then if I have previously visited the file as 'teach', Emacs opens it as
'teach', rather than 'teaching.org'

When iswitchb opens teach, it uses find-file-noselect, which opens the
file 'teaching.org' with that name as the buffer, rather than using the
name 'teach'.  The fix then is to tell iswitchb to use the name returned
by find-file-noselect.  I've attached a new version of the function
iswitchb-read-buffer - please can you test it to see that it solves the
problem for you Tassilo, and then I'll commit a patch.  I guess the only
issue is whether the buffer should be called the name of the symlink
'teach' or the name of the real file 'teaching.org' - is there a way to
tell Emacs to prefer the symlink name?

Thanks for the report -- I didn't even follow the recentf code in
iswitchb, it was contributed by someone else.

Stephen

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: i.el --]
[-- Type: text/x-lisp, Size: 2892 bytes --]

(defun iswitchb-read-buffer (prompt &optional default require-match
				    start matches-set)
  "Replacement for the built-in `read-buffer'.
Return the name of a buffer selected.
PROMPT is the prompt to give to the user.
DEFAULT if given is the default buffer to be selected, which will
go to the front of the list.
If REQUIRE-MATCH is non-nil, an existing buffer must be selected.
If START is a string, the selection process is started with that
string.
If MATCHES-SET is non-nil, the buflist is not updated before
the selection process begins.  Used by isearchb.el."
  (let
      (
       buf-sel
       iswitchb-final-text
       (icomplete-mode nil) ;; prevent icomplete starting up
       )

    (iswitchb-define-mode-map)
    (setq iswitchb-exit nil)
    (setq iswitchb-default
	  (if (bufferp default)
	      (buffer-name default)
	    default))
    (setq iswitchb-text (or start ""))
    (unless matches-set
      (setq iswitchb-rescan t)
      (iswitchb-make-buflist iswitchb-default)
      (iswitchb-set-matches))
    (let
	((minibuffer-local-completion-map iswitchb-mode-map)
	 ;; Record the minibuffer depth that we expect to find once
	 ;; the minibuffer is set up and iswitchb-entryfn-p is called.
	 (iswitchb-minibuf-depth (1+ (minibuffer-depth)))
	 (iswitchb-require-match require-match))
      ;; prompt the user for the buffer name
      (setq iswitchb-final-text (completing-read
				 prompt		  ;the prompt
				 '(("dummy" . 1)) ;table
				 nil		  ;predicate
				 nil ;require-match [handled elsewhere]
				 start	;initial-contents
				 'iswitchb-history)))
    (if (and (not (eq iswitchb-exit 'usefirst))
	     (get-buffer iswitchb-final-text))
	;; This happens for example if the buffer was chosen with the mouse.
	(setq iswitchb-matches (list iswitchb-final-text)
	      iswitchb-virtual-buffers nil))

    ;; If no buffer matched, but a virtual buffer was selected, visit
    ;; that file now and act as though that buffer had been selected.
    (if (and iswitchb-virtual-buffers
	     (not (iswitchb-existing-buffer-p)))
	(let ((virt (car iswitchb-virtual-buffers))
	      (new-buf))
	  ;; Keep the name of the buffer returned by find-file-noselect, as 
	  ;; the buffer 'virt' could be a symlink to a file of a different name.
	  (setq new-buf (buffer-name (find-file-noselect (cdr virt))))
	  (setq iswitchb-matches (list new-buf)
		iswitchb-virtual-buffers nil)))

    ;; Handling the require-match must be done in a better way.
    (if (and require-match
	     (not (iswitchb-existing-buffer-p)))
	(error "Must specify valid buffer"))

    (if (or (eq iswitchb-exit 'takeprompt)
	    (null iswitchb-matches))
	(setq buf-sel iswitchb-final-text)
      ;; else take head of list
      (setq buf-sel (car iswitchb-matches)))

    ;; Or possibly choose the default buffer
    (if  (equal iswitchb-final-text "")
	(setq buf-sel (car iswitchb-matches)))

    buf-sel))

^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks
  2009-09-15 11:00 Stephen Eglen
@ 2009-09-15 11:25 ` Tassilo Horn
  2009-09-15 11:43   ` Stephen Eglen
  0 siblings, 1 reply; 6+ messages in thread
From: Tassilo Horn @ 2009-09-15 11:25 UTC (permalink / raw)
  To: Stephen Eglen; +Cc: Chong Yidong, Tassilo Horn, 4050

Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> writes:

Hi Stephen,

> When iswitchb opens teach, it uses find-file-noselect, which opens the
> file 'teaching.org' with that name as the buffer, rather than using
> the name 'teach'.  The fix then is to tell iswitchb to use the name
> returned by find-file-noselect.  I've attached a new version of the
> function iswitchb-read-buffer - please can you test it to see that it
> solves the problem for you Tassilo, and then I'll commit a patch.

It works.

> I guess the only issue is whether the buffer should be called the name
> of the symlink 'teach' or the name of the real file 'teaching.org' -
> is there a way to tell Emacs to prefer the symlink name?

I prefer the real file's name, because that's the way `find-file'
handles it.  The current version does exactly that, and I'm happy with
it. :-)

Bye,
Tassilo





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks
  2009-09-15 11:25 ` Tassilo Horn
@ 2009-09-15 11:43   ` Stephen Eglen
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Eglen @ 2009-09-15 11:43 UTC (permalink / raw)
  To: Tassilo Horn; +Cc: Chong Yidong, Stephen Eglen, 4050


> I prefer the real file's name, because that's the way `find-file'
> handles it.  The current version does exactly that, and I'm happy with
> it. :-)

Thanks for checking so quickly; I've put the change into CVS (head I
think, sorry I don't know how to do anything else with CVS!).  Do we
need to do anything to mark the bug as clsoed in the tracker?

Stephen





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#4050: marked as done (23.1.50; iswitchb virtual buffers don't play well with symlinks)
  2009-08-05 19:11 ` bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks Tassilo Horn
@ 2009-09-15 12:05   ` Emacs bug Tracking System
  0 siblings, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2009-09-15 12:05 UTC (permalink / raw)
  To: Tassilo Horn

[-- Attachment #1: Type: text/plain, Size: 915 bytes --]

Your message dated Tue, 15 Sep 2009 13:57:57 +0200
with message-id <87hbv4whbu.fsf@thinkpad.tsdh.de>
and subject line Re: 23.1.50; iswitchb virtual buffers don't play well with symlinks
has caused the Emacs bug report #4050,
regarding 23.1.50; iswitchb virtual buffers don't play well with symlinks
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 owner@emacsbugs.donarmstrong.com
immediately.)


-- 
4050: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=4050
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 10814 bytes --]

From: Tassilo Horn <thorn@fastmail.fm>
To: emacs-pretest-bug@gnu.org
Subject: 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>


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 <down> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <left> <left> <left> 
<left> <left> <left> <left> <left> <right> <right> 
<right> <right> <right> <right> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> M-q <down> <down> 
<down> <down> <down> <down> C-a C-SPC <down> <down> 
<down> <down> <down> <down> <down> C-c M-m <up> <up> 
<up> <up> <up> <up> <up> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <up> <return> I SPC t h i n k SPC t h a t SPC 
C-h f d i r e <tab> d <tab> - e <tab> <tab> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> <backspace> 
<backspace> <backspace> m o <tab> v <tab> e n <tab> 
<return> b a s i c a l l y SPC t <M-backspace> <M-backspace> 
` d i r e d - m o r <backspace> v e l <backspace> - 
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 <return> 
C-c C-c c <return> SPC c l s C-x C-b q C-x b . e m 
<return> y n C-x b d o <right> C-s <return> C-x k <return> 
M-x r e b <return>

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


[-- Attachment #3: Type: message/rfc822, Size: 2471 bytes --]

From: Tassilo Horn <thorn@fastmail.fm>
To: Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk>
Cc: Tassilo Horn <thorn@fastmail.fm>, Chong Yidong <cyd@stupidchicken.com>, 4050-done@emacsbugs.donarmstrong.com
Subject: Re: 23.1.50; iswitchb virtual buffers don't play well with symlinks
Date: Tue, 15 Sep 2009 13:57:57 +0200
Message-ID: <87hbv4whbu.fsf@thinkpad.tsdh.de>

Stephen Eglen <S.J.Eglen@damtp.cam.ac.uk> writes:

>> I prefer the real file's name, because that's the way `find-file'
>> handles it.  The current version does exactly that, and I'm happy
>> with it. :-)
>
> Thanks for checking so quickly; I've put the change into CVS (head I
> think, sorry I don't know how to do anything else with CVS!).  Do we
> need to do anything to mark the bug as clsoed in the tracker?

Yep, you send a mail to <bugnumber>-done@emacsbugs.donarmstrong.com.
That's what I did, so now it's closed.

Bye,
Tassilo

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-09-15 12:05 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87hbv4whbu.fsf@thinkpad.tsdh.de>
2009-08-05 19:11 ` bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks Tassilo Horn
2009-09-15 12:05   ` bug#4050: marked as done (23.1.50; iswitchb virtual buffers don't play well with symlinks) Emacs bug Tracking System
2009-09-13 20:23 bug#4050: 23.1.50; iswitchb virtual buffers don't play well with symlinks Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2009-09-15 11:00 Stephen Eglen
2009-09-15 11:25 ` Tassilo Horn
2009-09-15 11:43   ` Stephen Eglen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).