Emacsは検索(Cs)フィールドに貼り付けますか?

Emacsは検索(Cs)フィールドに貼り付けますか?

次のいずれかにコードを書くとしましょう。Emacs以前に手動でコピーした( - )文字列を検索しようとしていますMw

C問題は基本的に - sC-key シーケンスを実行するとyEmacsカーソルの下に残りの行を検索パラメータとして貼り付けます。しかし、これは私が望むものではありません。

現在の解決策は、マウスをつかんでクリックすることです。ミニバッファそれから引っ張ったが、時間が長すぎた。

バージョン:GNU Emacs 23.3.1 (i686-pc-linux-gnu, GTK+ バージョン 2.24.10)

ベストアンサー1

検索文字列を貼り付けるには、Csの後にReturnキーを押します。

Emacs also has conventional nonincremental search commands, which
require you to type the entire search string before searching begins.

`C-s <RET> STRING <RET>'
     Search for STRING.

`C-r <RET> STRING <RET>'
     Search backward for STRING.

   To start a nonincremental search, first type `C-s <RET>'.  This
enters the minibuffer to read the search string; terminate the string
with <RET>, and then the search takes place.  If the string is not
found, the search command signals an error.

おすすめ記事