Author: David CombsDavid Combs Date: Sep 10, 2008 18:52
>
>> It works for me and should work in any emacs 22. For interactive use,
>> i think C-q C-j is actually the only way to insert newlines.
>
>C-o or C-012 RET also work for a query-replace.
>C-o does not work by default for an incremental search.
>The following code adds this shortcut to the incremental commands.
>
>(define-key isearch-mode-map "\C-o"
> (lambda () (interactive)
> (isearch-process-search-char ?\n)))
Looks nifty -- but what does it do?
1: what's the purpose of defining C-o?
2: what does that function/lambda-expr actually *do*
when it gets called>
(like, how does it get a newline inserted?)
Unfortunately:
|