After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 694128 - Some search matches are missed
Some search matches are missed
Status: RESOLVED OBSOLETE
Product: vte
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: VTE Maintainers
VTE Maintainers
: 755688 762031 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-02-18 22:15 UTC by Reuben Thomas
Modified: 2021-06-10 14:41 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Reuben Thomas 2013-02-18 22:15:50 UTC
I have a terminal, some of whose lines look like this:

./cw:108: attempt to call method 'slice' (a nil value)
{__le=function: 0x1f77fc0,relems=function: 0x1f7df40,rep=function: 0x1f68150,concat=function: 0x1f60240,slice=function: 0x1f897c0,zipWith=function: 0x1f78b40,transpose=function: 0x1f892e0,tail=function: 0x1f67ed0,shape=function: 0x1f78ae0,reverse=function: 0x1f89520,project=function: 0x1f78a80,mapWith=function: 0x1f78a50,__lt=function: 0x1f67d30,cons=function: 0x1f81cd0,indexKey=function: 0x1f78960,__concat=function: 0x1f60240,flatten=function: 0x1f888d0,__append=function: 0x1f82e80,map=function: 0x1f78a20,foldr=function: 0x1f780b0,foldl=function: 0x1f78050,indexValue=function: 0x1f789c0,depair=function: 0x1f888a0,filter=function: 0x1f77ff0,append=function: 0x1f82e80,elems=function: 0x1f76610,compare=function: 0x1f77f90}
./cw:108: attempt to call method 'slice' (a nil value)
{__le=function: 0x1f77fc0,relems=function: 0x1f7df40,rep=function: 0x1f68150,concat=function: 0x1f60240,slice=function: 0x1f897c0,zipWith=function: 0x1f78b40,transpose=function: 0x1f892e0,tail=function: 0x1f67ed0,shape=function: 0x1f78ae0,reverse=function: 0x1f89520,project=function: 0x1f78a80,mapWith=function: 0x1f78a50,__lt=function: 0x1f67d30,cons=function: 0x1f81cd0,indexKey=function: 0x1f78960,__concat=function: 0x1f60240,flatten=function: 0x1f888d0,__append=function: 0x1f82e80,map=function: 0x1f78a20,foldr=function: 0x1f780b0,foldl=function: 0x1f78050,indexValue=function: 0x1f789c0,depair=function: 0x1f888a0,filter=function: 0x1f77ff0,append=function: 0x1f82e80,elems=function: 0x1f76610,compare=function: 0x1f77f90}
./cw:108: attempt to call method 'slice' (a nil value)
{__le=function: 0x1f77fc0,relems=function: 0x1f7df40,rep=function: 0x1f68150,concat=function: 0x1f60240,slice=function: 0x1f897c0,zipWith=function: 0x1f78b40,transpose=function: 0x1f892e0,tail=function: 0x1f67ed0,shape=function: 0x1f78ae0,reverse=function: 0x1f89520,project=function: 0x1f78a80,mapWith=function: 0x1f78a50,__lt=function: 0x1f67d30,cons=function: 0x1f81cd0,indexKey=function: 0x1f78960,__concat=function: 0x1f60240,flatten=function: 0x1f888d0,__append=function: 0x1f82e80,map=function: 0x1f78a20,foldr=function: 0x1f780b0,foldl=function: 0x1f78050,indexValue=function: 0x1f789c0,depair=function: 0x1f888a0,filter=function: 0x1f77ff0,append=function: 0x1f82e80,elems=function: 0x1f76610,compare=function: 0x1f77f90}
./cw:108: attempt to call method 'slice' (a nil value)

Note that the parts between {...} are single logical lines (only one LF).

When I search for the word "slice", terminal only finds the matches in the context "attempt to call method 'slice'", and not in "slice=function". Similarly, if I search for the word "function", it only finds a couple of instances in each stanza, not all of them.

I have all 3 options "Match case", "Match entire word only" and "Match as regular expression" off.

If I search for "slice=" it finds those instances. Note that "function" always appears in the context "=function:", so it doesn't seem to be a problem with the precise surrounding text.
Comment 1 Behdad Esfahbod 2013-02-19 03:59:28 UTC
Right.  We only find one match per line :(.
Comment 2 Reuben Thomas 2013-02-19 09:15:17 UTC
As I tried to show in my bug, it seems to be weirder than that: search does not find matches on some physical lines, and finds more than one match on some logical lines.
Comment 3 Christian Persch 2015-09-27 19:14:55 UTC
*** Bug 755688 has been marked as a duplicate of this bug. ***
Comment 4 Christian Persch 2016-02-14 14:37:31 UTC
*** Bug 762031 has been marked as a duplicate of this bug. ***
Comment 5 GNOME Infrastructure Team 2021-06-10 14:41:01 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/vte/-/issues/1994.