emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] orgalist send bug


From: Ihor Radchenko
Subject: Re: [BUG] orgalist send bug
Date: Sat, 15 Jun 2024 13:27:07 +0000

CCing Nicolas.

Rustom Mody <rustompmody@gmail.com> writes:

> This is regarding the separate package orgalist by Nicolas Goaziou.
> https://elpa.gnu.org/packages/orgalist.html
>
> I installed orgalist with package install.
> Open the file orgalist.txt which contains the example from orgalist shown 
> below
> M-x orgalist-mode
> M-x orgalist-send-list
>
> I get a warning
> Warning (org-element): ‘org-element-at-point’ cannot be used in
> non-Org buffer #<buffer orgalist.txt> (text-mode)

I cannot reproduce using the latest Org mode.

> Also: The receiving site gets the latex version but the list
> disappears from the sending site

I can reproduce. The problem is in

;; FIXME: Compatibility layer.  Remove when
                         ;; we require at least Emacs 26.1.
                         (funcall (if (fboundp 'org-list-to-lisp)
                                      'org-list-to-lisp)
                                  'org-list-parse-list)

The `if' has its parenthesis messed up, calling `org-list-to-lisp'
with DELETE argument.

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]