emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jamie Forth <j.forth@gold.ac.uk>
To: emacs-orgmode@gnu.org
Subject: Eldoc and setupfile issue
Date: Sat, 13 Jul 2019 19:02:20 +0100	[thread overview]
Message-ID: <87v9w56cer.fsf@gold.ac.uk> (raw)

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

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


[-- Attachment #2: minimal.el --]
[-- Type: application/emacs-lisp, Size: 176 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: setup.org --]
[-- Type: text/x-org, Size: 92 bytes --]

# An empty file

#+begin_src elisp :results verbatim
  eldoc-mode
#+end_src

#+RESULTS:
: t

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: test.org --]
[-- Type: text/x-org, Size: 145 bytes --]

# A file containing a setupfile keyword.

#+setupfile: ./setup.org

#+begin_src elisp :results verbatim
  eldoc-mode
#+end_src

#+RESULTS:
: nil

             reply	other threads:[~2019-07-13 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-13 18:02 Jamie Forth [this message]
2020-02-04  7:50 ` Eldoc and setupfile issue Bastien

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87v9w56cer.fsf@gold.ac.uk \
    --to=j.forth@gold.ac.uk \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).