[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: file/directory named Config in current dir causes waring from texi2a
From: |
Gavin Smith |
Subject: |
Re: file/directory named Config in current dir causes waring from texi2any |
Date: |
Thu, 15 Jun 2023 20:36:37 +0100 |
On Thu, Jun 15, 2023 at 01:38:48PM +0900, Jun T wrote:
> # Tested on Ubuntu22.04
> # texinfo-7.0.3, configured with --prefix=$HOME/test
>
> texi2any gives an warning if there s a file or directory named
> 'Config' in the current directory. I think the current directory
> should not be included in the default search path.
>
texi2any is looking for an init file called 'Config'. It is documented
in the texi2any_api manual:
> Warning: The ‘Config’ file related paths and even the use of
> ‘Config’ files is not definitive.
>
> You can write so-called “initialization files”, or “init files” for
> short, to modify almost every aspect of output formatting. The program
> loads init files named ‘Config’ each time it is run.
I think that 'Config' is too generic a name for this. We could look at
naming conventions used for init or run control files by different programs
and change it to something else.