* Make a simple search in an info file.
@ 2006-03-16 11:01 Michael Cadilhac
0 siblings, 0 replies; 4+ messages in thread
From: Michael Cadilhac @ 2006-03-16 11:01 UTC (permalink / raw)
[-- Attachment #1.1: Type: text/plain, Size: 1116 bytes --]
Hi !
I've a strong desire those days: make a _simple_ search within an
info file or in outline-mode.
For example, open the Elisp manual, and search for « local
variables: ». Isearch will then go to every _references_ to the
section Local Variables, and not to every actual match of the
search (_with_ the `:' ).
It's because the search is made on the real text, that's to say, the
whole text without hidden things. Here, references on « Local
Varibles » are of the form « Local Variables: definition of thing »
but just shown as « Local Variables » ; that explains the match.
It's like in outline mode when some hidden subtrees are hidden: when
a search is made, Isearch also searches in the hidden text.
Can I param Isearch to make the search on the literal shown text ?
--
Michael Cadilhac, a.k.a. Micha [mika] |
Epita/LRDE promo 2007 | )\._.,--....,'``.
123 av. de Fontainebleau | 08.70.65.13.14 | /. _.. \ _\ (` ._,.
94270 Le Kremlin Bicetre | 06.23.20.31.30 | '._.-(,_..'--(,_...`-..'
[-- Attachment #1.2: Type: application/pgp-signature, Size: 188 bytes --]
[-- Attachment #2: Type: text/plain, Size: 152 bytes --]
_______________________________________________
help-gnu-emacs mailing list
help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Make a simple search in an info file.
@ 2006-03-16 13:37 Phillip Lord
2006-03-16 15:42 ` Michael Cadilhac
0 siblings, 1 reply; 4+ messages in thread
From: Phillip Lord @ 2006-03-16 13:37 UTC (permalink / raw)
Michael Cadilhac wrote:
> Hi !
>
> I've a strong desire those days: make a _simple_ search within an
> info file or in outline-mode.
>
> For example, open the Elisp manual, and search for < local
> variables: >. Isearch will then go to every _references_ to the
> section Local Variables, and not to every actual match of the
> search (_with_ the `:' ).
>
> It's because the search is made on the real text, that's to say, the
> whole text without hidden things. Here, references on < Local
> Varibles > are of the form < Local Variables: definition of thing >
> but just shown as < Local Variables > ; that explains the match.
>
> It's like in outline mode when some hidden subtrees are hidden: when
> a search is made, Isearch also searches in the hidden text.
>
> Can I param Isearch to make the search on the literal shown text ?
It's not doing what you want, but "i local variables" will do an index
lookup, which will get you what you want.
If you want to do an isearch, doesn't M-x widen, C-s do what you want?
Phil
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Make a simple search in an info file.
2006-03-16 13:37 Make a simple search in an info file Phillip Lord
@ 2006-03-16 15:42 ` Michael Cadilhac
2006-03-17 11:27 ` Eli Zaretskii
0 siblings, 1 reply; 4+ messages in thread
From: Michael Cadilhac @ 2006-03-16 15:42 UTC (permalink / raw)
Cc: help-gnu-emacs
"Phillip Lord" <Phillip.Lord@newcastle.ac.uk> writes:
> Michael Cadilhac wrote:
>> Hi !
>>
>> I've a strong desire those days: make a _simple_ search within an
>> info file or in outline-mode.
>>
>> For example, open the Elisp manual, and search for < local
>> variables: >. Isearch will then go to every _references_ to the
>> section Local Variables, and not to every actual match of the
>> search (_with_ the `:' ).
>>
>> It's because the search is made on the real text, that's to say, the
>> whole text without hidden things. Here, references on < Local
>> Varibles > are of the form < Local Variables: definition of thing >
>> but just shown as < Local Variables > ; that explains the match.
>>
>> It's like in outline mode when some hidden subtrees are hidden: when
>> a search is made, Isearch also searches in the hidden text.
>>
>> Can I param Isearch to make the search on the literal shown text ?
>
> It's not doing what you want, but "i local variables" will do an index
> lookup, which will get you what you want.
Indeed, it doesn't do what I want :-) Thanks anyway !
> If you want to do an isearch, doesn't M-x widen, C-s do what you want?
Nop, neither for info nor for outline-mode :-/
--
Michael Cadilhac, a.k.a. Micha [mika] |
Epita/LRDE promo 2007 | )\._.,--....,'``.
123 av. de Fontainebleau | 08.70.65.13.14 | /. _.. \ _\ (` ._,.
94270 Le Kremlin Bicetre | 06.23.20.31.30 | '._.-(,_..'--(,_...`-..'
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Make a simple search in an info file.
2006-03-16 15:42 ` Michael Cadilhac
@ 2006-03-17 11:27 ` Eli Zaretskii
0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2006-03-17 11:27 UTC (permalink / raw)
> From: Michael Cadilhac <michael.cadilhac@lrde.org>
> Date: Thu, 16 Mar 2006 16:42:00 +0100
> Cc: help-gnu-emacs@gnu.org
>
> "Phillip Lord" <Phillip.Lord@newcastle.ac.uk> writes:
>
> > It's not doing what you want, but "i local variables" will do an index
> > lookup, which will get you what you want.
>
> Indeed, it doesn't do what I want :-)
Why not? `i' _is_ the best way of searching for something in an Info
manual.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-03-17 11:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-03-16 13:37 Make a simple search in an info file Phillip Lord
2006-03-16 15:42 ` Michael Cadilhac
2006-03-17 11:27 ` Eli Zaretskii
-- strict thread matches above, loose matches on Subject: below --
2006-03-16 11:01 Michael Cadilhac
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).