* Re: Search for chars requiring "Alt Gr" keyboard modifier
[not found] <mailman.15946.1106950357.27204.bug-gnu-emacs@gnu.org>
@ 2005-01-31 16:43 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2005-01-31 16:43 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Search for chars requiring "Alt Gr" keyboard modifier
@ 2005-01-28 21:26 Enrique Perez-Terron
0 siblings, 0 replies; 2+ messages in thread
From: Enrique Perez-Terron @ 2005-01-28 21:26 UTC (permalink / raw)
This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.
Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing
list,
and to the gnu.emacs.bug news group.
In GNU Emacs 21.3.1 (i386-redhat-linux-gnu, X toolkit, Xaw3d scroll
bars)
of 2004-10-18 on tweety.build.redhat.com
configured using `configure --build=i386-redhat-linux --host=i386-
redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --
prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --
sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --
libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --
sharedstatedir=/usr/com --mandir=/usr/share/man --
infodir=/usr/share/info --with-pop --with-sound'
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8
default-enable-multibyte-characters: t
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
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).
Recent input:
C-s C-s <down-mouse-1> <mouse-1> C-x C-f / t m p <tab>
u n i <tab> <tab> <tab> <return> <down-mouse-1> <mouse-1>
C-x 1 M-< C-s <key-3> @ C-g C-g C-g C-s <key-3> @ <down>
<down> <down> <up> <up> <up> <down-mouse-1> <mouse-movement>
<drag-mouse-1> <right> <right> <left> <left> C-g <right>
<left> C-s C-w C-s C-r C-r <return> C-s C-w C-w C-w
C-s C-s C-s C-s C-s C-s C-s <down-mouse-1> <mouse-1>
C-s C-w C-w C-w C-s C-s C-s C-s C-s C-s C-s C-s C-s
C-s C-s C-s <menu-bar> <buffer> "af_unix.c" M-< C-s
<key-3> C-s <key-3> @ <help-echo> <help-echo> <help-echo>
<help-echo> <help-echo> <menu-bar> <help-menu> <re
port-emacs-bug>
Recent messages:
Note: file is write protected
Mark set
Buffer is read-only: #<buffer unix>
keyboard-quit: Quit [3 times]
Buffer is read-only: #<buffer unix>
keyboard-quit: Quit
Mark saved where search started [2 times]
Mark set
Buffer is read-only: #<buffer af_unix.c>
Loading emacsbug...done
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-01-31 16:43 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.15946.1106950357.27204.bug-gnu-emacs@gnu.org>
2005-01-31 16:43 ` Search for chars requiring "Alt Gr" keyboard modifier Kevin Rodgers
2005-01-28 21:26 Enrique Perez-Terron
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).