From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.bugs Subject: bug#5741: 24.0.50; c-mode periodic weird unindentation Date: Fri, 19 Mar 2010 19:02:42 -0400 Message-ID: <87pr2zx6ct.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1269041140 5255 80.91.229.12 (19 Mar 2010 23:25:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 19 Mar 2010 23:25:40 +0000 (UTC) To: 5741@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 20 00:25:35 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 1NslZL-0000VA-Mk for geb-bug-gnu-emacs@m.gmane.org; Sat, 20 Mar 2010 00:25:32 +0100 Original-Received: from localhost ([127.0.0.1]:48445 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NslZK-0006Gg-Si for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Mar 2010 19:25:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NslZ2-0006Cc-OA for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 19:25:12 -0400 Original-Received: from [140.186.70.92] (port=58761 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NslZ0-0006CI-LH for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 19:25:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NslYy-0001vv-68 for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 19:25:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41898) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NslYy-0001vr-2S for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 19:25:08 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NslEX-0000C2-Nq; Fri, 19 Mar 2010 19:04:01 -0400 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Michael Welsh Duggan Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 19 Mar 2010 23:04:01 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-GNU-PR-Message: report 5741 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1269039839734 (code B ref -1); Fri, 19 Mar 2010 23:04:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Mar 2010 23:03:59 +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 1NslEV-0000Bn-DN for submit@debbugs.gnu.org; Fri, 19 Mar 2010 19:03:59 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NslDW-0000B4-9Z for submit@debbugs.gnu.org; Fri, 19 Mar 2010 19:02:59 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:41518) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NslDS-0002Om-BW for submit@debbugs.gnu.org; Fri, 19 Mar 2010 19:02:54 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NslDS-0006WO-40 for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 19:02:54 -0400 Original-Received: from [140.186.70.92] (port=54724 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NslDP-0006VV-TQ for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 19:02:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NslDM-0008R8-U8 for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 19:02:51 -0400 Original-Received: from md5i.com ([75.151.244.229]:49167 helo=maru.md5i.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NslDM-0008QV-Pr for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 19:02:48 -0400 Original-Received: from md5i by maru.md5i.com with local (Exim 4.71) (envelope-from ) id 1NslDG-0002pH-Nt for bug-gnu-emacs@gnu.org; Fri, 19 Mar 2010 19:02:42 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Fri, 19 Mar 2010 19:03:58 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Fri, 19 Mar 2010 19:04:01 -0400 X-detected-operating-system: by eggs.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:35647 Archived-At: bzr revision 99695 lekktu@gmail.com-20100319141954-r1wviyeseop1qgc5 Periodically, C-mode will incorrectly unindent a line containing an open brace. I can often convince it to work by creating a new line after the problem, and then deleting the newline. I do not yet have a recipe, but am sending this so that (at least during the pretest), the existence of this bug is known. I will add information to this bug report if/when I can recreate it again. In GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.7) of 2010-03-19 on maru Windowing system distributor `The X.Org Foundation', version 11.0.10705000 configured using `configure '--without-toolkit-scroll-bars'' Important settings: value of $LC_ALL: nil 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.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: C/l Minor modes in effect: flyspell-mode: t display-time-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t abbrev-mode: t Recent input: C-e f d - > u i M-b M-b ! C-e i n M-/ ) ) SPC { C-b C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p < C-s S K I O B U G U F _ I N C-n C-_ C-p C-e } C-n C-p C-M-b C-M-f C-n C-M-b C-M-f SPC e l s e SPC i f { i f SPC ( m o d M-/ SPC = = SPC S K I O _ U N M-/ S K M-/ ) SPC { C-_ ESC { C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-e { } C-p C-e C-x b * G r C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n Q C-p C-p C-p C-n C-n C-u 5 0 0 C-s e l i C-s C-s C-a SPC C-n C-n SPC SPC C-n C-n SPC SPC C-n C-n SPC ! b z r SPC r e v i C-g C-g M-x r e p o r t - e m Recent messages: Finding sort keys... Sorting records... Reordering buffer... Done nnimap: Retrieving headers...done Fetching headers for nnimap+localimap:mail.emacs-devel...done Scoring...done Generating summary...done Mark saved where search started Loading vc-svn...done Parsing BBDB... (frobnicating...done) Don't touch it! It's the History Eraser Button, you fool! [2 times] Load-path shadows: /usr/local/share/emacs/site-lisp/lilypond-words hides /usr/share/emacs/site-lisp/lilypond-words /usr/local/share/emacs/site-lisp/lilypond-indent hides /usr/share/emacs/site-lisp/lilypond-indent /usr/local/share/emacs/site-lisp/lilypond-mode hides /usr/share/emacs/site-lisp/lilypond-mode /home/md5i/src/elisp/psvn hides /usr/share/emacs/site-lisp/psvn /usr/local/share/emacs/site-lisp/lilypond-song hides /usr/share/emacs/site-lisp/lilypond-song /usr/local/share/emacs/site-lisp/lilypond-what-beat hides /usr/share/emacs/site-lisp/lilypond-what-beat /usr/local/share/emacs/site-lisp/lilypond-font-lock hides /usr/share/emacs/site-lisp/lilypond-font-lock /usr/local/share/emacs/site-lisp/lilypond-init hides /usr/share/emacs/site-lisp/lilypond-init Features: (shadow emacsbug vc-dispatcher vc-svn gnus-cite ansi-color mule-util gnus-bcklg gnus-async parse-time qp sort byte-opt bytecomp byte-compile gnus-ml disp-table time-stamp whitespace tabify newcomment multi-isearch align dabbrev vc-git cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs gnus-topic nnfolder utf-7 utf7 rfc2104 netrc nnimap imap nndraft nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 epg-config mm-view smime dig mailcap gnus-cache edmacro kmacro gnus-demon nntp nnir gnus-sum gnus-group time-date gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems nnheader flyspell ispell server uptimes pp uniquify descr-text help-mode view tramp-imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util format-spec tramp-compat trampver time sieve-manage password-cache rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util sgml-mode psvn wid-edit log-edit pcvs-util add-log diff-mode easy-mmode inf-caml camldebug thingatpt derived shell caml-types caml-emacs caml-font caml advice help-fns advice-preload compile imenu message sendmail rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader generic-x debian-el debian-el-loaddefs dired-x dired-aux dired bbdb-autoloads bbdb timezone ange-ftp regexp-opt comint ring cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) -- Michael Welsh Duggan (md5i@md5i.com)