[Top][All Lists]

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

Re: dir(Top) is in French ?!?

From: David Masterson
Subject: Re: dir(Top) is in French ?!?
Date: Mon, 28 Apr 2014 11:29:05 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (cygwin)

Eli Zaretskii <address@hidden> writes:

>> From: David Masterson <address@hidden>
>> Date: Mon, 28 Apr 2014 10:32:20 -0700
>> Eli Zaretskii <address@hidden> writes:
>> > This is not an Emacs problem.  This is how the install-info.exe
>> > program (part of the Texinfo package) works: it localizes these
>> > introductory instructions to the Info system when it installs Info
>> > files.
>> I don't have the source code installed, but I don't believe that is
>> true.
>>From install-info.c:
>   desc = open (dirfile, O_RDONLY);
>   if (desc < 0 && errno == ENOENT)
>     {
>       FILE *f;
>       char *readerr = strerror (errno);
>       close (desc);
>       f = fopen (dirfile, "w");
>       if (f)
>         {
>           fprintf (f, _("This is the file .../info/dir, which contains the\n\
> topmost node of the Info hierarchy, called (dir)Top.\n\
> The first time you invoke Info you start off looking at this node.\n\
> %c\n\
> %s\tThis is the top of the INFO tree\n\
> \n\
> [...]
> As you probably know, text that is in _() will be replaced by gettext
> with its localized translation.

But this only applies if there is *no* dir file.  My problem is that,
when there are dir files, the header information is pulled from the
first dir file in Info-directory-list.  If it is wrong (as in this
case), then the result is wrong.  The resulting dir file is not

David Masterson
Programmer At Large

reply via email to

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