unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* naming convention based file toggling facility
@ 2003-09-25  7:07 Robert Anderson
  2003-09-25  7:20 ` Masatake YAMATO
  2003-09-25 10:27 ` Kim F. Storm
  0 siblings, 2 replies; 7+ messages in thread
From: Robert Anderson @ 2003-09-25  7:07 UTC (permalink / raw)



I've had a hackish little elisp function for years that always struck me
as a slightly surprising omission from emacs: the ability to toggle
between files based on a naming convention like: <source>.c and
<source>.h.

This of course, generalizes to more contexts.  I use it for toggling
between header, implementation, and unittest files, for example, based
on the convention that the corresonding unittest file is
<source>-test.c.  I'm sure it's useful elsewhere, given a reasonable
method for defining the relationship between the names of the related
files.

This kind of "toggle header" or "toggle source" function is standard IDE
fare.  I got used to it from a previous life when I was using Metrowerks
Codewarrior.  It's _very_ handy, IMO.

Is there some reason that such a thing is not included in emacs?  Maybe
it's there and I've missed it?  Would the maintainers be interested in
such a facility if I were to write it?

Bob

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-09-27  2:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-25  7:07 naming convention based file toggling facility Robert Anderson
2003-09-25  7:20 ` Masatake YAMATO
2003-09-25  7:24   ` Robert Anderson
2003-09-25 23:21   ` Richard Stallman
2003-09-26  6:03     ` Masatake YAMATO
2003-09-27  2:31       ` Richard Stallman
2003-09-25 10:27 ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

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

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).