From unknown Thu Jun 19 16:20:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#48628 <48628@debbugs.gnu.org> To: bug#48628 <48628@debbugs.gnu.org> Subject: Status: tags-search fails to find all occurences and finds one that it shouldn't Reply-To: bug#48628 <48628@debbugs.gnu.org> Date: Thu, 19 Jun 2025 23:20:14 +0000 retitle 48628 tags-search fails to find all occurences and finds one that i= t shouldn't reassign 48628 emacs submitter 48628 "Bob Floyd" severity 48628 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon May 24 12:03:07 2021 Received: (at submit) by debbugs.gnu.org; 24 May 2021 16:03:07 +0000 Received: from localhost ([127.0.0.1]:43750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llD2o-0007Mw-8U for submit@debbugs.gnu.org; Mon, 24 May 2021 12:03:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:46538) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llD2l-0007Mk-PW for submit@debbugs.gnu.org; Mon, 24 May 2021 12:03:04 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llD2l-0006BJ-HZ for bug-gnu-emacs@gnu.org; Mon, 24 May 2021 12:03:03 -0400 Received: from resqmta-po-09v.sys.comcast.net ([2001:558:fe16:19:96:114:154:168]:43368) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llD2h-0006n0-Bb for bug-gnu-emacs@gnu.org; Mon, 24 May 2021 12:03:02 -0400 Received: from resomta-po-06v.sys.comcast.net ([96.114.154.230]) by resqmta-po-09v.sys.comcast.net with ESMTP id lCL7l4oY16cSdlD2dlY9lo; Mon, 24 May 2021 16:02:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1621872175; bh=jmkDIsNwOQ1tEdW+Uwug6ouAgUhlAmd/G2AAhEaFxEc=; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=x2/35vHY6IP8AF5tLE2qn+rGYryYL14KJp6YC9Wh8XrIxWWdMPNcKYvK5VUsXVtSD DMQJNOtBewWWL2viNHiAb8VPra14AnSWDUA9LhsqZgFtjaUPfcGCImaWwLyPJQEVsV T6DyIKELGz/GQghRYyfGWnND3wJoFT5wEriJc9lnpdzQEGS0r9RlmRdLl6Z0p3x9E+ hI/3Ro9/Na+w9RtPfTOzMJ67wrJEzy/AWDgLMEm3Y+Z25JJF026rOUH8DtY6133nmQ 30w53TUb4KmQNE3fWg3u1SysyBYhZl0mo72bHq0Xdbs04tKfkILUR2fxnbGsXrsVhP 9dxnxSf6MVK1Q== Received: from Cache ([IPv6:2601:647:6100:3b1c::87]) by resomta-po-06v.sys.comcast.net with ESMTPA id lD2clsWtVsKGUlD2dltk0j; Mon, 24 May 2021 16:02:55 +0000 X-Xfinity-VMeta: sc=0.00;st=legit From: "Bob Floyd" To: Subject: tags-search fails to find all occurences and finds one that it shouldn't Date: Mon, 24 May 2021 09:02:54 -0700 Message-ID: <004501d750b6$42458040$c6d080c0$@net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0046_01D7507B.95E6A840" X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AddQtkHDLqdWlQwuQpqTF3JblRA0pQ== Content-Language: en-us Received-SPF: pass client-ip=2001:558:fe16:19:96:114:154:168; envelope-from=bobfloyd@comcast.net; helo=resqmta-po-09v.sys.comcast.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) This is a multi-part message in MIME format. ------=_NextPart_000_0046_01D7507B.95E6A840 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0047_01D7507B.95E6A840" ------=_NextPart_001_0047_01D7507B.95E6A840 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, Attached are 3 files, 'f1.cpp', 'f2.cpp', and 'TAGS'. I'm using the development 28.0.50 version on Windows. Start emacs and: 1. C-x 2 (split-window-below) 2. C-x C-f (find-file) "f1.cpp" in the upper window 3. C-x C-f (find-file) "f2.cpp" in the lower window 4. left-mouse click in the upper window top left (location of the search start) 5. (tags-search) the string "_cu" using the attached TAGS file Tags search (regexp): _cu 6. M-, (fileloop-continue) until reaching "All files processed" The matches are on lines: f1.cpp: 7, 25, 65, 104, 121 f2.cpp: 7, 25, 65, 104, 121 (both f1 and f2 have identical contents). 7. In the upper window, switch to buffer f1.cpp and go to line 53: 8. mark line 53 and move down to line 72, then delete the selection: You're deleting this: case ECall::DPI::_pow_: { IT::IAcc _one ( R()->c1.CastTo( _ty ) ); IT::IAcc _zero( R()->c0.CastTo( _ty ) ); IT::IAcc _condBase ( _theFunction.Arg(0) .EqEq( IT::FlagsOfIKind(), _zero ) ); IT::IAcc _condExp ( _theFunction.Arg(1) .LT( IT::FlagsOfIKind(), _zero ) ); // Specialize to capture `0 ** 0` and return 1. IT::IfHlpr _testSpcl ( _cu, _condBase .AndAnd (IT::FlagsOfIKind(), _condExp), IT::List() ); _testSpcl.True() << _one.Return(); _body << _testSpcl; break; } 9. M-< (beginning-of-buffer) in the upper window ("f1.cpp") 10. (tags-search) the string "_cu" Tags search (regexp): _cu 11. M-, (fileloop-continue) until reaching "All files processed" The matches are on lines: 7, 25, 85, 102, 115, 121 NOTE 115 is wrong, it is this line that does not contain "_cu" # ifdef C_FILE_GENERATOR NOTE only 1 of the "_cu"s was deleted so instead of 10 occurrences there should be 9 BUT it only found 6. In GNU Emacs 28.0.50 (build 1, x86_64-w64-mingw32) of 2021-01-15 built on CIRROCUMULUS Repository revision: f45be48ddbde00610e1e08fca6590dcf24a4e1b5 Repository branch: master Windowing system distributor 'Microsoft Corp.', version 10.0.19042 System Description: Microsoft Windows 10 Enterprise (v10.0.2009.19042.985) Configured using: 'configure --without-dbus --without-compress-install -C 'CFLAGS=-O2 -static -g3' PKG_CONFIG_PATH=/mingw64/lib/pkgconfig' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF TOOLKIT_SCROLL_BARS XPM ZLIB Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Fundamental Minor modes in effect: shell-dirtrack-mode: t show-paren-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny dired dired-loaddefs rfc822 mml mml-sec epa epg epg-config gnus-util rmail rmail-loaddefs text-property-search mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils misearch multi-isearch two-column help-mode thingatpt etags fileloop generator xref project time-date pcmpl-unix web-mode advice derived edmacro kmacro shell pcomplete comint ansi-color ring printing ps-print ps-print-loaddefs ps-def lpr paren cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs finder-inf tex-site info package easymenu browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib iso-transl tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame minibuffer cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray cl-preloaded nadvice button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty make-network-process emacs) Memory information: ((conses 16 192149 7744) (symbols 48 14547 1) (strings 32 50102 1978) (string-bytes 1 1608447) (vectors 16 21762) (vector-slots 8 294115 19624) (floats 8 263 356) (intervals 56 3062 0) (buffers 984 18)) ------=_NextPart_001_0047_01D7507B.95E6A840 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

