Hi Stefan,

At 2026-11-27T08:27:11+0100, Stefan Möding wrote:
> > !  The user's home directory is no longer present in the default
> >    macro file search path.  To restore GNU troff's former behavior
> >    in this respect, use a command-line option or environment
> >    variable.
> 
> I can only make a guess why this has been implemented in the good old
> days.  I presume that this was used to include personal macro files
> even when the current working directory is somewhere else when *roff
> is called.

I suspect you're right.  But that's a two-edged sword, as we saw in
Savannah #68890.  <https://savannah.gnu.org/bugs/?68890>

> I’m currently setting the following environment variables to keep that
> feature without using $HOME:
> 
> export GROFF_TMAC_PATH=~/.local/share/groff/tmac
> export GROFF_FONT_PATH=~/.local/share/groff/font
> 
> How about adding these locations to the default search paths for
> macros and fonts?  Either $XDG_DATA_HOME or ~/.local/share if that
> variable is undefined seems to be the preferred location nowadays.

I'm not at all opposed.  What do other folks think?

Regards,
Branden

Attachment: signature.asc
Description: PGP signature

Reply via email to