unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#12274: 24.2; awk-mode indentation failure
@ 2012-08-25  5:59 Leo
  0 siblings, 0 replies; 5+ messages in thread
From: Leo @ 2012-08-25  5:59 UTC (permalink / raw)
  To: 12274; +Cc: bug-cc-mode

1. Emacs -q and change to a new buffer
2. M-x awk-mode
3. Type: NR >= 3
4. Type return and then tab to indent

The newline is indented.

AWK mode fails to recognise NR >= 3 as a pattern-action pair where
action is omitted. Statements in awk need no ; to terminate.

Leo





^ permalink raw reply	[flat|nested] 5+ messages in thread
* bug#13541: 24.2.92; awk-mode: wrong font locking regexp literals
@ 2013-01-24 11:43 Leo Liu
       [not found] ` <b5ehhajuzy.fsf@fencepost.gnu.org>
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Liu @ 2013-01-24 11:43 UTC (permalink / raw)
  To: 13541; +Cc: bug-cc-mode

[-- Attachment #1: Type: text/plain, Size: 214 bytes --]

In an awk buffer having the following text:

#--BEGIN--
NF { /xyz/ }

NF {
    /xyz/
}
#--END--

I have the second regexp properly font-locked but not the first one.

(tested in GNU Emacs 24.2.92.1 of 2013-01-13)


[-- Attachment #2: awk-mode-bug.png --]
[-- Type: image/png, Size: 6820 bytes --]

[-- Attachment #3: Type: text/plain, Size: 5 bytes --]


Leo

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

end of thread, other threads:[~2013-01-25 19:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-25  5:59 bug#12274: 24.2; awk-mode indentation failure Leo
  -- strict thread matches above, loose matches on Subject: below --
2013-01-24 11:43 bug#13541: 24.2.92; awk-mode: wrong font locking regexp literals Leo Liu
     [not found] ` <b5ehhajuzy.fsf@fencepost.gnu.org>
2013-01-24 22:16   ` Alan Mackenzie
2013-01-25  1:20     ` Leo Liu
2013-01-25  8:44       ` bug#12274: 24.2; awk-mode indentation failure Alan Mackenzie
2013-01-25 12:58         ` Stefan Monnier
2013-01-25 17:33         ` Glenn Morris
2013-01-25 19:17         ` Alan Mackenzie

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).