From: gebser@speakeasy.net
Subject: Re: define Info's "dir"?
Date: Sat, 1 May 2004 23:11:54 -0400 (EDT) [thread overview]
Message-ID: <Pine.LNX.4.44.0405012311050.7405-100000@localhost.localdomain> (raw)
In-Reply-To: <87ekq4xz38.fsf@emptyhost.emptydomain.de>
That looks like it'll work. Thanks.
At 11:42 (UTC+0200) on Sat, 1 May 2004 Kai Grossjohann said:
= gebser@speakeasy.net writes:
=
= > I'm not the original poster, but I'd like to be able to set the default
= > directory interactively and change it from time to time. The motivation
= > is that I sometimes work on a project whose (multiple) files all reside,
= > or will reside, in a particular directory (or subdirs of it. As a
= > fictional example, suppose I'm working on economics today. Throughout
= > the day I create several files which I want to have in econ/national/,
= > econ/state/, econ/local/, and econ/international. In this case I'd want
= > the default directory to be /home/ken/projects/writings/politics/econ/
= > but wouldn't want to have to type that in every time I visit a file.
= > I'm aware of "M-x cd" but this sets "default-directory" only for that
= > buffer. I'd like a function (defun in emacspeak, yes?) which is global,
= > i.e., sets the default-directory no matter which buffer I'm currently
= > visiting. Is there such a nicety?
=
= (setenv "econ" "/home/ken/projects/writings/politics/econ")
=
= Then C-x C-f $econ/foo RET.
=
= You can also always use $x and redefine it depending on your work
= context.
=
= Kai
=
= _______________________________________________
= Help-gnu-emacs mailing list
= Help-gnu-emacs@gnu.org
= http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
=
next prev parent reply other threads:[~2004-05-02 3:11 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.2160.1083158847.1061.help-gnu-emacs@gnu.org>
2004-04-28 15:23 ` define Info's "dir"? Kevin Rodgers
2004-05-01 9:42 ` Kai Grossjohann
2004-05-02 3:11 ` gebser [this message]
2004-04-28 6:44 Mike Ballard
2004-04-28 11:22 ` Eli Zaretskii
2004-04-28 12:35 ` gebser
2004-04-28 19:03 ` Eli Zaretskii
2004-04-29 15:35 ` gebser
[not found] ` <mailman.2124.1083147692.1061.help-gnu-emacs@gnu.org>
2004-04-29 5:16 ` Mike Ballard
2004-04-29 19:12 ` Eli Zaretskii
[not found] ` <mailman.2480.1083262409.1061.help-gnu-emacs@gnu.org>
2004-04-30 4:07 ` Mike Ballard
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=Pine.LNX.4.44.0405012311050.7405-100000@localhost.localdomain \
--to=gebser@speakeasy.net \
/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).