From: Kevin Rodgers <kevin.d.rodgers@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: C-x C-b (switch-to-buffer) smarter suggestions?
Date: Thu, 11 Feb 2010 21:42:26 -0700 [thread overview]
Message-ID: <hl2m7h$vb9$1@ger.gmane.org> (raw)
In-Reply-To: <slrnhn924a.1qf.grahn+nntp@frailea.sa.invalid>
Jorgen Grahn wrote:
> On Tue, 2010-02-09, Kevin Rodgers wrote:
...
> Thanks! I can't get it to work though, when just pasted into ~/.emacs:
>
> - C-x b
> - prompt appears, I type 'foo' and press return
> - error message: 'Wrong type argument: listp, "foo"'
Sorry, I pasted a test version. The only change is:
(defadvice switch-to-buffer (before switch-from-buffer activate)
"Temporarily bind `switch-from-buffer' to the current buffer
while reading args interactively. See `internal-complete-buffer'."
(interactive (let ((switch-from-buffer (current-buffer)))
(list (read-buffer "Switch to buffer: " (other-buffer))))))
--
Kevin Rodgers
Denver, Colorado, USA
prev parent reply other threads:[~2010-02-12 4:42 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-06 8:03 C-x C-b (switch-to-buffer) smarter suggestions? Jorgen Grahn
2010-02-07 8:47 ` Alberto Luaces
[not found] ` <mailman.826.1265532477.14305.help-gnu-emacs@gnu.org>
2010-02-07 22:54 ` Jorgen Grahn
2010-02-08 2:11 ` Stefan Monnier
2010-02-08 12:17 ` Jorgen Grahn
2010-02-08 17:38 ` Stefan Monnier
2010-02-08 18:23 ` Teemu Likonen
2010-02-11 10:35 ` Jorgen Grahn
2010-02-11 14:48 ` Richard Riley
2010-02-09 15:15 ` Richard Riley
[not found] ` <mailman.926.1265729432.14305.help-gnu-emacs@gnu.org>
2010-02-11 18:59 ` Jorgen Grahn
2010-02-08 5:55 ` Dmitri Minaev
[not found] ` <mailman.852.1265608552.14305.help-gnu-emacs@gnu.org>
2010-02-08 11:45 ` Jorgen Grahn
2010-02-10 6:16 ` Dmitri Minaev
2010-02-09 4:46 ` Kevin Rodgers
[not found] ` <mailman.897.1265690809.14305.help-gnu-emacs@gnu.org>
2010-02-11 22:45 ` Jorgen Grahn
2010-02-12 4:42 ` Kevin Rodgers [this message]
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='hl2m7h$vb9$1@ger.gmane.org' \
--to=kevin.d.rodgers@gmail.com \
--cc=help-gnu-emacs@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.