all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: wildernesscat@hotmail.com (Danny Dorfman)
Subject: Re: How to automate file-opening (derived filename)?
Date: 8 Jan 2003 05:05:02 -0800	[thread overview]
Message-ID: <30055c1f.0301080505.26e1d8d2@posting.google.com> (raw)
In-Reply-To: 87heckhlfg.fsf@fbigm.here

The thing is, there is no ONE header directory. There are several
header directories, and it would be impractical to feed the directory
every time I switch from one module to another. The macro must find
the path automatically by doing some sort of "search & replace" on the
full pathname (e.g. */src/* -> */inc/*) . I'm sorry, but I'm really
bad at e-lisp, otherwise I would have changed your macro somehow to
make it work for me...

Danny

> Emacs Lisp is not lexically scoped therefor hdr-dir can be accesses
> any time. So the base idea is that you just give it the Header
> directory once. If you later decide it should be changed you just can
> reset it with
> (setf hdr-dir nil)

  parent reply	other threads:[~2003-01-08 13:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2003-01-09  6:39     ` Friedrich Dominicus
2003-01-09  6:44   ` Danny Dorfman
2003-01-09  8:06     ` Friedrich Dominicus

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=30055c1f.0301080505.26e1d8d2@posting.google.com \
    --to=wildernesscat@hotmail.com \
    /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.