emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: [org-contrib][org-depend] function 'position' is not defined [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)]
@ 2022-08-18 19:41 Damien Couroussé
  2022-08-20 11:51 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Damien Couroussé @ 2022-08-18 19:41 UTC (permalink / raw)
  To: emacs-orgmode

hello,

I use org-depend, which produces the following error message :


┌────
│ org-depend-trigger-todo: Symbol’s function definition is void: position
└────



I think that this is happening here:

[[file:lisp/org-depend.el::(pos (position this-item items :key #'first))]]

I can reproduce the problem with the 'advanced triggering example' as
published here: 
https://orgmode.org/worg/org-contrib/org-depend.html#org858993c

I could not find a suitable replacement for the function 'position' due
to my limited mastering of elisp. Any help greatly appreciated!


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


Emacs : GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version
3.24.24, cairo version 1.16.0) of 2021-03-28, modified by Debian
Package: Org mode version 9.3 (release_9.3 @
/usr/share/emacs/27.1/lisp/org/)



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

* Re: Bug: [org-contrib][org-depend] function 'position' is not defined [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)]
  2022-08-18 19:41 Bug: [org-contrib][org-depend] function 'position' is not defined [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)] Damien Couroussé
@ 2022-08-20 11:51 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2022-08-20 11:51 UTC (permalink / raw)
  To: Damien Couroussé; +Cc: emacs-orgmode

Damien Couroussé <damien.courousse@posteo.net> writes:

> I use org-depend, which produces the following error message :
>
>
> ┌────
> │ org-depend-trigger-todo: Symbol’s function definition is void: position
> └────

Fixed.
Note that the changes are not currently reflected in non-GNU ELPA. You
need to use the repository source at https://git.sr.ht/~bzg/org-contrib

Also, be aware about org-contrib is barely maintained. This particular
fix is very easy, but more involved issues will not be prioritized.
See https://list.orgmode.org/87pmy89fqu.fsf@gnu.org/ and the readme in
https://git.sr.ht/~bzg/org-contrib

-- 
Ihor Radchenko,
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:[~2022-08-20 11:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-18 19:41 Bug: [org-contrib][org-depend] function 'position' is not defined [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)] Damien Couroussé
2022-08-20 11:51 ` 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).