[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: underscores in gnulib file names
From: |
Bruno Haible |
Subject: |
Re: underscores in gnulib file names |
Date: |
Fri, 7 Sep 2007 01:02:47 +0200 |
User-agent: |
KMail/1.5.4 |
Hi Paul,
> * Change getopt_.h to getopt.eh, and similarly for the other files
> whose names end in "-.h". ".eh" is short for "edit-needed header".
This is awful. Text editors, xgettext, and other tools use the filename
suffix to decide which parser to apply. For example, the KDE editor 'kate'
does no syntax coloring for a filename ending in ".eh". (See attached
screenshot.) Such a move would greatly damage the developer comfort.
> RMS writes:
>
> > Our convention is to use dashes, not underscores.
> > The names getopt_.h and getopt_int.h don't follow
> > this convention.
>
> > In the long term, would you please change them?
I guess that this request is about the Emacs sources, and about the
files imported into Emacs from gnulib, right? Not about gnulib as a
source code repository.
Then I would propose to do a file renaming as part of the step that
copies files from gnulib into emacs.
If this is done manually (by you, probably?), then two symlinks on your
disk or two lines in the updating script will do.
If it is done by use of gnulib-tool, then I'd find it reasonable to add
an extra option for such renaming to gnulib-tool. It will take about 20
lines of code in gnulib-tool (first, get the list of files to rename,
second, set up the 'sed' substitutions to perform the renaming on the file
names and on the contents of all files). 20 lines of code in gnulib-tool
are *much* better than a large number of nonintuitive file names in gnulib.
Bruno
- Re: underscores in gnulib file names, (continued)
- Re: underscores in gnulib file names, Eric Blake, 2007/09/08
- Re: underscores in gnulib file names, Bruno Haible, 2007/09/08
- Re: underscores in gnulib file names, Jim Meyering, 2007/09/08
- Re: underscores in gnulib file names, Eric Blake-1, 2007/09/24
- Re: underscores in gnulib file names, Jim Meyering, 2007/09/25
- detecting AC_REPLACE_FUNCS typos [was: underscores in gnulib file names], Eric Blake, 2007/09/25
- Re: detecting AC_REPLACE_FUNCS typos [was: underscores in gnulib file names], Eric Blake, 2007/09/28
- Re: detecting AC_REPLACE_FUNCS typos [was: underscores in gnulib file names], Bruno Haible, 2007/09/29
- proposed renaming [Re: underscores in gnulib file names, Jim Meyering, 2007/09/08
- Re: proposed renaming [Re: underscores in gnulib file names, Bruno Haible, 2007/09/08
Re: underscores in gnulib file names,
Bruno Haible <=