From: Eli Zaretskii <eliz@gnu.org>
To: Paul Eggert <eggert@cs.ucla.edu>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: Help etags parse lisp.j
Date: Mon, 21 Mar 2016 20:13:40 +0200 [thread overview]
Message-ID: <83mvpr66nf.fsf@gnu.org> (raw)
In-Reply-To: <56F03204.9000701@cs.ucla.edu> (message from Paul Eggert on Mon, 21 Mar 2016 10:40:20 -0700)
> Cc: emacs-devel@gnu.org
> From: Paul Eggert <eggert@cs.ucla.edu>
> Date: Mon, 21 Mar 2016 10:40:20 -0700
>
> Eli Zaretskii wrote:
> > . in a large enough project, the user doesn't have an easy way of
> > knowing whether she needs K&R support
>
> Yes they do. Any current project won't bother with K&R. The handful of older
> projects that still have K&R and haven't bothered to rip it out (e.g., glibc is
> *still* ripping it out) should have a toolsmith that knows ancient history.
> Really, K&R support should be turned off by default.
I don't want to turn it off, sorry. Etags is part of the set of tools
that are invaluable when you are assigned with a task of making some
change in a large project that lay dormant for years -- they allow you
to quickly find your way in unfamiliar code. It should support old
code styles.
> > . implementing such an option is not trivial, to say the least, given
> > the complex state machines used by parsing of C-like languages
>
> Nontrivial yes, but still it's not terribly hard.
>
> In the short term, perhaps we could work around the problem by replacing this:
>
> extern int make_ctrl_char (int) ATTRIBUTE_CONST;
>
> with this:
>
> extern ATTRIBUTE_CONST int make_ctrl_char (int);
>
> and similarly for the other affected declarations.
Let me first see if I can find a better solution.
Thanks.
next prev parent reply other threads:[~2016-03-21 18:13 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-20 17:19 Help etags parse lisp.j Eli Zaretskii
2016-03-20 17:34 ` Andreas Schwab
2016-03-20 17:59 ` Eli Zaretskii
2016-03-20 18:11 ` Help etags parse lisp.h Eli Zaretskii
2016-03-21 7:54 ` Help etags parse lisp.j Paul Eggert
2016-03-21 10:58 ` Andreas Schwab
2016-03-21 16:10 ` Eli Zaretskii
2016-03-22 12:46 ` Stefan Monnier
2016-03-22 16:24 ` Eli Zaretskii
2016-03-21 13:40 ` Stefan Monnier
2016-03-21 16:22 ` Eli Zaretskii
2016-03-21 17:40 ` Paul Eggert
2016-03-21 18:13 ` Eli Zaretskii [this message]
2016-03-21 21:28 ` John Wiegley
2016-03-22 12:25 ` Stefan Monnier
2016-03-21 18:10 ` Stefan Monnier
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=83mvpr66nf.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=eggert@cs.ucla.edu \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).