From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#11534: 24.0.97; `dired-get-marked-files' does not behave as documented Date: Sun, 09 Feb 2014 23:14:07 -0800 Message-ID: <87ob2f30e8.fsf@building.gnus.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392016572 26097 80.91.229.3 (10 Feb 2014 07:16:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 07:16:12 +0000 (UTC) Cc: 11534@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 10 08:16:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WCl6F-0005bb-WE for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 08:16:16 +0100 Original-Received: from localhost ([::1]:53869 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCl6F-0007gP-Hj for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 02:16:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCl68-0007fy-9f for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 02:16:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCl62-0004bR-Mk for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 02:16:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCl62-0004bN-JV for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 02:16:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCl61-0001gY-U7 for bug-gnu-emacs@gnu.org; Mon, 10 Feb 2014 02:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2014 07:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11534 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11534-submit@debbugs.gnu.org id=B11534.13920165435238 (code B ref 11534); Mon, 10 Feb 2014 07:16:01 +0000 Original-Received: (at 11534) by debbugs.gnu.org; 10 Feb 2014 07:15:43 +0000 Original-Received: from localhost ([127.0.0.1]:33839 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCl5h-0001LG-NU for submit@debbugs.gnu.org; Mon, 10 Feb 2014 02:15:42 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:35026) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCl5c-0001GV-Vb for 11534@debbugs.gnu.org; Mon, 10 Feb 2014 02:15:38 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WCl5N-0000Ih-35; Mon, 10 Feb 2014 08:15:21 +0100 In-Reply-To: (Drew Adams's message of "Mon, 21 May 2012 11:31:02 -0700") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WCl5N-0000Ih-35 MailScanner-NULL-Check: 1392621321.826@6IunimghFlb3diVUsBeAmA X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85237 Archived-At: "Drew Adams" writes: > emacs -Q > > Put point on any file line. > > M-: (dired-get-marked-files) > > It returns the name of that line's file. > > But the doc string says this about argument ARG, which is nil in this > case: > > Optional second argument ARG, if non-nil, specifies files near > point instead of marked files. It usually comes from the prefix > argument. > If ARG is an integer, use the next ARG files. > Any other non-nil value means to use the current file instead. > > It does not explicitly say anything about what happens when ARG is nil > (and no files are marked). But a reader could reasonably assume that > none of what happens when ARG is non-nil would happen. I've removed " non-nil" so that the documentation says what it does. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/