Article View: gnu.emacs.bug
Article #98829Isearch
From: "Jonathan I. Kamens"
Date: Wed, 13 Feb 1991 18:50
Date: Wed, 13 Feb 1991 18:50
23 lines
1752 bytes
1752 bytes
Resent-Date: Sun, 10 Feb 91 10:22:46 -0500
Resent-From: gnulists@ai.mit.edu
From: gshapiro@ai.mit.edu
Sender: gnulists@ai.mit.edu
Date: Sun, 10 Feb 91 10:22:46 -0500
It would be more clever if the function knew which key was used to call
the macro (the macro would have to pass this) and rebind THAT. As it is,
hitting C-\ will just call the macro again, so you get the effects you
described. The isearch function will insist on you using C-s to repeat the
search. (or you could then press C-r to reverse the search, but that
doesn't help :-))
Set the variables search-repeat-char and search-reverse-char to the
characters you wish to use to repeat the search or switch it to a
reverse search (and repeat the reverse search). In your case, you
would set search-repeat-char to 28, which is the ASCII code for C-\.
Jonathan Kamens USnail:
MIT Project Athena 11 Ashford Terrace
jik@Athena.MIT.EDU Allston, MA 02134
Office: 617-253-8085 Home: 617-782-0710
Technical Details
Message-ID:
<9102131850.AA02540@pit-manager.MIT.EDU>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbageReferences:
<9102101522.AA00731@geech.ai.mit.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fb2f1,7a5fa6dbd53be472,start
X-Google-Attributes: gidfb2f1,public
X-Google-ArrivalTime: 1991-02-13 10:50:04 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!zaphod.mps.ohio-state.edu!magnus.ircc.ohio-state.edu!tut.cis.ohio-state.edu!unreplyable!garbage
From: jik@PIT-MANAGER.MIT.EDU ("Jonathan I. Kamens")
Newsgroups: gnu.emacs.bug
Subject: Isearch
Message-ID: <9102131850.AA02540@pit-manager.MIT.EDU>
Date: 13 Feb 91 18:50:04 GMT
References: <9102101522.AA00731@geech.ai.mit.edu>
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 23
Approved: bug-gnu-emacs@prep.ai.mit.edu