bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#11381: 23.3; isearch-search-and-update issue?


From: Juri Linkov
Subject: bug#11381: 23.3; isearch-search-and-update issue?
Date: Tue, 01 May 2012 18:17:02 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (x86_64-pc-linux-gnu)

> Sounds like a good idea.  To solve nb 3 (i.e. searching for a symbol),
> all that's needed is to set isearch-search-fun-function, so the
> mechanism is there.

`isearch-word' binds the search function to `word-search-forward'
and `word-search-backward', so perhaps new functions
`symbol-search-forward' and `symbol-search-backward'
will be necessary too.

> The problem is that it's clunky to use because you can't just let-bind
> that variable around the call to isearch-forward.  So one thing we
> (c|sh)ould provide is a general way to "run isearch with the following
> vars temporarily bound to these values".
> Maybe simply a new function that runs isearch in a recursive-edit would
> be all that's needed (so you can let-bind the vars around the call to
> that function).

Another variant to try is to set these variables in a function
added to `isearch-mode-hook'.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]