bug#81332: info/dir and INFO_NONMISC are not gated by DOCLANGS

Eli Zaretskii <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
> From: Vincent Belaïche <[email protected]>
> CC: "[email protected]" <[email protected]>
> Date: Wed, 12 Aug 2026 04:33:36 +0000
> 
> I have not reviewed the patch in details, I don't think I would have any objections, but had just one comment on
> Eli's point:
> 
> > This should never happen.  These three directories are each for a
> > single manual, so any language-specific subdirectories of them can
> > only hold translations of the respective single manual.
> >
> > The other Emacs-related manuals are in doc/misc and its
> > subdirectories.
> 
> This not my understanding. It is correct that lispintro and lispref contain only one manual, but here is what
>    cd doc && \
>      find emacs -iname \*.texi -print0 | \
>      xargs -0 grep -nH -F '@direntry'
> outputs: 
> 
> emacs/emacs-xtra.texi:35:@direntry
> emacs/emacs.texi:43:@direntry
> 
> So it seems that there are two manuals in emacs sub-dir. Am I wrong ?

Yes, you are wrong.  emacs-xtra.txi is part of the single Emacs manual
(which is why you don't see info/emacs-xtra.info after you build
Emacs).  The reason for its existence is explained in the following
comment at the beginning of emacs-xtra.texi:

  @c This is a separate manual to avoid making the Emacs User manual too
  @c large in print.  In the Info format, the chapters included below
  @c are part of the Emacs User manual.

Today's lesson: it is not always enough to find some Grep hit, you
should also look around to make sure that hit indeed supports your
theory 😉.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.