Attached are = 3 files, ‘f1.cpp’, ‘f2.cpp’, and = ‘TAGS’.

 

I’m = using the development 28.0.50 version on Windows.

 

Start emacs = and:

 

1. C-x 2 (split-window-below)

2. C-x C-f (find-file) "f1.cpp" in the upper = window

3. C-x C-f (find-file) = "f2.cpp" in the lower window

4. left-mouse click in the upper window top left = (location of the search start)

5. = <f3> (tags-search) the string "_cu" using the attached = TAGS file

   Tags search = (regexp): _cu

6. M-, = (fileloop-continue) until reaching "All files = processed"

   The = matches are on lines:

   = f1.cpp: 7, 25, 65, 104, 121

   f2.cpp: 7, 25, 65, 104, = 121

   (both f1 and f2 have = identical contents).

7. In the upper = window, switch to buffer f1.cpp and go to line 53:

8. mark line 53 and move down to line 72, then delete = the selection:

   You're = deleting this:

   case = ECall::DPI::_pow_:

      {

         &= nbsp;      = IT::IAcc           = ;      _one ( R()->c1.CastTo( _ty ) = );

         &= nbsp;      = IT::IAcc           = ;      _zero( R()->c0.CastTo( _ty ) = );

         &= nbsp;      = IT::IAcc           = ;      _condBase

         &= nbsp;      ( _theFunction.Arg(0) .EqEq( = IT::FlagsOfIKind(), _zero ) );

         &= nbsp;      = IT::IAcc           = ;      _condExp

         &= nbsp;      ( _theFunction.Arg(1) .LT( = IT::FlagsOfIKind(), _zero ) );

 

         &= nbsp;      // Specialize to capture `0 ** 0` = and return 1.

 

         &= nbsp;      = IT::IfHlpr          &nb= sp;   _testSpcl

         &= nbsp;      ( _cu, _condBase .AndAnd = (IT::FlagsOfIKind(), _condExp), IT::List() );

 

         &= nbsp;      _testSpcl.True() << = _one.Return();

 

         &= nbsp;      _body << = _testSpcl;

 

         &= nbsp;      break;

      }

9. M-< (beginning-of-buffer) in the upper window = (“f1.cpp”)

10. <f3> = (tags-search) the string "_cu"

   Tags search (regexp): = _cu

11. M-, (fileloop-continue) until = reaching "All files processed"

   The matches are on = lines:

   7, 25, 85, 102, = 115, 121

   NOTE 115 is = wrong, it is this line that does not contain = "_cu"

#     ifdef = C_FILE_GENERATOR

   NOTE = only 1 of the "_cu"s was deleted so instead of 10 occurrences = there

   should be 9 BUT it = only found 6.

 

 

 

In GNU Emacs = 28.0.50 (build 1, x86_64-w64-mingw32)

of 2021-01-15 built on CIRROCUMULUS

Repository revision: = f45be48ddbde00610e1e08fca6590dcf24a4e1b5

Repository branch: master

Windowing system distributor 'Microsoft Corp.', = version 10.0.19042

System = Description: Microsoft Windows 10 Enterprise = (v10.0.2009.19042.985)

 

Configured = using:

'configure --without-dbus = --without-compress-install -C 'CFLAGS=3D-O2

-static -g3' = PKG_CONFIG_PATH=3D/mingw64/lib/pkgconfig'

 

Configured = features:

ACL GIF GMP GNUTLS HARFBUZZ = JPEG JSON LCMS2 LIBXML2 MODULES NOTIFY

W32NOTIFY PDUMPER PNG RSVG SOUND THREADS TIFF = TOOLKIT_SCROLL_BARS XPM

ZLIB

 

Important = settings:

  value of $LANG: = ENU

  locale-coding-system: = cp1252

 

Major mode: Fundamental

 

