From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.bugs Subject: bug#10262: 24.0.91; find-dired ignores cdr of find-ls-option Date: Thu, 12 Jan 2012 03:43:08 -0500 Message-ID: References: <87pqfwtmr9.fsf@nzebook.haselwarter.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1326358364 19846 80.91.229.12 (12 Jan 2012 08:52:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 12 Jan 2012 08:52:44 +0000 (UTC) Cc: 10262@debbugs.gnu.org To: Philipp Haselwarter Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 12 09:52:39 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RlGOk-0002M2-AZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Jan 2012 09:52:38 +0100 Original-Received: from localhost ([::1]:41830 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlGOj-0003Ez-Sp for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Jan 2012 03:52:37 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:36119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlGOc-0002t1-L3 for bug-gnu-emacs@gnu.org; Thu, 12 Jan 2012 03:52:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlGFw-0002zk-4a for bug-gnu-emacs@gnu.org; Thu, 12 Jan 2012 03:43:33 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlGFw-0002zg-1q for bug-gnu-emacs@gnu.org; Thu, 12 Jan 2012 03:43:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RlGGP-0002tW-Ut for bug-gnu-emacs@gnu.org; Thu, 12 Jan 2012 03:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Jan 2012 08:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10262 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10262-submit@debbugs.gnu.org id=B10262.132635782711095 (code B ref 10262); Thu, 12 Jan 2012 08:44:01 +0000 Original-Received: (at 10262) by debbugs.gnu.org; 12 Jan 2012 08:43:47 +0000 Original-Received: from localhost ([127.0.0.1]:54532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlGGA-0002st-EA for submit@debbugs.gnu.org; Thu, 12 Jan 2012 03:43:47 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:42141) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RlGG5-0002sh-1C for 10262@debbugs.gnu.org; Thu, 12 Jan 2012 03:43:44 -0500 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RlGFZ-0000uO-FO; Thu, 12 Jan 2012 03:43:09 -0500 X-Spook: quiche AUTODIN Jyllandsposten Legion of Doom terrorism X-Ran: #Vi(FHr4r!'%E}0|(:V6h"RMQuCWy^/<0(vcz (Philipp Haselwarter's message of "Sat, 10 Dec 2011 17:27:54 +0100") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:55653 Archived-At: Philipp Haselwarter wrote: > Setting the cdr of `find-ls-option' does change the output of > `find-dired'. The problem seems to be with `dired-mode' > (cf. find-emacs.gz line 176). > > To reproduce: > > (progn > (setq find-ls-option '("-ls" . "-dlbh")) > (find-file "/tmp") > (call-interactively 'find-dired)) > > confirm twice: > > "RET" "RET" I think this is a misunderstanding. You can't just change the cdr of find-ls-option, you have to change the car as well. find will produce the file listing using the option specified in the car, then Emacs switches to dired-mode, with the cdr telling it how to parse the output of find. So you probably want to use: (setq find-ls-option '("-exec ls -dlbh {} +" . "-dlbh"))