From unknown Sat Jun 21 10:14:02 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#5786 <5786@debbugs.gnu.org> To: bug#5786 <5786@debbugs.gnu.org> Subject: Status: new cc-mode <>-matching barfs in complex case Reply-To: bug#5786 <5786@debbugs.gnu.org> Date: Sat, 21 Jun 2025 17:14:02 +0000 retitle 5786 new cc-mode <>-matching barfs in complex case reassign 5786 emacs,cc-mode submitter 5786 Daniel Colascione severity 5786 normal tag 5786 moreinfo unreproducible thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 26 19:55:00 2010 Received: (at submit) by debbugs.gnu.org; 26 Mar 2010 23:55:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvJMi-0003fv-7f for submit@debbugs.gnu.org; Fri, 26 Mar 2010 19:55:00 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvJMg-0003fq-7D for submit@debbugs.gnu.org; Fri, 26 Mar 2010 19:54:59 -0400 Received: from lists.gnu.org ([199.232.76.165]:47899) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NvJMc-00059z-3R for submit@debbugs.gnu.org; Fri, 26 Mar 2010 19:54:54 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvJMb-00022O-HX for bug-gnu-emacs@gnu.org; Fri, 26 Mar 2010 19:54:53 -0400 Received: from [140.186.70.92] (port=49505 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvJMY-00020x-W7 for bug-gnu-emacs@gnu.org; Fri, 26 Mar 2010 19:54:52 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.0 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvJMW-0001Ia-9d for bug-gnu-emacs@gnu.org; Fri, 26 Mar 2010 19:54:50 -0400 Received: from haystack.austinheap.com ([70.32.98.68]:53796 helo=haystacknetwork.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvJMW-0001IV-3j for bug-gnu-emacs@gnu.org; Fri, 26 Mar 2010 19:54:48 -0400 Message-ID: <4BAD4941.90304@censorshipresearch.org> Date: Fri, 26 Mar 2010 19:54:41 -0400 From: Daniel Colascione Organization: Censorship Research Center User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.8) Gecko/20100227 Thunderbird/3.0.3 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: new cc-mode <>-matching barfs in complex case X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Note: Although the trace below is from Emacs 22, I'm using cc-mode from HEAD. It doesn't affect the bug. cc-mode seems to barf in certain cases on files with lots of template brackets. I can't quite figure out what's wrong with it: the testcase below is about as small as I could make it. To reproduce: load the following file in c++-mode, position point at line 3, column 6 (just after the "/*"), and press space. It's important not to scroll around the buffer first. You'll see a backtrace something like this: signal(error ("Invalid search bound (wrong side of point)")) (condition-case err (while (and ... ... ...)) (error (goto-char start) (signal ... ...))) (let ((start ...) tmp search-pos state (state-pos ...) check-pos check-state (last-token-end-pos ...) found) (condition-case err (while ...) (error ... ...)) (if found (progn ... ...) (if ... ... ...) nil)) c-syntactic-re-search-forward("[;{}]" 2109 end) (let ((beg-lit-limits ...) (end-lit-limits ...)) (goto-char (if beg-lit-limits ... beg)) (c-syntactic-skip-backward "^;{}" (max ... ...)) (while (c-search-forward-char-property ... ... beg) (c-clear-<-pair-props-if-match-after beg ...)) (goto-char (if end-lit-limits ... end)) (c-syntactic-re-search-forward "[;{}]" (min ... ...) (quote end)) (while (c-search-backward-char-property ... ... end) (c-clear->-pair-props-if-match-before end))) (save-excursion (let (... ...) (goto-char ...) (c-syntactic-skip-backward "^;{}" ...) (while ... ...) (goto-char ...) (c-syntactic-re-search-forward "[;{}]" ... ...) (while ... ...))) c-before-change-check-<>-operators(61 61) funcall(c-before-change-check-<>-operators 61 61) (lambda (fn) (funcall fn beg end))(c-before-change-check-<>-operators) mapc((lambda (fn) (funcall fn beg end)) (c-extend-region-for-CPP c-before-change-check-<>-operators)) (if c-get-state-before-change-functions (mapc (lambda ... ...) c-get-state-before-change-functions)) (save-excursion (c-unfind-enclosing-token beg) (c-unfind-enclosing-token end) (when (< beg end) (c-unfind-coalesced-tokens beg end)) (let (lim type type-pos marked-id term-pos ...) (when ... ... ... ...)) (setq c-new-BEG beg c-new-END end) (if c-get-state-before-change-functions (mapc ... c-get-state-before-change-functions))) (progn (widen) (save-excursion (c-unfind-enclosing-token beg) (c-unfind-enclosing-token end) (when ... ...) (let ... ...) (setq c-new-BEG beg c-new-END end) (if c-get-state-before-change-functions ...))) (unwind-protect (progn (widen) (save-excursion ... ... ... ... ... ...)) (set-match-data save-match-data-internal (quote evaporate))) (let ((save-match-data-internal ...)) (unwind-protect (progn ... ...) (set-match-data save-match-data-internal ...))) (save-match-data (widen) (save-excursion (c-unfind-enclosing-token beg) (c-unfind-enclosing-token end) (when ... ...) (let ... ...) (setq c-new-BEG beg c-new-END end) (if c-get-state-before-change-functions ...))) (save-restriction (save-match-data (widen) (save-excursion ... ... ... ... ... ...))) c-before-change(61 61) == BEGIN TESTCASE == void foo_impl::gc_mark(gc::mark_context mc) throw() { /* if(mc.abandon) { this->shutdown(); } gc_process(mc, &this->ack_fiber); gc_process(mc, &this->err); source::gc_mark(mc); sink::gc_mark(mc); } foo_id foo::get_id() const throw() { if(this->impl()->chan) { return this->impl()->self_it->first; } return 0; } ptr foo::get_spam() const throw() { return this->impl()->chan; }; void foo_impl::on_ack_bytes(size_t howmany) { // check for overflow if(this->remote_bufsz + howmany < this->remote_bufsz) { throw (peer_on_fire() << protocol_error_reason("impossible remote buffer size")); } this->remote_bufsz += howmany; this->remote_has_room.wake(); } void foo_impl::tentative_add_bytes(size_t howmany, ptr src) { if(this->incoming.avail() < howmany) { throw peer_on_fire() << protocol_error_reason("peer overflowed buffer"); } read_all(src, this->incoming.get_append_ptr(), howmany); this->incoming.note_written(howmany); } size_t foo_impl::confirm_add_bytes(size_t howmany) throw() { assert(this->real_available <= this->incoming.size()); assert(howmany <= this->incoming.size() - this->real_available); this->real_available += howmany; this->real_available_nonzero.wake(); return this->incoming.size() - this->real_available; } void foo_impl::remove_new_bytes(size_t howmany) throw() { assert(this->real_available <= this->incoming.size()); assert(howmany <= this->incoming.size() - this->real_available); this->incoming.erase(this->incoming.end() - howmany, this->incoming.end()); } void foo_impl::shutdown() { this->eof_from_peer = true; this->eof_to_peer = true; this->stop_everything(); } void foo_impl::shutdown_with_error(const ptr& err) { this->err = err; this->stop_everything(); } void foo_impl::stop_everything() throw() { this->ack_fiber->cancel(); this->chan.reset(); /* Readers and writers may be waiting on these */ this->remote_has_room.wake(); } == END TESTCASE == In GNU Emacs 22.3.1 (i386-apple-darwin9.6.0, Carbon Version 1.6.0) of 2009-01-03 on seijiz.local Windowing system distributor `Apple Inc.', version 10.6.2 configured using `configure '--prefix=/Applications/Emacs.app/Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=/Volumes/Emacs/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=-Os -arch i386 -arch ppc7400 -DUSE_ATSUI -DUSE_MAC_TSM'' Important settings: value of $LC_ALL: en_US.UTF-8 value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 locale-coding-system: utf-8 default-enable-multibyte-characters: t Major mode: C++/l Minor modes in effect: linum-mode: t yas/minor-mode: t cua-mode: t which-function-mode: t global-hi-lock-mode: t hi-lock-mode: t show-paren-mode: t savehist-mode: t mac-print-mode: t tooltip-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 unify-8859-on-encoding-mode: t utf-translate-cjk-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: o n v f o o ! M-< C-e M-x c + + - m o d e q C-x C-s M-< M-% C-g M-% C-g C-e C-x C-s M-x c + + - - m o d e SPC q C-a M-< C-e M-x c + + - m o d e SPC C-z M-x c + + - m o d e SPC C-z C-z C-z C-z C-x C-s C-a C-k C-k C-e M-x c + + - m o d e SPC C-z C-z C-z C-z C-z C-x C-s M-< M-x c + + - m o d e C-e SPC q M-< C-g C-g C-g C-x C-s M-< M-% c h a n n e l s p a m m ! M-< C-e M-x c + + - m o d e SPC q C-x C-s C-x k C-x C-f a f o o . c p p C-e SPC q M-x r e p o r t - e m Recent messages: (No changes need to be saved) Mark set [2 times] Replaced 2 occurrences Mark set Entering debugger... Back to top level. Wrote /tmp/foo.cpp Entering debugger... Back to top level. Loading emacsbug...done -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) iEYEARECAAYFAkutSUEACgkQ17c2LVA10VstGwCfRpTHoPriKbfSCS/HZ8v2uwsc ZmsAoLA3yEJXbY2JebH1MFngoVW0MNyO =FYVW -----END PGP SIGNATURE----- From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 30 13:41:07 2010 Received: (at control) by debbugs.gnu.org; 30 Mar 2010 17:41:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwfR5-00035P-3Q for submit@debbugs.gnu.org; Tue, 30 Mar 2010 13:41:07 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NwfR3-000354-F9 for control@debbugs.gnu.org; Tue, 30 Mar 2010 13:41:05 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NwfQy-0007Bl-JT; Tue, 30 Mar 2010 13:41:00 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19378.14252.392658.716585@fencepost.gnu.org> Date: Tue, 30 Mar 2010 13:41:00 -0400 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: green X-Ran: vZgOltzD&160:Gh/m:nmg,l&]]B]uvh?m.C:`luA*Gk)+A%L:QVg1eH[&|)S&(U}/M;|iR X-Debbugs-No-Ack: yes X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.1 (-----) retitle 5805 23.1; abbrev-insert does not protext itself with save-excursion severity 5798 minor reassign 5786 emacs,cc-mode severity 5787 minor severity 5772 minor severity 5770 minor severity 5774 minor From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 02 20:13:26 2010 Received: (at control) by debbugs.gnu.org; 3 Apr 2010 00:13:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxqzN-0001nB-MF for submit@debbugs.gnu.org; Fri, 02 Apr 2010 20:13:25 -0400 Received: from pantheon-po30.its.yale.edu ([130.132.50.4]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxqzM-0001n6-Rr for control@debbugs.gnu.org; Fri, 02 Apr 2010 20:13:25 -0400 Received: from furry (dhcp128036014175.central.yale.edu [128.36.14.175]) (authenticated bits=0) by pantheon-po30.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o330DLFE015372 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 2 Apr 2010 20:13:21 -0400 Received: by furry (Postfix, from userid 1000) id 801ADC055; Fri, 2 Apr 2010 20:13:21 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 5786 serious Date: Fri, 02 Apr 2010 20:13:21 -0400 Message-ID: <87wrwptmu6.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) severity 5786 serious thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 03 18:59:33 2010 Received: (at 5786) by debbugs.gnu.org; 3 Apr 2010 22:59:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyCJQ-0000pr-RG for submit@debbugs.gnu.org; Sat, 03 Apr 2010 18:59:33 -0400 Received: from pantheon-po25.its.yale.edu ([130.132.50.119]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NyCJO-0000pm-Ez for 5786@debbugs.gnu.org; Sat, 03 Apr 2010 18:59:31 -0400 Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po25.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o33MxMxZ027802 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 3 Apr 2010 18:59:22 -0400 Received: by furry (Postfix, from userid 1000) id 969A2C055; Sat, 3 Apr 2010 18:59:22 -0400 (EDT) From: Chong Yidong To: Daniel Colascione Subject: Re: new cc-mode <>-matching barfs in complex case Date: Sat, 03 Apr 2010 18:59:22 -0400 Message-ID: <87bpe0ta5x.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 5786 Cc: 5786@debbugs.gnu.org, Alan Mackenzie X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.0 (---) > Note: Although the trace below is from Emacs 22, I'm using cc-mode from > HEAD. It doesn't affect the bug. > > cc-mode seems to barf in certain cases on files with lots of template > brackets. I can't quite figure out what's wrong with it: the testcase > below is about as small as I could make it. > > To reproduce: load the following file in c++-mode, position point at > line 3, column 6 (just after the "/*"), and press space. It's > important not to scroll around the buffer first. You'll see a > backtrace I can't reproduce the bug using emacs-23 branch (nor with the 23.1.95 pretest), starting from `emacs -Q'. Daniel, could you please check if a 23.1.95 build from ftp://alpha.gnu.org/gnu/emacs/pretest/ has this problem? If so, please provide an even more exact recipe, sending the test file as an attachement and providing precise steps starting from `emacs -Q'. From debbugs-submit-bounces@debbugs.gnu.org Sat Apr 17 11:59:52 2010 Received: (at control) by debbugs.gnu.org; 17 Apr 2010 15:59:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3AQx-0002zg-VY for submit@debbugs.gnu.org; Sat, 17 Apr 2010 11:59:52 -0400 Received: from pantheon-po35.its.yale.edu ([130.132.50.83]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O3AQx-0002zb-7z for control@debbugs.gnu.org; Sat, 17 Apr 2010 11:59:51 -0400 Received: from furry (dhcp-18-111-33-192.dyn.mit.edu [18.111.33.192]) (authenticated bits=0) by pantheon-po35.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o3HFxkPe003327 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 17 Apr 2010 11:59:46 -0400 Received: by furry (Postfix, from userid 1000) id 6D8F2C055; Sat, 17 Apr 2010 11:59:46 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 5786 important Date: Sat, 17 Apr 2010 11:59:46 -0400 Message-ID: <87eiiet6h9.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) severity 5786 important thanks From debbugs-submit-bounces@debbugs.gnu.org Thu May 31 11:09:15 2012 Received: (at control) by debbugs.gnu.org; 31 May 2012 15:09:16 +0000 Received: from localhost ([127.0.0.1]:52019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sa6zz-0002y5-HH for submit@debbugs.gnu.org; Thu, 31 May 2012 11:09:15 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:34281 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sa6zv-0002xr-9C for control@debbugs.gnu.org; Thu, 31 May 2012 11:09:12 -0400 Received: from cm162.gamma80.maxonline.com.sg ([202.156.80.162]:35005 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1Sa6yN-0005fR-5t for control@debbugs.gnu.org; Thu, 31 May 2012 11:07:35 -0400 From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 5786 normal Date: Thu, 31 May 2012 23:07:28 +0800 Message-ID: <87d35k75jj.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) severity 5786 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 18:05:04 2015 Received: (at 5786) by debbugs.gnu.org; 25 Dec 2015 23:05:04 +0000 Received: from localhost ([127.0.0.1]:35906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbQ0-0004nM-C1 for submit@debbugs.gnu.org; Fri, 25 Dec 2015 18:05:04 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:42932) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbPy-0004mS-LI for 5786@debbugs.gnu.org; Fri, 25 Dec 2015 18:05:03 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCbPZ-0006EQ-IT; Sat, 26 Dec 2015 00:04:37 +0100 From: Lars Ingebrigtsen To: Chong Yidong Subject: Re: bug#5786: new cc-mode <>-matching barfs in complex case References: <4BAD4941.90304@censorshipresearch.org> <87bpe0ta5x.fsf@stupidchicken.com> Date: Sat, 26 Dec 2015 00:04:36 +0100 In-Reply-To: <87bpe0ta5x.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 03 Apr 2010 18:59:22 -0400") Message-ID: <874mf6t9iz.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aCbPZ-0006EQ-IT X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451689477.73743@sq3PN0f+BAkKLqIh8bt84Q X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 5786 Cc: 5786@debbugs.gnu.org, Alan Mackenzie , Daniel Colascione 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.7 (/) Chong Yidong writes: >> Note: Although the trace below is from Emacs 22, I'm using cc-mode from >> HEAD. It doesn't affect the bug. >> >> cc-mode seems to barf in certain cases on files with lots of template >> brackets. I can't quite figure out what's wrong with it: the testcase >> below is about as small as I could make it. >> >> To reproduce: load the following file in c++-mode, position point at >> line 3, column 6 (just after the "/*"), and press space. It's >> important not to scroll around the buffer first. You'll see a >> backtrace > > I can't reproduce the bug using emacs-23 branch (nor with the 23.1.95 > pretest), starting from `emacs -Q'. > > Daniel, could you please check if a 23.1.95 build from > ftp://alpha.gnu.org/gnu/emacs/pretest/ has this problem? > > If so, please provide an even more exact recipe, sending the test file > as an attachement and providing precise steps starting from `emacs -Q'. More information was requested, but no response was given within a few months, so I'm closing this bug report. If the problem still exists, please reopen this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 18:05:04 2015 Received: (at control) by debbugs.gnu.org; 25 Dec 2015 23:05:04 +0000 Received: from localhost ([127.0.0.1]:35904 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbQ0-0004nK-4U for submit@debbugs.gnu.org; Fri, 25 Dec 2015 18:05:04 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:42934) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCbPy-0004mY-Rd for control@debbugs.gnu.org; Fri, 25 Dec 2015 18:05:03 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCbPd-0006Eg-H9 for control@debbugs.gnu.org; Sat, 26 Dec 2015 00:04:41 +0100 Date: Sat, 26 Dec 2015 00:04:40 +0100 Message-Id: <8737uqt9iv.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #5786 X-MailScanner-ID: 1aCbPd-0006Eg-H9 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451689481.73647@IiFOHEiZrCm0G41oJb436g X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control 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.7 (/) close 5786 From unknown Sat Jun 21 10:14:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Jan 2016 12:24:08 +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