unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* How to automate file-opening (derived filename)?
@ 2003-01-07 14:52 Danny Dorfman
  2003-01-07 18:19 ` Friedrich Dominicus
  0 siblings, 1 reply; 9+ messages in thread
From: Danny Dorfman @ 2003-01-07 14:52 UTC (permalink / raw)


Hi!

I need to devise an e-lisp macro, that would do the following:
Assume I am now looking at a file named "/a/b/c/ZZZ/d/e.cpp", I'd like
the macro to open "/a/b/c/YYY/d/e.h" for me. The elements a,b,c,d,e
are unknown in advance, while elements ZZZ and YYY are a constant part
of the path.
How do I do this? (My understanding of e-lisp is pretty basic).

I am using GNU Emacs 21.2.1.

Regards,
Danny

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

end of thread, other threads:[~2003-01-11 12:49 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-01-07 14:52 How to automate file-opening (derived filename)? Danny Dorfman
2003-01-07 18:19 ` Friedrich Dominicus
2003-01-08  6:03   ` Alfred M. Szmidt
     [not found]   ` <mailman.53.1042007441.21513.help-gnu-emacs@gnu.org>
2003-01-08 11:54     ` Danny Dorfman
2003-01-11 12:49       ` Kai Großjohann
2003-01-08 13:05   ` Danny Dorfman
2003-01-09  6:39     ` Friedrich Dominicus
2003-01-09  6:44   ` Danny Dorfman
2003-01-09  8:06     ` Friedrich Dominicus

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