From: Davin Pearson <davin.pearson@gmail.com>
To: bug-gnu-emacs@gnu.org
Subject: bug#2927: C++ indentation bug
Date: Wed, 8 Apr 2009 15:03:15 +1200 [thread overview]
Message-ID: <8d7d1e6d0904072003l7cc1ac0bx1084c1d99b6cb8e0@mail.gmail.com> (raw)
In-Reply-To: <8d7d1e6d0904072000x6b3399fcu26d2e076a6fbf4dd@mail.gmail.com>
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
next prev parent reply other threads:[~2009-04-08 3:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-08 3:00 bug#2926: C++ indentation bug Davin Pearson
2009-04-08 3:03 ` Davin Pearson [this message]
2009-04-08 8:40 ` bug#2927: " 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=8d7d1e6d0904072003l7cc1ac0bx1084c1d99b6cb8e0@mail.gmail.com \
--to=davin.pearson@gmail.com \
--cc=2927@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@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.