From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Why is `C-x 8' limited to Latin-1 for search? Date: Mon, 10 Dec 2012 09:46:19 +0200 Organization: JURTA Message-ID: <8738ze4jid.fsf@mail.jurta.org> References: <1992681966EA4AE4A56751FA335DD5CE@us.oracle.com> <9A96D353A11D47A7A143074DB1E09EE4@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355127000 11459 80.91.229.3 (10 Dec 2012 08:10:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Dec 2012 08:10:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 10 09:10:14 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ThyRK-0001aa-Ds for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2012 09:10:14 +0100 Original-Received: from localhost ([::1]:47148 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThyR7-0000JX-P0 for ged-emacs-devel@m.gmane.org; Mon, 10 Dec 2012 03:10:01 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:56140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThyR2-0000Hf-F9 for emacs-devel@gnu.org; Mon, 10 Dec 2012 03:10:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ThyR1-0006S0-Eu for emacs-devel@gnu.org; Mon, 10 Dec 2012 03:09:56 -0500 Original-Received: from ps18281.dreamhost.com ([69.163.218.105]:38193 helo=ps18281.dreamhostps.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThyR1-0006Ru-9z for emacs-devel@gnu.org; Mon, 10 Dec 2012 03:09:55 -0500 Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 9F888451E1A6; Mon, 10 Dec 2012 00:09:53 -0800 (PST) In-Reply-To: <9A96D353A11D47A7A143074DB1E09EE4@us.oracle.com> (Drew Adams's message of "Sat, 8 Dec 2012 21:33:49 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 69.163.218.105 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:155415 Archived-At: > ;; 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'.