emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: org-eldoc should require org-refile [9.3.6 (release_9.3.6-442-g97f0f1 @ /home/ryan/.emacs.d/straight/build/org-plus-contrib/)]
@ 2020-04-07 21:19 Ryan C. Thompson
  2020-04-16  2:52 ` Kyle Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: Ryan C. Thompson @ 2020-04-07 21:19 UTC (permalink / raw)
  To: emacs-orgmode

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See

https://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------

`org-eldoc-get-breadcrumb' in org-eldoc.el calls `org-get-outline-path' 
which is defined in org-refile.el, but org-eldoc does not load 
org-refile. This results in void-function errors when the Eldoc idle 
timer runs in an org buffer, unless you manually load org-refile. To fix 
this, org-eldoc should load org-refile.

Emacs : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, X toolkit, Xaw3d 
scroll bars)
of 2019-09-23, modified by Debian
Package: Org mode version 9.3.6 (release_9.3.6-442-g97f0f1 @ 
/home/ryan/.emacs.d/straight/build/org-plus-contrib/)

current state:
==============
(setq
org-src-mode-hook '(org-src-babel-configure-edit-buffer 
org-src-mode-configure-edit-buffer)
org-after-todo-state-change-hook '(org-checklist)
org-link-shell-confirm-function 'yes-or-no-p
org-metadown-hook '(org-babel-pop-to-session-maybe)
org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
org-html-format-inlinetask-function 
'org-html-format-inlinetask-default-function
org-odt-format-headline-function 'org-odt-format-headline-default-function
org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default
org-reveal-start-hook '(org-decrypt-entry)
org-mode-hook '((lambda nil (org-bullets-mode 1))
#[0 "\301\211\207" [imenu-create-index-function org-imenu-get-tree] 2]
#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook 
org-show-all append local] 5]
#[0 "\300\301\302\303\304$\207"
[add-hook change-major-mode-hook org-babel-show-result-all append local] 5]
org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load)
org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-archive-hook '(org-attach-archive-delete-maybe)
org-confirm-elisp-link-function 'yes-or-no-p
org-agenda-before-write-hook '(org-agenda-add-entry-text)
org-metaup-hook '(org-babel-load-in-session-maybe)
org-bibtex-headline-format-function #[257 "\300\236A\207" [:title] 3 
"\n\n(fn ENTRY)"]
org-adapt-indentation nil
org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"]
org-babel-pre-tangle-hook '(save-buffer)
org-tab-first-hook '(org-babel-hide-result-toggle-maybe 
org-babel-header-arg-expand)
org-checklist-export-function 'org-export-as-ascii
org-ascii-format-drawer-function #[771 "\207" [] 4 "\n\n(fn NAME 
CONTENTS WIDTH)"]
org-agenda-loop-over-headlines-in-active-region nil
org-src-lang-modes '(("arduino" . arduino) ("redis" . redis) ("php" . 
php) ("C" . c) ("C++" . c++)
("asymptote" . asy) ("bash" . sh) ("beamer" . latex) ("calc" . 
fundamental) ("cpp" . c++)
("ditaa" . artist) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" 
. tuareg)
("screen" . shell-script) ("shell" . sh) ("sqlite" . sql))
org-occur-hook '(org-first-headline-recenter)
org-cycle-hook '(org-cycle-hide-archived-subtrees 
org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
org-todo-keywords '((sequence "TODO" "|" "DONE" "CANCELLED"))
org-support-shift-select t
org-speed-command-hook '(org-speed-command-activate 
org-babel-speed-command-activate)
org-odt-format-inlinetask-function 
'org-odt-format-inlinetask-default-function
org-html-allow-name-attribute-in-anchors t
org-export-async-init-file 
"/home/ryan/.emacs.d/.temp-org-export-async-init.el"
org-export-before-parsing-hook '(org-attach-expand-links 
org-latex-header-blocks-filter)
org-confirm-shell-link-function 'yes-or-no-p
org-link-parameters '(("attachment" :follow org-attach-follow :complete 
org-attach-complete-link)
("id" :follow org-id-open) ("message" :follow org-mac-message-open)
("x-devonthink-item" :follow org-devonthink-item-open)
("mac-evernote" :follow org-mac-evernote-note-open)
("mac-outlook" :follow org-mac-outlook-message-open)
("acrobat" :follow org-mac-acrobat-open) ("skim" :follow org-mac-skim-open)
("addressbook" :follow org-mac-addressbook-item-open)
("x-together-item" :follow org-mac-together-item-open)
("mairix" :follow org-mairix-open :store org-mairix-store-gnus-link)
("eww" :follow org-eww-open :store org-eww-store-link)
("rmail" :follow org-rmail-open :store org-rmail-store-link)
("mhe" :follow org-mhe-open :store org-mhe-store-link)
("irc" :follow org-irc-visit :store org-irc-store-link :export 
org-irc-export)
("info" :follow org-info-open :export org-info-export :store 
org-info-store-link)
("gnus" :follow org-gnus-open :store org-gnus-store-link)
("docview" :follow org-docview-open :export org-docview-export :store
org-docview-store-link)
("bibtex" :follow org-bibtex-open :store org-bibtex-store-link)
("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete 
org-bbdb-complete-link
:store org-bbdb-store-link)
("w3m" :store org-w3m-store-link)
("roll" :follow org-rolldice-open :export (lambda (link desc format) (or 
desc link)))
("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell)
("news" :follow
#[514 "\301\300\302Q\"\207" ["news" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("mailto" :follow
#[514 "\301\300\302Q\"\207" ["mailto" browse-url ":"] 6 "\n\n(fn URL 
ARG)"])
("https" :follow
#[514 "\301\300\302Q\"\207" ["https" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("http" :follow
#[514 "\301\300\302Q\"\207" ["http" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("ftp" :follow
#[514 "\301\300\302Q\"\207" ["ftp" browse-url ":"] 6 "\n\n(fn URL ARG)"])
("help" :follow org-link--open-help) ("file" :complete 
org-link-complete-file)
("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi))
org-bullets-bullet-list '("◉" "✸" "✿")
org-latex-format-headline-function 
'org-latex-format-headline-default-function
org-link-elisp-confirm-function 'yes-or-no-p
org-todo-keyword-faces '(("DONE" . "darkgreen") ("CANCELLED" . 
"darkred") ("REJECTED" . "darkred")
("WAITING" . "chocolate1") ("WAIT" . "chocolate1"))
org-latex-format-inlinetask-function 
'org-latex-format-inlinetask-default-function
org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"]
org-html-infojs-options '((path . "http://orgmode.org/org-info.js") 
(view . "overview") (toc . :with-toc)
(ftoc . "0") (tdepth . "max") (sdepth . "max") (mouse . "underline") 
(buttons . "0")
(ltoc . "1") (up . :html-link-up) (home . :html-link-home))
org-image-actual-width '(400)
org-html-format-headline-function 
'org-html-format-headline-default-function
org-mairix-display-hook 'org-mairix-gnus-display-results
org-link-from-user-regexp "\\<ryan@calliope\\>\\|\\<Ryan C\\. Thompson\\>"
org-mairix-gnus-select-display-group-function 
'org-mairix-gnus-select-display-group-function-gg
)



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

