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: M-! M-n should fetch filename (Re: FFAP) Date: Mon, 09 Nov 2009 09:35:48 -0500 Message-ID: References: <3b31caf90911051613w80af4cu61352a29ce5dcd77@mail.gmail.com> <87vdhoe73d.fsf@mail.jurta.org> <87y6mkb6qr.fsf@mail.jurta.org> <87bpjfiark.fsf@mail.jurta.org> <87bpjcq9z2.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 1257777484 9155 80.91.229.12 (9 Nov 2009 14:38:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 Nov 2009 14:38:04 +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:37:57 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 1N7VNF-0001tb-Em for ged-emacs-devel@m.gmane.org; Mon, 09 Nov 2009 15:37:41 +0100 Original-Received: from localhost ([127.0.0.1]:35162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7VNF-0001tk-19 for ged-emacs-devel@m.gmane.org; Mon, 09 Nov 2009 09:37:41 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N7VLX-0000jv-2u for emacs-devel@gnu.org; Mon, 09 Nov 2009 09:35:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N7VLS-0000dt-Mj for emacs-devel@gnu.org; Mon, 09 Nov 2009 09:35:54 -0500 Original-Received: from [199.232.76.173] (port=44952 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N7VLS-0000dJ-Ck for emacs-devel@gnu.org; Mon, 09 Nov 2009 09:35:50 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:27433 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N7VLS-0006mL-1j for emacs-devel@gnu.org; Mon, 09 Nov 2009 09:35:50 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEANu390pMCpsp/2dsb2JhbACBTtt+hD4EiRU X-IronPort-AV: E=Sophos;i="4.44,708,1249272000"; d="scan'208";a="48910957" 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:35:49 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id D48FD7F0F; Mon, 9 Nov 2009 09:35:48 -0500 (EST) In-Reply-To: <87bpjcq9z2.fsf_-_@mail.jurta.org> (Juri Linkov's message of "Mon, 09 Nov 2009 12:36: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:116747 Archived-At: > There is the following etc/TODO item: > ** M-! M-n should fetch the buffer-file-name as the default. > However, it seems it's already implemented. Then please remove it from etc/TODO. > What is missing is an ability of M-! M-n to fetch the filename as the > default in Dired mode using `dired-get-filename'. I don't have an opinion on whether that's good/bad/useful/... If people find it to be a good feature, please rework the patch so there's only one call to file-relative-name, rather than one in each branch of the test. Stefan