all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Isearch - Incremental search with predefined initial character?
@ 2014-10-04 17:57 BobD
  2014-10-04 21:58 ` Drew Adams
  2014-10-08 20:49 ` BobD
  0 siblings, 2 replies; 4+ messages in thread
From: BobD @ 2014-10-04 17:57 UTC (permalink / raw)
  To: help-gnu-emacs

Using  24.3.1 (i386-mingw-nt6.1.7601)

I wish to do incremental searches with the first character pre-defined, i.e. have emacs prepend a character to the characters I enter.

E.g., if I start an i-search, and then enter "abc", emacs will pretend I entered "Xabc".
If I continue the i-search, emacs will seek "Xabc".

I fiddled with isearch-mode-hook, but I couldn't see how to continue searching with the prepended character.

Do I need to fiddle with the "isearch-repeat-..." code?
Do I need to fiddle with other code?


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-08 22:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-04 17:57 Isearch - Incremental search with predefined initial character? BobD
2014-10-04 21:58 ` Drew Adams
2014-10-08 20:49 ` BobD
2014-10-08 22:32   ` Drew Adams

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.