From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36828: 27.0.50; Uninstalled emacs shows installed documentation Date: Sat, 26 Oct 2019 15:29:02 +0300 Message-ID: <838sp7vgfl.fsf@gnu.org> 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> <87v9vkr1je.fsf@telefonica.net> <83wofzimq8.fsf@gnu.org> <87eez0kxhq.fsf@telefonica.net> <83v9sbvqhl.fsf@gnu.org> <874kzvlo0w.fsf@telefonica.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="242683"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36828@debbugs.gnu.org, stepnem@gmail.com To: =?UTF-8?Q?=C3=93scar?= Fuentes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 26 14:30:26 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 1iOLD8-0010zM-4K for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Oct 2019 14:30:26 +0200 Original-Received: from localhost ([::1]:39936 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOLD6-0005wY-9T for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Oct 2019 08:30:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39432) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOLCl-0005jA-95 for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2019 08:30:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iOLCk-0005ZQ-9A for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2019 08:30:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59184) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iOLCk-0005Z1-5e for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2019 08:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iOLCj-0004BE-UC for bug-gnu-emacs@gnu.org; Sat, 26 Oct 2019 08:30:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Oct 2019 12:30: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.157209296315999 (code B ref 36828); Sat, 26 Oct 2019 12:30:01 +0000 Original-Received: (at 36828) by debbugs.gnu.org; 26 Oct 2019 12:29:23 +0000 Original-Received: from localhost ([127.0.0.1]:39772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOLC7-00049y-Cr for submit@debbugs.gnu.org; Sat, 26 Oct 2019 08:29:23 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58469) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOLC5-00049l-Ga for 36828@debbugs.gnu.org; Sat, 26 Oct 2019 08:29:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iOLBz-0005Fp-Tc; Sat, 26 Oct 2019 08:29:15 -0400 Original-Received: from [176.228.60.248] (port=4490 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iOLBy-0005k6-E7; Sat, 26 Oct 2019 08:29:15 -0400 In-reply-to: <874kzvlo0w.fsf@telefonica.net> (message from =?UTF-8?Q?=C3=93scar?= Fuentes on Sat, 26 Oct 2019 13:55:11 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:170194 Archived-At: > From: Óscar Fuentes > Cc: stepnem@gmail.com, 36828@debbugs.gnu.org > Date: Sat, 26 Oct 2019 13:55:11 +0200 > > > I'm not sure I understand the relevance of data-directory to the issue > > at hand. > > data-directory is used for locating the NEWS file and, IIRC, other > documentation. > > > AFAIR you were talking about the Info documentation, > > No, it was about NEWS. Although making it work for the Info > documentation would be nice too (my proposed change does not provide > that). It sounds strange to solve only the issue with NEWS, but not with other documentation. > For the time being, I propose that we concentrate on NEWS, which > motivated this bug report. Then we can move on to the Info > documentation. OK, but then the logic in your proposed change changes too radically what we've been doing until now: it will cause Emacs to use the NEWS in the source tree even if you run the installed binary. That is not TRT, IMO. We need some way of detecting the situation whereby Emacs is being run from a separate build directory, and using the NEWS from the source tree only then, as fallback.