Subject: Re: bug#625: 23.0.60; isearch failed in dired

From: Thierry Volpiatto <[email-masked]>
Date: Wed, 30 Jul 2008 16:44:12 +0200

Juri Linkov <[email-masked]> writes:

>> when i start emacs,
>> - if i go straight in - say /usr/share/emacs/23.0.60/lisp -
>> using tramp with /su::/...
>> - then use C-s (isearch-forward)
>> i have this error:
>> ,----
>> | run-hooks: Symbol's function definition is void: dired-isearch-filenames-setup
>> `----
>> I must use M-s f C-s to isearch. (dired-isearch-filename)
>> Then, (i presume something is now loaded) isearch work as normal with
>> C-s.
>> But isearch work if i use it in a non dired buffer.
>>
>> May be you can reproduce that on your side.
>
> Thanks, this is fixed now.  Though, I don't understand why dired-aux.el
> can't be loaded together with dired.el.  dired-aux.el is a small file
> and it contains most dired commands.

dired-aux.el contain (require 'dired), may be dired.el should contain
(require 'dired-aux), and (require 'dired) in dired-aux.el should be
commented out.
Because that in my .emacs fix the problem:

,----
| (when (require 'dired)
|   (require 'dired-aux))
`----

May be it's what you did.

Than you any way.

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France