unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Peter Dyballa <Peter_Dyballa@Web.DE>
To: gerlach <jack@aiai.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to change default "insert file" path /tmp to home directory?
Date: Mon, 13 May 2013 23:40:21 +0200	[thread overview]
Message-ID: <0AE87248-A600-4021-8F67-C88B7F18E71E@Web.DE> (raw)
In-Reply-To: <avd31vFdl82U1@mid.individual.net>


Am 13.05.2013 um 23:08 schrieb gerlach:

> At least in Why?

Because you're not at home! The variable default-directory is buffer-local, which means that each buffer in GNU Emacs has one such private "personalised" variable. And they all can have different values by reflecting some state of the buffer. (I presume there are thousands of Gerlachs in Germany. Each one has this surname, but first names, street names, town names, and eMail addresses can be different.)

Could (getenv "HOME") be an alternative?

--
Mit friedvollen Grüßen

  Pete

                  Sorry my terrible English, my native language Lisp




  parent reply	other threads:[~2013-05-13 21:40 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-10 20:23 How to change default "insert file" path /tmp to home directory? gerlach
2013-05-10 20:48 ` Peter Dyballa
2013-05-10 21:02 ` Pascal J. Bourguignon
2013-05-10 21:14   ` gerlach
2013-05-13 21:08   ` gerlach
2013-05-13 21:31     ` gerlach
2013-05-13 21:40     ` Peter Dyballa [this message]
2013-05-13 21:48     ` Barry Margolin
2013-05-11  0:50 ` Barry Margolin
2013-05-14  9:52   ` gerlach
2013-05-14 13:44     ` Suvayu Ali

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=0AE87248-A600-4021-8F67-C88B7F18E71E@Web.DE \
    --to=peter_dyballa@web.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=jack@aiai.de \
    /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).