* Re: Bug: org-eldoc should require org-refile [9.3.6 (release_9.3.6-442-g97f0f1 @ /home/ryan/.emacs.d/straight/build/org-plus-contrib/)]
  2020-04-07 21:19 Bug: org-eldoc should require org-refile [9.3.6 (release_9.3.6-442-g97f0f1 @ /home/ryan/.emacs.d/straight/build/org-plus-contrib/)] Ryan C. Thompson
@ 2020-04-16  2:52 ` Kyle Meyer
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2020-04-16  2:52 UTC (permalink / raw)
  To: Ryan C. Thompson, emacs-orgmode

"Ryan C. Thompson" <rct@thompsonclan.org> writes:
> `org-eldoc-get-breadcrumb' in org-eldoc.el calls `org-get-outline-path' 
> which is defined in org-refile.el, but org-eldoc does not load 
> org-refile. This results in void-function errors when the Eldoc idle 
> timer runs in an org buffer, unless you manually load org-refile. To fix 
> this, org-eldoc should load org-refile.

Thanks for the report.  This is related to the recent move of some
org.el code to org-refile.el.  While your suggestion would resolve the
issue, there are other dependency issues with that org-refile.el change.
I proposed a large fix [^1] in a related thread:

  https://yhetil.org/orgmode/878siww3rq.fsf@kyleam.com

That will resolve this issue as well, so let's see what comes of that.

[^1]: https://code.orgmode.org/bzg/org-mode/commit/18e58aa0d7fd367b3506891b633a493f402e9fee



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

end of thread, other threads:[~2020-04-16  2:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-07 21:19 Bug: org-eldoc should require org-refile [9.3.6 (release_9.3.6-442-g97f0f1 @ /home/ryan/.emacs.d/straight/build/org-plus-contrib/)] Ryan C. Thompson
2020-04-16  2:52 ` Kyle Meyer

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