bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: underscores in gnulib file names


From: Eric Blake
Subject: Re: underscores in gnulib file names
Date: Thu, 06 Sep 2007 21:27:15 -0600
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.6) Gecko/20070728 Thunderbird/2.0.0.6 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Bruno Haible on 9/6/2007 5:02 PM:
> 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.

But editors (at least good ones, including vi, emacs, and kate) can be
taught about new suffixes, and once taught, will treat .eh like .h.
However, you do have a point that out-of-the-box editing suffers until you
make the configuration change in your editor, until the editor itself is
upgraded to recognize the new extension out-of-the-box.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG4MUT84KuGfSFAYARAjOqAJwIOULMYEQEDwPCNp805UqOv8M33wCghK7a
UqZYYMR7N7MuKY207/Jb0h0=
=uzlK
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]