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

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

awk-mode comment disabilities


From: Dan Jacobson
Subject: awk-mode comment disabilities
Date: 02 Jun 2001 04:18:02 +0800
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Take a file.awk
{
a=1
a=2
a=3
a=b;a=c
a=4
a=5
}
put the cursor at beginning of file, check C-h b for what smart
indenting commands are available:
C-c C-q           c-indent-defun
ESC C-q           c-indent-exp
try them out.  Nothing happens. Now do C-o to make a new blank line at
the top of file.  Try them again, wow:
{
    a=1
        a=2
        a=3
        a=b;a=c
                a=4
                a=5
                }
awk mode shouldn't so rawly bind these c-mode functions.  By the way,
these functions give the message "indenting region...done" which is
incorrect, as that is the job of a different command.  They should say
"indenting defun...done", "indenting exp...done".
-- 
http://www.geocities.com/jidanni Tel886-4-25854780 e-mail:restore .com.



reply via email to

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