emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ido buffers needs to be able to refresh


From: Michael Mauger
Subject: ido buffers needs to be able to refresh
Date: Thu, 9 Aug 2007 14:31:41 -0700 (PDT)

It is not possible to refresh the buffer list in ido.  It is possible to
refresh the list of files when selecting a file, but not buffers.  Here's
where it comes into place...

1) Create a pair of directories
    $ mkdir /tmp/a
    $ mkdir /tmp/b

2) Start emacs
    $ emacs -Q

3) load and config uniquify
    M-x load-library RET uniquify RET
    M-x set-variable RET uniquify-buffer-name-style RET forward RET

4) open two files with the same name but in different directories
    C-x C-f /tmp/a/c
    C-x C-f /tmp/b/c

The buffers are now named "a/c" and "b/c"

5) Enable ido-mode
    M-x ido-mode RET

6) Select a buffer with ido...
    C-x b

Minibuffer:
    Buffer: {a/c | b/c | *scratch* | *Messages*}

7) Delete the "a/c" buffer within ido
    C-k

Minibuffer:
    Buffer: {b/c | *scratch* | *Messages*}

8) Now try to select the "b/c" buffer, however with the deletion of "a/c"
the buffer is now called "c"
    RET

Minibuffer:
    No buffer matching `b/c', create one? (y or n)



Under ido when selecting a file, C-l will refresh the file list; when
selecting buffers there is no way to refresh the buffer list.  Either, C-l
should refresh the list, or ido should detect the rename and adjust the
list.

-- 
View this message in context: 
http://www.nabble.com/ido-buffers-needs-to-be-able-to-refresh-tf4245354.html#a12081247
Sent from the Emacs - Dev mailing list archive at Nabble.com.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]