* isearch quasimode
@ 2002-02-09 2:58 Alex Schroeder
2002-02-09 23:56 ` Alex Schroeder
2002-02-10 5:18 ` Richard Stallman
0 siblings, 2 replies; 3+ messages in thread
From: Alex Schroeder @ 2002-02-09 2:58 UTC (permalink / raw)
I want to write an isearch quasimode. Instead of typing C-s a l e x
to search for the next occurence of alex, I want to type s-a s-l s-e
s-x, assuming that Super indicated the search-quasimode.
Does anybody else think this would be a nice idea? You could use
s-SPC to emulate forward-word, for example. I think that would make
a search alternative even better than isearch -- if you have enough
modifier bits left (I'm thinking of Super for forward searching and
Hyper for backward searching... YMMV.)
Anyway, looking at isearch.el is rather daunting, so I'm looking for
some help... The first question is -- given a string, what do I do to
use isearch machinery to search for it?
I was hoping for something like the following, but there must be more
to it.
(let ((isearch-string "alex"))
(isearch-search-and-update))
Alex.
--
http://www.emacswiki.org/
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/emacs-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-02-10 5:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-09 2:58 isearch quasimode Alex Schroeder
2002-02-09 23:56 ` Alex Schroeder
2002-02-10 5:18 ` Richard Stallman
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).