From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jamie Forth Subject: Eldoc and setupfile issue Date: Sat, 13 Jul 2019 19:02:20 +0100 Message-ID: <87v9w56cer.fsf@gold.ac.uk> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47765) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hmMLz-0004wi-8h for emacs-orgmode@gnu.org; Sat, 13 Jul 2019 14:02:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hmMLy-0004tK-4f for emacs-orgmode@gnu.org; Sat, 13 Jul 2019 14:02:35 -0400 Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:48790 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hmMLx-0004rY-RC for emacs-orgmode@gnu.org; Sat, 13 Jul 2019 14:02:34 -0400 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1hmMLr-000Whv-7T for emacs-orgmode@gnu.org; Sat, 13 Jul 2019 20:02:27 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Hi, Using the org-eldoc contrib, visiting a file with a setupfile keyword seems to prevent global-eldoc-mode from enabling eldoc in org buffers. Steps to reproduce: 1. emacs -Q -l minimal.el 2. open setup.org - eldoc is enabled 3. open test.org - eldoc is not enabled GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.5) Org mode version 9.2.4 (release_9.2.4-400-g2c8e8b) -- Jamie --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline; filename=minimal.el Content-Transfer-Encoding: quoted-printable (add-to-list 'load-path (expand-file-name "~/src/emacs/org-mode/lisp")) (add-to-list 'load-path (expand-file-name "~/src/emacs/org-mode/contrib/lis= p")) (require 'org-eldoc) --=-=-= Content-Type: text/x-org Content-Disposition: inline; filename=setup.org # An empty file #+begin_src elisp :results verbatim eldoc-mode #+end_src #+RESULTS: : t --=-=-= Content-Type: text/x-org Content-Disposition: inline; filename=test.org # A file containing a setupfile keyword. #+setupfile: ./setup.org #+begin_src elisp :results verbatim eldoc-mode #+end_src #+RESULTS: : nil --=-=-=--