emacs-devel
[Top][All Lists]
Advanced

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

CC Mode 5.30.1 (Message); new cc-awk mode indentation wrong after ++


From: Miles Bader
Subject: CC Mode 5.30.1 (Message); new cc-awk mode indentation wrong after ++
Date: 04 Jul 2003 10:28:34 +0900

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"




reply via email to

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