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

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

bug#2927: C++ indentation bug


From: Davin Pearson
Subject: bug#2927: C++ indentation bug
Date: Wed, 8 Apr 2009 15:03:15 +1200

Please ignore the previously sent bug report (see below) as the bug
mysteriously vanished, leaving me with no bug.

2009/4/8 Davin Pearson <davin.pearson@gmail.com>:
> The following code does not indent correctly.  Note that
> the line that says std::cout has the wrong indentation.
>
> int main()
> {
>   int j = static_cast<int>(f);
> std::cout << "j=" << j << '\n';
> }
>
> If Emacs crashed, and you have the Emacs process in the gdb debugger,
> please include the output from the following gdb commands:
>    `bt full' and `xbacktrace'.
> If you would like to further debug the crash, please read the file
> d:/Program Files/emacs-22.2/etc/DEBUG for instructions.
>
>
> In GNU Emacs 22.2.1 (i386-mingw-nt5.1.2600)
>  of 2008-03-27 on RELEASE
> 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: ENZ
>  locale-coding-system: cp1252
>  default-enable-multibyte-characters: t
>
> Major mode: C++/l
>
> Minor modes in effect:
>  recentf-mode: t
>  tabbar-mode: t
>  display-time-mode: t
>  show-paren-mode: t
>  encoded-kbd-mode: t
>  tooltip-mode: t
>  tool-bar-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
>  unify-8859-on-encoding-mode: t
>  utf-translate-cjk-mode: t
>  auto-compression-mode: t
>  column-number-mode: t
>  line-number-mode: t
>  abbrev-mode: t
>
> Recent input:
> <S-left> <S-left> <S-right> <right> <delete> <delete>
> ( <left> <S-left> <S-right> <S-left> <down> <tab> <up>
> <up> <C-tab> <M-f1> <C-tab> <C-home> C-y C-k C-k C-k
> C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k
> <f4> <C-home> <down> <down> C-k C-k C-k C-k C-k <down>
> <down> <down> <down> <down> <down> <down> <down> <down>
> <down> <down> <tab> <down> <tab> <down> <tab> <down>
> <tab> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <up> <down> <down> <down> <down> <down> <down>
> <down> <down> <down> <down> <down> <down> <tab> <home>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
> <up> <end> <home> C-k C-k C-k C-k C-k C-k <down> <down>
> <down> <down> <down> <down> <tab> <tab> <tab> <up>
> <tab> <up> <tab> <up> <up> <up> <up> <up> <home> C-k
> C-k C-k <tab> <down> <tab> <down> <tab> <down> <tab>
> <down> <tab> <down> <tab> <delete> <delete> <up> <tab>
> <up> <up> <up> <up> <up> <up> <up> <up> <up> C-k <delete>
> <down> <tab> <down> <tab> <down> <tab> <down> <tab>
> <down> <tab> <down> <tab> <down> <tab> <left> <left>
> <S-left> <up> <tab> <up> <up> <end> <home> <tab> /
> / <down> <down> <tab> <up> <up> <up> <S-left> / / <down>
> <down> <down> <tab> <tab> <up> <up> <up> <up> <S-left>
> / / <tab> <down> <down> <down> <tab> <S-left> / / <tab>
> <down> <tab> <home> <up> <tab> <delete> <delete> <tab>
> <down> <tab> <tab> <up> <up> <down> <down> <up> <up>
> <up> <up> <end> <home> C-k C-k C-k <tab> <down> <tab>
> <tab> <up> <end> <left> <S-left> <S-left> <home> <down>
> <tab> <down> <tab> <tab> <down> <left> <S-left> <left>
> <up> <up> <up> <up> <up> <left> <S-delete> <S-delete>
> <S-delete> <S-delete> <S-delete> <S-delete> <tab> <down>
> <tab> <tab> <down> <delete> <f8> <f8> <f8> <f8> <f8>
> <f8> <f8> <f8> <down> <down> <tab> <down> <tab> <down>
> <f2> <help-echo> M-x r e p o r t <tab> e <backspace>
> <return>
>
> Recent messages:
> Copied buffer to clipboard
> Mark set [2 times]
> ad-Orig-kill-line: End of buffer [6 times]
> Mark set
> Auto-saving...done
> Undo! [8 times]
> Saving some buffers
> Wrote d:/home/3-libd/2006/libd/tests/t-125-emacs-bug.cc
> Wrote d:/home/3-libd/2006/libd/tests/t-124-enum.cc
> Loading emacsbug...done
>
>
> --
> Sincerely and kindest regards, Davin.
> Davin Pearson    http://www.davinpearson.com
>



-- 
Sincerely and kindest regards, Davin.
Davin Pearson    http://www.davinpearson.com







reply via email to

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