From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=C3=93scar?= Fuentes Newsgroups: gmane.emacs.bugs Subject: bug#36828: 27.0.50; Uninstalled emacs shows installed documentation Date: Mon, 29 Jul 2019 23:09:09 +0200 Message-ID: <87v9vkr1je.fsf@telefonica.net> References: <87lfwitcyf.fsf@telefonica.net> <83blxekwhz.fsf@gnu.org> <87ef2ataoj.fsf@telefonica.net> <837e82kssb.fsf@gnu.org> <87a7cxu16y.fsf@telefonica.net> <87h875qbrv.fsf@gmail.com> <83r268kiss.fsf@gnu.org> <875znkrj6y.fsf@gmail.com> <83mugwkh8u.fsf@gnu.org> <871ry8rfge.fsf@gmail.com> <83k1c0kcbw.fsf@gnu.org> <87wog0pwg6.fsf@gmail.com> <83ftmok8tt.fsf@gnu.org> <874l34smwx.fsf@telefonica.net> <83blxck5gf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="170833"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: 36828@debbugs.gnu.org, stepnem@gmail.com To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 29 23:10:09 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hsCuG-000iKY-Oe for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jul 2019 23:10:08 +0200 Original-Received: from localhost ([::1]:56396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsCuF-0002rK-BE for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jul 2019 17:10:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55546) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hsCuB-0002r5-35 for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2019 17:10:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hsCuA-0005o1-3J for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2019 17:10:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hsCuA-0005nr-0G for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2019 17:10:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hsCu9-0003li-P0 for bug-gnu-emacs@gnu.org; Mon, 29 Jul 2019 17:10:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jul 2019 21:10:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36828 X-GNU-PR-Package: emacs Original-Received: via spool by 36828-submit@debbugs.gnu.org id=B36828.156443456114415 (code B ref 36828); Mon, 29 Jul 2019 21:10:01 +0000 Original-Received: (at 36828) by debbugs.gnu.org; 29 Jul 2019 21:09:21 +0000 Original-Received: from localhost ([127.0.0.1]:49218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsCtV-0003kQ-4O for submit@debbugs.gnu.org; Mon, 29 Jul 2019 17:09:21 -0400 Original-Received: from relayout03-redir.e.movistar.es ([86.109.101.203]:32997) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hsCtR-0003k1-Dy for 36828@debbugs.gnu.org; Mon, 29 Jul 2019 17:09:18 -0400 Original-Received: from sky (162.red-79-151-6.dynamicip.rima-tde.net [79.151.6.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout03.e.movistar.es (Postfix) with ESMTPSA id 45yC3p4BvLzMlSq; Mon, 29 Jul 2019 23:09:09 +0200 (CEST) In-Reply-To: <83blxck5gf.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 29 Jul 2019 22:26:24 +0300") X-CTCH-Score: 0.000 X-CTCH-ScoreCust: 0.000 X-TnetOut-Country: IP: 79.151.6.162 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout03 X-TnetOut-MsgID: 45yC3p4BvLzMlSq.A841B X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1565039351.66767@sZXh0GAeTUDcu9QQMUpkLw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:164075 Archived-At: Eli Zaretskii writes: >> From: =C3=93scar Fuentes >> Cc: =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec , >> 36828@debbugs.gnu.org >> Date: Mon, 29 Jul 2019 20:42:06 +0200 >>=20 >> FWIW, what I was trying to say is that I consider confusing (in the >> sense of "wrong") that when I type C-h N the resulting document does not >> correspond to what I just built and executed. >>=20 >> M-x describe-function shows the docstrings of the Emacs I'm executing, > > How do you know? What is the value of doc-directory? /home/oscar/dev/emacs/stable/build/etc/ The installed version is in /usr/local. >> I fail to see a reason why making such change would negatively >> affect anyone. > > You'll need to describe that change in more detail, then we could see > who or what it will affect. I don't think we got to those details > yet. Are you asking for the description in changes to the source code or to the procedure? In any case I haven't studied the current procedure so I don't know what must be changed, I just can describe, for this specific case, what happens and what IMAO is the correct thing to do, which I've already done. A cursory look at view-emacs-news shows that it uses data-directory to locate the file, and data-directory is /usr/local/share/emacs/27.0.50/etc/ in my uninstalled build. A quick look at info.el hints that data-directory is also used for locating the info file. The change would amount to determine if we are running from an uninstalled build and, if positive, set data-directory et al. to the values they would have if no installed instance existed.