From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joakim Hove Newsgroups: gmane.emacs.help Subject: Reading a directory with (interactive "Dxxx") Date: Tue, 19 Apr 2005 10:51:20 +0200 Organization: University of Bergen Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1113904633 24443 80.91.229.2 (19 Apr 2005 09:57:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 19 Apr 2005 09:57:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Apr 19 11:57:08 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DNpTU-0003C3-3G for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Apr 2005 11:56:56 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNpXk-000067-8z for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Apr 2005 06:01:20 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uninett.no!nntp.uib.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: termo1.fi.uib.no Original-X-Trace: toralf.uib.no 1113904266 83104 129.177.39.206 (19 Apr 2005 09:51:06 GMT) Original-X-Complaints-To: abuse@uib.no Original-NNTP-Posting-Date: 19 Apr 2005 09:51:06 GMT User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:sTsM8fitHL3fG69QpFYd4WFSKlk= Original-Xref: shelby.stanford.edu gnu.emacs.help:130248 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:25816 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25816 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