unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Karl Chen <quarl@cs.berkeley.edu>
Cc: Emacs Developement List <emacs-devel@gnu.org>
Subject: ido-read-file-name default-filename
Date: Wed, 17 Aug 2005 17:14:37 -0700	[thread overview]
Message-ID: <quack.20050817T1714.lth1x4snlsi@roar.cs.berkeley.edu> (raw)


A number of functions that call `read-file-name' utilize the
`default-filename' parameter, or its default.  E.g., M-x
diff-backup RET should diff the current file instead of attempting
to diff the current directory.  I.e., regular `read-file-name'
returns `(or default-filename buffer-file-name)'.  Currently
`ido-read-file-name' always returns default-directory if the user
presses only RET.

I would like ido-read-file-name to heed default-filename.  I'm
willing to implement it.


Note that I think ido-find-file behavior shouldn't change,
i.e. ido-find-file RET should still dired the current directory.
(I also used Kevin Rodgers' find-file advice to also change
find-file's behavior thus.)

-- 
Karl 2005-08-17 16:55

             reply	other threads:[~2005-08-18  0:14 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-18  0:14 Karl Chen [this message]
2005-08-18  8:52 ` ido-read-file-name default-filename Kim F. Storm
2006-05-17  8:31   ` Karl Chen
2006-05-17 21:04     ` Kim F. Storm
     [not found]     ` <m34pzobaz4.fsf@kfs-l.imdomain.dk>
2006-05-18  0:20       ` Karl Chen
2006-05-18  7:44         ` Kim F. Storm

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=quack.20050817T1714.lth1x4snlsi@roar.cs.berkeley.edu \
    --to=quarl@cs.berkeley.edu \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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