Nicolas Goaziou n.goaz...@gmail.com wrote:
* org.el:
...
* org-mouse.el:
...
As you can see, the second almost matches what you came up with, but
the condition is simpler: the code *uses* the error raised to get
out of the (otherwise infinite) loop, so there is no need
Hello,
Nick Dokos writes:
Zachary Young zacharysyo...@gmail.com wrote:
I am trying to iterate over a list with `org-next-item'. I just
tried:
(ignore-errors (while (equal nil (org-next-item
and it worked.
Is there a better way to do this? I'm not very versed in Elisp, and
Nick Dokos writes:
OK, thanks for the pointer: makes sense. I hadn't pulled your
reimplementation till just now. Of course, these functions didn't
exist before, so there was no choice - but maybe the few places
where org-next-item is used need to be examined and brought up to
snuff, using
Hi all,
I am trying to iterate over a list with `org-next-item'. I just tried:
(ignore-errors (while (equal nil (org-next-item
and it worked.
Is there a better way to do this? I'm not very versed in Elisp, and
`org-next-item' returning `nil' on success, and throwing an error at the end
of
Zachary Young zacharysyo...@gmail.com wrote:
I am trying to iterate over a list with `org-next-item'. I just tried:
(ignore-errors (while (equal nil (org-next-item
and it worked.
Is there a better way to do this? I'm not very versed in Elisp, and
`org-next-item' returning `nil' on