🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.help
Article #189558

Re: Problem with Home key

#189558
From: Joe Keane
Date: Fri, 11 Jan 1991 23:27
20 lines
1707 bytes
In article <9012311743.AA00445@scenic.scenic.wa.com> pauld@scenic.wa.com (Paul
Barton-Davis) writes:
>When you press the home key (or most any
>other function key), it generates a sequence that begins with an ESC.
>Emacs therefore terminates the search, and inserts the remaining part
>of the generated sequence ("[214z") into the buffer, since it appears
>to Emacs as if you typed each character one-by-one. You can prevent
>this behaviour by putting the following in your .emacs file:
>
>	(setq search-exit-char ?q)
>
>which would set the "search exit character" to be a lower case q.

I agree the default behavior is rather annoying.  I don't use funcy keys, but
often after a search i want to do M-b or M-<.  Setting the exit characater to
`q' seems very confusing, unless you never search for words with that letter
in them.  Personally, i use control-], which otherwise aborts recursive edit.
Now isearch isn't a recursive edit, but they're similar.

	(setq search-exit-char ?\C-])
Technical Details
Message-ID: <4138@osc.COM>
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!pacbell!osc!jgk
References: <9012211448.AA01156@mite.aet_austin> <9012311743.AA00445@scenic.scenic.wa.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 103b8b,4cd2d6b598abc540
X-Google-Attributes: gid103b8b,public
X-Google-ArrivalTime: 1991-01-11 05:20:17 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!wuarchive!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!pacbell.com!pacbell!osc!jgk
From: jgk@osc.COM (Joe Keane)
Newsgroups: gnu.emacs.help
Subject: Re: Problem with Home key
Summary: Use a different search exit character.
Message-ID: <4138@osc.COM>
Date: 11 Jan 91 23:27:31 GMT
References: <9012211448.AA01156@mite.aet_austin> <9012311743.AA00445@scenic.scenic.wa.com>
Reply-To: jgk@osc.COM (Joe Keane)
Organization: Versant Object Technology, Menlo Park, CA
Lines: 20