Mercurial > emacs
changeset 99813:b102ebc8ec55
Add `dired-isearch-filenames' is `dwim'.
author | Juri Linkov <juri@jurta.org> |
---|---|
date | Sat, 22 Nov 2008 20:41:10 +0000 |
parents | fa8a56f094db |
children | e7e3c29a5520 |
files | etc/NEWS |
diffstat | 1 files changed, 7 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Sat Nov 22 20:40:44 2008 +0000 +++ b/etc/NEWS Sat Nov 22 20:41:10 2008 +0000 @@ -746,10 +746,13 @@ Command*'. +++ *** `M-s f C-s' and `M-s f M-C-s' run Isearch that matches only at file names. -When a new user option `dired-isearch-filenames' is non-nil, then even -ordinary Isearch started with `C-s' and `C-M-s' matches only at file names -in the Dired buffer. You can toggle file names matching on or off -by typing `M-s f' in Isearch mode. +When a new user option `dired-isearch-filenames' is t, then even ordinary +Isearch started with `C-s' and `C-M-s' matches only at file names in the +Dired buffer. When `dired-isearch-filenames' is `dwim' then activation of +file name Isearch depends on the position of point - if point is on a file +name initially, then Isearch matches only file names, otherwise it matches +everywhere in the Dired buffer. You can toggle file names matching on or +off by typing `M-s f' in Isearch mode. +++ *** `M-s a C-s' and `M-s a M-C-s' run multi-file Isearch on the marked files. They visit the first marked file in the sequence and display the usual Isearch