From unknown Thu Jun 19 14:06:29 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#23476 <23476@debbugs.gnu.org> To: bug#23476 <23476@debbugs.gnu.org> Subject: Status: 25.0.93; Visiting C files on master signals an error Reply-To: bug#23476 <23476@debbugs.gnu.org> Date: Thu, 19 Jun 2025 21:06:29 +0000 retitle 23476 25.0.93; Visiting C files on master signals an error reassign 23476 emacs submitter 23476 Eli Zaretskii severity 23476 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 07 03:27:57 2016 Received: (at submit) by debbugs.gnu.org; 7 May 2016 07:27:57 +0000 Received: from localhost ([127.0.0.1]:42242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayweb-00033Z-Dg for submit@debbugs.gnu.org; Sat, 07 May 2016 03:27:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ayweZ-00033N-98 for submit@debbugs.gnu.org; Sat, 07 May 2016 03:27:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayweS-000369-NS for submit@debbugs.gnu.org; Sat, 07 May 2016 03:27:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_50,DC_PNG_UNO_LARGO, RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayweS-00035y-JY for submit@debbugs.gnu.org; Sat, 07 May 2016 03:27:48 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayweQ-0003TM-4o for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 03:27:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ayweL-00034H-RB for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 03:27:44 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33292) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ayweL-00034A-Mx for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 03:27:41 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3699 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ayweI-0006sv-FQ for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 03:27:41 -0400 Date: Sat, 07 May 2016 10:27:54 +0300 Message-Id: <834maafhtx.fsf@gnu.org> From: Eli Zaretskii To: bug-gnu-emacs@gnu.org Subject: 25.0.93; Visiting C files on master signals an error MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) --=-=-= Content-Type: text/plain If you visit any C file on the master branch with Emacs 25.0.93, Emacs asks an annoying question about unsafe local variables: --=-=-= Content-Type: image/png Content-Disposition: attachment; filename=unsafe.PNG Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAlwAAAExCAIAAAAm/Ov+AAAAA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4JjWE0AUqQcI QOAdBBDFd+Tx4igQxYsTwPIQgMAiAn9E8ceP/+7/J+xvLy1aFDN3JLAnv4jiHTOKTxCAwDiBv26K fVvULXJP0xx3LJpxH0/WxnWttT1UEcVrc8fqEIDAKgK7RNG7WVaeCwFuU9LAvBttb0H//susvuwG N2Pthmc/ddi7c++/fJv+N7N1pJuHpigWnUQUR8uA8RCAwD0JzIui6KHtj6ueB7y8O4130+07e+pn cd1996o/70VP2/E4m/JfKT5EsUKJMRCAwLsJSFEMrhe6C6eXNnHPCG42o5c2MyuBKLbxvSh6/nsp 9+yPlsgSO7Eojrrk3RSLdrgpFkExDAIQuDkB96ao/Q66cD94dNjEVSmYsr1UEYyJdZvlublamPdI USXG04oPUTwNNQtBAAKHEjhWFM33Lbd4vLcxK9EGN62rRFHcieMoYv+LinuOKBbjQhQrdcsYCEDg /gSMj2SYd8TKO5/9Tag1U/FLsyMul0Nvn26a6vVrLSqe8dG3T4WcB/fjIPG95zqKoiI2T0wLozDj uCouIYr33+p4CAEIVAi88MP7pihWWBTHeKJbnJ7q5X4751tAFM9nzooQgMARBF4livE1dD8+73pa uUtVVl9lp7LW2jGI4lqeWIMABK4i8CpRvAoi6yKK1AAEIPAOAojiO/J4cRSI4sUJYHkIQGARgR+L 7GAGAhCAAAQg8HgCiOLjU0gAEIAABCCwigCiuIokdiAAAQhA4PEE/g/y9B0TShyqNQAAAABJRU5E rkJggg== --=-=-= Content-Type: text/plain If you answer "y", Emacs signals an error: File local-variables error: (void-function c-make-noise-macro-regexps) If I do the same with Emacs built from master, the problem doesn't happen. Did someone assume that the sources on master are only edited by an Emacs produced from that master? If so, that's bad assumption. In GNU Emacs 25.0.93.26 (i686-pc-mingw32) of 2016-05-06 built on HOME-C4E4A596F7 Repository revision: c760a600da6dbfa495613aa5042ab073b9490c85 Windowing system distributor 'Microsoft Corp.', version 5.1.2600 Configured using: 'configure --prefix=/d/usr --enable-checking=yes,glyphs --with-wide-int --with-modules 'CFLAGS=-O0 -gdwarf-4 -g3'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES Important settings: value of $LANG: ENU locale-coding-system: cp1255 Major mode: C/l Minor modes in effect: diff-auto-refine-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Please type y, n, or !: y File local-variables error: (void-function c-make-noise-macro-regexps) Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec password-cache epg epg-config gnus-util mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils vc-git diff-mode easy-mmode cl-extra help-mode cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 116432 10734) (symbols 56 23147 0) (miscs 48 39 108) (strings 16 24613 5438) (string-bytes 1 744521) (vectors 16 15373) (vector-slots 8 461756 4184) (floats 8 168 57) (intervals 40 414 102) (buffers 856 12)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sat May 07 12:44:13 2016 Received: (at submit) by debbugs.gnu.org; 7 May 2016 16:44:13 +0000 Received: from localhost ([127.0.0.1]:42883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az5Ku-0000xB-Oo for submit@debbugs.gnu.org; Sat, 07 May 2016 12:44:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58781) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az5Kt-0000wy-5i for submit@debbugs.gnu.org; Sat, 07 May 2016 12:44:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1az5Km-0007s4-DF for submit@debbugs.gnu.org; Sat, 07 May 2016 12:44:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az5Km-0007rA-A8 for submit@debbugs.gnu.org; Sat, 07 May 2016 12:44:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az5Kj-00014o-Vr for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 12:44:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1az5Kd-0007nP-CI for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 12:44:01 -0400 Received: from plane.gmane.org ([80.91.229.3]:58996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az5Kd-0007n9-1g for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 12:43:55 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1az5K3-0005tn-KQ for bug-gnu-emacs@gnu.org; Sat, 07 May 2016 18:43:19 +0200 Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 May 2016 18:43:19 +0200 Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 07 May 2016 18:43:19 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: Andy Moreton Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error Date: Sat, 07 May 2016 17:43:12 +0100 Lines: 34 Message-ID: <867ff56cpr.fsf@gmail.com> References: <834maafhtx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (windows-nt) Cancel-Lock: sha1:6GN7M2OrX6tCCQQHqBvWjz+SfFo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.9 (---) On Sat 07 May 2016, Eli Zaretskii wrote: > If you visit any C file on the master branch with Emacs 25.0.93, Emacs > asks an annoying question about unsafe local variables: > > > > > If you answer "y", Emacs signals an error: > > File local-variables error: (void-function c-make-noise-macro-regexps) > > If I do the same with Emacs built from master, the problem doesn't > happen. Did someone assume that the sources on master are only edited > by an Emacs produced from that master? If so, that's bad assumption. I assume that is due to c-make-noise-macro-regexps being a new feature on the master branch. The following patch fixes it for me: diff --git a/.dir-locals.el b/.dir-locals.el index 1aa71ff..3725cc1 100644 --- a/.dir-locals.el +++ b/.dir-locals.el @@ -3,7 +3,8 @@ (fill-column . 70))) (c-mode . ((c-file-style . "GNU") (c-noise-macro-with-parens-names . ("IF_LINT")) - (eval . (c-make-noise-macro-regexps)) + (eval . (when (fboundp 'c-make-noise-macro-regexps) + (c-make-noise-macro-regexps))) Regards, AndyM From debbugs-submit-bounces@debbugs.gnu.org Sat May 07 13:32:36 2016 Received: (at 23476) by debbugs.gnu.org; 7 May 2016 17:32:36 +0000 Received: from localhost ([127.0.0.1]:42911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az65k-00022a-4Q for submit@debbugs.gnu.org; Sat, 07 May 2016 13:32:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az65i-00022N-CH for 23476@debbugs.gnu.org; Sat, 07 May 2016 13:32:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1az65Y-00025M-C8 for 23476@debbugs.gnu.org; Sat, 07 May 2016 13:32:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az65Y-00025F-8Q; Sat, 07 May 2016 13:32:24 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4659 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1az65W-0007cf-Bz; Sat, 07 May 2016 13:32:22 -0400 Date: Sat, 07 May 2016 20:32:20 +0300 Message-Id: <83oa8hepuj.fsf@gnu.org> From: Eli Zaretskii To: Andy Moreton In-reply-to: <867ff56cpr.fsf@gmail.com> (message from Andy Moreton on Sat, 07 May 2016 17:43:12 +0100) Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) > From: Andy Moreton > Date: Sat, 07 May 2016 17:43:12 +0100 > > On Sat 07 May 2016, Eli Zaretskii wrote: > > > If you visit any C file on the master branch with Emacs 25.0.93, Emacs > > asks an annoying question about unsafe local variables: > > > > > > > > > > If you answer "y", Emacs signals an error: > > > > File local-variables error: (void-function c-make-noise-macro-regexps) > > > > If I do the same with Emacs built from master, the problem doesn't > > happen. Did someone assume that the sources on master are only edited > > by an Emacs produced from that master? If so, that's bad assumption. > > I assume that is due to c-make-noise-macro-regexps being a new feature > on the master branch. The following patch fixes it for me: Thanks. This eliminates the error, but not the annoying question about unsafe variables. From debbugs-submit-bounces@debbugs.gnu.org Sat May 07 13:50:36 2016 Received: (at 23476) by debbugs.gnu.org; 7 May 2016 17:50:36 +0000 Received: from localhost ([127.0.0.1]:42916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az6N9-0002QP-OS for submit@debbugs.gnu.org; Sat, 07 May 2016 13:50:35 -0400 Received: from mail.muc.de ([193.149.48.3]:34267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az6N7-0002QG-DC for 23476@debbugs.gnu.org; Sat, 07 May 2016 13:50:34 -0400 Received: (qmail 74908 invoked by uid 3782); 7 May 2016 17:50:32 -0000 Received: from acm.muc.de (p548C617B.dip0.t-ipconnect.de [84.140.97.123]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 07 May 2016 19:50:30 +0200 Received: (qmail 4236 invoked by uid 1000); 7 May 2016 17:50:30 -0000 Date: Sat, 7 May 2016 17:50:30 +0000 To: Eli Zaretskii Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error Message-ID: <20160507175030.GA4161@acm.fritz.box> References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83oa8hepuj.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org, Andy Moreton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hello, Eli. On Sat, May 07, 2016 at 08:32:20PM +0300, Eli Zaretskii wrote: > > From: Andy Moreton > > Date: Sat, 07 May 2016 17:43:12 +0100 > > On Sat 07 May 2016, Eli Zaretskii wrote: > > > If you visit any C file on the master branch with Emacs 25.0.93, Emacs > > > asks an annoying question about unsafe local variables: > > > If you answer "y", Emacs signals an error: > > > File local-variables error: (void-function c-make-noise-macro-regexps) > > > If I do the same with Emacs built from master, the problem doesn't > > > happen. Did someone assume that the sources on master are only edited > > > by an Emacs produced from that master? If so, that's bad assumption. Guilty as charged. > > I assume that is due to c-make-noise-macro-regexps being a new feature > > on the master branch. The following patch fixes it for me: Andy, from my point of view, that patch should be committed (to master). > Thanks. This eliminates the error, but not the annoying question > about unsafe variables. The annoying question, you only need to answer once (with !). The setting eliminates the annoying misfontification of the constructs using the IF_LINT macro, e.g. in window.c, in the following: int top IF_LINT (= 0), ... , top now gets correctly fontified as a variable declaration, not as a function declaration, as still happens in the emacs-25 branch. To be fair, I did warn everybody about this in a post to emacs-devl on 2016-04-30. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sat May 07 14:19:31 2016 Received: (at 23476) by debbugs.gnu.org; 7 May 2016 18:19:31 +0000 Received: from localhost ([127.0.0.1]:42920 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az6p9-00033w-6s for submit@debbugs.gnu.org; Sat, 07 May 2016 14:19:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az6p7-00033i-Aq for 23476@debbugs.gnu.org; Sat, 07 May 2016 14:19:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1az6oy-0003o3-U8 for 23476@debbugs.gnu.org; Sat, 07 May 2016 14:19:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42318) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az6oy-0003nt-Qk; Sat, 07 May 2016 14:19:20 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4722 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1az6ov-0005PE-IP; Sat, 07 May 2016 14:19:19 -0400 Date: Sat, 07 May 2016 21:19:13 +0300 Message-Id: <83mvo1enoe.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-reply-to: <20160507175030.GA4161@acm.fritz.box> (message from Alan Mackenzie on Sat, 7 May 2016 17:50:30 +0000) Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org, andrewjmoreton@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) > Date: Sat, 7 May 2016 17:50:30 +0000 > Cc: Andy Moreton , 23476@debbugs.gnu.org > From: Alan Mackenzie > > > Thanks. This eliminates the error, but not the annoying question > > about unsafe variables. > > The annoying question, you only need to answer once (with !). The > setting eliminates the annoying misfontification of the constructs using > the IF_LINT macro, e.g. in window.c, in the following: > > int top IF_LINT (= 0), ... > > , top now gets correctly fontified as a variable declaration, not as a > function declaration, as still happens in the emacs-25 branch. No, I'd like that question to go away completely. Visiting Emacs sources shouldn't trigger such questions, IMO it's absurd. > To be fair, I did warn everybody about this in a post to emacs-devl on > 2016-04-30. Why warn? Just let's not do it at all. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat May 07 14:52:33 2016 Received: (at 23476) by debbugs.gnu.org; 7 May 2016 18:52:33 +0000 Received: from localhost ([127.0.0.1]:42925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az7L3-0003o4-04 for submit@debbugs.gnu.org; Sat, 07 May 2016 14:52:32 -0400 Received: from mail.muc.de ([193.149.48.3]:31638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az7L1-0003nw-DQ for 23476@debbugs.gnu.org; Sat, 07 May 2016 14:52:27 -0400 Received: (qmail 84787 invoked by uid 3782); 7 May 2016 18:52:26 -0000 Received: from acm.muc.de (p548C617B.dip0.t-ipconnect.de [84.140.97.123]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 07 May 2016 20:52:25 +0200 Received: (qmail 4435 invoked by uid 1000); 7 May 2016 18:52:25 -0000 Date: Sat, 7 May 2016 18:52:25 +0000 To: Eli Zaretskii Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error Message-ID: <20160507185225.GB3660@acm.fritz.box> References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83mvo1enoe.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org, andrewjmoreton@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hello, Eli. On Sat, May 07, 2016 at 09:19:13PM +0300, Eli Zaretskii wrote: > > Date: Sat, 7 May 2016 17:50:30 +0000 > > Cc: Andy Moreton , 23476@debbugs.gnu.org > > From: Alan Mackenzie > > > Thanks. This eliminates the error, but not the annoying question > > > about unsafe variables. > > The annoying question, you only need to answer once (with !). The > > setting eliminates the annoying misfontification of the constructs using > > the IF_LINT macro, e.g. in window.c, in the following: > > int top IF_LINT (= 0), ... > > , top now gets correctly fontified as a variable declaration, not as a > > function declaration, as still happens in the emacs-25 branch. > No, I'd like that question to go away completely. Visiting Emacs > sources shouldn't trigger such questions, IMO it's absurd. IF_LINT is an absurd macro, and C macros in general are absurd (unlike Lisp ones). Something's got to give. > > To be fair, I did warn everybody about this in a post to emacs-devl on > > 2016-04-30. > Why warn? Just let's not do it at all. Because the one-time inconvenience (not counting emacs -Q invocations) of answering the question is far less than the irritation and possible misunderstading caused by the unvarying mis-fontification of variables near IF_LINTs (of which there are 84 in the C sources, including 15 in xdisp.c). > Thanks. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sat May 07 14:58:07 2016 Received: (at 23476) by debbugs.gnu.org; 7 May 2016 18:58:07 +0000 Received: from localhost ([127.0.0.1]:42929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az7QV-0003vj-Df for submit@debbugs.gnu.org; Sat, 07 May 2016 14:58:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53333) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az7QU-0003vH-3V for 23476@debbugs.gnu.org; Sat, 07 May 2016 14:58:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1az7QL-0004BZ-Q9 for 23476@debbugs.gnu.org; Sat, 07 May 2016 14:58:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42843) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az7QL-0004BS-NS; Sat, 07 May 2016 14:57:57 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4748 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1az7QH-0002Iv-6g; Sat, 07 May 2016 14:57:56 -0400 Date: Sat, 07 May 2016 21:57:50 +0300 Message-Id: <83lh3lelw1.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-reply-to: <20160507185225.GB3660@acm.fritz.box> (message from Alan Mackenzie on Sat, 7 May 2016 18:52:25 +0000) Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org, andrewjmoreton@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) > Date: Sat, 7 May 2016 18:52:25 +0000 > Cc: andrewjmoreton@gmail.com, 23476@debbugs.gnu.org > From: Alan Mackenzie > > > No, I'd like that question to go away completely. Visiting Emacs > > sources shouldn't trigger such questions, IMO it's absurd. > > IF_LINT is an absurd macro, and C macros in general are absurd (unlike > Lisp ones). Something's got to give. Correct fontification is not important enough to be annoyed like that. IMO, this cure is worse than the disease. > > > To be fair, I did warn everybody about this in a post to emacs-devl on > > > 2016-04-30. > > > Why warn? Just let's not do it at all. > > Because the one-time inconvenience (not counting emacs -Q invocations) of > answering the question is far less than the irritation and possible > misunderstading caused by the unvarying mis-fontification of variables > near IF_LINTs (of which there are 84 in the C sources, including 15 in > xdisp.c). I frequently visit and edit Emacs sources with "emacs -Q", so the annoyance will be constant for me. Let's try to find a solution that doesn't involve unsafe values. I hope there is such a solution; if not, I'd rather have the macro mis-fontified than be annoyed by these questions each time I visit an Emacs source file. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat May 07 15:30:57 2016 Received: (at 23476) by debbugs.gnu.org; 7 May 2016 19:30:57 +0000 Received: from localhost ([127.0.0.1]:42933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az7wH-0004gL-68 for submit@debbugs.gnu.org; Sat, 07 May 2016 15:30:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az7wE-0004g8-Nh for 23476@debbugs.gnu.org; Sat, 07 May 2016 15:30:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1az7w4-0002Hn-OT for 23476@debbugs.gnu.org; Sat, 07 May 2016 15:30:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1az7w4-0002Hh-LQ; Sat, 07 May 2016 15:30:44 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4778 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1az7w2-00011S-DO; Sat, 07 May 2016 15:30:43 -0400 Date: Sat, 07 May 2016 22:30:39 +0300 Message-Id: <83k2j5ekdc.fsf@gnu.org> From: Eli Zaretskii To: acm@muc.de In-reply-to: <83lh3lelw1.fsf@gnu.org> (message from Eli Zaretskii on Sat, 07 May 2016 21:57:50 +0300) Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) > Date: Sat, 07 May 2016 21:57:50 +0300 > From: Eli Zaretskii > Cc: 23476@debbugs.gnu.org, andrewjmoreton@gmail.com > > Let's try to find a solution that doesn't involve unsafe values. One way is to turn on by default the feature that fontifies these macros correctly. Why does it have to be off by default? From debbugs-submit-bounces@debbugs.gnu.org Sat May 07 16:10:11 2016 Received: (at 23476) by debbugs.gnu.org; 7 May 2016 20:10:11 +0000 Received: from localhost ([127.0.0.1]:42939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az8YF-0005Xp-CH for submit@debbugs.gnu.org; Sat, 07 May 2016 16:10:11 -0400 Received: from mail.muc.de ([193.149.48.3]:20490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az8YC-0005Xg-Ps for 23476@debbugs.gnu.org; Sat, 07 May 2016 16:10:09 -0400 Received: (qmail 95190 invoked by uid 3782); 7 May 2016 20:10:07 -0000 Received: from acm.muc.de (p548C617B.dip0.t-ipconnect.de [84.140.97.123]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 07 May 2016 22:10:05 +0200 Received: (qmail 4745 invoked by uid 1000); 7 May 2016 20:10:05 -0000 Date: Sat, 7 May 2016 20:10:05 +0000 To: Eli Zaretskii Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error Message-ID: <20160507201005.GD3660@acm.fritz.box> References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83lh3lelw1.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org, andrewjmoreton@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hello, Eli. On Sat, May 07, 2016 at 09:57:50PM +0300, Eli Zaretskii wrote: > > Date: Sat, 7 May 2016 18:52:25 +0000 > > Cc: andrewjmoreton@gmail.com, 23476@debbugs.gnu.org > > From: Alan Mackenzie [ .... ] > > IF_LINT is an absurd macro, and C macros in general are absurd (unlike > > Lisp ones). Something's got to give. > Correct fontification is not important enough to be annoyed like > that. IMO, this cure is worse than the disease. Apologies. I hadn't anticipated this could be so annoying. [ .... ] > I frequently visit and edit Emacs sources with "emacs -Q", so the > annoyance will be constant for me. > Let's try to find a solution that doesn't involve unsafe values. I > hope there is such a solution; if not, I'd rather have the macro > mis-fontified than be annoyed by these questions each time I visit an > Emacs source file. OK. Let's see what we can do to make this better. > Thanks. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sat May 07 16:40:28 2016 Received: (at 23476) by debbugs.gnu.org; 7 May 2016 20:40:28 +0000 Received: from localhost ([127.0.0.1]:42948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az91Y-0006EX-4q for submit@debbugs.gnu.org; Sat, 07 May 2016 16:40:28 -0400 Received: from mail.muc.de ([193.149.48.3]:35254) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1az91V-0006EO-Cn for 23476@debbugs.gnu.org; Sat, 07 May 2016 16:40:26 -0400 Received: (qmail 99273 invoked by uid 3782); 7 May 2016 20:40:24 -0000 Received: from acm.muc.de (p548C617B.dip0.t-ipconnect.de [84.140.97.123]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sat, 07 May 2016 22:40:23 +0200 Received: (qmail 4957 invoked by uid 1000); 7 May 2016 20:40:22 -0000 Date: Sat, 7 May 2016 20:40:22 +0000 To: Eli Zaretskii Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error Message-ID: <20160507204022.GE3660@acm.fritz.box> References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83k2j5ekdc.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hello, Eli. On Sat, May 07, 2016 at 10:30:39PM +0300, Eli Zaretskii wrote: > > Date: Sat, 07 May 2016 21:57:50 +0300 > > From: Eli Zaretskii > > Cc: 23476@debbugs.gnu.org, andrewjmoreton@gmail.com > > Let's try to find a solution that doesn't involve unsafe values. > One way is to turn on by default the feature that fontifies these > macros correctly. Why does it have to be off by default? The feature is dependent on _configuration_: the '("IF_LINT") is that configuration. After reading the list of "noise macros", CC Mode has to turn them into a regexp with `regexp-opt'. This is what the `eval' part of the configuration is for. We could make `c-noise-macro-with-parens-names' (and `c-noise-macro-names') safe local variables (after all, they do nothing more than set regexps used for fontification). The call (eval . (c-make-noise-macro-regexps)) is more problematic; the eval "variable" is always going to be unsafe - it's got to be. One possible solution would be to enhance `define-derived-mode' with an :after-hook argument (define-minor-mode already has one), a lisp form which gets evaluated after the mode hooks have been run. `c-make-noise-macro-regexps' could be put into this form. I've reverted the change to .dir-locals.el which caused the problem. This should take the pressure off, so that we can find a good solution. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Sun May 08 11:48:35 2016 Received: (at 23476) by debbugs.gnu.org; 8 May 2016 15:48:35 +0000 Received: from localhost ([127.0.0.1]:43374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azQwd-0002r8-8O for submit@debbugs.gnu.org; Sun, 08 May 2016 11:48:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50346) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azQwb-0002qv-EU for 23476@debbugs.gnu.org; Sun, 08 May 2016 11:48:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azQwT-0006LW-Aq for 23476@debbugs.gnu.org; Sun, 08 May 2016 11:48:28 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:55697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azQwT-0006LE-7a; Sun, 08 May 2016 11:48:25 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1659 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1azQwR-00025I-7O; Sun, 08 May 2016 11:48:23 -0400 Date: Sun, 08 May 2016 18:48:23 +0300 Message-Id: <83inyoeek8.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-reply-to: <20160507204022.GE3660@acm.fritz.box> (message from Alan Mackenzie on Sat, 7 May 2016 20:40:22 +0000) Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) > Date: Sat, 7 May 2016 20:40:22 +0000 > Cc: 23476@debbugs.gnu.org > From: Alan Mackenzie > > > One way is to turn on by default the feature that fontifies these > > macros correctly. Why does it have to be off by default? > > The feature is dependent on _configuration_: the '("IF_LINT") is that > configuration. But the IF_LINT part is AFAIU the _only_ part of the configuration that the user needs to supply. All the rest, including the forms to evaluate, doesn't have to be in file-local variables. Right? And a list of strings can easily be a safe local variable, so if you devise a variable that will accept lists like '("IF_LINT"), it could easily be specified without prompting those annoying questions. Moreover, we could support these particular macros by default: I doubt that Paul invented them for Emacs, and even if he did, they are by now probably used elsewhere, so it should be good to have their support built-in. Am I missing something? > I've reverted the change to .dir-locals.el which caused the problem. > This should take the pressure off, so that we can find a good solution. Thanks. I hope the considerations above will allow to restore the feature soon. From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 07:07:19 2016 Received: (at 23476) by debbugs.gnu.org; 9 May 2016 11:07:19 +0000 Received: from localhost ([127.0.0.1]:43800 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azj1z-0005IK-4j for submit@debbugs.gnu.org; Mon, 09 May 2016 07:07:19 -0400 Received: from mail.muc.de ([193.149.48.3]:10895) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azj1w-0005IB-Sf for 23476@debbugs.gnu.org; Mon, 09 May 2016 07:07:17 -0400 Received: (qmail 68060 invoked by uid 3782); 9 May 2016 11:07:15 -0000 Received: from acm.muc.de (p4FC46F8C.dip0.t-ipconnect.de [79.196.111.140]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 09 May 2016 13:07:13 +0200 Received: (qmail 5384 invoked by uid 1000); 9 May 2016 11:07:13 -0000 Date: Mon, 9 May 2016 11:07:13 +0000 To: Eli Zaretskii Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error Message-ID: <20160509110713.GA5316@acm.fritz.box> References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83inyoeek8.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hello, Eli. On Sun, May 08, 2016 at 06:48:23PM +0300, Eli Zaretskii wrote: > > Date: Sat, 7 May 2016 20:40:22 +0000 > > Cc: 23476@debbugs.gnu.org > > From: Alan Mackenzie > > > One way is to turn on by default the feature that fontifies these > > > macros correctly. Why does it have to be off by default? > > The feature is dependent on _configuration_: the '("IF_LINT") is that > > configuration. > But the IF_LINT part is AFAIU the _only_ part of the configuration > that the user needs to supply. All the rest, including the forms to > evaluate, doesn't have to be in file-local variables. Right? Right. I've amended C(etc.) Mode to use the new :after-hook parameter to define-derived-mode which I committed yesterday. The eval form which used to be in .dir-locals.el is now run by C Mode after the mode hooks (and file/dir local variables stuff) have been done. > And a list of strings can easily be a safe local variable, so if you > devise a variable that will accept lists like '("IF_LINT"), it could > easily be specified without prompting those annoying questions. Done. So now, Emacs master will now accept the "IF_LINT" value from .dir-locals.el without asking the user any questions. (I haven't commited the change yet, though.) However, visiting a master C source file using the emacs-25 branch would still ask the question. One way to get round this would be to add the safe-local-variable stuff into emacs-25, but nobody wants to change emacs-25 at this late stage. > Moreover, we could support these particular macros by default: I doubt > that Paul invented them for Emacs, and even if he did, they are by now > probably used elsewhere, so it should be good to have their support > built-in. To me, this doesn't feel like the Right Thing to do. A user might easily define a macro (or even a variable) called IF_LINT and be puzzled as to why it wasn't fontifying or indenting correctly. > Am I missing something? For the master branch, making IF_LINT a noise macro by default wouldn't gain us anything. For visiting a master branch C file from the emacs-25 branch, this wouldn't help. > > I've reverted the change to .dir-locals.el which caused the problem. > > This should take the pressure off, so that we can find a good solution. > Thanks. I hope the considerations above will allow to restore the > feature soon. Just how bad would it be to get the question about unsafe local variables when visiting master C files from emacs-25 emacs -Q? If the answer is "not too bad", I can also commit the change to .dir-locals.el. Otherwise, probably the best thing is just to commit the changes to CC Mode for now, and amend .dir-locals.el after the Emacs 25 release, when people will mostly be using the code in the master branch for development. What do you say? -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 08:02:06 2016 Received: (at 23476) by debbugs.gnu.org; 9 May 2016 12:02:06 +0000 Received: from localhost ([127.0.0.1]:43834 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azjt0-0008C9-ES for submit@debbugs.gnu.org; Mon, 09 May 2016 08:02:06 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:33289) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azjsx-0008Be-Tu for 23476@debbugs.gnu.org; Mon, 09 May 2016 08:02:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BDFgA731xV/5Yrq8BcgxCEAoVVwD6CTQQCAoE8PRABAQEBAQEBgQpBBYNdAQEDAVYjBQsLDiYSFBgNJC6ICQjPIwEBAQEBAQQBAQEBHos6hQUHhC0FtQQjhBQigngBAQE X-IPAS-Result: A0BDFgA731xV/5Yrq8BcgxCEAoVVwD6CTQQCAoE8PRABAQEBAQEBgQpBBYNdAQEDAVYjBQsLDiYSFBgNJC6ICQjPIwEBAQEBAQQBAQEBHos6hQUHhC0FtQQjhBQigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="237576524" Received: from 192-171-43-150.cpe.pppoe.ca (HELO pastel.home) ([192.171.43.150]) by ironport2-out.teksavvy.com with ESMTP; 09 May 2016 08:01:56 -0400 Received: by pastel.home (Postfix, from userid 20848) id 6669264329; Mon, 9 May 2016 08:01:56 -0400 (EDT) From: Stefan Monnier To: Alan Mackenzie Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error Message-ID: References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> Date: Mon, 09 May 2016 08:01:56 -0400 In-Reply-To: <20160507204022.GE3660@acm.fritz.box> (Alan Mackenzie's message of "Sat, 7 May 2016 20:40:22 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 23476 Cc: Eli Zaretskii , 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > One possible solution would be to enhance `define-derived-mode' with > an :after-hook argument (define-minor-mode already has one), a lisp > form which gets evaluated after the mode hooks have been run. > `c-make-noise-macro-regexps' could be put into this form. No need for that. E.g. you can use `hack-local-variables-hook' to get the same result (especially with the new behavior of hack-local-variables). Or you can make the construction of this regexp more lazy. Stefan From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 12:52:18 2016 Received: (at 23476) by debbugs.gnu.org; 9 May 2016 16:52:18 +0000 Received: from localhost ([127.0.0.1]:44583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azoPq-0006lO-Lz for submit@debbugs.gnu.org; Mon, 09 May 2016 12:52:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azoPp-0006lB-82 for 23476@debbugs.gnu.org; Mon, 09 May 2016 12:52:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azoPf-0008Dz-9w for 23476@debbugs.gnu.org; Mon, 09 May 2016 12:52:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azoPf-0008Ds-61; Mon, 09 May 2016 12:52:07 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4672 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1azoPd-0005WQ-8v; Mon, 09 May 2016 12:52:05 -0400 Date: Mon, 09 May 2016 19:52:08 +0300 Message-Id: <83shxrcgxz.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-reply-to: <20160509110713.GA5316@acm.fritz.box> (message from Alan Mackenzie on Mon, 9 May 2016 11:07:13 +0000) Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error References: <834maafhtx.fsf@gnu.org> <867ff56cpr.fsf@gmail.com> <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> <20160509110713.GA5316@acm.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) > Date: Mon, 9 May 2016 11:07:13 +0000 > Cc: 23476@debbugs.gnu.org > From: Alan Mackenzie > > > But the IF_LINT part is AFAIU the _only_ part of the configuration > > that the user needs to supply. All the rest, including the forms to > > evaluate, doesn't have to be in file-local variables. Right? > > Right. I've amended C(etc.) Mode to use the new :after-hook parameter > to define-derived-mode which I committed yesterday. The eval form which > used to be in .dir-locals.el is now run by C Mode after the mode hooks > (and file/dir local variables stuff) have been done. Thanks. > However, visiting a master C source file using the emacs-25 branch would > still ask the question. Why, because Emacs 25 doesn't know about the new variable and its safe values? Or for some other reason? > One way to get round this would be to add the safe-local-variable > stuff into emacs-25, but nobody wants to change emacs-25 at this > late stage. Adding a variable that is not used for anything but declaring its safe values should be OK, I think. > Just how bad would it be to get the question about unsafe local > variables when visiting master C files from emacs-25 emacs -Q? It's better, but still an annoyance. And if the solution in non-Q sessions is to accept the variable as safe anyway, then adding the variable instead for the same purpose is not different, and should be "safe" (pun intended ;-). From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 14:22:13 2016 Received: (at 23476) by debbugs.gnu.org; 9 May 2016 18:22:13 +0000 Received: from localhost ([127.0.0.1]:44680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azpor-0000bw-Hy for submit@debbugs.gnu.org; Mon, 09 May 2016 14:22:13 -0400 Received: from mail.muc.de ([193.149.48.3]:36892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azpoo-0000bn-RC for 23476@debbugs.gnu.org; Mon, 09 May 2016 14:22:11 -0400 Received: (qmail 74241 invoked by uid 3782); 9 May 2016 18:22:08 -0000 Received: from acm.muc.de (p4FC46F8C.dip0.t-ipconnect.de [79.196.111.140]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 09 May 2016 20:22:06 +0200 Received: (qmail 18356 invoked by uid 1000); 9 May 2016 18:22:06 -0000 Date: Mon, 9 May 2016 18:22:06 +0000 To: Eli Zaretskii Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error Message-ID: <20160509182206.GC5316@acm.fritz.box> References: <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> <20160509110713.GA5316@acm.fritz.box> <83shxrcgxz.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83shxrcgxz.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hello, Eli. On Mon, May 09, 2016 at 07:52:08PM +0300, Eli Zaretskii wrote: > > Date: Mon, 9 May 2016 11:07:13 +0000 > > Cc: 23476@debbugs.gnu.org > > From: Alan Mackenzie [ .... ] > > Right. I've amended C(etc.) Mode to use the new :after-hook parameter > > to define-derived-mode which I committed yesterday. The eval form which > > used to be in .dir-locals.el is now run by C Mode after the mode hooks > > (and file/dir local variables stuff) have been done. > Thanks. [ .... ] > > One way to get round this would be to add the safe-local-variable > > stuff into emacs-25, but nobody wants to change emacs-25 at this > > late stage. > Adding a variable that is not used for anything but declaring its safe > values should be OK, I think. > > Just how bad would it be to get the question about unsafe local > > variables when visiting master C files from emacs-25 emacs -Q? > It's better, but still an annoyance. And if the solution in non-Q > sessions is to accept the variable as safe anyway, then adding the > variable instead for the same purpose is not different, and should be > "safe" (pun intended ;-). OK, Done. (Full patch in master, minimal patch in emacs-25). -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 14:34:43 2016 Received: (at 23476-done) by debbugs.gnu.org; 9 May 2016 18:34:43 +0000 Received: from localhost ([127.0.0.1]:44691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azq0w-0000yQ-S8 for submit@debbugs.gnu.org; Mon, 09 May 2016 14:34:43 -0400 Received: from mail.muc.de ([193.149.48.3]:40367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azq0v-0000yI-JG for 23476-done@debbugs.gnu.org; Mon, 09 May 2016 14:34:42 -0400 Received: (qmail 77989 invoked by uid 3782); 9 May 2016 18:34:40 -0000 Date: 9 May 2016 18:34:40 -0000 Message-ID: <20160509183440.77988.qmail@mail.muc.de> From: Alan Mackenzie To: 23476-done@debbugs.gnu.org Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error Organization: muc.de e.V. In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.3.1-20141224 ("Tallant") (UNIX) (FreeBSD/10.3-RELEASE (amd64)) X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23476-done Cc: Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Bug fixed in master, and papered over (for compatibility) in emacs-25. > Thanks. This eliminates the error, but not the annoying question > about unsafe variables. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 15:11:49 2016 Received: (at 23476) by debbugs.gnu.org; 9 May 2016 19:11:49 +0000 Received: from localhost ([127.0.0.1]:44711 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azqaq-0001qE-CW for submit@debbugs.gnu.org; Mon, 09 May 2016 15:11:49 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azqan-0001q1-UC for 23476@debbugs.gnu.org; Mon, 09 May 2016 15:11:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azqad-0000rw-IN for 23476@debbugs.gnu.org; Mon, 09 May 2016 15:11:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:39312) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azqad-0000ra-FC; Mon, 09 May 2016 15:11:35 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1151 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1azqaa-0003m6-0V; Mon, 09 May 2016 15:11:34 -0400 Date: Mon, 09 May 2016 22:11:14 +0300 Message-Id: <83eg9bcai5.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-reply-to: <20160509182206.GC5316@acm.fritz.box> (message from Alan Mackenzie on Mon, 9 May 2016 18:22:06 +0000) Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error References: <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> <20160509110713.GA5316@acm.fritz.box> <83shxrcgxz.fsf@gnu.org> <20160509182206.GC5316@acm.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) > Date: Mon, 9 May 2016 18:22:06 +0000 > Cc: 23476@debbugs.gnu.org > From: Alan Mackenzie > > > It's better, but still an annoyance. And if the solution in non-Q > > sessions is to accept the variable as safe anyway, then adding the > > variable instead for the same purpose is not different, and should be > > "safe" (pun intended ;-). > > OK, Done. (Full patch in master, minimal patch in emacs-25). Thanks, the problem is gone on both branches. Btw, I noticed that CC Mode is quite a bit slower on master than it is on emacs-25 (try searching for "IF_LINT" in xdisp.c), is that related to these changes in any way? From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 16:48:37 2016 Received: (at submit) by debbugs.gnu.org; 9 May 2016 20:48:37 +0000 Received: from localhost ([127.0.0.1]:44765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azs6U-0004FA-EH for submit@debbugs.gnu.org; Mon, 09 May 2016 16:48:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51571) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azs6O-0004Eu-Re for submit@debbugs.gnu.org; Mon, 09 May 2016 16:48:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azs6E-0004pN-39 for submit@debbugs.gnu.org; Mon, 09 May 2016 16:48:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51938) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azs6E-0004ok-0s for submit@debbugs.gnu.org; Mon, 09 May 2016 16:48:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azs67-0004Vg-94 for bug-gnu-emacs@gnu.org; Mon, 09 May 2016 16:48:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azs60-0004ia-LB for bug-gnu-emacs@gnu.org; Mon, 09 May 2016 16:48:10 -0400 Received: from plane.gmane.org ([80.91.229.3]:35612) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azs60-0004dm-8Y for bug-gnu-emacs@gnu.org; Mon, 09 May 2016 16:48:04 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1azs4x-0001jf-6x for bug-gnu-emacs@gnu.org; Mon, 09 May 2016 22:46:59 +0200 Received: from 120.red-88-22-75.staticip.rima-tde.net ([88.22.75.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 May 2016 22:46:59 +0200 Received: from ofv by 120.red-88-22-75.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 May 2016 22:46:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error Date: Mon, 09 May 2016 22:46:22 +0200 Lines: 13 Message-ID: <87a8jzm02p.fsf@wanadoo.es> References: <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> <20160509110713.GA5316@acm.fritz.box> <83shxrcgxz.fsf@gnu.org> <20160509182206.GC5316@acm.fritz.box> <83eg9bcai5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 120.red-88-22-75.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) Cancel-Lock: sha1:tUqWgrpbtia/NRmiLrk0YoWo6+s= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.8 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.8 (----) Eli Zaretskii writes: > Btw, I noticed that CC Mode is quite a bit slower on master than it is > on emacs-25 (try searching for "IF_LINT" in xdisp.c), is that related > to these changes in any way? FWIW, I'm using master version GNU Emacs 25.0.92.4 (x86_64-pc-linux-gnu, X toolkit) of 2016-04-23 which includes the noise macros feature. Searching for IF_LINT in xdisp.c is instantaneous. Also, on my work with large-ish C++ source files I didn't observe any slow down. From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 22:34:40 2016 Received: (at 23476) by debbugs.gnu.org; 10 May 2016 02:34:40 +0000 Received: from localhost ([127.0.0.1]:44945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azxVQ-0007CS-13 for submit@debbugs.gnu.org; Mon, 09 May 2016 22:34:40 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37331) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azxVO-0007CG-Nn for 23476@debbugs.gnu.org; Mon, 09 May 2016 22:34:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azxVE-0000L2-PG for 23476@debbugs.gnu.org; Mon, 09 May 2016 22:34:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azxVE-0000Ke-Mg; Mon, 09 May 2016 22:34:28 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1794 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1azxVC-0004BG-NX; Mon, 09 May 2016 22:34:27 -0400 Date: Tue, 10 May 2016 05:34:30 +0300 Message-Id: <838tzid4jt.fsf@gnu.org> From: Eli Zaretskii To: =?iso-8859-1?Q?=D3scar?= Fuentes In-reply-to: <87a8jzm02p.fsf@wanadoo.es> (message from =?iso-8859-1?Q?=D3s?= =?iso-8859-1?Q?car?= Fuentes on Mon, 09 May 2016 22:46:22 +0200) Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error References: <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> <20160509110713.GA5316@acm.fritz.box> <83shxrcgxz.fsf@gnu.org> <20160509182206.GC5316@acm.fritz.box> <83eg9bcai5.fsf@gnu.org> <87a8jzm02p.fsf@wanadoo.es> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: 23476 Cc: 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) > From: Óscar Fuentes > Date: Mon, 09 May 2016 22:46:22 +0200 > > Eli Zaretskii writes: > > > Btw, I noticed that CC Mode is quite a bit slower on master than it is > > on emacs-25 (try searching for "IF_LINT" in xdisp.c), is that related > > to these changes in any way? > > FWIW, I'm using master version > > GNU Emacs 25.0.92.4 (x86_64-pc-linux-gnu, X toolkit) of 2016-04-23 > > which includes the noise macros feature. Searching for IF_LINT in > xdisp.c is instantaneous. Also, on my work with large-ish C++ source > files I didn't observe any slow down. How (with what configure-time options) was your binary built? Is it an optimized build? And btw, 25.0.93 is not a master branch version, it's an emacs-25 branch version. The slowdown I saw was in 25.1.50.106. From debbugs-submit-bounces@debbugs.gnu.org Mon May 09 23:58:31 2016 Received: (at 23476) by debbugs.gnu.org; 10 May 2016 03:58:31 +0000 Received: from localhost ([127.0.0.1]:44996 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azyoY-0000lB-SO for submit@debbugs.gnu.org; Mon, 09 May 2016 23:58:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56089) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1azyoX-0000kw-9v for 23476@debbugs.gnu.org; Mon, 09 May 2016 23:58:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azyoQ-0002Q3-T8 for 23476@debbugs.gnu.org; Mon, 09 May 2016 23:58:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46170) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azyoK-0002Oh-Qz; Mon, 09 May 2016 23:58:16 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1azyoJ-0005lx-69; Mon, 09 May 2016 23:58:15 -0400 From: Glenn Morris To: Eli Zaretskii Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error References: <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> <20160509110713.GA5316@acm.fritz.box> <83shxrcgxz.fsf@gnu.org> <20160509182206.GC5316@acm.fritz.box> <83eg9bcai5.fsf@gnu.org> X-Spook: Service disruption Coast Guard Domestic Nuclear Detection X-Ran: h;;1U>3^aXw32[rjZ_oI>mKVsZ%S+@\p6Xa,Nl#OR#LfDV#r7sD#ETRm)|B`Sd&Yy^A(RS X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Mon, 09 May 2016 23:58:15 -0400 In-Reply-To: <83eg9bcai5.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 09 May 2016 22:11:14 +0300") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: 23476 Cc: Alan Mackenzie , 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) Eli Zaretskii wrote: > Btw, I noticed that CC Mode is quite a bit slower on master than it is > on emacs-25 (try searching for "IF_LINT" in xdisp.c), is that related > to these changes in any way? Slower than the version that is slower than the previous version? http://debbugs.gnu.org/20352 From debbugs-submit-bounces@debbugs.gnu.org Tue May 10 03:51:38 2016 Received: (at 23476) by debbugs.gnu.org; 10 May 2016 07:51:38 +0000 Received: from localhost ([127.0.0.1]:45112 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b02SA-0003Cs-7Q for submit@debbugs.gnu.org; Tue, 10 May 2016 03:51:38 -0400 Received: from mail.muc.de ([193.149.48.3]:20301) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b02S8-0003Ck-Jm for 23476@debbugs.gnu.org; Tue, 10 May 2016 03:51:37 -0400 Received: (qmail 31959 invoked by uid 3782); 10 May 2016 07:51:34 -0000 Received: from acm.muc.de (p548C6597.dip0.t-ipconnect.de [84.140.101.151]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 10 May 2016 09:51:33 +0200 Received: (qmail 3597 invoked by uid 1000); 10 May 2016 07:51:32 -0000 Date: Tue, 10 May 2016 07:51:32 +0000 To: Eli Zaretskii Subject: Slowdown in C Mode fontification [Was: bug#23476: 25.0.93; Visiting C files on master signals an error] Message-ID: <20160510075132.GA1923@acm.fritz.box> References: <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> <20160509110713.GA5316@acm.fritz.box> <83shxrcgxz.fsf@gnu.org> <20160509182206.GC5316@acm.fritz.box> <83eg9bcai5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <83eg9bcai5.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23476 Cc: Glenn Morris , 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hello, Eli. On Mon, May 09, 2016 at 10:11:14PM +0300, Eli Zaretskii wrote: [ .... ] > Btw, I noticed that CC Mode is quite a bit slower on master than it is > on emacs-25 (try searching for "IF_LINT" in xdisp.c), is that related > to these changes in any way? Whoops! No, this slowdown is caused by commit 89d1776b81ab552192ee41f13ce84ff86bda4556 on 2016-04-25, a fix for bug #7918. The bug was the spurious fontification of something like "for (; a * b;)". I'll see if I can find a better fix; if not, it would probably be best to remove the commit and leave the bug unfixed. -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Tue May 10 11:05:06 2016 Received: (at 23476) by debbugs.gnu.org; 10 May 2016 15:05:07 +0000 Received: from localhost ([127.0.0.1]:46013 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b09De-00008d-Oz for submit@debbugs.gnu.org; Tue, 10 May 2016 11:05:06 -0400 Received: from mail.muc.de ([193.149.48.3]:45239) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b09DZ-00007z-6t for 23476@debbugs.gnu.org; Tue, 10 May 2016 11:05:05 -0400 Received: (qmail 11648 invoked by uid 3782); 10 May 2016 15:04:59 -0000 Received: from acm.muc.de (p548C6597.dip0.t-ipconnect.de [84.140.101.151]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 10 May 2016 17:04:57 +0200 Received: (qmail 10653 invoked by uid 1000); 10 May 2016 15:04:56 -0000 Date: Tue, 10 May 2016 15:04:56 +0000 To: Eli Zaretskii Subject: Re: Slowdown in C Mode fontification [Was: bug#23476: 25.0.93; Visiting C files on master signals an error] Message-ID: <20160510150456.GB7211@acm.fritz.box> References: <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> <20160509110713.GA5316@acm.fritz.box> <83shxrcgxz.fsf@gnu.org> <20160509182206.GC5316@acm.fritz.box> <83eg9bcai5.fsf@gnu.org> <20160510075132.GA1923@acm.fritz.box> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160510075132.GA1923@acm.fritz.box> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23476 Cc: Glenn Morris , 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hello, Eli. On Tue, May 10, 2016 at 07:51:32AM +0000, Alan Mackenzie wrote: > On Mon, May 09, 2016 at 10:11:14PM +0300, Eli Zaretskii wrote: > [ .... ] > > Btw, I noticed that CC Mode is quite a bit slower on master than it is > > on emacs-25 (try searching for "IF_LINT" in xdisp.c), is that related > > to these changes in any way? > Whoops! No, this slowdown is caused by commit > 89d1776b81ab552192ee41f13ce84ff86bda4556 on 2016-04-25, a fix for bug > #7918. The bug was the spurious fontification of something like "for (; > a * b;)". > I'll see if I can find a better fix; if not, it would probably be best to > remove the commit and leave the bug unfixed. I've reverted that commit, and reopened bug #7918. It's going to be difficult to fix in a manner which doesn't slow down CC Mode's fontification. :-( -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Tue May 10 12:04:35 2016 Received: (at 23476) by debbugs.gnu.org; 10 May 2016 16:04:35 +0000 Received: from localhost ([127.0.0.1]:46072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0A9D-0001Wd-8f for submit@debbugs.gnu.org; Tue, 10 May 2016 12:04:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40276) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0A9A-0001WM-O1 for 23476@debbugs.gnu.org; Tue, 10 May 2016 12:04:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0A92-0007Ck-Bt for 23476@debbugs.gnu.org; Tue, 10 May 2016 12:04:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0A92-0007Ca-8n; Tue, 10 May 2016 12:04:24 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2803 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1b0A90-0006F1-Px; Tue, 10 May 2016 12:04:23 -0400 Date: Tue, 10 May 2016 19:04:28 +0300 Message-Id: <8337ppdhmb.fsf@gnu.org> From: Eli Zaretskii To: Alan Mackenzie In-reply-to: <20160510075132.GA1923@acm.fritz.box> (message from Alan Mackenzie on Tue, 10 May 2016 07:51:32 +0000) Subject: Re: Slowdown in C Mode fontification [Was: bug#23476: 25.0.93; Visiting C files on master signals an error] References: <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> <20160509110713.GA5316@acm.fritz.box> <83shxrcgxz.fsf@gnu.org> <20160509182206.GC5316@acm.fritz.box> <83eg9bcai5.fsf@gnu.org> <20160510075132.GA1923@acm.fritz.box> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -7.1 (-------) X-Debbugs-Envelope-To: 23476 Cc: rgm@gnu.org, 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -7.1 (-------) > Date: Tue, 10 May 2016 07:51:32 +0000 > Cc: 23476@debbugs.gnu.org, Glenn Morris > From: Alan Mackenzie > > > Btw, I noticed that CC Mode is quite a bit slower on master than it is > > on emacs-25 (try searching for "IF_LINT" in xdisp.c), is that related > > to these changes in any way? > > Whoops! No, this slowdown is caused by commit > 89d1776b81ab552192ee41f13ce84ff86bda4556 on 2016-04-25, a fix for bug > #7918. The bug was the spurious fontification of something like "for (; > a * b;)". > > I'll see if I can find a better fix; if not, it would probably be best to > remove the commit and leave the bug unfixed. Since this is only on master (right?), there's no rush to revert the commit, perhaps you or someone else will come up with a solution that doesn't bring back bug #7918. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Tue May 10 13:33:12 2016 Received: (at submit) by debbugs.gnu.org; 10 May 2016 17:33:12 +0000 Received: from localhost ([127.0.0.1]:46125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0BWx-0003bT-Dv for submit@debbugs.gnu.org; Tue, 10 May 2016 13:33:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36432) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0BWv-0003bH-8u for submit@debbugs.gnu.org; Tue, 10 May 2016 13:33:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0BWp-0005KP-0K for submit@debbugs.gnu.org; Tue, 10 May 2016 13:33:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:49745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0BWo-0005KG-TZ for submit@debbugs.gnu.org; Tue, 10 May 2016 13:33:02 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55618) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0BWm-0001Fk-Fz for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 13:33:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0BWh-0005IS-8h for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 13:33:00 -0400 Received: from plane.gmane.org ([80.91.229.3]:53447) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0BWg-0005He-8G for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 13:32:55 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b0BWc-0005G6-5T for bug-gnu-emacs@gnu.org; Tue, 10 May 2016 19:32:50 +0200 Received: from 120.red-88-22-75.staticip.rima-tde.net ([88.22.75.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 May 2016 19:32:50 +0200 Received: from ofv by 120.red-88-22-75.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 10 May 2016 19:32:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: bug-gnu-emacs@gnu.org From: =?utf-8?Q?=C3=93scar_Fuentes?= Subject: Re: bug#23476: 25.0.93; Visiting C files on master signals an error Date: Tue, 10 May 2016 19:32:32 +0200 Lines: 42 Message-ID: <87y47haken.fsf@wanadoo.es> References: <83oa8hepuj.fsf@gnu.org> <20160507175030.GA4161@acm.fritz.box> <83mvo1enoe.fsf@gnu.org> <20160507185225.GB3660@acm.fritz.box> <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> <20160509110713.GA5316@acm.fritz.box> <83shxrcgxz.fsf@gnu.org> <20160509182206.GC5316@acm.fritz.box> <83eg9bcai5.fsf@gnu.org> <87a8jzm02p.fsf@wanadoo.es> <838tzid4jt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 120.red-88-22-75.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.92 (gnu/linux) Cancel-Lock: sha1:VNc3MppzUEvQ7QmAVQ6XMVXA1M8= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.9 (---) Eli Zaretskii writes: >> > Btw, I noticed that CC Mode is quite a bit slower on master than it is >> > on emacs-25 (try searching for "IF_LINT" in xdisp.c), is that related >> > to these changes in any way? >> >> FWIW, I'm using master version >> >> GNU Emacs 25.0.92.4 (x86_64-pc-linux-gnu, X toolkit) of 2016-04-23 >> >> which includes the noise macros feature. Searching for IF_LINT in >> xdisp.c is instantaneous. Also, on my work with large-ish C++ source >> files I didn't observe any slow down. > > How (with what configure-time options) was your binary built? Is it > an optimized build? > > And btw, 25.0.93 is not a master branch version, it's an emacs-25 > branch version. The slowdown I saw was in 25.1.50.106. Ooops! It is emacs-25 indeed, but with the original noise-macros patch that was later committed to master by Alan. My config command is ../emacs/configure --without-toolkit-scroll-bars --with-x-toolkit=lucid which is optimized, AFAIK. I have GNU Emacs 25.1.50.1 (i686-w64-mingw32) of 2016-04-21 on a VM machine and isearching for IF_LINT on xdisp.c on that build is also instantaneous. Configured and built with no added options. The same build on a 7 year old netbook also isearches IF_LINT with no perceptible delay. Moreover, I have installed the `anzu' package, which shows on the modeline a (M/N) count where N is the total of matches on the buffer and M is the current match on the series. This possibly adds quite a bit of work to the bare isearch. There is no significant change on the time taken for displaying the buffer when the file is visited too. Quickly pressing the Page/Down key saturates the CPU on the netbook, but IIRC that also happened before the noise-macros change. From debbugs-submit-bounces@debbugs.gnu.org Tue May 10 15:00:12 2016 Received: (at 23476) by debbugs.gnu.org; 10 May 2016 19:00:12 +0000 Received: from localhost ([127.0.0.1]:46215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0CtA-0005ms-FV for submit@debbugs.gnu.org; Tue, 10 May 2016 15:00:12 -0400 Received: from mail.muc.de ([193.149.48.3]:47341) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b0Ct8-0005mg-BC for 23476@debbugs.gnu.org; Tue, 10 May 2016 15:00:11 -0400 Received: (qmail 55010 invoked by uid 3782); 10 May 2016 19:00:05 -0000 Received: from acm.muc.de (p548C6597.dip0.t-ipconnect.de [84.140.101.151]) by colin.muc.de (tmda-ofmipd) with ESMTP; Tue, 10 May 2016 21:00:04 +0200 Received: (qmail 11612 invoked by uid 1000); 10 May 2016 19:00:04 -0000 Date: Tue, 10 May 2016 19:00:04 +0000 To: Eli Zaretskii Subject: Re: Slowdown in C Mode fontification Message-ID: <20160510190004.GC1923@acm.fritz.box> References: <83lh3lelw1.fsf@gnu.org> <83k2j5ekdc.fsf@gnu.org> <20160507204022.GE3660@acm.fritz.box> <83inyoeek8.fsf@gnu.org> <20160509110713.GA5316@acm.fritz.box> <83shxrcgxz.fsf@gnu.org> <20160509182206.GC5316@acm.fritz.box> <83eg9bcai5.fsf@gnu.org> <20160510075132.GA1923@acm.fritz.box> <8337ppdhmb.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8337ppdhmb.fsf@gnu.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 23476 Cc: rgm@gnu.org, 23476@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.1 (--) Hello, Eli. On Tue, May 10, 2016 at 07:04:28PM +0300, Eli Zaretskii wrote: > > Date: Tue, 10 May 2016 07:51:32 +0000 > > Cc: 23476@debbugs.gnu.org, Glenn Morris > > From: Alan Mackenzie > > > Btw, I noticed that CC Mode is quite a bit slower on master than it is > > > on emacs-25 (try searching for "IF_LINT" in xdisp.c), is that related > > > to these changes in any way? > > Whoops! No, this slowdown is caused by commit > > 89d1776b81ab552192ee41f13ce84ff86bda4556 on 2016-04-25, a fix for bug > > #7918. The bug was the spurious fontification of something like "for (; > > a * b;)". > > I'll see if I can find a better fix; if not, it would probably be best to > > remove the commit and leave the bug unfixed. > Since this is only on master (right?), there's no rush to revert the > commit, perhaps you or someone else will come up with a solution that > doesn't bring back bug #7918. I've reverted it. I'm thinking of Martin, who doesn't have a fast machine, and it's annoyingly slow even for me on my machine. In fact the slowdown in fontification is approximately a factor of 3. I've now got some idea how to fix this, and it will be radically different from the reverted commit, not a variation on it. > Thanks. -- Alan Mackenzie (Nuremberg, Germany). From unknown Thu Jun 19 14:06:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 08 Jun 2016 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