Minor modes = in effect:

  = shell-dirtrack-mode: t

  = show-paren-mode: t

  = tooltip-mode: t

  = global-eldoc-mode: t

  = electric-indent-mode: t

  = mouse-wheel-mode: t

  = menu-bar-mode: t

  = file-name-shadow-mode: t

  = global-font-lock-mode: t

  = font-lock-mode: t

  = blink-cursor-mode: t

  = auto-composition-mode: t

  = auto-encryption-mode: t

  = auto-compression-mode: t

  = line-number-mode: t

  = transient-mark-mode: t

 

Load-path = shadows:

None found.

 

Features:

(shadow = sort mail-extr emacsbug message rmc puny dired = dired-loaddefs

rfc822 mml mml-sec epa = epg epg-config gnus-util rmail rmail-loaddefs

text-property-search mm-decode mm-bodies mm-encode = mail-parse rfc2231

mailabbrev = gmm-utils mailheader sendmail rfc2047 rfc2045 = ietf-drums

mm-util mail-prsvr = mail-utils misearch multi-isearch two-column

help-mode thingatpt etags fileloop generator xref = project time-date

pcmpl-unix web-mode = advice derived edmacro kmacro shell pcomplete comint

ansi-color ring printing ps-print ps-print-loaddefs = ps-def lpr paren

cc-mode cc-fonts = cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine

cc-vars cc-defs finder-inf tex-site info package = easymenu browse-url url

url-proxy = url-privacy url-expand url-methods url-history = url-cookie

url-domsuf url-util = mailcap url-handlers url-parse auth-source cl-seq

eieio eieio-core cl-macs eieio-loaddefs password-cache = json subr-x map

url-vars seq byte-opt = gv bytecomp byte-compile cconv cl-loaddefs cl-lib

iso-transl tooltip eldoc electric uniquify ediff-hook = vc-hooks

lisp-float-type mwheel = dos-w32 ls-lisp disp-table term/w32-win w32-win

w32-vars term/common-win tool-bar dnd fontset image = regexp-opt fringe

tabulated-list = replace newcomment text-mode elisp-mode lisp-mode

prog-mode register page tab-bar menu-bar rfn-eshadow = isearch timer

select scroll-bar mouse = jit-lock font-lock syntax facemenu font-core

term/tty-colors frame minibuffer cl-generic cham = georgian utf-8-lang

misc-lang = vietnamese tibetan thai tai-viet lao korean japanese = eucjp-ms

cp51932 hebrew greek = romanian slovak czech european ethiopic indian

cyrillic chinese composite charscript charprop = case-table epa-hook

jka-cmpr-hook = help simple abbrev obarray cl-preloaded nadvice button

loaddefs faces cus-face macroexp files window = text-properties overlay

sha1 md5 = base64 format env code-pages mule custom widget

hashtable-print-readable backquote threads w32notify = w32 lcms2 multi-tty

make-network-process emacs)

 

Memory = information:

((conses 16 192149 = 7744)

(symbols 48 14547 = 1)

(strings 32 50102 = 1978)

(string-bytes 1 = 1608447)

(vectors 16 = 21762)

(vector-slots 8 294115 = 19624)

(floats 8 263 = 356)

(intervals 56 3062 = 0)

(buffers 984 = 18))

