unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alan Mackenzie <acm@muc.de>
Cc: 23476@debbugs.gnu.org, andrewjmoreton@gmail.com
Subject: bug#23476: 25.0.93; Visiting C files on master signals an error
Date: Sat, 07 May 2016 21:57:50 +0300	[thread overview]
Message-ID: <83lh3lelw1.fsf@gnu.org> (raw)
In-Reply-To: <20160507185225.GB3660@acm.fritz.box> (message from Alan Mackenzie on Sat, 7 May 2016 18:52:25 +0000)

> Date: Sat, 7 May 2016 18:52:25 +0000
> Cc: andrewjmoreton@gmail.com, 23476@debbugs.gnu.org
> From: Alan Mackenzie <acm@muc.de>
> 
> > 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.





  reply	other threads:[~2016-05-07 18:57 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-07  7:27 bug#23476: 25.0.93; Visiting C files on master signals an error Eli Zaretskii
2016-05-07 16:43 ` Andy Moreton
2016-05-07 17:32   ` Eli Zaretskii
2016-05-07 17:50     ` Alan Mackenzie
2016-05-07 18:19       ` Eli Zaretskii
2016-05-07 18:52         ` Alan Mackenzie
2016-05-07 18:57           ` Eli Zaretskii [this message]
2016-05-07 19:30             ` Eli Zaretskii
2016-05-07 20:40               ` Alan Mackenzie
2016-05-08 15:48                 ` Eli Zaretskii
2016-05-09 11:07                   ` Alan Mackenzie
2016-05-09 16:52                     ` Eli Zaretskii
2016-05-09 18:22                       ` Alan Mackenzie
2016-05-09 19:11                         ` Eli Zaretskii
2016-05-10  3:58                           ` Glenn Morris
2016-05-10  7:51                           ` bug#23476: Slowdown in C Mode fontification [Was: bug#23476: 25.0.93; Visiting C files on master signals an error] Alan Mackenzie
2016-05-10 15:04                             ` Alan Mackenzie
2016-05-10 16:04                             ` Eli Zaretskii
2016-05-10 19:00                               ` bug#23476: Slowdown in C Mode fontification Alan Mackenzie
2016-05-09 12:01                 ` bug#23476: 25.0.93; Visiting C files on master signals an error Stefan Monnier
2016-05-07 20:10             ` Alan Mackenzie
     [not found] ` <mailman.2399.1462642391.7477.bug-gnu-emacs@gnu.org>
2016-05-09 18:34   ` Alan Mackenzie
2016-05-09 20:46 ` Óscar Fuentes
2016-05-10  2:34   ` Eli Zaretskii
2016-05-10 17:32 ` Óscar Fuentes

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lh3lelw1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=23476@debbugs.gnu.org \
    --cc=acm@muc.de \
    --cc=andrewjmoreton@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).