unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: gebser@speakeasy.net
Subject: Re: define Info's "dir"?
Date: Wed, 28 Apr 2004 08:35:59 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.44.0404280821000.7405-100000@localhost.localdomain> (raw)
In-Reply-To: <uad0w73fc.fsf@gnu.org>


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?


tia,
ken

At 13:22 (UTC+0200) on 28 Apr 2004 Eli Zaretskii said:

= > Newsgroups: gnu.emacs.help
= > From: Mike Ballard <dont_w@nt_spam.org>
= > Date: Wed, 28 Apr 2004 06:44:26 GMT
= > 
= > Is there a way to tell Emacs to always use a specific "dir" as the
= > top-level dir file?  Even if the name is not "dir"?
= 
= There doesn't seem to be a way to do that.  The names of DIR files are
= hardwired into info.el: Emacs looks for `dir', `DIR', `dir.info', and
= `DIR.INFO', in that order, in each Info directory.
= 
= The names are hardwired because the Texinfo package never generates
= DIR files under any other name.
= 
= Why do you need that?  What is the real problem behind your request?
= 
= 
= 
= _______________________________________________
= Help-gnu-emacs mailing list
= Help-gnu-emacs@gnu.org
= http://mail.gnu.org/mailman/listinfo/help-gnu-emacs
= 

  reply	other threads:[~2004-04-28 12:35 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-04-28  6:44 define Info's "dir"? Mike Ballard
2004-04-28 11:22 ` Eli Zaretskii
2004-04-28 12:35   ` gebser [this message]
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
     [not found] <mailman.2160.1083158847.1061.help-gnu-emacs@gnu.org>
2004-04-28 15:23 ` Kevin Rodgers
2004-05-01  9:42 ` Kai Grossjohann
2004-05-02  3:11   ` gebser

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