[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Isearch in dired
From: |
Juri Linkov |
Subject: |
Re: Isearch in dired |
Date: |
Thu, 13 Nov 2008 18:57:51 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
While we need to think more about enabling the dwim option by default,
there is one problem in implementing such option - the additional visual clue
in the Isearch message about the search type is not displayed immediately
after typing C-s on a filename column. The message gets updated only after
typing more keys in Isearch mode.
This is because the code that modifies the Isearch message in Dired is
executed via `isearch-mode-hook', but this hook is called in `isearch-mode'
after `isearch-update' that displays the Isearch message. So currently
it is impossible to modify the Isearch message before displaying it.
One solution is to change the call order in `isearch-mode' from
(isearch-update)
(run-hooks 'isearch-mode-hook)
to
(run-hooks 'isearch-mode-hook)
(isearch-update)
Does someone see a bad effect of such change?
--
Juri Linkov
http://www.jurta.org/emacs/
- Re: Isearch in dired, (continued)
Re: Isearch in dired, Richard M. Stallman, 2008/11/09