From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.bugs Subject: Re: Search for chars requiring "Alt Gr" keyboard modifier Date: Mon, 31 Jan 2005 09:43:24 -0700 Message-ID: <3675heF4tbl3rU1@individual.net> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1107190192 3209 80.91.229.6 (31 Jan 2005 16:49:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 31 Jan 2005 16:49:52 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 31 17:49:39 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Cvek6-0002n6-00 for ; Mon, 31 Jan 2005 17:49:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Cvewr-0007uq-Fo for geb-bug-gnu-emacs@m.gmane.org; Mon, 31 Jan 2005 12:02:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Cveva-0007Uo-ND for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2005 12:01:30 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CvevT-0007RP-2E for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2005 12:01:23 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvevR-0007Cn-1w for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2005 12:01:21 -0500 Original-Received: from [130.59.10.2] (helo=chx400.switch.ch) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CveeB-00087n-JD for bug-gnu-emacs@gnu.org; Mon, 31 Jan 2005 11:43:31 -0500 Original-Received: from mail.fu-berlin.de ([130.133.1.2]) by chx400.switch.ch with esmtp (Exim 3.20 #1) id 1Cvee8-0006YD-00 for gnu-emacs-bug@moderators.isc.org; Mon, 31 Jan 2005 17:43:28 +0100 Original-Received: by Mail.FU-Berlin.DE (Exim 4.42) from curry.zedat.fu-berlin.de ([160.45.10.36]) for gnu-emacs-bug@moderators.isc.org with esmtp id <1Cvee7-000APl-Ll>; Mon, 31 Jan 2005 17:43:27 +0100 Original-Received: by Curry.ZEDAT.FU-Berlin.DE (Smail3.2.0.98) from news.uni-berlin.de with bsmtp id ; Mon, 31 Jan 2005 17:43:27 +0100 (MET) Original-To: gnu-emacs-bug@moderators.isc.org Original-Path: individual.net!not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 33 X-Orig-X-Trace: individual.net mZ7m6H3DZEzN8MezTVsGZQVPSlVTwfgDVnLj91jhiC0KXKebQ= User-Agent: Mozilla Thunderbird 0.9 (X11/20041105) X-Accept-Language: en-us, en In-Reply-To: X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:10635 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:10635 Enrique Perez-Terron wrote: > I want to use the incremental search command (bound to ^S) to search > for a string starting with the "@" character. On my Norwegian > keyboard, this character requires the key combination "Alt Gr" + "2". > (By "Alt Gr" I mean the key that was formerly known as "Mode Switch", > currently I think it is called ISO-Level-2 or something similar. I > have a GNU/Linux system -- Fedora Core 3 -- running on an AMD K6-2 (i586 > clone).) > > But as soon as I press the "Alt Gr" key, the "Search:" prompt > disappears from the message line, and it appears that the Search > command has been terminated, just like when I press e.g., an > arrow key. When I subsequently type hit the "2" key, I get the message > "Buffer is read-only", indicating that Emacs is running the self-insert > command instead of incremental search. > > Eventually I was able to do the search because I located the first > occurrence manually, and used the ^S ^W keys to have Emacs search for > the next occurrence, but when I subsequently moved to another buffer > and needed to find the "@" character there, there was no way to do it, > short of typing the search string in a scratch buffer, searching for > it using ^S ^W, and then repeating the search in the target buffer (^S > ^S). Since @ is character 64 in ASCII, ISO 8859-N, and Unicode, I'm sure you can search for it via its octal code: C-s C-q 100 RET But you could try setting search-exit-option to nil, or binding the AltGr key to somthing (nil, or perhaps its global binding) in isearch-mode-map. -- Kevin Rodgers