From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Newsgroups: gmane.emacs.bugs Subject: bug#5490: 23.1.91; CC Mode, after a while, everything is topmost-intro. Date: Tue, 09 Feb 2010 13:45:35 +0100 Message-ID: <4B7158EF.6030009@swipnet.se> References: <20100129112201.GA3793@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: Quoted-Printable X-Trace: ger.gmane.org 1265719973 661 80.91.229.12 (9 Feb 2010 12:52:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2010 12:52:53 +0000 (UTC) Cc: 5490@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 09 13:52:50 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NepaB-0003ri-EE for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 13:52:48 +0100 Original-Received: from localhost ([127.0.0.1]:50199 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NepaA-0000eB-Sh for geb-bug-gnu-emacs@m.gmane.org; Tue, 09 Feb 2010 07:52:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NepZw-0000YW-ME for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 07:52:32 -0500 Original-Received: from [199.232.76.173] (port=34010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NepZw-0000YD-8h for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 07:52:32 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NepZs-0001BB-8B for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 07:52:31 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51537) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NepZr-0001Am-Lw for bug-gnu-emacs@gnu.org; Tue, 09 Feb 2010 07:52:27 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NepTe-0005Nj-G8; Tue, 09 Feb 2010 07:46:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Jan =?UTF-8?Q?Dj=C3=A4rv?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 09 Feb 2010 12:46:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5490 X-Emacs-PR-Package: emacs,cc-mode X-Emacs-PR-Keywords: Original-Received: via spool by 5490-submit@debbugs.gnu.org id=B5490.126571954520671 (code B ref 5490); Tue, 09 Feb 2010 12:46:02 +0000 Original-Received: (at 5490) by debbugs.gnu.org; 9 Feb 2010 12:45:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NepTM-0005NM-Rj for submit@debbugs.gnu.org; Tue, 09 Feb 2010 07:45:45 -0500 Original-Received: from proxy1.bredband.net ([195.54.101.71]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NepTK-0005NH-Oo for 5490@debbugs.gnu.org; Tue, 09 Feb 2010 07:45:43 -0500 Original-Received: from ipb2.telenor.se (195.54.127.165) by proxy1.bredband.net (7.3.140.3) id 4B62ECEA005F5F01 for 5490@debbugs.gnu.org; Tue, 9 Feb 2010 13:45:37 +0100 X-SMTPAUTH-B2: X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: An1IAE7ocEtV4S1uPGdsb2JhbACBMoIAhFSTNAEBAQE3rRaQF4EvgR+BK1sE X-IronPort-AV: E=Sophos;i="4.49,436,1262559600"; d="scan'208";a="34803126" Original-Received: from c-6e2de155.25-1-64736c10.cust.bredbandsbolaget.se (HELO coolsville.localdomain) ([85.225.45.110]) by ipb2.telenor.se with ESMTP; 09 Feb 2010 13:45:36 +0100 Original-Received: from [172.20.199.2] (gaffa [172.20.199.2]) by coolsville.localdomain (Postfix) with ESMTP id 1470F7FA01A; Tue, 9 Feb 2010 13:45:36 +0100 (CET) User-Agent: Thunderbird 2.0.0.23 (X11/20090817) In-Reply-To: <20100129112201.GA3793@muc.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 09 Feb 2010 07:46:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34977 Archived-At: Ok, here are some answers. Alan Mackenzie skrev: > > OK. Now some more details, please! >=20 > (i) Have you ever noticed this bug happening on earlier Emacsen, in > particular Emacs 23.1? No. > (ii) Does this bug happen every time you use Emacs this long, or only > sometimes? If the latter, how often (10%, 50%, 90%)? 100%. If I just keep editing it eveentually breaks. > (iii) Do you think there might be any connection with some of the more > unusual minor modes you've got switched on? Things like > auto-encryption mode? >=20 No, this doesn't seem to have any effect. > When Emacs reaches this broken state: > (iv) Are all C(++) buffers in this state, or only some? Any correlatio= n > with how many edits have been done on a buffer, or how long it's been > loaded? It is a pre buffer breakage. One buffer usually gets borken first, while= the=20 others are ok. It is the one that I've changed/edited the most in. > (v) What about indentation in a freshly loaded file? No problem. > (vi) Will M-x c-mode or M-x c++-mode clear the problem? Yes. > (vii) Does reverting (M-x revert-buffer) a file fix indentation? No. > (viii) Does killing and reloading a file fix indentation? Yes. > (ix) Does intentation gradually deteriorate at around 4 hours, or does = it > break suddenly? Suddenly. > (x) Do all CC Mode buffers break at the same time, or is it a "creeping > death"? Only one at the time. > Just one other thing: Could you please post a dump of your CC Mode > configuration (C-c C-b in a C(++) buffer). Thanks. >=20 X-Reporter-Void-Vars-Found: auto-fill-mode (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 '(defun-close-semi list-close-comma scope-operator) c-hanging-braces-alist '((substatement-open before after) (brace-list-open before after) (brace-list-intro after) (brace-list-entry) (brace-list-close before after) (block-close . c-snug-do-while)) c-hanging-colons-alist '((access-label after) (case-label after) (label after) (member-init-intro before) (inher-intro)) 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 . c-lineup-inexpr-block) (inexpr-statement . +) (lambda-intro-cont . +) (inlambda . c-lineup-inexpr-block) (template-args-cont c-lineup-template-args +) (incomposition . +) (inmodule . +) (innamespace . 0) (inextern-lang . +) (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 . -1000) (case-label . 0) (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 . +) (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 . 0) (brace-list-open . 0) (inline-open . 0) (arglist-close . c-lineup-arglist) (arglist-intro . c-lineup-arglist) (statement-cont . +) (statement-case-open . 0) (label . -1000) (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 '(alignleft) 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 "[ ]*\\(//+\\|\\**\\)[ ]*\\([=20 ]*\\([-!|#%;>*=C2=B7=E2=80=A2=E2=80=A3=E2=81=83=E2=97=A6]+[ ]*\\)*\\)" ) --text follows this line-- Emacs : GNU Emacs 23.1.92.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3) of 2010-02-03 on cons1 Package: CC Mode 5.31.8 (C++/lah) Buffer Style: JHD c-emacs-features: (pps-extended-state col-0-paren posix-char-classes=20 gen-string-delim gen-comment-delim syntax-properties 1-bit) Jan D.