all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: ihs_4664@yahoo.com, storm@cua.dk, emacs-devel@gnu.org,
	rms@gnu.org, miles@gnu.org
Subject: Re: init-dir unification
Date: Sat, 05 Nov 2005 14:29:52 +0200	[thread overview]
Message-ID: <87br0zpa7j.fsf@jurta.org> (raw)
In-Reply-To: <87vez7cpt8.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 05 Nov 2005 06:11:15 -0500")

>>> ! (defvar gamegrid-user-score-file-directory "games"
>>
>> It is misleading for users when such variable contains a name relative
>> to some other directory name instead of the absolute directory name.
>> I think a better way to do this is:
>>
>>     (defvar gamegrid-user-score-file-directory (init-directory "games")
>
> The idea is that the directory is not created until it is used.

Yes, that is why I removed the second argument `t' from the call to
your function `init-directory', so it will not create the directory
at the variable definition.  I think the directory should be created
immediately before the package starts writing the configuration file.

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2005-11-05 12:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-04 18:48 init-dir unification (Was: Use .emacs.d in savehist.el) Chong Yidong
2005-11-05  7:55 ` init-dir unification Juri Linkov
2005-11-05 11:11   ` Chong Yidong
2005-11-05 12:29     ` Juri Linkov [this message]
2005-11-05 23:43 ` init-dir unification (Was: Use .emacs.d in savehist.el) Richard M. Stallman
2005-11-06 22:58   ` init-dir unification Chong Yidong

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=87br0zpa7j.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    --cc=ihs_4664@yahoo.com \
    --cc=miles@gnu.org \
    --cc=rms@gnu.org \
    --cc=storm@cua.dk \
    /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.