From unknown Fri Jun 20 07:20:53 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#7102 <7102@debbugs.gnu.org> To: bug#7102 <7102@debbugs.gnu.org> Subject: Status: 23.2; Makefile fontification incorrect Reply-To: bug#7102 <7102@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:20:53 +0000 retitle 7102 23.2; Makefile fontification incorrect reassign 7102 emacs submitter 7102 Christoph severity 7102 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 25 09:50:29 2010 Received: (at submit) by debbugs.gnu.org; 25 Sep 2010 13:50:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzV8z-0000D6-Sj for submit@debbugs.gnu.org; Sat, 25 Sep 2010 09:50:29 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzV8x-0000Cz-J7 for submit@debbugs.gnu.org; Sat, 25 Sep 2010 09:50:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzVBV-0000LP-9y for submit@debbugs.gnu.org; Sat, 25 Sep 2010 09:53:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, T_DKIM_INVALID, T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:52408) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzVBV-0000LL-7J for submit@debbugs.gnu.org; Sat, 25 Sep 2010 09:53:01 -0400 Received: from [140.186.70.92] (port=55899 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OzVBQ-0003VN-7D for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 09:53:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OzVBK-0000Jb-P4 for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 09:52:55 -0400 Received: from mail-iw0-f169.google.com ([209.85.214.169]:33749) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzVBK-0000Gi-Lt for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2010 09:52:50 -0400 Received: by mail-iw0-f169.google.com with SMTP id 33so5246699iwn.0 for ; Sat, 25 Sep 2010 06:52:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:date :message-id:user-agent:mime-version:content-type; bh=fLlsn1+n56nVAcqLr/ibI2LkRBMv8yzUuhazOBmd48I=; b=r6YadR/A5EdJBwGrL0cnSiamVKAFVTx/NMhL6YBOGKCaNQ7An/6joyxZSBsLCScZD0 vju4evNjdwD2Lv4ojtvg9HzPfkUubK5rYo6CGP9CpyNGklfXmMY1+aVMziutDB4KSx48 o3H6NY2nVN/Sr9kBchTRB1LcI/jZjtR/oOG7M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; b=EMTTNeEOcLRD9qbNUP37IIl4seNeTRhka3aSB2ftxgVWv/ZL3owThMGJmlk8zGFteN RZhWMDOqveCKNXPH5OYTWJYmnhPt2Q/fVR2GX9iEjc8TEnwJBH323v7SS16ZUh6YB/Xh dD49MBGYSO+TuocUIL7X02OCqJnns2uw/Yt0g= Received: by 10.231.31.1 with SMTP id w1mr5291669ibc.162.1285422770250; Sat, 25 Sep 2010 06:52:50 -0700 (PDT) Received: from localhost (67-41-203-171.hlrn.qwest.net [67.41.203.171]) by mx.google.com with ESMTPS id i6sm3676842iba.20.2010.09.25.06.52.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 25 Sep 2010 06:52:49 -0700 (PDT) From: Christoph To: bug-gnu-emacs@gnu.org Subject: 23.2; Makefile fontification incorrect Date: Sat, 25 Sep 2010 07:52:45 -0600 Message-ID: <868w2q2amq.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (windows-nt) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -4.1 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) Start Emacs with `emacs -Q'. Open `gmake.defs' in `nt/' directory. >From line 99 on the rest of the file is fontified mostly as comments. Note: Removing 1 of the double quotes at the end of line 99 results in correct fontification of the buffer. In GNU Emacs 23.2.1 (i386-mingw-nt6.1.7600) of 2010-05-08 on G41R2F1 Windowing system distributor `Microsoft Corp.', version 6.1.7600 configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include' 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: ENU value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Makefile Minor modes in effect: shell-dirtrack-mode: t ido-everywhere: t yas/global-mode: t global-auto-revert-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-encryption-mode: t auto-compression-mode: t size-indication-mode: t column-number-mode: t line-number-mode: t Recent input: C-x C-f d : / d e v e l e m e m t r n n t m a k e C-s C-s C-s C-v C-v C-v C-v C-v C-v C-v C-v C-v M-v M-v M-v C-v C-v C-x 1 C-v C-v C-v C-v C-v C-v M-v M-v M-v M-v M-v M-v M-v M-v M-v M-v C-v C-v C-v M-v C-x RET r e p o r t Recent messages: Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/plugins/color-theme/themes/color-theme-library.el (source)...done Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/plugins/zenburn.el (source)...done Ido mode enabled Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/anything-c-adaptive-history...done Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/plugins.el (source)...done Loading c:/Users/Christoph/AppData/Roaming/.emacs.d/custom.el (source)...done For information about GNU Emacs and the GNU system, type C-h C-a. Loading tramp...done Loading vc-bzr...done call-interactively: End of buffer call-interactively: Beginning of buffer Load-path shadows: None found. Features: (shadow sort gnus-cite mail-extr gnus-msg gnus-art mm-uu mml2015 pgg pgg-parse pgg-def epg-config mm-view smime dig gnus-sum nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec gnus-int gnus-range gnus-win message ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev gmm-utils mailheader canlock hashcash gnus gnus-ems nnheader mail-utils mm-util mail-prsvr emacsbug vc-bzr sha1 hex-util make-mode tramp-imap tramp-gw tramp-fish tramp-cache tramp-ftp tramp-cmds tramp auth-source gnus-util netrc time-date shell password-cache format-spec tramp-compat trampver warnings server re-builder dired+ dired-x ediff-merg ediff-diff ediff-wind ediff-mult ediff-help ediff-init ediff-util dired-aux ibuffer nav nav-tags python-21 python nav-bufs anything-config browse-url semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile mode-local cedet imenu bookmark pp dired rx ffap thingatpt anything google-c-style cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs grep-o-matic grep compile comint browse-kill-ring+ browse-kill-ring second-sel ido yasnippet dropdown-list derived easy-mmode assoc etags-table etags ring remember zenburn color-theme edmacro kmacro wid-edit cl cl-19 sendmail regexp-opt reporter easymenu uniquify advice help-fns advice-preload autorevert tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win w32-vars tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 25 17:01:21 2010 Received: (at 7102) by debbugs.gnu.org; 25 Sep 2010 21:01:22 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ozbs1-0003ow-1I for submit@debbugs.gnu.org; Sat, 25 Sep 2010 17:01:21 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ozbs0-0003or-65 for 7102@debbugs.gnu.org; Sat, 25 Sep 2010 17:01:20 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Ozbud-0005Qu-PU; Sat, 25 Sep 2010 17:04:03 -0400 To: Christoph Subject: Re: bug#7102: 23.2; Makefile fontification incorrect References: <868w2q2amq.fsf@gmail.com> From: Glenn Morris X-Spook: SHA Manfurov Fortezza Venezuela UMTS NWO number key bemd X-Ran: z?D8WOa5m-|e5.m[1@'[DI9]RAWH2$ChZ*a?p-F3THZyHk]@^w0G!->>r~X9vlZlWY|iTC X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Sat, 25 Sep 2010 17:04:03 -0400 In-Reply-To: <868w2q2amq.fsf@gmail.com> (Christoph's message of "Sat\, 25 Sep 2010 07\:52\:45 -0600") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 7102 Cc: 7102@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) Christoph wrote: > Start Emacs with `emacs -Q'. > Open `gmake.defs' in `nt/' directory. >>>From line 99 on the rest of the file is fontified mostly as comments. > Note: Removing 1 of the double quotes at the end of line 99 results in correct > fontification of the buffer. I know nothing about this code, but since the comment in the line above says that it contains a deliberate syntax error, maybe makefile-mode can be forgiven for getting confused. From debbugs-submit-bounces@debbugs.gnu.org Sun Sep 26 16:14:35 2010 Received: (at 7102) by debbugs.gnu.org; 26 Sep 2010 20:14:35 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzxcI-0006op-TF for submit@debbugs.gnu.org; Sun, 26 Sep 2010 16:14:35 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OzxcG-0006oj-Hb for 7102@debbugs.gnu.org; Sun, 26 Sep 2010 16:14:33 -0400 Received: from dyn.144-85-185-002.dsl.vtx.ch ([144.85.185.2]:21625 helo=fmsmemgm.homelinux.net) by fencepost.gnu.org with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1Ozxew-0003vL-12; Sun, 26 Sep 2010 16:17:18 -0400 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 051B16611D; Sun, 26 Sep 2010 22:17:19 +0200 (CEST) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#7102: 23.2; Makefile fontification incorrect Message-ID: References: <868w2q2amq.fsf@gmail.com> Date: Sun, 26 Sep 2010 22:17:18 +0200 In-Reply-To: (Glenn Morris's message of "Sat, 25 Sep 2010 17:04:03 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -4.7 (----) X-Debbugs-Envelope-To: 7102 Cc: Christoph , 7102@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) >> Start Emacs with `emacs -Q'. >> Open `gmake.defs' in `nt/' directory. >>> From line 99 on the rest of the file is fontified mostly as comments. >> Note: Removing 1 of the double quotes at the end of line 99 results in correct >> fontification of the buffer. > I know nothing about this code, but since the comment in the line > above says that it contains a deliberate syntax error, maybe > makefile-mode can be forgiven for getting confused. The problem is that makefile-mode assumes all the Makefil content follows the lexical rules of Make, whereas $(shell ...) does not follow the Make lexical rules in "...", so (as in the present case) the "..." may contain unmatched double quotes. I don't actually know how the end of "..." is determined, tho I guess it's something like "the matching close-paren" probably with the possibility to escape parens with backslashes. Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 01 04:18:07 2010 Received: (at 7102-done) by debbugs.gnu.org; 1 Oct 2010 08:18:07 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1aog-0004EP-S3 for submit@debbugs.gnu.org; Fri, 01 Oct 2010 04:18:07 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P1aoe-0004E3-BB for 7102-done@debbugs.gnu.org; Fri, 01 Oct 2010 04:18:05 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0L9L00I00R42QV00@a-mtaout22.012.net.il> for 7102-done@debbugs.gnu.org; Fri, 01 Oct 2010 10:20:48 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.229.77.74]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L9L00IUMR6KHB50@a-mtaout22.012.net.il>; Fri, 01 Oct 2010 10:20:46 +0200 (IST) Date: Fri, 01 Oct 2010 10:20:48 +0200 From: Eli Zaretskii Subject: Re: bug#7102: 23.2; Makefile fontification incorrect In-reply-to: X-012-Sender: halo1@inter.net.il To: Stefan Monnier Message-id: <83sk0qqq73.fsf@gnu.org> References: <868w2q2amq.fsf@gmail.com> X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 7102-done Cc: cschol2112@googlemail.com, rgm@gnu.org, 7102-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > From: Stefan Monnier > Date: Sun, 26 Sep 2010 22:17:18 +0200 > Cc: Christoph , 7102@debbugs.gnu.org > > >> Start Emacs with `emacs -Q'. > >> Open `gmake.defs' in `nt/' directory. > >>> From line 99 on the rest of the file is fontified mostly as comments. > >> Note: Removing 1 of the double quotes at the end of line 99 results in correct > >> fontification of the buffer. > > > I know nothing about this code, but since the comment in the line > > above says that it contains a deliberate syntax error, maybe > > makefile-mode can be forgiven for getting confused. > > The problem is that makefile-mode assumes all the Makefil content > follows the lexical rules of Make, whereas $(shell ...) does not follow > the Make lexical rules in "...", so (as in the present case) the "..." > may contain unmatched double quotes. I don't actually know how the end > of "..." is determined, tho I guess it's something like "the matching > close-paren" probably with the possibility to escape parens > with backslashes. I fixed it by adding a comment line with a quote right after the offending line (revno 101701). From unknown Fri Jun 20 07:20:53 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 29 Oct 2010 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator