From: Miles Bader <miles@lsi.nec.co.jp>
Cc: emacs-devel@gnu.org
Subject: CC Mode 5.30.1 (Message); new cc-awk mode indentation wrong after ++
Date: 04 Jul 2003 10:28:34 +0900 [thread overview]
Message-ID: <buo65mjaxml.fsf@mcspd15.ucom.lsi.nec.co.jp> (raw)
The new cc-awk mode seems to indent incorrectly on lines following a
suffix `++' operator, e.g., the following is indented by the new
awk-mode:
{
h++
print "foo"
print "bar"
}
[This mode is generally brilliant, by the way -- now I can finally
trust emacs to indent my awk programs, which simply wasn't possible
before!]
Thanks,
-Miles
Emacs : GNU Emacs 21.3.50.270 (i686-pc-linux-gnu)
of 2003-07-04 on mcspd15
Package: CC Mode 5.30.1 (Message)
Buffer Style: nil
c-emacs-features: (posix-char-classes pps-extended-state col-0-paren gen-string-delim gen-comment-delim syntax-properties 1-bit)
current state:
==============
(setq
c-basic-offset 'set-from-style
c-comment-only-line-offset '(0 . 0)
c-indent-comment-alist 'set-from-style
c-indent-comments-syntactically-p 'set-from-style
c-block-comment-prefix ""
c-comment-prefix-regexp 'set-from-style
c-doc-comment-style 'set-from-style
c-cleanup-list 'set-from-style
c-hanging-braces-alist 'set-from-style
c-hanging-colons-alist 'set-from-style
c-hanging-semi&comma-criteria 'set-from-style
c-backslash-column 78
c-backslash-max-column 78
c-special-indent-hook nil
c-label-minimum-indentation 'set-from-style
c-offsets-alist nil
c-buffer-is-cc-mode nil
c-tab-always-indent nil
c-syntactic-indentation t
c-syntactic-indentation-in-macros t
c-ignore-auto-fill '(string cpp code)
c-auto-align-backslashes t
c-backspace-function 'backward-delete-char-untabify
c-delete-function 'delete-char
c-electric-pound-behavior nil
c-default-style '((java-mode . "java") (other . "gnu"))
c-enable-xemacs-performance-kludge-p nil
c-old-style-variable-behavior nil
defun-prompt-regexp nil
tab-width 8
comment-column 32
parse-sexp-ignore-comments t
parse-sexp-lookup-properties t
auto-fill-function 'do-auto-fill
comment-multi-line nil
comment-start-skip nil
fill-prefix nil
fill-column 72
paragraph-start "$\\|[ ]*$\\|-- $\\|---+$\\|^\f$\\|.*wrote:$\\|[ ]*\\(\\(> \\|\\w+>\\|[|:>]\\)[ ]*\\)+$\\|^-- $"
adaptive-fill-mode t
adaptive-fill-regexp "[ ]*\\(\\(> \\|\\w+>\\|[|:>]\\)[ ]*\\)+\\|[ ]*\\([-!|#%;>*]+[ ]*\\|(?[0-9]+[.)][ ]*\\)*"
)
--
"1971 pickup truck; will trade for guns"
next reply other threads:[~2003-07-04 1:28 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-07-04 1:28 Miles Bader [this message]
2003-07-06 15:02 ` CC Mode 5.30.1 (Message); new cc-awk mode indentation wrong after ++ Alan Mackenzie
2003-07-07 3:39 ` Richard Stallman
2003-07-07 7:44 ` Alan Mackenzie
2003-07-08 14:28 ` Richard Stallman
2003-07-08 15:41 ` Stefan Monnier
2003-07-08 23:36 ` Miles Bader
2003-07-09 11:03 ` Martin Stjernholm
2003-07-09 23:47 ` Richard Stallman
2003-07-10 2:09 ` Miles Bader
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=buo65mjaxml.fsf@mcspd15.ucom.lsi.nec.co.jp \
--to=miles@lsi.nec.co.jp \
--cc=emacs-devel@gnu.org \
--cc=miles@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).