From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: Why is `C-x 8' limited to Latin-1 for search? Date: Sat, 8 Dec 2012 20:52:52 -0800 Message-ID: <1992681966EA4AE4A56751FA335DD5CE@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1355028792 21827 80.91.229.3 (9 Dec 2012 04:53:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Dec 2012 04:53:12 +0000 (UTC) To: Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 09 05:53:25 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 1ThYtH-0003GL-Gu for ged-emacs-devel@m.gmane.org; Sun, 09 Dec 2012 05:53:23 +0100 Original-Received: from localhost ([::1]:60946 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThYt5-0002t7-2Q for ged-emacs-devel@m.gmane.org; Sat, 08 Dec 2012 23:53:11 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53775) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThYt0-0002sa-JJ for emacs-devel@gnu.org; Sat, 08 Dec 2012 23:53:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ThYsz-0001Sb-F1 for emacs-devel@gnu.org; Sat, 08 Dec 2012 23:53:06 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:24704) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThYsz-0001SM-91 for emacs-devel@gnu.org; Sat, 08 Dec 2012 23:53:05 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qB94r2Ko028263 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 9 Dec 2012 04:53:03 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qB94r1I1027771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 9 Dec 2012 04:53:02 GMT Original-Received: from abhmt113.oracle.com (abhmt113.oracle.com [141.146.116.65]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id qB94r1aO019499 for ; Sat, 8 Dec 2012 22:53:01 -0600 Original-Received: from dradamslap1 (/71.202.147.44) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 08 Dec 2012 20:53:01 -0800 X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac3VyQty0XZpBIP3SRaXqsXI0t6BOQ== X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:155394 Archived-At: I was thinking that one could now use `C-x 8 RET' (which is now = `insert-char') to insert any Unicode char into the Isearch search string. Apparently = not. At least it doesn't seem to work (`C-x 8 RET' is bound to `isearch-other-control-char'), and I couldn't find it mentioned in the = doc. Looking for it in the doc, I found only a mention that you can use `C-x = 8' to insert Latin-1 chars (and so search for them). Is it intentional that you cannot search for other Unicode chars using = `C-x 8 RET'? Is that not possible only because it is not yet implemented, or = is there some reason why it should not be available (implemented)? Yes, I know that `C-x 8 RET' is not necessarily an ideal way to input = chars. But it seems like you should be able to use it here anyway. If there is a good reason why one should not be able to use `C-x 8 RET' = to directly input chars during Isearch, what about letting users at least = use `C-x 8 RET' after `M-e', to input chars that way? --- To try the latter quickly (no, this is not the way to code this; it's = just a quick way to let you try it): (unless (fboundp 'ORIG-isearch-edit-string) (defalias 'ORIG-isearch-edit-string (symbol-function 'isearch-edit-string))) (defun isearch-edit-string () (interactive) (let ((enable-recursive-minibuffers t)) (ORIG-isearch-edit-string))) In a buffer with some Unicode chars, e.g., `=EB': C-s M-e C-x 8 RET GREEK SMALL LETTER LAMBDA C-s (You have completion for the character name, at least.)