From unknown Wed Jun 18 23:15:05 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#22156 <22156@debbugs.gnu.org> To: bug#22156 <22156@debbugs.gnu.org> Subject: Status: CC Mode 5.33 (C++/l); Strange end-of-buffer error Reply-To: bug#22156 <22156@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:15:05 +0000 retitle 22156 CC Mode 5.33 (C++/l); Strange end-of-buffer error reassign 22156 cc-mode submitter 22156 Michael Welsh Duggan severity 22156 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 13 00:15:46 2015 Received: (at submit) by debbugs.gnu.org; 13 Dec 2015 05:15:46 +0000 Received: from localhost ([127.0.0.1]:49836 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a7z0b-0005sn-F5 for submit@debbugs.gnu.org; Sun, 13 Dec 2015 00:15:46 -0500 Received: from md5i.com ([75.151.244.229]:58178) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a7z0Z-0005se-2z for submit@debbugs.gnu.org; Sun, 13 Dec 2015 00:15:43 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: Date:Subject:To:From; bh=IGT5dGtms/R3EyzJkc0AAidNtwubRYKl3hoqLhXkOGU=; b=EKP6 PcMWDmV/fZVUGvSuuTQP8d6WUAiMH3bJgEp9FUwsNApVmodqov23m/WZKnA93v4CodiQOKw8Q8vJy TMIyApCkHUy+abGuY8Y3UR2cimgOcCbQgwW32qTOyzGfUXF; Received: from md5i by md5i.com with local (Exim 4.86) (envelope-from ) id 1a7z0Y-0004oR-FE for submit@debbugs.gnu.org; Sun, 13 Dec 2015 00:15:42 -0500 From: Michael Welsh Duggan To: submit@debbugs.gnu.org Subject: CC Mode 5.33 (C++/l); Strange end-of-buffer error X-Debbugs-Package: cc-mode Date: Sun, 13 Dec 2015 00:15:42 -0500 Message-ID: <87zixfnd35.fsf@md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) 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: -0.0 (/) Using emacs -Q /tmp/foo.cpp to start a new file, type the following: struct foo)]" nil t t) * c-forward-<>-arglist-recur(nil) * c-forward-<>-arglist-recur(nil) * c-forward-<>-arglist(nil) * c-forward-name() * c-forward-type(t) * #[(preceding-token-end context last-cast-end) "`\306\211\211\211\211\211\= 211\211\211\211\211\211\211\211\211\211\211 =1B=1D@3ABCDEFGHIJKLMN\307 \20= 3C\310 \210\2028`O\306\211PQ\306R\311S!\204c=0ET\312=3D\203\213\311\313!\20= 3\213\314 U\315\216\311V!\203s\316E*\317\320!W\321WX\")P\212\322\320!\210`Q= )\323\316!\211R\203\366=0ET\324=3D\203\272=0EC\325W\321WX\")=3D\203\272\311= \326!\203\272\316\306ROb\210M\203\325\3273M\330=3D\203\325\212Lb\210\316Y\3= 23 \210*MJLIKHPGRMOL`K\306\211BAP\203\210=0EP\331Z\211[ZN*\203#\3163M\203= =01QK\202=01QNQb\202\222\306JQNR\203W=0EP\332Z\211[ZN*\203A\316BP\333Z\211[= ZN*\205\222\316\211A\202\222=0EP\332Z\211[ZN*\203i\316FP\333Z\211[ZN*\203{\= 316D\3163PCQb\202\222=0ER\205\222=0ER\316=3D?,\204C=0EM\316=3D\203\261\311\= \!\203\253\322\320!\210\202\235`K\202\233=0EM\334=3D\203\276\316M\202\233= =0EM\204\312=0ENK\202\233=0EM\335=3D\203\233=0ET\324=3D\203\233\212\306\211= \211]^_Kb\210\336 \210`^\337\340!\341W\204*=0ET\342=3D\203\232``\343\306x\3= 41W\203!\344\306x\341W\203!\311a!\203!\341\225`Y\203!\316\202&=0E`b\210\306= )\203\232\345`^\"_\346\306x\341W\203\232`]\337\340!\341W\204z=0ET\342=3D\20= 3\232``\343\306x\341W\203q\344\306x\341W\203q\311a!\203q\341\225`Y\203q\316= \202v=0E`b\210\306)\203\232`LY\203\232\345`]\"_\232\203\232=0ELb\210\306\21= 1MJLK,`\341\306\211\211\211\211\211\211\211\211\211\211\211bcdefghijkl`mOKb= \210n\203\347=0Eo\347\232\203\347\306f\350=3D\203<=0EmTm\306u\210\202<\311o= !\203<=0ET\324=3D\203=03\351\224\203=03``\352 \211j\203<=0E`b\311\353!\203<= \306j\306f\350=3D\203$=0EmTm\306u\210\2026=0Eh\204/=0Em\341Uh\316l\320\225b= \210\310 \210\202\347=0Em\341Vkj\204a\311p!\203a`\211`\203a\352 \211j\203a= =0E`b\311q!\203\300\306f\354=3D\203\201=0Em\341V\203p=0EmSm\306u\210\202j\3= 14 U\355\216\311\356!*\203\241\3571\235\360`\320\"b\210\3160\202\246\210\20= 2p\320\225b\210\316\203p=0Eg\204\271=0Em\341U\203\271\341\224g\316\211i\202= g=0Em\320U\203p=0Eh\204p=0EM\316=3D\204p=0EJ\204\354=0ED\204\354=0EA\204\35= 4=0En\203p=0Er\204p\3611\371\362`\320\211#0\202\373\210\306\211`\203p=0E`\2= 06=07`Sf\354=3D\203p=0EMeLd\306k\316\211jiKg\341mJ\334=3D\2031\316\2023=0EJ= \211M\203D=0EILHK\202L=0ENLNKF\204U=0EBFD\204^=0EADKO`b\210\316\203p\310 \2= 10\202a\f\203{\311s!\204\224=0ED\204\205=0EA\203\350=0Ej\204\350=0El\204\35= 0=0EM\203\350=0EMeLd\306k\316\211jiKg\341mJ\334=3D\203\267\316\202\271=0EJ\= 211M\203\312=0EILHK\202\322=0ENLNKF\204\333=0EBFD\204\344=0EADKO\f\203=05\3= 11t!\203=05\212\341\225b\210\310 \210`L\323 M)\3632\354m\341V\203*\3641=05= \362`\320m#b0\202!\210\202\"\210\365\3633\316=3D\"\210\311r\366=3D\2036\367= \202@=0Er\203?\370\202@\371!fj\203\345=0EM\204R=0ED\203a=0El\204a=0Ek\204a\= 365\363\316\"\210k\203U=07l\204U=07J\204\216=0ED\204\216=0EA\204\216=0E3\31= 6=3D\204\216\212bb\210\323 \372>)\204U=07MeLd\306k\316\211jiKg\341mJ\334=3D= \203\261\316\202\263=0EJ\211M\203\304=0EILHK\202\314=0ENLNKF\204\325=0EBFD\= 204\336=0EADKO\202U=07J\203G`OU\203-\306f\373=3D\203%=0ET\312=3D\204%=0E3\3= 16=3D\203=06\365\363\316\"\210\202-=0Eu\203-=0E3\327=3D\203-\316@\365\363\3= 16\"\210\202-\316@\365\363\316\"\210i\203\223=0El\204\223=0Ek\204\223\316@\= 365\363\316\"\210\202\223=0EM\316=3D\203S\365\363\316\"\210`OU\203\223=0Ef\= 203\215=0Er\374=3D\203w=0Ev\204p=0Ew\203\205=0EM\375>\202\202=0Er\366=3D\20= 3\215=0EM\376>\203\215\365\363\316\"\210\202\223\365\3633\"\210k\203 =07l\2= 04 =07r\204 =07M\316=3D\204 =07J\204\311=0ED\204\311=0EA\204\311=0En\203 = =07i\203\311\311x!\204 =07MeLd\306k\316\211jiKg\341mJ\334=3D\203\354\316\20= 2\356=0EJ\211M\203\377=0EILHK\202=07=07NLNKF\204=07BFD\204=07ADKO\202U=07l\= 2034=07k\204/=07i\2034=07\365\363\316\"\210M\203U=07l\204U=07k\204U=07g\203= U=07gf\350=3D\203U=07\365\363\306\"\2103\203_=07\365\363\316\"\210j\203\347= =07r\204\347=07\311y!\203\347=07k\203\335=07l\204\335=07i\204\335=07M\316= =3D\204\335=07MeLd\306k\316\211jiKg\341mJ\334=3D\203\251=07\316\202\253=07J= \211M\203\274=07ILHK\202\304=07NLNKF\204\315=07BFD\204\326=07ADKO\202\342= =07g\203\347=07\365\363\316\"\210l\204\361=07k\204\375=07M\377>\203\375=07\= 365\363\316\"\210M\201\212>\203=0B\365\363\316\"\210T\324=3D\203re\203re= \201\213>\204mdf\201\214=3D\203r\212dTb\210\310 \210\201\215 z\201\216\21= 6\201\217=0E{!\210\311|!+\204m\212dTb\210`\323 \210`}~\321\201\220=0E~}#\= 200\"+\203r\365\363\316\"\210j\203\302h\203\235M\203\235f\204\216\311\= 201\221!\203\235r\204\235i\204\235\365\363\316\"\210g\204\252\311\201\2= 21!\203\347M\330=3D\203\347r\201\222=3D\204\347\365\363\316\"\210\202\34= 7r\203\347l\204\342r\374=3D\203\347w\204\347k\204\342i\203\347\365\3= 63\316\"\210r\374=3D03.\212\201\205\224 \202eV\205\224 \202\206 `Sf\201>\20= 5\224 \310 \210\311\201\223!\205\224 \306\211`u\210\310 \210`\311\203!\205[= \341\225`\201\224\224\204N \320\224\203F 3\204N M\201\225>\202K \311\204!?= \205[ \311\205!?\206[ \341\225`X)\205\224 \202eV\205\224 \202Sb\210`\206=3D= \206\224 \336 \210\337\340!\341W\203\204 \311\207!\202\224 `Sf\201\226>?\20= 5\224 \201\227 ?)\203\274 \203\263 M\203\263 M\316=3D\204\263 \316YLb\210\= 323 \210)b\210\201\230\202V\n3\203Q\n@\203\376 J\334=3D\203\321 \316\202\32= 3 J\211M\203\344 ILHK\202\354 NLNKF\204\365 BFD\204\376 ADr\374=3D\203'\n\3= 11\201\231!\203'\n`\201\232=1E\210\211`\211\201\233=0E\211\211T\201\234=0E\= 210$+\210\203<\nM\203<\n\316Y\212Lb\210\323 \210*KF\204H\nE\205M\nFEBB\202= V\n=0B\n\306.\207" [c-record-type-identifiers c-record-ref-identifiers save= -rec-ref-ids save-rec-type-ids new-style-auto cast-end nil c-forward-annota= tion c-forward-sws looking-at java-mode "@[A-Za-z0-9]+" match-data #[nil "\= 301\302\"\207" [save-match-data-internal set-match-data evaporate] 3] t ma= tch-string 1 intern-soft c-forward-keyword-clause c-forward-type c++-mode "= auto" "[=3D(]" ids found c-decl-hangon-kwds c-typedef-decl-kwds c-typeless-= decl-kwds prefix maybe c-backward-sws skip-syntax-backward "w_" 0 pike-mode= "-!%&*+/<=3D>^|~[]()" "`" buffer-substring-no-properties ":~ \n=0B\f" "\\= <\\>" 40 3 c-forward-name "\\(::\\)" 41 #[nil "\301\302\"\207" [save-match= -data-internal set-match-data evaporate] 3] "\\s(" (error) scan-sexps (erro= r) ...] 21](1 nil nil) * apply(#[(preceding-token-end context last-cast-end) "`\306\211\211\211\21= 1\211\211\211\211\211\211\211\211\211\211\211\211 =1B=1D@3ABCDEFGHIJKLMN\3= 07 \203C\310 \210\2028`O\306\211PQ\306R\311S!\204c=0ET\312=3D\203\213\311\3= 13!\203\213\314 U\315\216\311V!\203s\316E*\317\320!W\321WX\")P\212\322\320!= \210`Q)\323\316!\211R\203\366=0ET\324=3D\203\272=0EC\325W\321WX\")=3D\203\2= 72\311\326!\203\272\316\306ROb\210M\203\325\3273M\330=3D\203\325\212Lb\210\= 316Y\323 \210*MJLIKHPGRMOL`K\306\211BAP\203\210=0EP\331Z\211[ZN*\203#\3163M= \203=01QK\202=01QNQb\202\222\306JQNR\203W=0EP\332Z\211[ZN*\203A\316BP\333Z\= 211[ZN*\205\222\316\211A\202\222=0EP\332Z\211[ZN*\203i\316FP\333Z\211[ZN*\2= 03{\316D\3163PCQb\202\222=0ER\205\222=0ER\316=3D?,\204C=0EM\316=3D\203\261\= 311\\!\203\253\322\320!\210\202\235`K\202\233=0EM\334=3D\203\276\316M\202\2= 33=0EM\204\312=0ENK\202\233=0EM\335=3D\203\233=0ET\324=3D\203\233\212\306\2= 11\211]^_Kb\210\336 \210`^\337\340!\341W\204*=0ET\342=3D\203\232``\343\306x= \341W\203!\344\306x\341W\203!\311a!\203!\341\225`Y\203!\316\202&=0E`b\210\3= 06)\203\232\345`^\"_\346\306x\341W\203\232`]\337\340!\341W\204z=0ET\342=3D\= 203\232``\343\306x\341W\203q\344\306x\341W\203q\311a!\203q\341\225`Y\203q\3= 16\202v=0E`b\210\306)\203\232`LY\203\232\345`]\"_\232\203\232=0ELb\210\306\= 211MJLK,`\341\306\211\211\211\211\211\211\211\211\211\211\211bcdefghijkl`mO= Kb\210n\203\347=0Eo\347\232\203\347\306f\350=3D\203<=0EmTm\306u\210\202<\31= 1o!\203<=0ET\324=3D\203=03\351\224\203=03``\352 \211j\203<=0E`b\311\353!\20= 3<\306j\306f\350=3D\203$=0EmTm\306u\210\2026=0Eh\204/=0Em\341Uh\316l\320\22= 5b\210\310 \210\202\347=0Em\341Vkj\204a\311p!\203a`\211`\203a\352 \211j\203= a=0E`b\311q!\203\300\306f\354=3D\203\201=0Em\341V\203p=0EmSm\306u\210\202j\= 314 U\355\216\311\356!*\203\241\3571\235\360`\320\"b\210\3160\202\246\210\2= 02p\320\225b\210\316\203p=0Eg\204\271=0Em\341U\203\271\341\224g\316\211i\20= 2g=0Em\320U\203p=0Eh\204p=0EM\316=3D\204p=0EJ\204\354=0ED\204\354=0EA\204\3= 54=0En\203p=0Er\204p\3611\371\362`\320\211#0\202\373\210\306\211`\203p=0E`\= 206=07`Sf\354=3D\203p=0EMeLd\306k\316\211jiKg\341mJ\334=3D\2031\316\2023=0E= J\211M\203D=0EILHK\202L=0ENLNKF\204U=0EBFD\204^=0EADKO`b\210\316\203p\310 \= 210\202a\f\203{\311s!\204\224=0ED\204\205=0EA\203\350=0Ej\204\350=0El\204\3= 50=0EM\203\350=0EMeLd\306k\316\211jiKg\341mJ\334=3D\203\267\316\202\271=0EJ= \211M\203\312=0EILHK\202\322=0ENLNKF\204\333=0EBFD\204\344=0EADKO\f\203=05\= 311t!\203=05\212\341\225b\210\310 \210`L\323 M)\3632\354m\341V\203*\3641= =05\362`\320m#b0\202!\210\202\"\210\365\3633\316=3D\"\210\311r\366=3D\2036\= 367\202@=0Er\203?\370\202@\371!fj\203\345=0EM\204R=0ED\203a=0El\204a=0Ek\20= 4a\365\363\316\"\210k\203U=07l\204U=07J\204\216=0ED\204\216=0EA\204\216=0E3= \316=3D\204\216\212bb\210\323 \372>)\204U=07MeLd\306k\316\211jiKg\341mJ\334= =3D\203\261\316\202\263=0EJ\211M\203\304=0EILHK\202\314=0ENLNKF\204\325=0EB= FD\204\336=0EADKO\202U=07J\203G`OU\203-\306f\373=3D\203%=0ET\312=3D\204%=0E= 3\316=3D\203=06\365\363\316\"\210\202-=0Eu\203-=0E3\327=3D\203-\316@\365\36= 3\316\"\210\202-\316@\365\363\316\"\210i\203\223=0El\204\223=0Ek\204\223\31= 6@\365\363\316\"\210\202\223=0EM\316=3D\203S\365\363\316\"\210`OU\203\223= =0Ef\203\215=0Er\374=3D\203w=0Ev\204p=0Ew\203\205=0EM\375>\202\202=0Er\366= =3D\203\215=0EM\376>\203\215\365\363\316\"\210\202\223\365\3633\"\210k\203 = =07l\204 =07r\204 =07M\316=3D\204 =07J\204\311=0ED\204\311=0EA\204\311=0En\= 203 =07i\203\311\311x!\204 =07MeLd\306k\316\211jiKg\341mJ\334=3D\203\354\31= 6\202\356=0EJ\211M\203\377=0EILHK\202=07=07NLNKF\204=07BFD\204=07ADKO\202U= =07l\2034=07k\204/=07i\2034=07\365\363\316\"\210M\203U=07l\204U=07k\204U=07= g\203U=07gf\350=3D\203U=07\365\363\306\"\2103\203_=07\365\363\316\"\210j\20= 3\347=07r\204\347=07\311y!\203\347=07k\203\335=07l\204\335=07i\204\335=07M\= 316=3D\204\335=07MeLd\306k\316\211jiKg\341mJ\334=3D\203\251=07\316\202\253= =07J\211M\203\274=07ILHK\202\304=07NLNKF\204\315=07BFD\204\326=07ADKO\202\3= 42=07g\203\347=07\365\363\316\"\210l\204\361=07k\204\375=07M\377>\203\375= =07\365\363\316\"\210M\201\212>\203=0B\365\363\316\"\210T\324=3D\203re\20= 3re\201\213>\204mdf\201\214=3D\203r\212dTb\210\310 \210\201\215 z\201\21= 6\216\201\217=0E{!\210\311|!+\204m\212dTb\210`\323 \210`}~\321\201\220=0E~= }#\200\"+\203r\365\363\316\"\210j\203\302h\203\235M\203\235f\204\216\= 311\201\221!\203\235r\204\235i\204\235\365\363\316\"\210g\204\252\311\2= 01\221!\203\347M\330=3D\203\347r\201\222=3D\204\347\365\363\316\"\210\20= 2\347r\203\347l\204\342r\374=3D\203\347w\204\347k\204\342i\203\347\3= 65\363\316\"\210r\374=3D03.\212\201\205\224 \202eV\205\224 \202\206 `Sf\201= >\205\224 \310 \210\311\201\223!\205\224 \306\211`u\210\310 \210`\311\203!\= 205[ \341\225`\201\224\224\204N \320\224\203F 3\204N M\201\225>\202K \311\2= 04!?\205[ \311\205!?\206[ \341\225`X)\205\224 \202eV\205\224 \202Sb\210`\20= 6=3D\206\224 \336 \210\337\340!\341W\203\204 \311\207!\202\224 `Sf\201\226>= ?\205\224 \201\227 ?)\203\274 \203\263 M\203\263 M\316=3D\204\263 \316YLb\= 210\323 \210)b\210\201\230\202V\n3\203Q\n@\203\376 J\334=3D\203\321 \316\20= 2\323 J\211M\203\344 ILHK\202\354 NLNKF\204\365 BFD\204\376 ADr\374=3D\203'= \n\311\201\231!\203'\n`\201\232=1E\210\211`\211\201\233=0E\211\211T\201\234= =0E\210$+\210\203<\nM\203<\n\316Y\212Lb\210\323 \210*KF\204H\nE\205M\nFEBB= \202V\n=0B\n\306.\207" [c-record-type-identifiers c-record-ref-identifiers = save-rec-ref-ids save-rec-type-ids new-style-auto cast-end nil c-forward-an= notation c-forward-sws looking-at java-mode "@[A-Za-z0-9]+" match-data #[ni= l "\301\302\"\207" [save-match-data-internal set-match-data evaporate] 3] = t match-string 1 intern-soft c-forward-keyword-clause c-forward-type c++-mo= de "auto" "[=3D(]" ids found c-decl-hangon-kwds c-typedef-decl-kwds c-typel= ess-decl-kwds prefix maybe c-backward-sws skip-syntax-backward "w_" 0 pike-= mode "-!%&*+/<=3D>^|~[]()" "`" buffer-substring-no-properties ":~ \n=0B\f"= "\\<\\>" 40 3 c-forward-name "\\(::\\)" 41 #[nil "\301\302\"\207" [save-m= atch-data-internal set-match-data evaporate] 3] "\\s(" (error) scan-sexps (= error) ...] 21] (1 nil nil)) * c-forward-decl-or-cast-1(1 nil nil) c-just-after-func-arglist-p(1) c-guess-basic-syntax() c-indent-line() c-electric-semi&comma(nil) funcall-interactively(c-electric-semi&comma nil) call-interactively(c-electric-semi&comma nil nil) command-execute(c-electric-semi&comma) Emacs : GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, X toolkit) of 2015-11-26 Package: CC Mode 5.33 (C++/l) Buffer Style: SiLK c-emacs-features: (pps-extended-state col-0-paren posix-char-classes gen-st= ring-delim gen-comment-delim syntax-properties 1-bit) current state: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D (setq c-basic-offset 4 c-comment-only-line-offset 0 c-indent-comment-alist '((anchored-comment column . 0) (end-block space . = 1) (cpp-end-block space . 2)) c-indent-comments-syntactically-p nil c-block-comment-prefix "* " c-comment-prefix-regexp '((pike-mode . "//+!?\\|\\**") (awk-mode . "#+") (other . "//+\\|\\**")) c-doc-comment-style '((java-mode . javadoc) (pike-mode . autodoc) (c-mode . gtkdoc)) c-cleanup-list '(scope-operator) c-hanging-braces-alist '((brace-list-open) (brace-entry-open) (statement-cont) (substatement-open after) (block-close . c-snug-do-while) (extern-lang-open after) (namespace-open after) (module-open after) (composition-open after) (inexpr-class-open after) (inexpr-class-close before) (arglist-cont-nonempt= y)) c-hanging-colons-alist nil c-hanging-semi&comma-criteria '(c-semi&comma-inside-parenlist) c-backslash-column 48 c-backslash-max-column 72 c-special-indent-hook nil c-label-minimum-indentation 1 c-offsets-alist '((inexpr-class . +) (inexpr-statement . +) (lambda-intro-cont . +) (inlambda . c-lineup-inexpr-block) (template-args-cont c-lineup-template-args +) (incomposition . +) (inmodule . +) (innamespace . 0) (inextern-lang . 0) (composition-close . 0) (module-close . 0) (namespace-close . 0) (extern-lang-close . 0) (composition-open . 0) (module-open . 0) (namespace-open . 0) (extern-lang-open . 0) (objc-method-call-cont c-lineup-ObjC-method-call-colons c-lineup-ObjC-method-call + ) (objc-method-args-cont . c-lineup-ObjC-method-args) (objc-method-intro . [0]) (friend . 0) (cpp-define-intro c-lineup-cpp-define +) (cpp-macro-cont . +) (cpp-macro . [0]) (inclass . +) (stream-op . c-lineup-streamop) (arglist-cont-nonempty c-lineup-gcc-asm-reg c-lineup-arglist ) (arglist-cont c-lineup-gcc-asm-reg 0) (comment-intro c-lineup-knr-region-comment c-lineup-comment ) (catch-clause . 0) (else-clause . 0) (do-while-closure . 0) (access-label . /) (case-label . *) (substatement . +) (statement-case-intro . *) (statement . 0) (brace-entry-open . 0) (brace-list-entry . 0) (brace-list-intro . +) (brace-list-close . 0) (block-close . 0) (block-open . 0) (inher-cont . c-lineup-multi-inher) (inher-intro . +) (member-init-cont . c-lineup-multi-inher) (member-init-intro . +) (annotation-var-cont . +) (annotation-top-cont . 0) (topmost-intro . 0) (knr-argdecl . 0) (func-decl-cont . +) (inline-close . 0) (class-close . 0) (class-open . 0) (defun-block-intro . +) (defun-close . 0) (defun-open . 0) (c . c-lineup-C-comments) (string . c-lineup-dont-change) (topmost-intro-cont . c-lineup-topmost-intro-cont) (brace-list-open . 0) (inline-open . 0) (arglist-close . +) (arglist-intro . +) (statement-cont . c-lineup-math) (statement-case-open . *) (label . *) (substatement-label . 2) (substatement-open . 0) (knr-argdecl-intro . +) (statement-block-intro . +) ) c-buffer-is-cc-mode 'c++-mode c-tab-always-indent t c-syntactic-indentation t c-syntactic-indentation-in-macros t c-ignore-auto-fill '(string cpp code) c-auto-align-backslashes t c-backspace-function 'backward-delete-char-untabify c-delete-function 'delete-char c-electric-pound-behavior nil c-default-style '((java-mode . "java") (awk-mode . "awk") (other . "gnu")) c-enable-xemacs-performance-kludge-p nil c-old-style-variable-behavior nil defun-prompt-regexp nil tab-width 8 comment-column 32 parse-sexp-ignore-comments t parse-sexp-lookup-properties t auto-fill-function nil comment-multi-line t comment-start-skip "\\(//+\\|/\\*+\\)\\s *" fill-prefix nil fill-column 70 paragraph-start "[ ]*\\(//+\\|\\**\\)[ ]*$\\|^\f" adaptive-fill-mode t adaptive-fill-regexp "[ ]*\\(//+\\|\\**\\)[ ]*\\([ ]*\\([-=E2=80=93!|#%= ;>*=C2=B7=E2=80=A2=E2=80=A3=E2=81=83=E2=97=A6]+[ ]*\\)*\\)" ) --=20 Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 17 09:33:38 2015 Received: (at 22156) by debbugs.gnu.org; 17 Dec 2015 14:33:38 +0000 Received: from localhost ([127.0.0.1]:54312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9Zcg-0000Nk-1H for submit@debbugs.gnu.org; Thu, 17 Dec 2015 09:33:38 -0500 Received: from mail.muc.de ([193.149.48.3]:32723) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9Zcd-0000Nc-Pi for 22156@debbugs.gnu.org; Thu, 17 Dec 2015 09:33:36 -0500 Received: (qmail 19658 invoked by uid 3782); 17 Dec 2015 14:33:34 -0000 Received: from acm.muc.de (p5B146235.dip0.t-ipconnect.de [91.20.98.53]) by colin.muc.de (tmda-ofmipd) with ESMTP; Thu, 17 Dec 2015 15:33:33 +0100 Received: (qmail 18415 invoked by uid 1000); 17 Dec 2015 14:35:46 -0000 Date: Thu, 17 Dec 2015 14:35:46 +0000 To: Michael Welsh Duggan Subject: Re: bug#22156: CC Mode 5.33 (C++/l); Strange end-of-buffer error Message-ID: <20151217143546.GC2988@acm.fritz.box> References: <87zixfnd35.fsf@md5i.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87zixfnd35.fsf@md5i.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22156 Cc: 22156@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: -0.0 (/) Hello, Michael. On Sun, Dec 13, 2015 at 12:15:42AM -0500, Michael Welsh Duggan wrote: > Using emacs -Q /tmp/foo.cpp to start a new file, type the following: > struct foo When you type the comma, you should get an "End of buffer" error. The > error seems to be at the point following this in the backtrace: Yes. Thanks again for such a succinct bug report, and for the backtrace. For some reason I couldn't get Emacs to give me a backtrace no matter what I tried. > Debugger entered--returning value: nil > c-syntactic-re-search-forward("[<;{},|+&-]\\|[>)]" nil t t) > * c-forward-<>-arglist-recur(nil) > * c-forward-<>-arglist-recur(nil) > * c-forward-<>-arglist(nil) > * c-forward-name() > * c-forward-type(t) > * #[(preceding-token-end context last-cast-end) "`\306\211\211\211\211\211\ ... > * apply(#[(preceding-token-end context last-cast-end) "`\306\211\211\211\211\211 ... > * c-forward-decl-or-cast-1(1 nil nil) > c-just-after-func-arglist-p(1) > c-guess-basic-syntax() > c-indent-line() > c-electric-semi&comma(nil) > funcall-interactively(c-electric-semi&comma nil) > call-interactively(c-electric-semi&comma nil nil) > command-execute(c-electric-semi&comma) > Emacs : GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, X toolkit) > of 2015-11-26 > Package: CC Mode 5.33 (C++/l) > Buffer Style: SiLK > c-emacs-features: (pps-extended-state col-0-paren posix-char-classes gen-string-delim gen-comment-delim syntax-properties 1-bit) [ Dump of CC Mode's state snipped, but appreciated. ] The cause was a simple coding error: after searching forward (for a closing >), c-forward-<>-arglist-recur failed to set point back to the starting place before trying the next possibility. Here is a patch which I hope fixes things. Please let me know whether or not it works satisfactorily. diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index acc2edd..11a0db2 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el @@ -5964,7 +5964,7 @@ c-forward-<>-arglist-recur ;; Recursive part of `c-forward-<>-arglist'. ;; ;; This function might do hidden buffer changes. - (let ((start (point)) res pos tmp + (let ((start (point)) res pos ;; Cover this so that any recorded found type ranges are ;; automatically lost if it turns out to not be an angle ;; bracket arglist. It's propagated through the return value @@ -6059,15 +6059,13 @@ c-forward-<>-arglist-recur ;; Either an operator starting with '<' or a nested arglist. (setq pos (point)) (let (id-start id-end subres keyword-match) - (cond + (cond ;; The '<' begins a multi-char operator. ((looking-at c-<-op-cont-regexp) - (setq tmp (match-end 0)) (goto-char (match-end 0))) ;; We're at a nested <.....> ((progn - (setq tmp pos) - (backward-char) ; to the '<' + (backward-char) ; to the '<' (and (save-excursion ;; There's always an identifier before an angle @@ -6087,7 +6085,9 @@ c-forward-<>-arglist-recur (and keyword-match (c-keyword-member (c-keyword-sym (match-string 1)) - 'c-<>-type-kwds))))))) + 'c-<>-type-kwds)))))) + (or subres (goto-char pos)) + subres) ;; It was an angle bracket arglist. (setq c-record-found-types subres) @@ -6103,11 +6103,11 @@ c-forward-<>-arglist-recur (c-record-ref-id (cons id-start id-end)) (c-record-type-id (cons id-start id-end))))) - ;; At a "less than" operator. - (t - (forward-char) - ))) - t) ; carry on looping. + ;; At a "less than" operator. + (t + ;; (forward-char) ; NO! We've already gone over it. + ))) + t) ; carry on looping. ((and (not c-restricted-<>-arglists) (or (and (eq (char-before) ?&) > -- > Michael Welsh Duggan > (md5i@md5i.com) -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 18 08:37:34 2015 Received: (at 22156) by debbugs.gnu.org; 18 Dec 2015 13:37:34 +0000 Received: from localhost ([127.0.0.1]:55259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9vDx-0002Qa-Rv for submit@debbugs.gnu.org; Fri, 18 Dec 2015 08:37:34 -0500 Received: from md5i.com ([75.151.244.229]:39320) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1a9vDv-0002QS-Tz for 22156@debbugs.gnu.org; Fri, 18 Dec 2015 08:37:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:Cc:To:From; bh=IYN9v82D8LS+V3yBrImro7jihEooPjJ+/mPGK77Cdx0=; b=DLZUdr QM2DAHCyvm/yveqbNRBOIV7YtU1V6owndGl5KpkYhesa1KtLtitKFICn2j2kDiUpWQFaisUJVv3eg SG4ln52Uiqbfr+mt0E8hdGVgm3D6bNN4Wy6Tj+7hD1qxk; Received: from md5i by md5i.com with local (Exim 4.86) (envelope-from ) id 1a9vDu-0003zh-IY; Fri, 18 Dec 2015 08:37:30 -0500 From: Michael Welsh Duggan To: Alan Mackenzie Subject: Re: bug#22156: CC Mode 5.33 (C++/l); Strange end-of-buffer error References: <87zixfnd35.fsf@md5i.com> <20151218132927.GA18936@acm.fritz.box> Date: Fri, 18 Dec 2015 08:37:30 -0500 In-Reply-To: <20151218132927.GA18936@acm.fritz.box> (Alan Mackenzie's message of "Fri, 18 Dec 2015 13:29:27 +0000") Message-ID: <87poy3op2d.fsf@md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22156 Cc: 22156@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: -0.0 (/) Alan Mackenzie writes: > [Third attempt at sending; the first two bounced. If this gets through, > would you please add back the bug system address (22156@debbugs.gnu.org) > as a CC when replying.] I haven't yet had time to test this, but I got a couple other copies of this message. I would appreciate it if you let me know how they bounced, so I can see if there are any problems in my mail system. > Hello, Michael. > > On Sun, Dec 13, 2015 at 12:15:42AM -0500, Michael Welsh Duggan wrote: >> Using emacs -Q /tmp/foo.cpp to start a new file, type the following: > >> struct foo >> When you type the comma, you should get an "End of buffer" error. The >> error seems to be at the point following this in the backtrace: > > Yes. Thanks again for such a succinct bug report, and for the > backtrace. For some reason I couldn't get Emacs to give me a backtrace > no matter what I tried. > >> Debugger entered--returning value: nil >> c-syntactic-re-search-forward("[<;{},|+&-]\\|[>)]" nil t t) >> * c-forward-<>-arglist-recur(nil) >> * c-forward-<>-arglist-recur(nil) >> * c-forward-<>-arglist(nil) >> * c-forward-name() >> * c-forward-type(t) >> * #[(preceding-token-end context last-cast-end) >> "`\306\211\211\211\211\211\ ... >> * apply(#[(preceding-token-end context last-cast-end) >> "`\306\211\211\211\211\211 ... >> * c-forward-decl-or-cast-1(1 nil nil) >> c-just-after-func-arglist-p(1) >> c-guess-basic-syntax() >> c-indent-line() >> c-electric-semi&comma(nil) >> funcall-interactively(c-electric-semi&comma nil) >> call-interactively(c-electric-semi&comma nil nil) >> command-execute(c-electric-semi&comma) > > >> Emacs : GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, X toolkit) >> of 2015-11-26 >> Package: CC Mode 5.33 (C++/l) >> Buffer Style: SiLK >> c-emacs-features: (pps-extended-state col-0-paren posix-char-classes >> gen-string-delim gen-comment-delim syntax-properties 1-bit) > > [ Dump of CC Mode's state snipped, but appreciated. ] > > The cause was a simple coding error: after searching forward (for a > closing >), c-forward-<>-arglist-recur failed to set point back to the > starting place before trying the next possibility. > > Here is a patch which I hope fixes things. Please let me know whether > or not it works satisfactorily. > > > > diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el > index acc2edd..11a0db2 100644 > --- a/lisp/progmodes/cc-engine.el > +++ b/lisp/progmodes/cc-engine.el > @@ -5964,7 +5964,7 @@ c-forward-<>-arglist-recur > ;; Recursive part of `c-forward-<>-arglist'. > ;; > ;; This function might do hidden buffer changes. > - (let ((start (point)) res pos tmp > + (let ((start (point)) res pos > ;; Cover this so that any recorded found type ranges are > ;; automatically lost if it turns out to not be an angle > ;; bracket arglist. It's propagated through the return value > @@ -6059,15 +6059,13 @@ c-forward-<>-arglist-recur > ;; Either an operator starting with '<' or a nested arglist. > (setq pos (point)) > (let (id-start id-end subres keyword-match) > - (cond > + (cond > ;; The '<' begins a multi-char operator. > ((looking-at c-<-op-cont-regexp) > - (setq tmp (match-end 0)) > (goto-char (match-end 0))) > ;; We're at a nested <.....> > ((progn > - (setq tmp pos) > - (backward-char) ; to the '<' > + (backward-char) ; to the '<' > (and > (save-excursion > ;; There's always an identifier before an angle > @@ -6087,7 +6085,9 @@ c-forward-<>-arglist-recur > (and keyword-match > (c-keyword-member > (c-keyword-sym (match-string 1)) > - 'c-<>-type-kwds))))))) > + 'c-<>-type-kwds)))))) > + (or subres (goto-char pos)) > + subres) > ;; It was an angle bracket arglist. > (setq c-record-found-types subres) > > @@ -6103,11 +6103,11 @@ c-forward-<>-arglist-recur > (c-record-ref-id (cons id-start id-end)) > (c-record-type-id (cons id-start id-end))))) > > - ;; At a "less than" operator. > - (t > - (forward-char) > - ))) > - t) ; carry on looping. > + ;; At a "less than" operator. > + (t > + ;; (forward-char) ; NO! We've already gone over it. > + ))) > + t) ; carry on looping. > > ((and (not c-restricted-<>-arglists) > (or (and (eq (char-before) ?&) > > > >> -- >> Michael Welsh Duggan >> (md5i@md5i.com) -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 22 01:13:41 2015 Received: (at 22156) by debbugs.gnu.org; 22 Dec 2015 06:13:41 +0000 Received: from localhost ([127.0.0.1]:59372 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBGCb-00065f-BV for submit@debbugs.gnu.org; Tue, 22 Dec 2015 01:13:41 -0500 Received: from md5i.com ([75.151.244.229]:53112) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBGCa-00065U-82 for 22156@debbugs.gnu.org; Tue, 22 Dec 2015 01:13:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=md5i.com; s=dkim; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:References: Subject:Cc:To:From; bh=7g9K8U7/L1IK1YIK0i/XIQgveRhOtSKslXgApcapJm4=; b=cE94sM Xuw3Wf9/DkernALwEackHGOnJH5bJlRJ3Tl1fDFT+XtgIY7ayiFhwC+F+Dl3ZFXTH5bu/Riws7bI3 p4qDu6aT1Zn5fNA1KNYCqJ2utlswYdj0CSpeVmS08MKBz; Received: from md5i by md5i.com with local (Exim 4.86) (envelope-from ) id 1aBGCY-0007fV-Ao; Tue, 22 Dec 2015 01:13:38 -0500 From: Michael Welsh Duggan To: Alan Mackenzie Subject: Re: bug#22156: CC Mode 5.33 (C++/l); Strange end-of-buffer error References: <87zixfnd35.fsf@md5i.com> <20151217193315.GA3999@acm.fritz.box> Date: Tue, 22 Dec 2015 01:13:38 -0500 In-Reply-To: <20151217193315.GA3999@acm.fritz.box> (Alan Mackenzie's message of "Thu, 17 Dec 2015 19:33:15 +0000") Message-ID: <87y4cnyprh.fsf@md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 22156 Cc: 22156@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: 0.0 (/) Alan Mackenzie writes: > On Sun, Dec 13, 2015 at 12:15:42AM -0500, Michael Welsh Duggan wrote: >> Using emacs -Q /tmp/foo.cpp to start a new file, type the following: > >> struct foo >> When you type the comma, you should get an "End of buffer" error. The >> error seems to be at the point following this in the backtrace: > > Yes. Thanks again for such a succinct bug report, and for the > backtrace. For some reason I couldn't get Emacs to give me a backtrace > no matter what I tried. > >> Debugger entered--returning value: nil >> c-syntactic-re-search-forward("[<;{},|+&-]\\|[>)]" nil t t) >> * c-forward-<>-arglist-recur(nil) >> * c-forward-<>-arglist-recur(nil) >> * c-forward-<>-arglist(nil) >> * c-forward-name() >> * c-forward-type(t) >> * #[(preceding-token-end context last-cast-end) >> "`\306\211\211\211\211\211\ ... >> * apply(#[(preceding-token-end context last-cast-end) >> "`\306\211\211\211\211\211 ... >> * c-forward-decl-or-cast-1(1 nil nil) >> c-just-after-func-arglist-p(1) >> c-guess-basic-syntax() >> c-indent-line() >> c-electric-semi&comma(nil) >> funcall-interactively(c-electric-semi&comma nil) >> call-interactively(c-electric-semi&comma nil nil) >> command-execute(c-electric-semi&comma) > > >> Emacs : GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, X toolkit) >> of 2015-11-26 >> Package: CC Mode 5.33 (C++/l) >> Buffer Style: SiLK >> c-emacs-features: (pps-extended-state col-0-paren posix-char-classes >> gen-string-delim gen-comment-delim syntax-properties 1-bit) > > [ Dump of CC Mode's state snipped, but appreciated. ] > > The cause was a simple coding error: after searching forward (for a > closing >), c-forward-<>-arglist-recur failed to set point back to the > starting place before trying the next possibility. > > Here is a patch which I hope fixes things. Please let me know whether > or not it works satisfactorily. I can confirm that this seems to fix the problem. -- Michael Welsh Duggan (md5i@md5i.com) From debbugs-submit-bounces@debbugs.gnu.org Tue Dec 22 11:37:44 2015 Received: (at 22156-done) by debbugs.gnu.org; 22 Dec 2015 16:37:44 +0000 Received: from localhost ([127.0.0.1]:60116 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBPwW-0005jB-00 for submit@debbugs.gnu.org; Tue, 22 Dec 2015 11:37:44 -0500 Received: from mail.muc.de ([193.149.48.3]:37521) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aBPwU-0005j3-SG for 22156-done@debbugs.gnu.org; Tue, 22 Dec 2015 11:37:43 -0500 Received: (qmail 40185 invoked by uid 3782); 22 Dec 2015 16:37:41 -0000 Received: from acm.muc.de (p548A54D8.dip0.t-ipconnect.de [84.138.84.216]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 22 Dec 2015 17:37:40 +0100 Received: (qmail 6428 invoked by uid 1000); 22 Dec 2015 16:39:57 -0000 Date: Tue, 22 Dec 2015 16:39:56 +0000 To: Michael Welsh Duggan Subject: Re: bug#22156: CC Mode 5.33 (C++/l); Strange end-of-buffer error Message-ID: <20151222163956.GB1843@acm.fritz.box> References: <87zixfnd35.fsf@md5i.com> <20151217193315.GA3999@acm.fritz.box> <87y4cnyprh.fsf@md5i.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87y4cnyprh.fsf@md5i.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 22156-done Cc: 22156-done@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: -0.0 (/) Hello, Michael. On Tue, Dec 22, 2015 at 01:13:38AM -0500, Michael Welsh Duggan wrote: > Alan Mackenzie writes: [ .... ] > >> Emacs : GNU Emacs 25.1.50.1 (x86_64-pc-linux-gnu, X toolkit) > >> of 2015-11-26 > >> Package: CC Mode 5.33 (C++/l) > >> Buffer Style: SiLK > >> c-emacs-features: (pps-extended-state col-0-paren posix-char-classes > >> gen-string-delim gen-comment-delim syntax-properties 1-bit) > > [ Dump of CC Mode's state snipped, but appreciated. ] > > The cause was a simple coding error: after searching forward (for a > > closing >), c-forward-<>-arglist-recur failed to set point back to the > > starting place before trying the next possibility. > > Here is a patch which I hope fixes things. Please let me know whether > > or not it works satisfactorily. > I can confirm that this seems to fix the problem. Thanks. I've committed the fix (both to SourceForge and savannah emacs-25 branch) and am marking this bug as closed. > -- > Michael Welsh Duggan > (md5i@md5i.com) -- Alan Mackenzie (Nuremberg, Germany). From unknown Wed Jun 18 23:15:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 20 Jan 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator