unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: 15822-done@debbugs.gnu.org
Subject: bug#15822: 24.3; autoconf mode uncomments every other line
Date: Fri, 08 Nov 2013 02:37:17 -0500	[thread overview]
Message-ID: <q738n71h02.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87r4atg9re.fsf@fsfe.org> (Kevin Brubeck Unhammer's message of "Wed, 06 Nov 2013 10:27:49 +0100")

Version: 24.4

Thanks for the report. Hopefully this fixes it:

*** lisp/progmodes/autoconf.el	2013-05-08 16:27:53 +0000
--- lisp/progmodes/autoconf.el	2013-11-08 07:34:02 +0000
***************
*** 79,85 ****
    (setq-local parens-require-spaces nil) ; for M4 arg lists
    (setq-local defun-prompt-regexp "^[ \t]*A[CM]_\\(\\sw\\|\\s_\\)+")
    (setq-local comment-start "dnl ")
!   (setq-local comment-start-skip "\\(?:\\(\\W\\|\\`\\)dnl\\|#\\) +")
    (setq-local syntax-propertize-function
  	      (syntax-propertize-rules ("\\<dnl\\>" (0 "<"))))
    (setq-local font-lock-defaults
--- 79,86 ----
    (setq-local parens-require-spaces nil) ; for M4 arg lists
    (setq-local defun-prompt-regexp "^[ \t]*A[CM]_\\(\\sw\\|\\s_\\)+")
    (setq-local comment-start "dnl ")
!   ;; We want to avoid matching "dnl" in other text.
!   (setq-local comment-start-skip "\\(?:\\(\\W\\|^\\)dnl\\|#\\) +")
    (setq-local syntax-propertize-function
  	      (syntax-propertize-rules ("\\<dnl\\>" (0 "<"))))
    (setq-local font-lock-defaults






      reply	other threads:[~2013-11-08  7:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-06  9:27 bug#15822: 24.3; autoconf mode uncomments every other line Kevin Brubeck Unhammer
2013-11-08  7:37 ` Glenn Morris [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=q738n71h02.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=15822-done@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).