bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#13244: cc-mode indentation fails depending on the phase of the moon


From: Dietrich Epp
Subject: bug#13244: cc-mode indentation fails depending on the phase of the moon
Date: Thu, 20 Dec 2012 17:06:25 -0800

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: emacsbug.c.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]