From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rrt@sc3d.org Newsgroups: gmane.emacs.bugs Subject: bug#5706: 23.1; Comments incorrectly detected in autoconf mode Date: Thu, 11 Mar 2010 15:34:20 -0000 Message-ID: <1268321660.243500.25019@canta> NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1268322889 31804 80.91.229.12 (11 Mar 2010 15:54:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 11 Mar 2010 15:54:49 +0000 (UTC) To: 5706@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Mar 11 16:54:45 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Npkii-0000iA-FO for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Mar 2010 16:54:44 +0100 Original-Received: from localhost ([127.0.0.1]:51893 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Npkih-0004Os-OR for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Mar 2010 10:54:43 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Npkic-0004OL-N9 for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2010 10:54:38 -0500 Original-Received: from [140.186.70.92] (port=35853 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Npkib-0004NV-Ju for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2010 10:54:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Npkia-0003DA-LA for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2010 10:54:37 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39804) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Npkia-0003Cy-JY for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2010 10:54:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NpkPe-0000st-Go; Thu, 11 Mar 2010 10:35:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: rrt@sc3d.org Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Mar 2010 15:35:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-GNU-PR-Message: report 5706 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.12683216853390 (code B ref -1); Thu, 11 Mar 2010 15:35:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 11 Mar 2010 15:34:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NpkPM-0000sd-Lx for submit@debbugs.gnu.org; Thu, 11 Mar 2010 10:34:45 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NpkPK-0000sY-5Z for submit@debbugs.gnu.org; Thu, 11 Mar 2010 10:34:42 -0500 Original-Received: from mail.gnu.org ([199.232.76.166]:34969 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NpkPF-0001Sy-1y for submit@debbugs.gnu.org; Thu, 11 Mar 2010 10:34:37 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NpkPB-0003k6-Go for submit@debbugs.gnu.org; Thu, 11 Mar 2010 10:34:35 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:45435) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NpkPB-0003jq-94 for submit@debbugs.gnu.org; Thu, 11 Mar 2010 10:34:33 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NpkPA-0001lM-LF for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2010 10:34:32 -0500 Original-Received: from [140.186.70.92] (port=33928 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NpkP9-0001kZ-5O for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2010 10:34:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NpkP7-0000qI-4p for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2010 10:34:30 -0500 Original-Received: from exprod7og109.obsmtp.com ([64.18.2.171]:40375) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1NpkP6-0000q5-UN for bug-gnu-emacs@gnu.org; Thu, 11 Mar 2010 10:34:29 -0500 Original-Received: from source ([209.85.218.219]) by exprod7ob109.postini.com ([64.18.6.12]) with SMTP ID DSNKS5kNgPYQQIe7iX1Pz8Jzz3p76ncLsen+@postini.com; Thu, 11 Mar 2010 07:34:28 PST Original-Received: by mail-bw0-f219.google.com with SMTP id 19so169921bwz.6 for ; Thu, 11 Mar 2010 07:34:24 -0800 (PST) Original-Received: by 10.204.9.6 with SMTP id j6mr497834bkj.37.1268321663417; Thu, 11 Mar 2010 07:34:23 -0800 (PST) Original-Received: from canta (93-96-139-152.zone4.bethere.co.uk [93.96.139.152]) by mx.google.com with ESMTPS id l1sm298237bkl.2.2010.03.11.07.34.18 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 11 Mar 2010 07:34:20 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 11 Mar 2010 10:35:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:35520 Archived-At: A hash character does not always introduce a comment in autoconf code, but autoconf-mode always colors if as if it did. Unfortunately, I cannot really tell from the autoconf manual what the rules are. I suspect that # does not start a comment if it is inside [...] quotes, but I guess this should be checked. In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-10 on vernadsky, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.10604000 configured using `configure '--build=i486-linux-gnu' '--host=i486-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/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Autoconf Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t show-paren-mode: t savehist-mode: t minibuffer-electric-default-mode: t iswitchb-mode: t icomplete-mode: t global-auto-revert-mode: t desktop-save-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-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 Recent input: C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-s p c r e _ m a k e C-a C-p C-p C-p C-p C-p C-n C-n C-n C-n C-n C-n C-n C-n C-n C-x b C-x C-s SPC SPC ] C-/ ) ] C-x C-s C-x C-s M-x r e p o r t b = - - e m a c s - b u g Recent messages: Mark saved where search started [2 times] Saving file /home/rrt/repo/grep-dlopen-pcre/configure.ac... Wrote /home/rrt/repo/grep-dlopen-pcre/configure.ac Auto-saving...done Undo! Saving file /home/rrt/repo/grep-dlopen-pcre/configure.ac... Wrote /home/rrt/repo/grep-dlopen-pcre/configure.ac Saving file /home/rrt/repo/grep-dlopen-pcre/configure.ac... Wrote /home/rrt/repo/grep-dlopen-pcre/configure.ac Reverting buffer `configure'.