GNU logs - #25781, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#25781: Install misc documentation to /usr/share/doc/emacs-##
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 18 Feb 2017 03:25:02 +0000
Resent-Message-ID: <handler.25781.B.148738827414603 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 25781
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 25781 <at> debbugs.gnu.org
X-Debbugs-Original-To: submit <at> debbugs.gnu.org
Received: via spool by submit <at> debbugs.gnu.org id=B.148738827414603
          (code B ref -1); Sat, 18 Feb 2017 03:25:02 +0000
Received: (at submit) by debbugs.gnu.org; 18 Feb 2017 03:24:34 +0000
Received: from localhost ([127.0.0.1]:44023 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cevdR-0003nT-UH
	for submit <at> debbugs.gnu.org; Fri, 17 Feb 2017 22:24:34 -0500
Received: from eggs.gnu.org ([208.118.235.92]:34446)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rgm@HIDDEN>) id 1cevdQ-0003nH-A2
 for submit <at> debbugs.gnu.org; Fri, 17 Feb 2017 22:24:32 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <rgm@HIDDEN>) id 1cevdK-0003hi-GA
 for submit <at> debbugs.gnu.org; Fri, 17 Feb 2017 22:24:27 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38903)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <rgm@HIDDEN>)
 id 1cevdK-0003hS-CU
 for submit <at> debbugs.gnu.org; Fri, 17 Feb 2017 22:24:26 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.82)
 (envelope-from <rgm@HIDDEN>)
 id 1cevdI-00028X-QA; Fri, 17 Feb 2017 22:24:24 -0500
From: Glenn Morris <rgm@HIDDEN>
X-Spook: Armani Cloud Drug Administration advisors EBS TB LABLINK
X-Ran: JQ9W2(V^Gyg6KbowSBj@wY=Oq~zW]8!"Z3J,~T;4"Unl^s^-zVLGnUs^>@T`(G^[O4MZ4p
X-Hue: red
X-Attribution: GM
Date: Fri, 17 Feb 2017 22:24:24 -0500
Message-ID: <xamvdk89lj.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

Package: emacs
Version: 25.1
Severity: wishlist

The (file hierarchy) standard place for software to install
miscellaneous (non-Info, non-man) documentation, examples files, etc on
Unix systems is /usr/share/doc/package-version. In autoconf, this is the
standard variable docdir, eg /usr/share/doc/emacs-25.1 .

On both Red Hat and Debian systems, I have several thousand directories
in /usr/share/doc, but Emacs does not install anything there. IMO, much
of the stuff that Emacs installs in /usr/share/emacs/25.1/etc belongs in
/usr/share/doc/emacs-25.1. The exceptions would be any actual data files
that Emacs needs at runtime (eg ps-prin0.ps).

Motivation:
It's good to follow standards. Maybe Emacs predates the standard in
this case, but it seems past time to adapt. It will be a bit confusing
at first for those of us used to the old locations, but it will improve
discoverability for new users and sysadmins.


In practical terms, this could be done by a special install rule that
puts things from the existing etc/ source directory in the right place,
or a new directory (sadly doc/misc is already taken) could be added to
the source, and files moved there from etc/.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#25781: Install misc documentation to /usr/share/doc/emacs-##
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sat, 18 Feb 2017 08:22:02 +0000
Resent-Message-ID: <handler.25781.B25781.14874061198594 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 25781
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Glenn Morris <rgm@HIDDEN>
Cc: 25781 <at> debbugs.gnu.org
Reply-To: Eli Zaretskii <eliz@HIDDEN>
Received: via spool by 25781-submit <at> debbugs.gnu.org id=B25781.14874061198594
          (code B ref 25781); Sat, 18 Feb 2017 08:22:02 +0000
Received: (at 25781) by debbugs.gnu.org; 18 Feb 2017 08:21:59 +0000
Received: from localhost ([127.0.0.1]:44118 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1cf0HG-0002EY-Oe
	for submit <at> debbugs.gnu.org; Sat, 18 Feb 2017 03:21:58 -0500
Received: from eggs.gnu.org ([208.118.235.92]:46717)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1cf0HG-0002EM-1G
 for 25781 <at> debbugs.gnu.org; Sat, 18 Feb 2017 03:21:58 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <eliz@HIDDEN>) id 1cf0H6-0000Te-Vp
 for 25781 <at> debbugs.gnu.org; Sat, 18 Feb 2017 03:21:52 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD
 autolearn=disabled version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42830)
 by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>)
 id 1cf0H6-0000TU-SO
 for 25781 <at> debbugs.gnu.org; Sat, 18 Feb 2017 03:21:48 -0500
Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4550
 helo=home-c4e4a596f7)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <eliz@HIDDEN>)
 id 1cf0H4-0001Zw-Ro; Sat, 18 Feb 2017 03:21:47 -0500
Date: Sat, 18 Feb 2017 10:22:17 +0200
Message-Id: <83lgt3rjra.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-reply-to: <xamvdk89lj.fsf@HIDDEN> (message from Glenn Morris on
 Fri, 17 Feb 2017 22:24:24 -0500)
References: <xamvdk89lj.fsf@HIDDEN>
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

> From: Glenn Morris <rgm@HIDDEN>
> Date: Fri, 17 Feb 2017 22:24:24 -0500
> 
> The (file hierarchy) standard place for software to install
> miscellaneous (non-Info, non-man) documentation, examples files, etc on
> Unix systems is /usr/share/doc/package-version. In autoconf, this is the
> standard variable docdir, eg /usr/share/doc/emacs-25.1 .
> 
> On both Red Hat and Debian systems, I have several thousand directories
> in /usr/share/doc, but Emacs does not install anything there. IMO, much
> of the stuff that Emacs installs in /usr/share/emacs/25.1/etc belongs in
> /usr/share/doc/emacs-25.1. The exceptions would be any actual data files
> that Emacs needs at runtime (eg ps-prin0.ps).

I agree.  Can you propose a list of files that should be installed in
docdir?  If some of these files are accessed by Emacs features (e.g.,
NEWS), we will also have to change the corresponding code to access
them both in non-installed and installed Emacs.  (This is something
most, if not all, projects I built don't get right, btw.)

> In practical terms, this could be done by a special install rule that
> puts things from the existing etc/ source directory in the right place,
> or a new directory (sadly doc/misc is already taken) could be added to
> the source, and files moved there from etc/.

I'd prefer not to move files in the repository, as doing that runs
afoul of important Git features.

Thanks.





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.