[Top][All Lists]

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

C-x C-b (switch-to-buffer) smarter suggestions?

From: Jorgen Grahn
Subject: C-x C-b (switch-to-buffer) smarter suggestions?
Date: 6 Feb 2010 08:03:09 GMT
User-agent: slrn/pre0.9.9-111 (Linux)

This is a minor annoyance for me daily, and I'm hoping someone has a
readymade elisp fix.  I'm not much of an elisp hacker -- my ~/.emacs
has stayed basically the same since 1996.

Let's say I have a dozen buffers, including foo.c and foo.h.  I am in
foo.c but I want to jump to foo.h. So I do

  C-x C-b foo TAB

But this doesn't complete to foo.h, because foo.c is also an
alternative -- even though that's the buffer I'm explicitly trying to
switch *from*.


  // Jorgen Grahn <grahn@  Oo  o.   .  .
\X/>   O  o   .

reply via email to

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