all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dietrich Epp <dietrich@zdome.net>
To: 13244@debbugs.gnu.org
Subject: bug#13244: cc-mode indentation fails depending on the phase of the moon
Date: Thu, 20 Dec 2012 17:06:25 -0800	[thread overview]
Message-ID: <7067FC50-22E1-4FF5-B634-A9062EF2849A@zdome.net> (raw)

[-- Attachment #1: Type: text/plain, Size: 3151 bytes --]

This bug is weird.  I couldn't use auto-indentation in a certain file.  I tried restarting Emacs, behavior persists.  I upgraded to the latest version from Bzr, behavior persists.  I created a new account with no .emacs file and tried from there, behavior persists.  In comparison, indentation works correctly in the Emacs that in the current Debian Wheezy repository, which is 24.3.50.1.

Trying to automatically indent code inside the last function in the attached file fails.  It succeeds if I make almost any modification to code above the last function in the file -- it could be something as minor as adding a space on an empty line, but changing text in the comments seems to have no effect.  Indentation works in every function but the last one (or any one you create below it).

The point at which indentation breaks is somewhere very close to the bottom of the file, I deleted code from the bottom of the file until I found the location where it breaks.

In GNU Emacs 24.3.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.4.2)
 of 2012-12-20 on moria
Bzr revision: 111280 dmantipov@yandex.ru-20121220160905-qpa3zdo5rx335ydu
Windowing system distributor `The X.Org Foundation', version 11.0.11204000
System Description:	Debian GNU/Linux testing (wheezy)

Configured using:
 `configure '--prefix=/opt/emacs''

Important settings:
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: C/l

Minor modes in effect:
  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
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  abbrev-mode: t

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr emacsbug message cl-macs gv format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils misearch multi-isearch edmacro kmacro
cc-langs cl nadvice cl-lib cc-mode cc-fonts easymenu cc-guess cc-menus
cc-cmds server cc-styles cc-align cc-engine cc-vars cc-defs
deeper-blue-theme time-date tooltip ediff-hook vc-hooks lisp-float-type
mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe
tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow
timer select scroll-bar 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 minibuffer loaddefs button faces
cus-face macroexp files text-properties overlay sha1 md5 base64 format
env code-pages mule custom widget hashtable-print-readable backquote
make-network-process dbusbind inotify dynamic-setting
system-font-setting font-render-setting move-toolbar gtk x-toolkit x
multi-tty emacs)



[-- Attachment #2: emacsbug.c.gz --]
[-- Type: application/x-gzip, Size: 4141 bytes --]

             reply	other threads:[~2012-12-21  1:06 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-21  1:06 Dietrich Epp [this message]
2012-12-27 16:20 ` bug#13244: cc-mode indentation fails depending on the phase of the moon Alan Mackenzie
2013-03-11 20:57   ` 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

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

  git send-email \
    --in-reply-to=7067FC50-22E1-4FF5-B634-A9062EF2849A@zdome.net \
    --to=dietrich@zdome.net \
    --cc=13244@debbugs.gnu.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.