emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] org-appear error after uninstalled [9.8-pre (release_N/A-N/A-c426f4)
@ 2024-07-15 21:08 Kepa
  2024-07-15 21:15 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Kepa @ 2024-07-15 21:08 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I have uninstalled org-appear several days ago, and I am constantly receiving this error:

Error in post-command-hook (org-appear--post-cmd): (wrong-type-argument number-or-marker-p nil)

I tried listing the hooks:
M-x describe-variable RET post-command-hook RET

But nothing related to org-appear appears there.

So, I ran these commands, getting a warning that advised me to inform the mailing list:
(require 'org-appear)
(add-hook 'post-command-hook 'org-appear--post-cmd)

Warning:
⛔ Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer #<buffer *scratch*> (lisp-interaction-mode)
⛔ Warning (org-element): org-element--cache: Org parser error in *scratch*::305. Resetting.
 The error was: (error "rx ‘**’ range error")
 Backtrace:
nil
 Please report this to Org mode mailing list (M-x org-submit-bug-report).

Emacs : GNU Emacs 29.3 (build 2, x86_64-w64-mingw32)
of 2024-03-24

Package: Org mode version 9.8-pre (release_N/A-N/A-c426f4 @ ./.emacs.d/elpa/org-9.8pre0.20240603.143202/)

Best regards,

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

* Re: [BUG] org-appear error after uninstalled [9.8-pre (release_N/A-N/A-c426f4)
  2024-07-15 21:08 [BUG] org-appear error after uninstalled [9.8-pre (release_N/A-N/A-c426f4) Kepa
@ 2024-07-15 21:15 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-07-15 21:15 UTC (permalink / raw)
  To: Kepa; +Cc: emacs-orgmode

Kepa <gnu.cognition199@slmails.com> writes:

> I have uninstalled org-appear several days ago, and I am constantly receiving this error:
>
> Error in post-command-hook (org-appear--post-cmd): (wrong-type-argument number-or-marker-p nil)

This does not look have anything to do with Org. This is org-appear specific.

> So, I ran these commands, getting a warning that advised me to inform the mailing list:
> (require 'org-appear)
> (add-hook 'post-command-hook 'org-appear--post-cmd)
>
> Warning:
> ⛔ Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org buffer #<buffer *scratch*> (lisp-interaction-mode)
> ⛔ Warning (org-element): org-element--cache: Org parser error in *scratch*::305. Resetting.
>  The error was: (error "rx ‘**’ range error")
>  Backtrace:
> nil
>  Please report this to Org mode mailing list (M-x org-submit-bug-report).

This is expected. `org-appear--post-cmd' is not designed to be used
outside Org mode. But you forced it to. Hence getting errors.

Not a bug.
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

end of thread, other threads:[~2024-07-15 21:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 21:08 [BUG] org-appear error after uninstalled [9.8-pre (release_N/A-N/A-c426f4) Kepa
2024-07-15 21:15 ` Ihor Radchenko

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