From: Joakim Hove <hove@ift.uib.no>
Subject: Reading a directory with (interactive "Dxxx")
Date: Tue, 19 Apr 2005 10:51:20 +0200 [thread overview]
Message-ID: <bjjvf6j40af.fsf@termo1.fi.uib.no> (raw)
Hello,
I have function:
(defun store (directory)
(interactive "DPath to store in:")
(.....))
Which queries the user for an existing directory, and then stores a
file in there. The minibuffer dialog employs the working directory of
the current buffer as default, however I would like to provide my own
default, in general different from the working directory. Is this
possible?
Best Regards
Joakim
--
Joakim Hove
hove AT ift uib no /
Tlf: +47 (55 5)8 27 90 / Stabburveien 18
Fax: +47 (55 5)8 94 40 / N-5231 Paradis
http://www.ift.uib.no/~hove/ / 55 91 28 18 / 92 68 57 04
next reply other threads:[~2005-04-19 8:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-19 8:51 Joakim Hove [this message]
2005-04-19 15:46 ` Reading a directory with (interactive "Dxxx") Mathias Dahl
2005-04-20 6:06 ` Joakim Hove
2005-04-20 9:33 ` Mathias Dahl
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=bjjvf6j40af.fsf@termo1.fi.uib.no \
--to=hove@ift.uib.no \
/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).