Subject: 24.0.91; find-dired ignores cdr of find-ls-option
From: Philipp Haselwarter <[email-masked]>
To: [email-masked]
Date: Sat, 10 Dec 2011 17:27:54 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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"

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/usr/share/emacs/24.0.91/etc/DEBUG.

In GNU Emacs 24.0.91.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.8)
 of 2011-11-19 on nzebook.haselwarter.org
configured using `configure  '--prefix=/usr' '--sysconfdir=/etc' '--localstatedir=/var' '--libexecdir=/usr/lib' '--mandir=/usr/share/man' '--without-sound' '--with-x-toolkit=gtk' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2' 'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  shell-dirtrack-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
ESC [ > 8 3 ; 4 0 1 0 0 ; 0 c ( p r o g n RET ( s e 
t q SPC f i n d - l s - o p t i o n SPC ' ( " - l s 
" SPC . SPC " - d l b h " ) ) RET ( f i n d - f i l 
e SPC " / t m p " ) ) RET C-p C-e C-b RET ( c a l l 
- i n t e r a c t i v e l y SPC DEL TAB ESC TAB SPC 
' DEL ' f i d DEL n d - d i r e d C-e ) C-x C-e C-j 
- i n a m e SPC ' * * ' C-b C-b f o o RET C-x b * s 
c TAB RET C-n ESC x e m a c s - b u TAB g C-a TAB TAB 
RET

Recent messages:
("emacs" "--no-desktop")
For information about GNU Emacs and the GNU system, type C-h C-a.
"--no-desktop" ignored because the Desktop package is not loaded
Sole completion
(":%s")
find-dired *Find* finished.
Making completion list...

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message idna format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader
emacsbug help-mode easymenu view shell pcomplete comint ring find-dired
dired regexp-opt time-date tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image fringe lisp-mode register
page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock
font-lock syntax facemenu font-core frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew
greek romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs
button faces cus-face files text-properties overlay sha1 md5 base64
format env code-pages mule custom widget hashtable-print-readable
backquote make-network-process dbusbind dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)

-- 
Philipp Haselwarter