GNU bug report logs -
#1756
awk-mode: An empty line is not a paragraph separator (should be)
Previous Next
Reported by: Teemu Likonen <tlikonen <at> iki.fi>
Date: Thu, 1 Jan 2009 08:35:04 UTC
Severity: normal
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Hi again, Teemu!
On Thu, Jan 01, 2009 at 10:27:17AM +0200, Teemu Likonen wrote:
[ .... ]
> There is another and related bug. It is possible to configure the
> comment prefix regexp with the option c-comment-prefix-regexp. But the
> problem is that the option only takes effect when awk-mode is turned
> on. If user later changes indentation style with the command
> c-set-style (bound to C-c .) then it seems that the hard-coded default
> (#+) takes preference over user's c-comment-prefix-regexp settings.
Can you give me precise recipe to reproduce this, please. It worked OK
for me when I tried it. When I did the following:
(i) M-: (setcdr (cadr c-comment-prefix-regexp) "#*") ; Changes the entry
; from (awk . "#+") to (awk . "#*")
(ii) C-c . <CR> awk ; from within an AWK buffer
, M-: paragraph-start gave me "[ \t]*\\(#*\\)[ \t]*$\\|^\f"
^^
which has incorporated the new value from c-comment-prefix-regexp.
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 15 years and 247 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.