all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* ido buffers needs to be able to refresh
@ 2007-08-09 21:31 Michael Mauger
  0 siblings, 0 replies; only message in thread
From: Michael Mauger @ 2007-08-09 21:31 UTC (permalink / raw)
  To: Emacs-devel


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.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-08-09 21:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-09 21:31 ido buffers needs to be able to refresh Michael Mauger

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.