From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: find-file-read-args Date: Mon, 09 Nov 2009 09:28:19 -0500 Message-ID: References: <3b31caf90911051613w80af4cu61352a29ce5dcd77@mail.gmail.com> <87vdhoe73d.fsf@mail.jurta.org> <87y6mkb6qr.fsf@mail.jurta.org> <87bpjfiark.fsf@mail.jurta.org> <871vk8uo0q.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1257776920 7137 80.91.229.12 (9 Nov 2009 14:28:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Nov 2009 14:28:40 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 09 15:28:33 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N7VEO-0005wu-HA for ged-emacs-devel@m.gmane.org; Mon, 09 Nov 2009 15:28:32 +0100 Original-Received: from localhost ([127.0.0.1]:43255 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7VEN-00052W-VF for ged-emacs-devel@m.gmane.org; Mon, 09 Nov 2009 09:28:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7VEI-00051z-PX for emacs-devel@gnu.org; Mon, 09 Nov 2009 09:28:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7VED-00050P-Nb for emacs-devel@gnu.org; Mon, 09 Nov 2009 09:28:25 -0500 Original-Received: from [199.232.76.173] (port=35753 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7VED-00050I-JX for emacs-devel@gnu.org; Mon, 09 Nov 2009 09:28:21 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:36668 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7VED-000567-9w for emacs-devel@gnu.org; Mon, 09 Nov 2009 09:28:21 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAIK190pMCpsp/2dsb2JhbACBTttghD4EiRU X-IronPort-AV: E=Sophos;i="4.44,708,1249272000"; d="scan'208";a="48910385" Original-Received: from 76-10-155-41.dsl.teksavvy.com (HELO pastel.home) ([76.10.155.41]) by ironport2-out.pppoe.ca with ESMTP; 09 Nov 2009 09:28:20 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id 3AD477F0F; Mon, 9 Nov 2009 09:28:19 -0500 (EST) In-Reply-To: <871vk8uo0q.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 09 Nov 2009 12:09:33 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:116745 Archived-At: >> Let's see what currently M-n does in file prompts (0. means the default >> input, and 1. - the minibuffer's content after one M-n): > The patch below implements this scheme, and additionally > includes an approved but not installed change proposed > by Drew in http://thread.gmane.org/gmane.emacs.devel/74534 > that allows `M-n' with `C-x C-f' to get the file at point > in Dired mode. Thanks for working this out. Looking at the patch I wonder if the "file-at-point" feature shouldn't be implemented in read-file-name rather than in find-file. Stefan