From: Kevin Brubeck Unhammer <unhammer@fsfe.org>
To: 15822@debbugs.gnu.org
Subject: bug#15822: 24.3; autoconf mode uncomments every other line
Date: Wed, 06 Nov 2013 10:27:49 +0100 [thread overview]
Message-ID: <87r4atg9re.fsf@fsfe.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 2864 bytes --]
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
[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]
next reply other threads:[~2013-11-06 9:27 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-11-06 9:27 Kevin Brubeck Unhammer [this message]
2013-11-08 7:37 ` bug#15822: 24.3; autoconf mode uncomments every other line Glenn Morris
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=87r4atg9re.fsf@fsfe.org \
--to=unhammer@fsfe.org \
--cc=15822@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).