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

Re: [bep] C-K



坂本です。

From: Reiko TAKAHASHI <HFC03614@...> (高橋玲子)
Subject: Re: [bep] C-K
Date: Tue, 03 Jul 2001 22:44:29 +0900

> } (define-key isearch-mode-map "\C-k" 'isearch-edit-string)
> } 
> } という1行を書くだけの方法もあるようです。
> 
>  今自分でやってみたら、なんかとんでもなく妙なことになりました。
> これ、どこかのサイトで見つけて.emacsに書き込んでおいた1行だったのですが
> ……私の使い方が悪いせいか、うまくいかないみたいです。
> だいたい、C-kでなにかをさせようとしているみたいで怪しい……。

isearch-mode-map中で使っているから大丈夫なきがするのですが、うまくいきま
せんね。
どちらにしても現在ではささりそうですな。

C-h f isearch-edit-string ret

isearch-edit-string is an interactive compiled Lisp function in `isearch'.
(isearch-edit-string)

Edit the search string in the minibuffer.
The following additional command keys are active while editing.

C-j to resume incremental searching with the edited string.
RET to do one nonincremental search.
C-s to resume isearching forward.
C-r to resume isearching backward.
M-n to replace the search string with the next item in the search ring.
M-p to replace the search string with the previous item in the search ring.
M-TAB to complete the search string using the search ring.

If first char entered is C-w, then do word search instead.


--- Mitsugu