emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)]
@ 2023-10-20  3:51 Vladimir Nikishkin
  2023-10-20  7:37 ` Ihor Radchenko
  0 siblings, 1 reply; 17+ messages in thread
From: Vladimir Nikishkin @ 2023-10-20  3:51 UTC (permalink / raw)
  To: emacs-orgmode

Dear Org developers,

org-contrib has the following lines 206 and 207 in org-eldoc:
#+begin_src elisp
;;;###autoload
(add-hook 'org-mode-hook #'org-eldoc-load)
#+end_src

which set up that hook automatically when the package org-contrib is
installed.

that hook is, seemingly, incompatible with the recent org-element,
and in general it seems dubious to automatically add features from a
deprecated repo.

Could those lines be removed? If someone is interested in
patching/using/maintaining that code, he can probably try to refactor it
in a better way.

(In any case, it is probably better to add such hooks in the :hook
clause of use-package.)

-- 
Your sincerely,
Vladimir Nikishkin (MiEr, lockywolf)
(Laptop)


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

end of thread, other threads:[~2023-12-26 14:46 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-20  3:51 [BUG] org-contrib: org-eldoc has an autload, but is incompatible with modern emacs. [9.6.8 (release_9.6.8-3-g21171d @ /usr/share/emacs/30.0.50/lisp/org/)] Vladimir Nikishkin
2023-10-20  7:37 ` Ihor Radchenko
2023-10-20  7:39   ` Vladimir Nikishkin
2023-10-20  7:49     ` Ihor Radchenko
2023-11-10  1:22       ` Vladimir Nikishkin
2023-12-26  9:27         ` Vladimir Nikishkin
2023-12-26 12:12           ` Ihor Radchenko
2023-12-26 12:13             ` Vladimir Nikishkin
2023-12-26 12:23               ` Ihor Radchenko
2023-12-26 12:26                 ` Vladimir Nikishkin
2023-12-26 12:34                   ` Vladimir Nikishkin
2023-12-26 13:22                     ` Ihor Radchenko
2023-12-26 13:25                       ` Vladimir Nikishkin
2023-12-26 13:31                         ` Ihor Radchenko
2023-12-26 13:59                           ` Vladimir Nikishkin
2023-12-26 14:33                             ` Ihor Radchenko
2023-12-26 14:45                               ` Vladimir Nikishkin

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