unofficial mirror of emacs-orgmode@gnu.org
 help / color / Atom feed
* Trivial fix for (void-function org-get-outline-path) in org-eldoc.
@ 2020-04-21 18:07 Jacob MacDonald
  2020-04-21 18:11 ` Jacob MacDonald
  2020-05-28  2:42 ` Kyle Meyer
  0 siblings, 2 replies; 3+ messages in thread
From: Jacob MacDonald @ 2020-04-21 18:07 UTC (permalink / raw)
  To: emacs-orgmode

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

I noticed that after updating my Org I was getting errors instead of
eldoc locations in my .org buffers. Thankfully the fix was a simple
oneliner. Patch attached.

Cheers,

Jacob.

[-- Attachment #2: 0001-org-eldoc-Fix-void-function-error-for-org-get-outlin.patch --]
[-- Type: text/x-patch, Size: 658 bytes --]

From 84881cf925df74765eceefa208bf35615e28aa32 Mon Sep 17 00:00:00 2001
From: Jacob MacDonald <jaccarmac@gmail.com>
Date: Tue, 21 Apr 2020 13:03:05 -0500
Subject: [PATCH] org-eldoc: Fix void-function error for org-get-outline-path

contrib/lis/org-eldoc.el: require org-refile for org-get-outline-path
---
 contrib/lisp/org-eldoc.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/contrib/lisp/org-eldoc.el b/contrib/lisp/org-eldoc.el
index 72b10a1fb..0da4c1c75 100644
--- a/contrib/lisp/org-eldoc.el
+++ b/contrib/lisp/org-eldoc.el
@@ -35,6 +35,7 @@
 ;;; Code:
 
 (require 'org)
+(require 'org-refile)
 (require 'ob-core)
 (require 'eldoc)
 
-- 
2.26.0


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

* Re: Trivial fix for (void-function org-get-outline-path) in org-eldoc.
  2020-04-21 18:07 Trivial fix for (void-function org-get-outline-path) in org-eldoc Jacob MacDonald
@ 2020-04-21 18:11 ` Jacob MacDonald
  2020-05-28  2:42 ` Kyle Meyer
  1 sibling, 0 replies; 3+ messages in thread
From: Jacob MacDonald @ 2020-04-21 18:11 UTC (permalink / raw)
  To: emacs-orgmode

However, looking at the list I see the existing discussion and that
there's already another patch floating. Forgive me, and I'll wait for
that one.


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

* Re: Trivial fix for (void-function org-get-outline-path) in org-eldoc.
  2020-04-21 18:07 Trivial fix for (void-function org-get-outline-path) in org-eldoc Jacob MacDonald
  2020-04-21 18:11 ` Jacob MacDonald
@ 2020-05-28  2:42 ` Kyle Meyer
  1 sibling, 0 replies; 3+ messages in thread
From: Kyle Meyer @ 2020-05-28  2:42 UTC (permalink / raw)
  To: Jacob MacDonald, emacs-orgmode

Jacob MacDonald writes:

> I noticed that after updating my Org I was getting errors instead of
> eldoc locations in my .org buffers. Thankfully the fix was a simple
> oneliner. Patch attached.

As you noted in your next message, this ended up being a part of a
larger issue and resolved with a fix for that.  But thank you for taking
the time to send a patch!


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

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-21 18:07 Trivial fix for (void-function org-get-outline-path) in org-eldoc Jacob MacDonald
2020-04-21 18:11 ` Jacob MacDonald
2020-05-28  2:42 ` Kyle Meyer

unofficial mirror of emacs-orgmode@gnu.org

Archives are clonable:
	git clone --mirror https://yhetil.org/orgmode/0 orgmode/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 orgmode orgmode/ https://yhetil.org/orgmode \
		emacs-orgmode@gnu.org
	public-inbox-index orgmode

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.yhetil.org/yhetil.emacs.orgmode
	nntp://news.gmane.io/gmane.emacs.orgmode


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git