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

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

Please modify some elisp code for me.


From: Wang Yin
Subject: Please modify some elisp code for me.
Date: 12 May 2003 18:26:38 +0800
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Hi,

I've found a wonderful elisp code named "quosimode search" at
emacswiki.org. It uses two mofifiers for incremental search for text.

For example, if I keep Super_R down and type character, it will search
forward for that string. If I keep Hyper_L down, it will search
backward. 

I have some interesting ideas about this function. Sometimes, we just
want to go to a location quickly. We can press Super_R and just type
the charaters around that point. We can move there.

But now the problem is that this code hasn't a good repeat mechanism.
If I typed a prefix for that location, I can't skip something similiar
before that point. For example, the pointer is at beginning of the
sentence:

"It stores the string to find in the variable `qsearch-string' "
                                                          ^^^I want to
                                                          move here

I press Hyper_R and type "i", "n", "g", ...

"It stores the string to find in the variable `qsearch-string' "
                  ^^^the
                     pointer
                     stopped here

At this moment, I want to use another key, say Hyper_R-RET, to repeat
the search for the string "ing" to the next one.

qsearch.el stores the string to find in the variable `qsearch-string'.
It's easy to repeat the search but the author didn't implement such a
command.

Who will modify this code to enhance it? I think it's better define a 


-- 
Wang Yin DA Lab, Tsinghua University, 100084 Beijing China


reply via email to

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