------=_NextPart_001_0047_01D7507B.95E6A840-- ------=_NextPart_000_0046_01D7507B.95E6A840 Content-Type: text/plain; name="f1.cpp" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="f1.cpp" namespace PT { ConstFP::Fcn ConstFP::PrecisionsOfOneFcn:: CreateFcn( TyAcc const& _ty ) const { CompilationUnit& _cu ( G->CU() ); TpSgmtCntnr _pSC ( new SgmtCntnrSC ); IObj _iDolRootScope ( G->GetHierarchy().DolRootScope() ); ILexObj _iLexDolRootScope( _iDolRootScope->GetLexScope() = ); typedef TypeList::Result TMods; std::vector _myArgs( nArgs() ); VariableSymbol _arg( TMods(), _ty ); for ( int _i( 0 ); _i < nArgs(); ++_i ) { std::stringstream _nmArg; _nmArg << "_arg" << _i; ITracks _iArg ( = _iDolRootScope.TrackFactory(_nmArg.str(),_arg,(*_pSC),_cu= ) ); _myArgs[ _i ] =3D _iArg; } std::stringstream _nmFcn; _nmFcn << "!" << ECall::DPI(myDpiId).Id(); switch ( myDpiId ) { case ECall::DPI::_pow_: _nmFcn << "Wrapr"; default: break; } _nmFcn << R()->GetNextDLLid(); IT::FcnDclHlpr _theFunction( (*_pSC), _ty, _nmFcn, = IT::TFcn::_dllExport_ ); for ( int _i( 0 ); _i < nArgs(); ++_i ) _theFunction << IT::IAcc( Expr( _myArgs[ _i ], NuVloc() ) ); IT::List _body; switch ( myDpiId ) { case ECall::DPI::_pow_: { IT::IAcc _one ( R()->c1.CastTo( _ty ) ); IT::IAcc _zero( R()->c0.CastTo( _ty ) ); IT::IAcc _condBase ( _theFunction.Arg(0) .EqEq( IT::FlagsOfIKind(), _zero ) ); IT::IAcc _condExp ( _theFunction.Arg(1) .LT( IT::FlagsOfIKind(), _zero ) ); // Specialize to capture `0 ** 0` and return 1. IT::IfHlpr _testSpcl ( _cu, _condBase .AndAnd (IT::FlagsOfIKind(), _condExp), IT::List() ); _testSpcl.True() << _one.Return(); _body << _testSpcl; break; } default: break; } IT::List _itActualList; for ( int _i( 0 ); _i < nArgs(); ++_i ) _itActualList << IT::IAcc( Expr( _myArgs[ _i ], NuVloc() ) = ).FcnArg(); IT::IAcc _theLibmCall( _itActualList.Head() .CallDpi( _ty, DpiProto(), myDpiId, IT::FlagsOfIKind() ) ); _body << _theLibmCall.Return(); _theFunction << _body.Head(); typedef SgmtCntnr::IBrndToSmblsWthLval IBrndToSmblsWthLval; typedef SgmtCntnr::BtoSwLkey BtoSwLkey; TpSignature _noSig ( new Signature ); TBranding* _branding ( new TBranding ); TIBranding _iBranding ( _branding->Insert( _iLexDolRootScope,Brands() ).first ); TpBrand _pBrand ( new Brand( _iBranding ) ); RefPtr_oneBrand( new Brands( _noSig, _pBrand ) ); IBrands _iBrands = (IPair((*_oneBrand).begin(),true)); IBrndToSmblsWthLval _iBtoWsl( (*_pSC)->Get( BtoSwLkey( _iBrands ) ) = ); OneGeste _theGeste ( R()->terminusStmt, _iLexDolRootScope, _iDolRootScope, DLLobject() = ); IT::TpLlVmGenerator _pLlVm ( _cu.LlVmGeneratorFactory( true/*isCommonToAllCUs*/ ) ); _theGeste.SetClosure( _theFunction ); _pSC->AllocLvalToGeste( _iBrands, _theGeste ); _pLlVm->AtFunction( (*_pSC), _iBrands, _iBtoWsl, _theGeste ); switch ( myDpiId ) { # ifdef C_FILE_GENERATOR case ECall::DPI::_pow_: _pSC->AddRef(); _pBrand->AddRef(); _oneBrand->AddRef(); _noSig->AddRef();=09 _cu.GetCfileGenerator()->AtFunction( *_pSC, _iBrands, _theGeste ); break; # endif C_FILE_GENERATOR default: delete _branding; break; } TyFloat const& _tyFloat( *(TyFloat const*)_ty ); Fcn _rslt; if ( _tyFloat.GetnBits() <=3D TyFloat::_IEEEdouble_ || ConstFP::LongDoubleIs128Bits() ) { try { _rslt =3D Fcn( _ty, _pLlVm->JIT(), _nmFcn.str() ); } catch ( Message& _msg ) { _rslt =3D LowerPrecision( _tyFloat, _msg ); } } return _rslt; } } ------=_NextPart_000_0046_01D7507B.95E6A840 Content-Type: text/plain; name="f2.cpp" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="f2.cpp" namespace PT { ConstFP::Fcn ConstFP::PrecisionsOfOneFcn:: CreateFcn( TyAcc const& _ty ) const { CompilationUnit& _cu ( G->CU() ); TpSgmtCntnr _pSC ( new SgmtCntnrSC ); IObj _iDolRootScope ( G->GetHierarchy().DolRootScope() ); ILexObj _iLexDolRootScope( _iDolRootScope->GetLexScope() = ); typedef TypeList::Result TMods; std::vector _myArgs( nArgs() ); VariableSymbol _arg( TMods(), _ty ); for ( int _i( 0 ); _i < nArgs(); ++_i ) { std::stringstream _nmArg; _nmArg << "_arg" << _i; ITracks _iArg ( = _iDolRootScope.TrackFactory(_nmArg.str(),_arg,(*_pSC),_cu= ) ); _myArgs[ _i ] =3D _iArg; } std::stringstream _nmFcn; _nmFcn << "!" << ECall::DPI(myDpiId).Id(); switch ( myDpiId ) { case ECall::DPI::_pow_: _nmFcn << "Wrapr"; default: break; } _nmFcn << R()->GetNextDLLid(); IT::FcnDclHlpr _theFunction( (*_pSC), _ty, _nmFcn, = IT::TFcn::_dllExport_ ); for ( int _i( 0 ); _i < nArgs(); ++_i ) _theFunction << IT::IAcc( Expr( _myArgs[ _i ], NuVloc() ) ); IT::List _body; switch ( myDpiId ) { case ECall::DPI::_pow_: { IT::IAcc _one ( R()->c1.CastTo( _ty ) ); IT::IAcc _zero( R()->c0.CastTo( _ty ) ); IT::IAcc _condBase ( _theFunction.Arg(0) .EqEq( IT::FlagsOfIKind(), _zero ) ); IT::IAcc _condExp ( _theFunction.Arg(1) .LT( IT::FlagsOfIKind(), _zero ) ); // Specialize to capture `0 ** 0` and return 1. IT::IfHlpr _testSpcl ( _cu, _condBase .AndAnd (IT::FlagsOfIKind(), _condExp), IT::List() ); _testSpcl.True() << _one.Return(); _body << _testSpcl; break; } default: break; } IT::List _itActualList; for ( int _i( 0 ); _i < nArgs(); ++_i ) _itActualList << IT::IAcc( Expr( _myArgs[ _i ], NuVloc() ) = ).FcnArg(); IT::IAcc _theLibmCall( _itActualList.Head() .CallDpi( _ty, DpiProto(), myDpiId, IT::FlagsOfIKind() ) ); _body << _theLibmCall.Return(); _theFunction << _body.Head(); typedef SgmtCntnr::IBrndToSmblsWthLval IBrndToSmblsWthLval; typedef SgmtCntnr::BtoSwLkey BtoSwLkey; TpSignature _noSig ( new Signature ); TBranding* _branding ( new TBranding ); TIBranding _iBranding ( _branding->Insert( _iLexDolRootScope,Brands() ).first ); TpBrand _pBrand ( new Brand( _iBranding ) ); RefPtr_oneBrand( new Brands( _noSig, _pBrand ) ); IBrands _iBrands = (IPair((*_oneBrand).begin(),true)); IBrndToSmblsWthLval _iBtoWsl( (*_pSC)->Get( BtoSwLkey( _iBrands ) ) = ); OneGeste _theGeste ( R()->terminusStmt, _iLexDolRootScope, _iDolRootScope, DLLobject() = ); IT::TpLlVmGenerator _pLlVm ( _cu.LlVmGeneratorFactory( true/*isCommonToAllCUs*/ ) ); _theGeste.SetClosure( _theFunction ); _pSC->AllocLvalToGeste( _iBrands, _theGeste ); _pLlVm->AtFunction( (*_pSC), _iBrands, _iBtoWsl, _theGeste ); switch ( myDpiId ) { # ifdef C_FILE_GENERATOR case ECall::DPI::_pow_: _pSC->AddRef(); _pBrand->AddRef(); _oneBrand->AddRef(); _noSig->AddRef();=09 _cu.GetCfileGenerator()->AtFunction( *_pSC, _iBrands, _theGeste ); break; # endif C_FILE_GENERATOR default: delete _branding; break; } TyFloat const& _tyFloat( *(TyFloat const*)_ty ); Fcn _rslt; if ( _tyFloat.GetnBits() <=3D TyFloat::_IEEEdouble_ || ConstFP::LongDoubleIs128Bits() ) { try { _rslt =3D Fcn( _ty, _pLlVm->JIT(), _nmFcn.str() ); } catch ( Message& _msg ) { _rslt =3D LowerPrecision( _tyFloat, _msg ); } } return _rslt; } } ------=_NextPart_000_0046_01D7507B.95E6A840 Content-Type: application/octet-stream; name="TAGS" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="TAGS" =0C=0A= f1.cpp,213=0A= namespace PT=7F1,0=0A= CreateFcn(=7F5,66=0A= typedef TypeList::Result =7FResult=0112,369=0A= typedef SgmtCntnr::IBrndToSmblsWthLval IBrndToSmblsWthLval;=7F89,2190=0A= typedef SgmtCntnr::BtoSwLkey BtoSwLkey;=7F90,2255=0A= =0C=0A= f2.cpp,213=0A= namespace PT=7F1,0=0A= CreateFcn(=7F5,66=0A= typedef TypeList::Result =7FResult=0112,369=0A= typedef SgmtCntnr::IBrndToSmblsWthLval IBrndToSmblsWthLval;=7F89,2190=0A= typedef SgmtCntnr::BtoSwLkey BtoSwLkey;=7F90,2255=0A= ------=_NextPart_000_0046_01D7507B.95E6A840-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 24 12:33:54 2021 Received: (at 48628) by debbugs.gnu.org; 24 May 2021 16:33:54 +0000 Received: from localhost ([127.0.0.1]:43788 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llDWc-0008EF-66 for submit@debbugs.gnu.org; Mon, 24 May 2021 12:33:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49646) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llDWa-0008E2-3T for 48628@debbugs.gnu.org; Mon, 24 May 2021 12:33:52 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43086) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1llDWU-0001nw-OW; Mon, 24 May 2021 12:33:46 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2576 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1llDWU-0003B8-2F; Mon, 24 May 2021 12:33:46 -0400 Date: Mon, 24 May 2021 19:33:44 +0300 Message-Id: <83y2c4ccrb.fsf@gnu.org> From: Eli Zaretskii To: "Bob Floyd" In-Reply-To: <004501d750b6$42458040$c6d080c0$@net> (bobfloyd@comcast.net) Subject: Re: bug#48628: tags-search fails to find all occurences and finds one that it shouldn't References: <004501d750b6$42458040$c6d080c0$@net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48628 Cc: 48628@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: "Bob Floyd" > Date: Mon, 24 May 2021 09:02:54 -0700 > > 1. C-x 2 (split-window-below) > > 2. C-x C-f (find-file) "f1.cpp" in the upper window > > 3. C-x C-f (find-file) "f2.cpp" in the lower window > > 4. left-mouse click in the upper window top left (location of the search start) > > 5. (tags-search) the string "_cu" using the attached TAGS file > > Tags search (regexp): _cu > > 6. M-, (fileloop-continue) until reaching "All files processed" > > The matches are on lines: > > f1.cpp: 7, 25, 65, 104, 121 > > f2.cpp: 7, 25, 65, 104, 121 > > (both f1 and f2 have identical contents). > > 7. In the upper window, switch to buffer f1.cpp and go to line 53: > > 8. mark line 53 and move down to line 72, then delete the selection: When you change the file, and you want exact results, you need to re-run etags, right? From debbugs-submit-bounces@debbugs.gnu.org Mon May 24 12:48:39 2021 Received: (at 48628) by debbugs.gnu.org; 24 May 2021 16:48:40 +0000 Received: from localhost ([127.0.0.1]:43796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llDkt-00008g-MI for submit@debbugs.gnu.org; Mon, 24 May 2021 12:48:39 -0400 Received: from resqmta-po-08v.sys.comcast.net ([96.114.154.167]:37656) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1llDkp-00008R-PE for 48628@debbugs.gnu.org; Mon, 24 May 2021 12:48:38 -0400 Received: from resomta-po-07v.sys.comcast.net ([96.114.154.231]) by resqmta-po-08v.sys.comcast.net with ESMTP id lCfnloT79ArcZlDkjlyMNI; Mon, 24 May 2021 16:48:29 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1621874909; bh=SSX2dPvtrfWv2d6shmoZni2kIW30mIPyLgPr4Cr0rg4=; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=aQNGsd4a3wcpsJEcGrQHc/vOBvsYNyNafbn6wDh2ap1rq0ECdW7gUvNrjFtCDCPp4 IxfCg2Jsgo4Ahf29lF0VOaZt2HWSwenryIn8b53hQSNRP0VG9+aL5nki4W5c9aYrMZ P/AB/oxkI2uGWzjyyDPDTiFhZ2EQNRcbXjCcYMbWjGLJeh7aMjNm3A5lMvyhKTmfSZ Qg4Yw3tOMLsvA190Qk3c2RNjxmNk2YMn7F7JDJxbzsVp2o7scpk6/nKiuflPKKdTUP tea2EtT9pXNlLLQ7r2qtRt0QczZ3xhFnUMJWpUPCX5KB02PKKY+nHjvyyVsrUHUOLb uxtRNGBh02gLQ== Received: from Cache ([IPv6:2601:647:6100:3b1c::87]) by resomta-po-07v.sys.comcast.net with ESMTPA id lDkhlP9Qtx2y5lDkilBHNc; Mon, 24 May 2021 16:48:28 +0000 X-Xfinity-VMeta: sc=-100.00;st=legit From: "Bob Floyd" To: "'Eli Zaretskii'" References: <004501d750b6$42458040$c6d080c0$@net> <83y2c4ccrb.fsf@gnu.org> In-Reply-To: <83y2c4ccrb.fsf@gnu.org> Subject: RE: bug#48628: tags-search fails to find all occurences and finds one that it shouldn't Date: Mon, 24 May 2021 09:48:27 -0700 Message-ID: <000001d750bc$9f5301d0$ddf90570$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Thread-Index: AddQupLvtlp9cAeHQBuH7cTPI5xdHQAAPIDA Content-Language: en-us X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48628 Cc: 48628@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) No, not when using tags-search, tags-query-replace. They use the tags file only to identify what files to search in. However, you are correct when using things like M-. (xref-find-definitions) when the definition has been moved too far from its original location. The failure of tags-search (and the same sort of failure happens with tags-query-replace) is new to the 28 versions as best I can determine. -----Original Message----- From: Eli Zaretskii [mailto:eliz@gnu.org] Sent: Monday, May 24, 2021 9:34 AM To: Bob Floyd Cc: 48628@debbugs.gnu.org Subject: Re: bug#48628: tags-search fails to find all occurences and finds one that it shouldn't > From: "Bob Floyd" > Date: Mon, 24 May 2021 09:02:54 -0700 > > 1. C-x 2 (split-window-below) > > 2. C-x C-f (find-file) "f1.cpp" in the upper window > > 3. C-x C-f (find-file) "f2.cpp" in the lower window > > 4. left-mouse click in the upper window top left (location of the search start) > > 5. (tags-search) the string "_cu" using the attached TAGS file > > Tags search (regexp): _cu > > 6. M-, (fileloop-continue) until reaching "All files processed" > > The matches are on lines: > > f1.cpp: 7, 25, 65, 104, 121 > > f2.cpp: 7, 25, 65, 104, 121 > > (both f1 and f2 have identical contents). > > 7. In the upper window, switch to buffer f1.cpp and go to line 53: > > 8. mark line 53 and move down to line 72, then delete the selection: When you change the file, and you want exact results, you need to re-run etags, right? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 06 07:01:47 2021 Received: (at 48628) by debbugs.gnu.org; 6 Jun 2021 11:01:47 +0000 Received: from localhost ([127.0.0.1]:50784 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpqXL-0005mE-BN for submit@debbugs.gnu.org; Sun, 06 Jun 2021 07:01:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpqXH-0005f8-8w for 48628@debbugs.gnu.org; Sun, 06 Jun 2021 07:01:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:48270) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpqXB-0000Gv-QW; Sun, 06 Jun 2021 07:01:37 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3025 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpqXB-00059Q-DN; Sun, 06 Jun 2021 07:01:37 -0400 Date: Sun, 06 Jun 2021 14:01:34 +0300 Message-Id: <83eedfi7e9.fsf@gnu.org> From: Eli Zaretskii To: "Bob Floyd" In-Reply-To: <004501d750b6$42458040$c6d080c0$@net> (bobfloyd@comcast.net) Subject: Re: bug#48628: tags-search fails to find all occurences and finds one that it shouldn't References: <004501d750b6$42458040$c6d080c0$@net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48628 Cc: 48628@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: "Bob Floyd" > Date: Mon, 24 May 2021 09:02:54 -0700 > > 11. M-, (fileloop-continue) until reaching "All files processed" > > The matches are on lines: > > 7, 25, 85, 102, 115, 121 > > NOTE 115 is wrong, it is this line that does not contain "_cu" With today's master branch, I'm unable to reproduce the problem: I don't get the false match on line 115. Are you still able to reproduce with the latest master branch? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 06 08:32:06 2021 Received: (at 48628) by debbugs.gnu.org; 6 Jun 2021 12:32:06 +0000 Received: from localhost ([127.0.0.1]:50926 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lprwj-0004mm-U0 for submit@debbugs.gnu.org; Sun, 06 Jun 2021 08:32:06 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38654) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lprwg-0004mH-TS for 48628@debbugs.gnu.org; Sun, 06 Jun 2021 08:32:05 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49966) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lprwb-0004LP-NX; Sun, 06 Jun 2021 08:31:57 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4599 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lprwb-0003TK-Ae; Sun, 06 Jun 2021 08:31:57 -0400 Date: Sun, 06 Jun 2021 15:31:53 +0300 Message-Id: <83a6o3i37q.fsf@gnu.org> From: Eli Zaretskii To: bobfloyd@comcast.net In-Reply-To: <83eedfi7e9.fsf@gnu.org> (message from Eli Zaretskii on Sun, 06 Jun 2021 14:01:34 +0300) Subject: Re: bug#48628: tags-search fails to find all occurences and finds one that it shouldn't References: <004501d750b6$42458040$c6d080c0$@net> <83eedfi7e9.fsf@gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48628 Cc: 48628@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Sun, 06 Jun 2021 14:01:34 +0300 > From: Eli Zaretskii > Cc: 48628@debbugs.gnu.org > > > From: "Bob Floyd" > > Date: Mon, 24 May 2021 09:02:54 -0700 > > > > 11. M-, (fileloop-continue) until reaching "All files processed" > > > > The matches are on lines: > > > > 7, 25, 85, 102, 115, 121 > > > > NOTE 115 is wrong, it is this line that does not contain "_cu" > > With today's master branch, I'm unable to reproduce the problem: I > don't get the false match on line 115. However, I did spot a problem in these commands: a new tags-search will not always start searching in each buffer from the beginning, sometimes it will restart from the last place point was displayed for this buffer. So I fixed that problem on the master branch now. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 06 14:03:38 2021 Received: (at 48628) by debbugs.gnu.org; 6 Jun 2021 18:03:38 +0000 Received: from localhost ([127.0.0.1]:53850 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpx7Z-0001cP-TK for submit@debbugs.gnu.org; Sun, 06 Jun 2021 14:03:38 -0400 Received: from resqmta-po-05v.sys.comcast.net ([96.114.154.164]:35099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpx7Z-0001cA-34 for 48628@debbugs.gnu.org; Sun, 06 Jun 2021 14:03:37 -0400 Received: from resomta-po-19v.sys.comcast.net ([96.114.154.243]) by resqmta-po-05v.sys.comcast.net with ESMTP id pwpOlx24noWlepx7Tl51qv; Sun, 06 Jun 2021 18:03:31 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1623002611; bh=G6Zb87+rfXcouREw2WHpl9mSZd5I0Xy/AoXzQscNDwg=; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=tP/nTbIjEty8InmR3Yl/XB4Z/nHsIYZRXz6m4sud+Az8yNTOSLH+lOR10Qo9Fnd31 MjYrnA/LGB+ESgpkgyyCYHpgEyY8WAtaocBsDVCu27frTXO2ihoMEZFH0TQWD46864 tG1Tndpp8YX+t4Bof5brD4WLBl10EtREQy53pyFtY1pPtZqWf7Cp15UQQJ4cwn6/VG 6MUzSnqawSdUjOZHmk1cFWoCLjt7ytuyXHITq53BsCS2c3KQnS5kLRIC84rkLi+A3t nw6YmSFFp4jp20s4xxVZ+pJJQ+kfeYpwEV+0XRfEAMjOY/56764L8Skw8uTt3c94MZ CTbQxMmr8ZOog== Received: from Cache ([IPv6:2601:647:6100:3b1c::87]) by resomta-po-19v.sys.comcast.net with ESMTPA id px7Ql5vzhE9bxpx7RlhUGp; Sun, 06 Jun 2021 18:03:30 +0000 X-Xfinity-VMeta: sc=-100.00;st=legit From: "Bob Floyd" To: "'Eli Zaretskii'" References: <004501d750b6$42458040$c6d080c0$@net> <83eedfi7e9.fsf@gnu.org> In-Reply-To: <83eedfi7e9.fsf@gnu.org> Subject: RE: bug#48628: tags-search fails to find all occurences and finds one that it shouldn't Date: Sun, 6 Jun 2021 11:03:26 -0700 Message-ID: <007b01d75afe$40676570$c1363050$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: Addaw1MZOoIX8TPERQ2Qc3gOIUlXzQAOGnoA X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48628 Cc: 48628@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) I'm using the (as far as I know) the latest already-compiled-for-windows (/gnu/emacs/pretest/windows/emacs-28) - mostly because I don't wish the hassle of figuring out the directions for compiling the master branch - since long ago windows was 2nd class to the unix's doing so wasn't easy. Perhaps it has improved? Having said that, my test cases for reproducing this (#48107 and now #48628) either aren't sufficient to be reproducible, or indeed were fixed. In both these I'd say the only choice is to work with the master branch, and thus if I can create a test case there is nothing more recent to say it would be fixed in. Sorry for the long-windedness, but do you have a URL for how to download and compile the master branch for windows? -----Original Message----- From: Eli Zaretskii [mailto:eliz@gnu.org] Sent: Sunday, June 6, 2021 4:02 AM To: Bob Floyd Cc: 48628@debbugs.gnu.org Subject: Re: bug#48628: tags-search fails to find all occurences and finds one that it shouldn't > From: "Bob Floyd" > Date: Mon, 24 May 2021 09:02:54 -0700 > > 11. M-, (fileloop-continue) until reaching "All files processed" > > The matches are on lines: > > 7, 25, 85, 102, 115, 121 > > NOTE 115 is wrong, it is this line that does not contain "_cu" With today's master branch, I'm unable to reproduce the problem: I don't get the false match on line 115. Are you still able to reproduce with the latest master branch? From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 06 14:05:51 2021 Received: (at 48628) by debbugs.gnu.org; 6 Jun 2021 18:05:51 +0000 Received: from localhost ([127.0.0.1]:53854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpx9j-0001gD-A7 for submit@debbugs.gnu.org; Sun, 06 Jun 2021 14:05:51 -0400 Received: from resqmta-po-07v.sys.comcast.net ([96.114.154.166]:36529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpx9i-0001fz-9h for 48628@debbugs.gnu.org; Sun, 06 Jun 2021 14:05:50 -0400 Received: from resomta-po-01v.sys.comcast.net ([96.114.154.225]) by resqmta-po-07v.sys.comcast.net with ESMTP id pwW9lMfULiCWIpx9clwTWA; Sun, 06 Jun 2021 18:05:44 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1623002744; bh=upKCmGW5SACbc/LJ4GDnWCTrBB5a/QoAnoIJJXeQrS8=; h=Received:Received:From:To:Subject:Date:Message-ID:MIME-Version: Content-Type; b=gTPl20HpC09ALpqEYriHE7FOyvlSXmDdVaF/rEQn97B+c9AWjUdTMytfBDIUjXh0h 25Gpq12jmFHos5kMaGnjfrd/KbYbmdNu9Wuw2dhjBL+vgBcsd77xwV/+IMTaQbeyq1 TiHWyTMv1y3EpM+tKD4H9CG1f2SrfprHOzvPQWwjJizsa815+waqlB7PA46Truz/7p yAw6lukvLkS8z0pCj+6QLvGLc3ay3x7p3nRuC75n9Aatgrx1+mCnV53bCIFec5KZ0A kX30Xo2SiFK/qH9lufLQVYDuPA7ETHY3aatxzefubbS06FH5H1XZH/zaLODzP3k+68 a7gooYYcftLoQ== Received: from Cache ([IPv6:2601:647:6100:3b1c::87]) by resomta-po-01v.sys.comcast.net with ESMTPA id px9blmNSLiBFupx9cljO7m; Sun, 06 Jun 2021 18:05:44 +0000 X-Xfinity-VMeta: sc=-100.00;st=legit From: "Bob Floyd" To: "'Eli Zaretskii'" References: <004501d750b6$42458040$c6d080c0$@net> <83eedfi7e9.fsf@gnu.org> <83a6o3i37q.fsf@gnu.org> In-Reply-To: <83a6o3i37q.fsf@gnu.org> Subject: RE: bug#48628: tags-search fails to find all occurences and finds one that it shouldn't Date: Sun, 6 Jun 2021 11:05:41 -0700 Message-ID: <007c01d75afe$907811e0$b16835a0$@net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: Addaz/Grl6/Ccn+GTWe+H8hHae4KKAALnLrg X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 48628 Cc: 48628@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Super! Do you have a URL explaining how to download and compile the master branch for Windows? -----Original Message----- From: Eli Zaretskii [mailto:eliz@gnu.org] Sent: Sunday, June 6, 2021 5:32 AM To: bobfloyd@comcast.net Cc: 48628@debbugs.gnu.org Subject: Re: bug#48628: tags-search fails to find all occurences and finds one that it shouldn't > Date: Sun, 06 Jun 2021 14:01:34 +0300 > From: Eli Zaretskii > Cc: 48628@debbugs.gnu.org > > > From: "Bob Floyd" > > Date: Mon, 24 May 2021 09:02:54 -0700 > > > > 11. M-, (fileloop-continue) until reaching "All files processed" > > > > The matches are on lines: > > > > 7, 25, 85, 102, 115, 121 > > > > NOTE 115 is wrong, it is this line that does not contain "_cu" > > With today's master branch, I'm unable to reproduce the problem: I > don't get the false match on line 115. However, I did spot a problem in these commands: a new tags-search will not always start searching in each buffer from the beginning, sometimes it will restart from the last place point was displayed for this buffer. So I fixed that problem on the master branch now. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 06 14:11:02 2021 Received: (at 48628) by debbugs.gnu.org; 6 Jun 2021 18:11:02 +0000 Received: from localhost ([127.0.0.1]:53862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpxEk-0001pQ-6E for submit@debbugs.gnu.org; Sun, 06 Jun 2021 14:11:02 -0400 Received: from eggs.gnu.org ([209.51.188.92]:58126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lpxEi-0001ox-9v for 48628@debbugs.gnu.org; Sun, 06 Jun 2021 14:11:00 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:56102) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpxEd-0006kE-1L; Sun, 06 Jun 2021 14:10:55 -0400 Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1942 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpxEc-0008Lw-30; Sun, 06 Jun 2021 14:10:54 -0400 Date: Sun, 06 Jun 2021 21:10:54 +0300 Message-Id: <83mts2hnip.fsf@gnu.org> From: Eli Zaretskii To: "Bob Floyd" In-Reply-To: <007c01d75afe$907811e0$b16835a0$@net> (bobfloyd@comcast.net) Subject: Re: bug#48628: tags-search fails to find all occurences and finds one that it shouldn't References: <004501d750b6$42458040$c6d080c0$@net> <83eedfi7e9.fsf@gnu.org> <83a6o3i37q.fsf@gnu.org> <007c01d75afe$907811e0$b16835a0$@net> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 48628 Cc: 48628@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: "Bob Floyd" > Cc: <48628@debbugs.gnu.org> > Date: Sun, 6 Jun 2021 11:05:41 -0700 > > Super! Do you have a URL explaining how to download and compile the master > branch for Windows? https://git.savannah.gnu.org/cgit/emacs.git/tree/nt/INSTALL.W64