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: Mon, 28 Oct 2019 22:38:04 +0200 Message-ID: <83ftjcr4gj.fsf@gnu.org> References: <87lfwitcyf.fsf@telefonica.net> <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> <87imo8k6b0.fsf@telefonica.net> <83k18or62j.fsf@gnu.org> <87eeywk4e6.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="166009"; 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 Mon Oct 28 21:39:18 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 1iPBnJ-000h5F-QC for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2019 21:39:17 +0100 Original-Received: from localhost ([::1]:38356 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPBnI-00034P-7M for geb-bug-gnu-emacs@m.gmane.org; Mon, 28 Oct 2019 16:39:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58600) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iPBn5-0002yx-Di for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 16:39:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iPBn4-0005iV-BM for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 16:39:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37606) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iPBn4-0005hh-6h for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 16:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iPBn4-0004QD-0u for bug-gnu-emacs@gnu.org; Mon, 28 Oct 2019 16:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 28 Oct 2019 20:39: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.157229510116940 (code B ref 36828); Mon, 28 Oct 2019 20:39:01 +0000 Original-Received: (at 36828) by debbugs.gnu.org; 28 Oct 2019 20:38:21 +0000 Original-Received: from localhost ([127.0.0.1]:46427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPBmP-0004P9-57 for submit@debbugs.gnu.org; Mon, 28 Oct 2019 16:38:21 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:49180) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPBmN-0004Ov-0C for 36828@debbugs.gnu.org; Mon, 28 Oct 2019 16:38:19 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54542) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iPBmG-0004qr-4h; Mon, 28 Oct 2019 16:38:12 -0400 Original-Received: from [176.228.60.248] (port=4549 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iPBmE-0002tU-Fp; Mon, 28 Oct 2019 16:38:11 -0400 In-reply-to: <87eeywk4e6.fsf@telefonica.net> (message from =?UTF-8?Q?=C3=93scar?= Fuentes on Mon, 28 Oct 2019 21:21:21 +0100) 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:170327 Archived-At: > From: Óscar Fuentes > Cc: stepnem@gmail.com, 36828@debbugs.gnu.org > Date: Mon, 28 Oct 2019 21:21:21 +0100 > > Eli Zaretskii writes: > > >> Checking for the presence of the "Makefile" file using the same method > >> we use for "NEWS". > > > > Presence where? > > In installation-directory (provided that it is not nil). > > > Anyway, Makefile is too common a file, I think we should look for > > something more specific to Emacs. > > We have plenty to choose (lib-src/emacsclient, for instance) but IMO if > Makefile exists in installation-directory that's a sure sign. If it is not nil, and the test of equality between srcdir and invocation-directory fails, then you already know that you are running uninstalled, but outside of the src directory. Right? Then you don't need looking for Makefile or anything else, right?