From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Chen Newsgroups: gmane.emacs.devel Subject: ido-read-file-name default-filename Date: Wed, 17 Aug 2005 17:14:37 -0700 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1124325131 4809 80.91.229.2 (18 Aug 2005 00:32:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 18 Aug 2005 00:32:11 +0000 (UTC) Cc: Emacs Developement List Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 18 02:32:07 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E5YJI-00016u-EF for ged-emacs-devel@m.gmane.org; Thu, 18 Aug 2005 02:31:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5YMm-0005c1-VC for ged-emacs-devel@m.gmane.org; Wed, 17 Aug 2005 20:34:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E5YIw-0004qX-Rk for emacs-devel@gnu.org; Wed, 17 Aug 2005 20:30:52 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E5YIk-0004ly-1L for emacs-devel@gnu.org; Wed, 17 Aug 2005 20:30:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E5YIh-0004YQ-OH for emacs-devel@gnu.org; Wed, 17 Aug 2005 20:30:31 -0400 Original-Received: from [128.32.35.215] (helo=roar.quarl.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E5YJA-0007w1-E4 for emacs-devel@gnu.org; Wed, 17 Aug 2005 20:31:00 -0400 Original-Received: by roar.quarl.org (Postfix, from userid 18378) id 027995C0A9; Wed, 17 Aug 2005 17:14:37 -0700 (PDT) Original-To: "Kim F. Storm" X-Quack-Archive: 1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:42205 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:42205 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