From: Jorgen Grahn <grahn+nntp@snipabacken.se>
To: help-gnu-emacs@gnu.org
Subject: Re: C-x C-b (switch-to-buffer) smarter suggestions?
Date: 7 Feb 2010 22:54:14 GMT [thread overview]
Message-ID: <slrnhmuh4m.1qf.grahn+nntp@frailea.sa.invalid> (raw)
In-Reply-To: mailman.826.1265532477.14305.help-gnu-emacs@gnu.org
On Sun, 2010-02-07, Alberto Luaces wrote:
> Hi,
>
> Jorgen Grahn writes:
>
> [...]
>
>> 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*.
>
> Take a look at ff-find-other-file.
("Find the header or source file corresponding to this file")
Thanks. Yes, that solves the particular example above. Not the
general case though -- the buffers might equally well be foo.cc and
foo.1 (for the manual page) or Makefile and Makefile<2>. Come to
think of it, that last example is probably the one that annoys me the
most.
/Jorgen
--
// Jorgen Grahn <grahn@ Oo o. . .
\X/ snipabacken.se> O o .
next prev parent reply other threads:[~2010-02-07 22:54 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 [this message]
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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=slrnhmuh4m.1qf.grahn+nntp@frailea.sa.invalid \
--to=grahn+nntp@snipabacken.se \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).