[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Texmacs-dev] BUG: searching and functions
From: |
Joris van der Hoeven |
Subject: |
Re: [Texmacs-dev] BUG: searching and functions |
Date: |
Sat, 10 May 2003 00:16:09 +0200 (CEST) |
> Hi developers,
>
> TeXmacs-1.0.1 search algorithm (invoked by C-s) skips over the portions
> of the text coming from the functions.
>
> Here is a smiple but illustrative example:
>
> <assign|foo|<func|text|<value|text>>>
>
> <apply|foo|hello world!>
>
>
> Now try to search for 'world': C-s world
> The search fails even though "hello world" is displayed on the screen.
> It looks as though the text strings returned from the functions
> are not visited by the search algorithm.
>
> Is it a bug or feature??
Yes, that is normal, because functions are really scripts.
When you compute 1+1 --> 2 and search 1, you don't expect
to find "1" inside "2".