unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Alan Mackenzie <acm@muc.de>
Cc: 5490@debbugs.gnu.org
Subject: bug#5490: 23.1.91; CC Mode, after a while, everything is topmost-intro.
Date: Tue, 09 Feb 2010 13:45:35 +0100	[thread overview]
Message-ID: <4B7158EF.6030009@swipnet.se> (raw)
In-Reply-To: <20100129112201.GA3793@muc.de>

Ok, here are some answers.

Alan Mackenzie skrev:
>
> OK.  Now some more details, please!
> 
> (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?
> 

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 correlation
>   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 
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.
> 

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 "[ 	]*\\(//+\\|\\**\\)[ 	]*\\([ 
]*\\([-!|#%;>*·•‣⁃◦]+[ 	]*\\)*\\)"
  )

--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 
gen-string-delim gen-comment-delim syntax-properties 1-bit)

	Jan D.






  parent reply	other threads:[~2010-02-09 12:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-29  9:02 bug#5490: 23.1.91; CC Mode, after a while, everything is topmost-intro Jan =?UTF-8?Q?Dj=C3=A4rv
2010-01-29 11:18 ` Alan Mackenzie
     [not found] ` <20100129112201.GA3793@muc.de>
2010-02-09 12:45   ` Jan Djärv [this message]
2010-02-09 12:55     ` Jan Djärv
2010-02-09 20:40     ` Alan Mackenzie
     [not found]     ` <20100209204008.GB2921@muc.de>
2010-02-24 12:09       ` Jan D.
     [not found]       ` <4B8516E9.40203@swipnet.se>
2010-02-25  0:59         ` Miles Bader
     [not found]         ` <874ol6qgf9.fsf@catnip.gol.com>
2010-02-26 12:58           ` Alan Mackenzie
2011-07-09  7:55         ` Jan Djärv
     [not found]         ` <4E18095F.9060607@swipnet.se>
2016-08-18  5:01           ` Andrew Hyatt
     [not found]           ` <m2bn0q8ycv.fsf@Andrews-MacBook-Pro.local>
2016-08-18 14:11             ` Eli Zaretskii
     [not found]             ` <83r39mdv5q.fsf@gnu.org>
2016-08-21  4:57               ` Andrew Hyatt
     [not found]               ` <m2fupyd8hd.fsf@Andrews-MacBook-Pro.local>
2016-08-22 10:49                 ` Alan Mackenzie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4B7158EF.6030009@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=5490@debbugs.gnu.org \
    --cc=acm@muc.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).