all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* CC Mode 5.30.1 (Message); new cc-awk mode indentation wrong after ++
@ 2003-07-04  1:28 Miles Bader
  2003-07-06 15:02 ` Alan Mackenzie
  0 siblings, 1 reply; 10+ messages in thread
From: Miles Bader @ 2003-07-04  1:28 UTC (permalink / raw)
  Cc: emacs-devel


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"

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-07-10  2:09 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-07-04  1:28 CC Mode 5.30.1 (Message); new cc-awk mode indentation wrong after ++ Miles Bader
2003-07-06 15:02 ` 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

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.