all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Mauger <mmaug@yahoo.com>
To: Emacs-devel@gnu.org
Subject: ido buffers needs to be able to refresh
Date: Thu, 9 Aug 2007 14:31:41 -0700 (PDT)	[thread overview]
Message-ID: <12081247.post@talk.nabble.com> (raw)


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	other threads:[~2007-08-09 21:31 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12081247.post@talk.nabble.com \
    --to=mmaug@yahoo.com \
    --cc=Emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.