unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: emacs-pretest-bug@gnu.org
Subject: bug#5389: 23.1.91; Indentation broken in CC Mode
Date: Fri, 15 Jan 2010 17:52:54 +0200	[thread overview]
Message-ID: <83iqb374bt.fsf@gnu.org> (raw)

 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	other threads:[~2010-01-15 15:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <83my0fck9u.fsf@gnu.org>
2010-01-15 15:52 ` Eli Zaretskii [this message]
2010-01-15 17:15   ` bug#5389: 23.1.91; Indentation broken in CC Mode Jan Djärv
2010-01-15 18:11   ` bug#5389: marked as done (23.1.91; Indentation broken in CC Mode) Emacs bug Tracking System

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=83iqb374bt.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-pretest-bug@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 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).