emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Eldoc and setupfile issue
@ 2019-07-13 18:02 Jamie Forth
  2020-02-04  7:50 ` Bastien
  0 siblings, 1 reply; 2+ messages in thread
From: Jamie Forth @ 2019-07-13 18:02 UTC (permalink / raw)
  To: emacs-orgmode

[-- 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Eldoc and setupfile issue
  2019-07-13 18:02 Eldoc and setupfile issue Jamie Forth
@ 2020-02-04  7:50 ` Bastien
  0 siblings, 0 replies; 2+ messages in thread
From: Bastien @ 2020-02-04  7:50 UTC (permalink / raw)
  To: Jamie Forth; +Cc: Łukasz Gruner, emacs-orgmode

Hi Jamie,

I'm copying Łukasz, the author of org-eldoc.el, in case he can have a
look at the issue below.

Thanks,

Jamie Forth <j.forth@gold.ac.uk> writes:

> 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
>
> (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/lisp"))
> (require 'org-eldoc)
>
> # An empty file
>
> #+begin_src elisp :results verbatim
>   eldoc-mode
> #+end_src
>
> #+RESULTS:
> : t
>
> # A file containing a setupfile keyword.
>
> #+setupfile: ./setup.org
>
> #+begin_src elisp :results verbatim
>   eldoc-mode
> #+end_src
>
> #+RESULTS:
> : nil
>

-- 
 Bastien

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-04  7:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-13 18:02 Eldoc and setupfile issue Jamie Forth
2020-02-04  7:50 ` Bastien

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).