emacs-devel
[Top][All Lists]
Advanced

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

Re: Why is `C-x 8' limited to Latin-1 for search?


From: Juri Linkov
Subject: Re: Why is `C-x 8' limited to Latin-1 for search?
Date: Mon, 10 Dec 2012 09:46:19 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)

> ;; 99% the same as `isearch-edit-string' (`M-e'). This just calls 
> `read-char-by-name'.
> ;; The common code could be factored out, if this were how we wanted to 
> implement the feature.
> ;; (I didn't try to see if everything else here is needed for this feature, 
> as it is needed for `M-e'.)

To avoid code duplication, a new macro could be created
with a name like `with-isearch-paused' and the body from `isearch-edit-string'
except the part that changes `isearch-new-string' and `isearch-new-message'.
It could be used in a new command with a name like 
`isearch-insert-char-by-name'.



reply via email to

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