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

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

bug#5389: 23.1.91; Indentation broken in CC Mode


From: Eli Zaretskii
Subject: bug#5389: 23.1.91; Indentation broken in CC Mode
Date: Fri, 15 Jan 2010 17:52:54 +0200

 emacs -Q
 C-x C-f foo.c

 Type:

 int
 main (void)
 {

Typing C-j with point after the brace does not indent the next line,
as it used to in all previous Emacs versions.  Nor does TAB reindent a
line as expected.

Am I the only one who sees this?  Am I missing some recent changes?

The same happens on today's trunk, btw.



In GNU Emacs 23.1.91.1 (i386-mingw-nt5.1.2600)
 of 2009-12-31 on HOME-C4E4A596F7
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4)'

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: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1255
  default enable-multibyte-characters: t

Major mode: Mail

Minor modes in effect:
  shell-dirtrack-mode: t
  flyspell-mode: t
  desktop-save-mode: t
  show-paren-mode: t
  display-time-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
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  line-number-mode: t
  abbrev-mode: t

Recent input:
l o <tab> a <tab> . c <return> <next> <next> <prior> 
<next> <next> M-z M-z M-z M-z M-z M-z M-z M-z <C-home> 
C-x C-x <C-next> <C-next> <C-next> <C-next> <C-next> 
<C-next> <C-next> <C-next> <C-next> <C-next> <C-next> 
<C-next> C-x 4 f <backspace> <backspace> <backspace> 
<backspace> u p t <tab> i m e . c <return> C-x <return> 
f u n i <tab> <return> <M-end> <C-home> <down> <down> 
<down> <down> <down> <down> <up> <up> <down> C-SPC 
<down> <down> <down> <down> <down> M-w <M-home> C-y 
<up> <up> C-k C-k <up> <up> <up> <return> <up> M-; 
R e p o r t SPC t h e SPC s y s t e m SPC <backspace> 
' s SPC u p - t i m e . SPC <M-left> <down> <return> 
<C-end> <return> i n t <return> m a i n SPC ( v o i 
d ) <return> { <return> } <up> <M-end> C-x C-x C-u 
C-SPC C-u C-SPC C-z C-z C-z C-z C-z C-z C-z C-z C-z 
<M-home> <return> <backspace> <return> <tab> <tab> 
C-j <backspace> <tab> d <tab> <backspace> <up> <up> 
<up> <up> <up> <up> <up> <up> <up> <up> C-SPC <C-end> 
<return> <return> <up> <up> <up> <tab> <down> <down> 
<down> f o o SPC ( <backspace> <backspace> <backspace> 
<backspace> <backspace> i n t SPC f o o SPC ( b a r 
) <return> { <return> <tab> <tab> <tab> <up> <up> <up> 
<C-end> C-w <help-echo> <up> <up> SPC SPC U L A M-/ 
<M-end> <prior> <prior> <prior> <next> <next> <prior> 
<prior> <next> <next> <next> <prior> <prior> <prior> 
<next> <next> <next> <next> <M-home> SPC s u m , SPC 
t e m ; <return> <up> SPC SPC <down> <tab> <M-end> 
C-x b C-g <help-echo> <help-echo> <help-echo> <help-echo> 
<switch-frame> <switch-frame> <help-echo> <help-echo> 
<switch-frame> M-x r e p o <tab> t <tab> <backspace> 
r t <tab> <return>

Recent messages:
Making completion list...
Mark set
(New file)
Mark set [7 times]
Auto-saving...done
Scanning for dabbrevs...100%
Expansion found in 'getloadavg.c'
Auto-saving...done
Quit
Making completion list...

Load-path shadows:
None found.

Features:
(crm thingatpt python-21 python quail rmailedit find-func cl-specs
edebug vc-dir ewoc vc cl cl-19 tramp-imap epa derived epg epg-config
imap-hash imap assoc tramp-gw tramp-fish tramp-cache tramp-ftp
tramp-cmds tramp shell format-spec tramp-compat trampver debug
cus-edit cus-start cus-load tabify pp texinfo shadow emacsbug rmailmm
vc-dispatcher add-log tar-mode mule-util ebuff-menu electric vc-bzr
help-mode view rmailout dabbrev multi-isearch auth-source message
ecomplete rfc822 mml mml-sec password-cache mm-decode mm-bodies
mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums
nnheader gnus-util netrc mm-util mail-prsvr gmm-utils wid-edit
mailheader canlock sha1 hex-util hashcash smtpmail mailalias
mailabbrev sendmail conf-mode newcomment ld-script sh-script
executable dired-x dired-aux dired tcl generic nxml-uchnm rng-xsd
xsd-regexp rng-cmpct rng-nxml rng-valid rng-loc rng-uri rng-parse
nxml-parse rng-match rng-dt rng-util rng-pttrn nxml-ns nxml-mode
nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc xmltok sgml-mode
arc-mode archive-mode jka-compr make-mode cc-mode cc-fonts cc-menus
cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs regexp-opt gud
comint ring parse-time vc-cvs org-wl org-w3m org-vm org-rmail org-mhe
org-mew org-irc org-jsinfo org-infojs org-html org-exp org-exp-blocks
org-agenda org-info org-gnus org-bibtex org-bbdb org byte-opt bytecomp
byte-compile advice help-fns advice-preload org-footnote org-src
org-list org-faces org-compat org-macs time-date noutline outline
easy-mmode info easymenu flyspell ispell rmailsum rmail mail-utils
desktop server filecache saveplace generic-x paren battery time
tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table
ls-lisp w32-win w32-vars 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 multi-tty
emacs)






reply via email to

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