Stefan Kangas <stefan@HIDDEN>
to control <at> debbugs.gnu.org
.
Full text available.Received: (at 5706) by debbugs.gnu.org; 19 Nov 2020 14:51:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 19 09:51:21 2020 Received: from localhost ([127.0.0.1]:38697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kflHN-00032G-3B for submit <at> debbugs.gnu.org; Thu, 19 Nov 2020 09:51:21 -0500 Received: from mail-ed1-f43.google.com ([209.85.208.43]:45615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1kflHK-00031j-Nk for 5706 <at> debbugs.gnu.org; Thu, 19 Nov 2020 09:51:19 -0500 Received: by mail-ed1-f43.google.com with SMTP id q3so6072786edr.12 for <5706 <at> debbugs.gnu.org>; Thu, 19 Nov 2020 06:51:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=sJ23n2VOJlqfyM5Ktlf0jrZzldBHdhbrgo6OD3fZAeY=; b=Apet+PLiFWLrmnE3Ifsf7XWd0D8sCbZIsHIuurc5d12CZ063PWwAamTUJimmEK8saq khS1mgvvfV2X4Ovv2r1aVOh+zDlwheJJAn594RP61i/KQusoAnQ/kpGfw4zbvXiMBCjl hQBEzVFHanK6bTVU5r8hNLLe8HnVde7ROwtXrJeqlrm3kQhd4uDZ5CoBYoXHA4RhxBuR 8/DxbcDLXwEFNCvVnMS+HY39RtwFASAK8/RD7c+N0W+GBt6O5hw0mpzY9m4esGV46da4 DOAaKCEb9WSxxmMkG/l9q/oShl77q95AhngpI4DPQ0moQIGhkR/xbARS6NKqjSvfOrLr 1okA== X-Gm-Message-State: AOAM533Qk6OjGGvo+1PfSAS7aEII+3vbR+x6pzc/Af2ZDWjAv6q8SfRm kp7u/ucQXFtxBpnsQidjWS0xvoaxWMDY6bSr68uXfceIZmg= X-Google-Smtp-Source: ABdhPJzH6qP4rjWx1RtCF7uDK4vd7MVaDxkxAUhfSa8RmomKMUw9JYWs9WjpFGboHaDdsg3x9HUkKr8ZbMauvndRlYc= X-Received: by 2002:a50:e443:: with SMTP id e3mr31987204edm.160.1605797473044; Thu, 19 Nov 2020 06:51:13 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 19 Nov 2020 06:51:12 -0800 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <CAOnWdohXVQe4PGj3zdR5MSv7jeDcQj1iomdUf81NzgzJpSyFSw@HIDDEN> References: <1268321660.243500.25019@canta> <CADwFkm=wwFAcPxMjBUc0YDpeYbZ8NUAZP_UNa9ucKoBekbfB2A@HIDDEN> <CAOnWdohXVQe4PGj3zdR5MSv7jeDcQj1iomdUf81NzgzJpSyFSw@HIDDEN> MIME-Version: 1.0 Date: Thu, 19 Nov 2020 06:51:12 -0800 Message-ID: <CADwFkmnQDby3FYV-L7Do4HiaSACg83o9oTTNJgtjZhvR9_AgiQ@HIDDEN> Subject: Re: bug#5706: 23.1; Comments incorrectly detected in autoconf mode To: Reuben Thomas <rrt@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 5706 Cc: 5706 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) tags 5706 + confirmed thanks Reuben Thomas <rrt@HIDDEN> writes: > On Thu, 19 Nov 2020 at 03:12, Stefan Kangas <stefan@HIDDEN> wrote: > >> rrt@HIDDEN writes: >> >> > 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. >> >> (This bug was reported 10 years ago, but unfortunately never got a reply >> at the time.) >> >> Could you give an example of some autoconf code where you believe the >> hash character is incorrectly identified as a comment? >> > > A quick bit of grepping finds the in XEmacs's configure.ac. Note in > particular the contents of the first argument to AC_LANG_PROGRAM: > > AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <features.h>],[ > #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) > #error Not a GNU libc system :-( > ******* ======= ******** &&&&&&&& > #endif > ])], have_glibc=yes, have_glibc=no) Thanks. I see the same on current master using the configure.ac from Emacs. It incorrectly uses `font-lock-comment-face' for the entire line after "langinfo.h" below: AC_CACHE_CHECK([for nl_langinfo and CODESET], [emacs_cv_langinfo_codeset], [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <langinfo.h>]],
bug-gnu-emacs@HIDDEN
:bug#5706
; Package emacs
.
Full text available.Received: (at 5706) by debbugs.gnu.org; 19 Nov 2020 07:37:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 19 02:37:36 2020 Received: from localhost ([127.0.0.1]:38001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kfeVc-0002d5-66 for submit <at> debbugs.gnu.org; Thu, 19 Nov 2020 02:37:36 -0500 Received: from mail-oo1-f51.google.com ([209.85.161.51]:41265) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rrt@HIDDEN>) id 1kfeVX-0002cp-JS for 5706 <at> debbugs.gnu.org; Thu, 19 Nov 2020 02:37:35 -0500 Received: by mail-oo1-f51.google.com with SMTP id 123so1111437ooi.8 for <5706 <at> debbugs.gnu.org>; Wed, 18 Nov 2020 23:37:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sc3d.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6AItUqwoqq+d4HXAtDCjd4nY4YTJsyJk1k44f/gtg6w=; b=ItSF84wBu1KnTWwoGx4opLxn4X9sdnkHx9NTD5H4AvImxVzgtjJgqVoqqqvHKqo5m0 Ec/4IYRK/9hrfL8G/JjItakkS8+rjP95Go7oiLBpixzz27bF3YsDrW7Zy7yJdTxh6KgL VVlongIFOqiiHT8CEJ34gixFsxQb/oIkfBHkA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6AItUqwoqq+d4HXAtDCjd4nY4YTJsyJk1k44f/gtg6w=; b=l9Uz7n+rxHYcOO8h5aLepv0mO6x2PJnfs9xV8aoItYXi8zhIc7OJrPot7SogH4g5gN gkR/5S2jpG1i04gveRUoGUGEMynRGgEaHnRnOLjhv01I0CRAeuD5/CAcaIZYSx/glRmW BUZIWSFEeN9fdNQ3H5ffFhPDE5jb2DI+7nzv7FYQruk02RHCqtPHs+UteLggfPJZXwNR ohKnfJkrDzzGtPa68+Rf3Q9u8hwYL63CGYk/9nCsJv0AqRmkyhA8j3R7LjuPf07rct7L hNErlUNLQBO902gfdevQmJYj2nRf/0R1RU36RdzWTS0npcfbvUsy2sIMyGDRGbrGInAe /9ww== X-Gm-Message-State: AOAM530ufZHw9pwVGAhioKz59Lv9MGP9uE2cdBF/6QSRpcjatJibW3f9 G73ias5r2Q0rN3SnZhYeLSZzMuLBKeROO3rPpbJp3ZYfLOEcnQ== X-Google-Smtp-Source: ABdhPJyJsMmphlmaAX+i5qEgY3PiGnsO6c9tM90B2Uw+4IvVirPZSF8lOi1Xi8TAUsSSf22AGE45UxiRiOFxoNNI4Z8= X-Received: by 2002:a4a:9486:: with SMTP id k6mr9382977ooi.85.1605771445709; Wed, 18 Nov 2020 23:37:25 -0800 (PST) MIME-Version: 1.0 References: <1268321660.243500.25019@canta> <CADwFkm=wwFAcPxMjBUc0YDpeYbZ8NUAZP_UNa9ucKoBekbfB2A@HIDDEN> In-Reply-To: <CADwFkm=wwFAcPxMjBUc0YDpeYbZ8NUAZP_UNa9ucKoBekbfB2A@HIDDEN> From: Reuben Thomas <rrt@HIDDEN> Date: Thu, 19 Nov 2020 07:37:14 +0000 Message-ID: <CAOnWdohXVQe4PGj3zdR5MSv7jeDcQj1iomdUf81NzgzJpSyFSw@HIDDEN> Subject: Re: bug#5706: 23.1; Comments incorrectly detected in autoconf mode To: Stefan Kangas <stefan@HIDDEN> Content-Type: multipart/alternative; boundary="0000000000009cbf1305b470cc22" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 5706 Cc: 5706 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) --0000000000009cbf1305b470cc22 Content-Type: text/plain; charset="UTF-8" On Thu, 19 Nov 2020 at 03:12, Stefan Kangas <stefan@HIDDEN> wrote: > rrt@HIDDEN writes: > > > 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. > > (This bug was reported 10 years ago, but unfortunately never got a reply > at the time.) > > Could you give an example of some autoconf code where you believe the > hash character is incorrectly identified as a comment? > A quick bit of grepping finds the in XEmacs's configure.ac. Note in particular the contents of the first argument to AC_LANG_PROGRAM: AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <features.h>],[ #if ! (defined __GLIBC__ || defined __GNU_LIBRARY__) #error Not a GNU libc system :-( ******* ======= ******** &&&&&&&& #endif ])], have_glibc=yes, have_glibc=no) -- https://rrt.sc3d.org --0000000000009cbf1305b470cc22 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail= _attr">On Thu, 19 Nov 2020 at 03:12, Stefan Kangas <<a href=3D"mailto:st= efan@HIDDEN">stefan@HIDDEN</a>> wrote:<br></div><blockquote clas= s=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid r= gb(204,204,204);padding-left:1ex"><a href=3D"mailto:rrt@HIDDEN" target=3D= "_blank">rrt@HIDDEN</a> writes:<br> <br> > A hash character does not always introduce a comment in autoconf code,= <br> > but autoconf-mode always colors if as if it did. Unfortunately, I<br> > cannot really tell from the autoconf manual what the rules are. I<br> > suspect that # does not start a comment if it is inside [...] quotes,<= br> > but I guess this should be checked.<br> <br> (This bug was reported 10 years ago, but unfortunately never got a reply<br= > at the time.)<br> <br> Could you give an example of some autoconf code where you believe the<br> hash character is incorrectly identified as a comment?<br> </blockquote></div><div><br></div><div><div style=3D"font-family:arial,helv= etica,sans-serif;font-size:small" class=3D"gmail_default">A quick bit of gr= epping finds the in XEmacs's <a href=3D"http://configure.ac">configure.= ac</a>. Note in particular the contents of the first argument to AC_LANG_PR= OGRAM:<br></div></div><div><br></div><div>AC_COMPILE_IFELSE([AC_LANG_PROGRA= M([#include <features.h>],[<br>#if ! (defined __GLIBC__ || defined __= GNU_LIBRARY__)<br>#error Not a GNU libc system :-(<br>******* =3D=3D=3D=3D= =3D=3D=3D ******** &&&&&&&&<br>#endif<br>])= ], have_glibc=3Dyes, have_glibc=3Dno)<br></div><div><br></div>-- <br><div d= ir=3D"ltr" class=3D"gmail_signature"><div dir=3D"ltr"><div><div dir=3D"ltr"= ><a href=3D"https://rrt.sc3d.org" target=3D"_blank">https://rrt.sc3d.org</a= ></div></div></div></div></div> --0000000000009cbf1305b470cc22--
bug-gnu-emacs@HIDDEN
:bug#5706
; Package emacs
.
Full text available.Received: (at 5706) by debbugs.gnu.org; 19 Nov 2020 03:12:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 18 22:12:59 2020 Received: from localhost ([127.0.0.1]:37393 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kfaNX-00064n-AI for submit <at> debbugs.gnu.org; Wed, 18 Nov 2020 22:12:59 -0500 Received: from mail-ej1-f53.google.com ([209.85.218.53]:37122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1kfaNV-00064Z-QY for 5706 <at> debbugs.gnu.org; Wed, 18 Nov 2020 22:12:58 -0500 Received: by mail-ej1-f53.google.com with SMTP id f20so5798526ejz.4 for <5706 <at> debbugs.gnu.org>; Wed, 18 Nov 2020 19:12:57 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=1kVQ6pwC2U0yhpSpWcbtOTO+YayMI28Y0ZlWNmyCtwc=; b=UGGrDlzx/EgcEdbF40y1zbkP15nuMh0rZzx5X64WsMj1l2TRVth1sLRWjHT6iA5Iz+ zbdQvSjEs7fRWdRSuh0aP84gusvFLvLiioVzwxaUHzyOwFrmNgnZq5BYMUssxsDmJKsG y4BCDW//+LdTqrgTtkKGg9/id7DSQixgVdFie83mB4oyKFqSWumquI+wYQUPCa31Lo5l wNXgHTE24qUbGTIxpTR02Cpb1zBFYR5EIolUTKjtZoSPwAqOvLmFkZQO8s20Ix73C9rf eQ2hmgWJAtaytFBPMf7L3uz3KN0sh0+syd42ETCISc0yEofsyk3Z6VhFS7grHZYnQ1kC 1CXA== X-Gm-Message-State: AOAM532khN+DPLnX8BjuMafigK8kBsuI7WPOTZxE+wX05tqVCP+sT5D6 34/YC+28GnuXajBXRJ3bDEuQidjMiMNBnITRE00= X-Google-Smtp-Source: ABdhPJytoRc9DM4rAx6DfHBomP0TymyTr4YMf+vjlKuR1NC3bnzmgSWl/PJVIfl06eZkFZKpS4fiFK2boI5EJm2nfHQ= X-Received: by 2002:a17:906:8058:: with SMTP id x24mr27330479ejw.272.1605755572122; Wed, 18 Nov 2020 19:12:52 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 18 Nov 2020 19:12:51 -0800 From: Stefan Kangas <stefan@HIDDEN> In-Reply-To: <1268321660.243500.25019@canta> (rrt@HIDDEN's message of "Thu, 11 Mar 2010 15:34:20 -0000") References: <1268321660.243500.25019@canta> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Wed, 18 Nov 2020 19:12:51 -0800 Message-ID: <CADwFkm=wwFAcPxMjBUc0YDpeYbZ8NUAZP_UNa9ucKoBekbfB2A@HIDDEN> Subject: Re: bug#5706: 23.1; Comments incorrectly detected in autoconf mode To: rrt@HIDDEN Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: 5706 Cc: 5706 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) rrt@HIDDEN writes: > 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. (This bug was reported 10 years ago, but unfortunately never got a reply at the time.) Could you give an example of some autoconf code where you believe the hash character is incorrectly identified as a comment?
bug-gnu-emacs@HIDDEN
:bug#5706
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 11 Mar 2010 15:34:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 11 10:34:45 2010 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1NpkPM-0000sd-Lx for submit <at> debbugs.gnu.org; Thu, 11 Mar 2010 10:34:45 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from <rrt@HIDDEN>) id 1NpkPK-0000sY-5Z for submit <at> debbugs.gnu.org; Thu, 11 Mar 2010 10:34:42 -0500 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 <rrt@HIDDEN>) id 1NpkPF-0001Sy-1y for submit <at> debbugs.gnu.org; Thu, 11 Mar 2010 10:34:37 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from <rrt@HIDDEN>) id 1NpkPB-0003k6-Go for submit <at> debbugs.gnu.org; Thu, 11 Mar 2010 10:34:35 -0500 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on monty-python X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=AWL,BAYES_00,NO_REAL_NAME, UNPARSEABLE_RELAY autolearn=no version=3.1.0 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 <rrt@HIDDEN>) id 1NpkPB-0003jq-94 for submit <at> debbugs.gnu.org; Thu, 11 Mar 2010 10:34:33 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NpkPA-0001lM-LF for bug-gnu-emacs@HIDDEN; Thu, 11 Mar 2010 10:34:32 -0500 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@HIDDEN; Thu, 11 Mar 2010 10:34:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from <rrt@HIDDEN>) id 1NpkP7-0000qI-4p for bug-gnu-emacs@HIDDEN; Thu, 11 Mar 2010 10:34:30 -0500 Received: from exprod7og109.obsmtp.com ([64.18.2.171]:40375) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from <rrt@HIDDEN>) id 1NpkP6-0000q5-UN for bug-gnu-emacs@HIDDEN; Thu, 11 Mar 2010 10:34:29 -0500 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 Received: by mail-bw0-f219.google.com with SMTP id 19so169921bwz.6 for <bug-gnu-emacs@HIDDEN>; Thu, 11 Mar 2010 07:34:24 -0800 (PST) Received: by 10.204.9.6 with SMTP id j6mr497834bkj.37.1268321663417; Thu, 11 Mar 2010 07:34:23 -0800 (PST) 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) To: bug-gnu-emacs@HIDDEN Subject: 23.1; Comments incorrectly detected in autoconf mode Date: Thu, 11 Mar 2010 15:34:20 -0000 From: rrt@HIDDEN Message-Id: <1268321660.243500.25019@canta> 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-Spam-Score: -4.7 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -5.7 (-----) 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 <return> <backspace> C-x C-s <right> <right> <right> <right> <right> <down> <down> <down> <down> <left> <up> <up> <up> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <right> <right> <return> SPC SPC <down> <down> <down> <right> <right> <right> <down> <right> <left> ] <right> <backspace> C-/ <left> <backspace> ) ] <right> C-x C-s <up> <up> <up> <up> <up> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <down> <left> <left> <left> <left> <left> <left> <right> <right> <right> <left> <right> <right> <right> <right> <left> <right> <down> <down> <down> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <down> <left> <left> <left> <right> <left> <right> <left> <up> <up> <up> <up> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <right> <down> <down> <down> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <left> <down> <left> <right> <right> <down> <left> <left> <left> <left> <left> <left> <right> <right> <right> <right> <right> <right> <left> <left> <left> <left> <left> <backspace> <backspace> C-x C-s M-x r e p o r t b <backspace> = <backspace> - - <backspace> e m a c s - b u g <ret urn> 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'.
rrt@HIDDEN
:bug-gnu-emacs@HIDDEN
.
Full text available.owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN
:bug#5706
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.