🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.sources
Article #287

Re: emacs 19 new isearch

#287
From: Ray Nickson
Date: Thu, 17 Dec 1992 23:12
17 lines
1341 bytes
[Sorry for carrying this on in an inappropriate newsgroup]

In article <1992Dec17.042735.18401@wam.umd.edu> joel@wam.umd.edu (Joel M. Hoffman) writes:

   Now that I think of it, why not use C-space (set-mark) to terminate
   a search?

I set search-exit-char to -1 and search-exit-option to t so that
`random control characters' and nothing else terminate a search.  I
then use C-@ (set-mark) to terminate a search, unless I want to do
some other command instead.

The only thing I can't then do is search for newline by typing RET in
the string -- I have to use C-Q C-J instead, and I find that a minor
pain.

Ray
Technical Details
Message-ID: <BzFF4K.Ly8@comp.vuw.ac.nz>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!wupost!waikato.ac.nz!comp.vuw.ac.nz!nickson
References: <m0n1xiU-0001CYC@fly.cnuce.cnr.IT> <FRANL.92Dec16131850@draco.centerline.com><FISCHER.92Dec16202935@vagtel.iesd.auc.dk><1992Dec17.042735.18401@wam.umd.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!spool.mu.edu!wupost!waikato.ac.nz!comp.vuw.ac.nz!nickson
From: Ray.Nickson@comp.vuw.ac.nz (Ray Nickson)
Newsgroups: gnu.emacs.sources
Subject: Re: emacs 19 new isearch
Message-ID: <BzFF4K.Ly8@comp.vuw.ac.nz>
Date: 17 Dec 92 23:12:19 GMT
References: <m0n1xiU-0001CYC@fly.cnuce.cnr.IT> 
 <FRANL.92Dec16131850@draco.centerline.com><FISCHER.92Dec16202935@vagtel.iesd.auc.dk><1992Dec17.042735.18401@wam.umd.edu>
Sender: news@comp.vuw.ac.nz (News Admin)
Distribution: gnu
Organization: Victoria University of Wellington, Wellington, New Zealand
Lines: 17
Nntp-Posting-Host: turakirae.comp.vuw.ac.nz
In-Reply-To: joel@wam.umd.edu's message of Thu, 17 Dec 1992 04:27:35 GMT