GNU bug report logs -
#15822
24.3; autoconf mode uncomments every other line
Previous Next
Reported by: Kevin Brubeck Unhammer <unhammer <at> fsfe.org>
Date: Wed, 6 Nov 2013 17:36:03 UTC
Severity: normal
Tags: confirmed
Found in version 24.3
Fixed in version 24.4
Done: Glenn Morris <rgm <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15822 in the body.
You can then email your comments to 15822 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#15822
; Package
emacs
.
(Wed, 06 Nov 2013 17:36:03 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Kevin Brubeck Unhammer <unhammer <at> fsfe.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 06 Nov 2013 17:36:03 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Run emacs -Q /tmp/configure.ac, paste in the following lines:
AC_DEFUN([FOO_DEP],
dnl AC_ARG_WITH([lang$1],
dnl [
dnl AS_HELP_STRING([--with-lang$1],
dnl [Source directory for $2, otherwise uses installed files])
dnl ],
dnl [
dnl SRC$1=$withval
dnl echo "Using $2 from $SRC$1"
dnl ],
dnl [
dnl PKG_CHECK_MODULES([$2], [$2])
dnl SRC1=`pkg-config --variable=srcdir $2`
dnl ])
)
then mark the dnl-ed lines, and do M-x uncomment-region.
Expected result:
AC_DEFUN([FOO_DEP],
AC_ARG_WITH([lang$1],
[
AS_HELP_STRING([--with-lang$1],
[Source directory for $2, otherwise uses installed files])
],
[
SRC$1=$withval
echo "Using $2 from $SRC$1"
],
[
PKG_CHECK_MODULES([$2], [$2])
SRC1=`pkg-config --variable=srcdir $2`
])
)
Actual result:
AC_DEFUN([FOO_DEP],
dnl AC_ARG_WITH([lang$1],
[
dnl AS_HELP_STRING([--with-lang$1],
[Source directory for $2, otherwise uses installed files])
dnl ],
[
dnl SRC$1=$withval
echo "Using $2 from $SRC$1"
dnl ],
[
dnl PKG_CHECK_MODULES([$2], [$2])
SRC1=`pkg-config --variable=srcdir $2`
dnl ])
)
In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2013-07-27 on roseapple, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11403000
System Description: Ubuntu 13.10
Configured using:
`configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu'
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var/lib' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes'
'--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp'
'--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes'
'--with-x-toolkit=lucid' '--with-toolkit-scroll-bars' '--without-gconf'
'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall'
'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'
'CPPFLAGS=-D_FORTIFY_SOURCE=2''
Important settings:
value of $LANG: nn_NO.UTF-8
locale-coding-system: utf-8
default enable-multibyte-characters: t
Major mode: Autoconf
Minor modes in effect:
diff-auto-refine-mode: t
shell-dirtrack-mode: t
recentf-mode: t
display-time-mode: t
show-paren-mode: t
cua-mode: t
tooltip-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
--
Kevin Brubeck Unhammer
GPG: 0x766AC60C
[Message part 2 (application/pgp-signature, inline)]
Added tag(s) confirmed.
Request was from
Glenn Morris <rgm <at> gnu.org>
to
control <at> debbugs.gnu.org
.
(Wed, 06 Nov 2013 17:46:02 GMT)
Full text and
rfc822 format available.
Reply sent
to
Glenn Morris <rgm <at> gnu.org>
:
You have taken responsibility.
(Fri, 08 Nov 2013 07:38:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Kevin Brubeck Unhammer <unhammer <at> fsfe.org>
:
bug acknowledged by developer.
(Fri, 08 Nov 2013 07:38:04 GMT)
Full text and
rfc822 format available.
Message #12 received at 15822-done <at> debbugs.gnu.org (full text, mbox):
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
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 06 Dec 2013 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 11 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.