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, 28 Oct 2019 20:40:03 +0100 Message-ID: <87imo8k6b0.fsf@telefonica.net> References: <87lfwitcyf.fsf@telefonica.net> <871ry8rfge.fsf@gmail.com> <83k1c0kcbw.fsf@gnu.org> <87wog0pwg6.fsf@gmail.com> <83ftmok8tt.fsf@gnu.org> <874l34smwx.fsf@telefonica.net> <83blxck5gf.fsf@gnu.org> <87v9vkr1je.fsf@telefonica.net> <83wofzimq8.fsf@gnu.org> <87eez0kxhq.fsf@telefonica.net> <83v9sbvqhl.fsf@gnu.org> <874kzvlo0w.fsf@telefonica.net> <838sp7vgfl.fsf@gnu.org> <87zhhnk57f.fsf@telefonica.net> <83y2x7tyb1.fsf@gnu.org> <87v9sbjms0.fsf@telefonica.net> <83d0ejtfzu.fsf@gnu.org> <87r22zjl44.fsf@telefonica.net> <835zkau5y6.fsf@gnu.org> <87mudlkato.fsf@telefonica.net> <838sp4svy9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="129174"; 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 Oct 28 21:31:02 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 1iPBfJ-000XUh-NR for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2019 21:31:01 +0100 Original-Received: from localhost ([::1]:37606 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPBfI-00011l-0K for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2019 16:31:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42420) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPAsx-0006ex-2e for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 15:41:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPAsw-0001Kh-0t for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 15:41:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37557) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPAsv-0001K4-RL for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 15:41:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPAsv-0002kj-NB for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 15:41: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, 28 Oct 2019 19:41: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.157229161510504 (code B ref 36828); Mon, 28 Oct 2019 19:41:01 +0000 Original-Received: (at 36828) by debbugs.gnu.org; 28 Oct 2019 19:40:15 +0000 Original-Received: from localhost ([127.0.0.1]:46378 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPAsB-0002jL-EL for submit@debbugs.gnu.org; Mon, 28 Oct 2019 15:40:15 -0400 Original-Received: from relayout01-redir.e.movistar.es ([86.109.101.201]:38673) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPAs9-0002iz-Ez for 36828@debbugs.gnu.org; Mon, 28 Oct 2019 15:40:14 -0400 Original-Received: from sky (238.red-79-144-110.dynamicip.rima-tde.net [79.144.110.238]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout01.e.movistar.es (Postfix) with ESMTPSA id 4724n019qFzfbjV; Mon, 28 Oct 2019 20:40:03 +0100 (CET) In-Reply-To: <838sp4svy9.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 28 Oct 2019 17:58:54 +0200") X-CTCH-Score: 0.000 X-CTCH-ScoreCust: 0.000 X-TnetOut-Country: IP: 79.144.110.238 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout01 X-TnetOut-MsgID: 4724n019qFzfbjV.A2439 X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1572896404.69639@NCf0jUSvNhZhzFyF4XJJHQ 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:170326 Archived-At: Eli Zaretskii writes: >> Once we know that we are running a non-installed emacs, detecting that >> it is an out-of-source build seems quite easy, because the build >> directory contains build artifacts without the sources. > > Yes. But how to detect that we are running non-installed? Checking for the presence of the "Makefile" file using the same method we use for "NEWS". > I'm not arguing against finding a solution to this particular > situation. So if you can work on a patch to detect it, please do. > I'm just saying that the change cannot unconditionally prefer the > files from the source tree, because an installed binary shouldn't do > that, it should use the files that are part of its installation. Agreed.