Table results doesn't work for dotted lists
I've got this #+begin_src emacs-lisp :results table '(hline (hi) (there) hline) #+end_src #+RESULTS: |---| | hi| | there | |---| but then :results table has no effect on this #+begin_src emacs-lisp :results table '(hline (hi . bye) (here . there) hline) #+end_src #+RESULTS: : (hline (hi . bye) (here . there) hline) throwing in quotes to the lists changes it to this #+begin_src emacs-lisp :results table '(hline '(hi . bye) '(here . there) hline) #+end_src #+RESULTS: |---+| | quote | (hi . bye) | | quote | (here . there) | |---+| but that's kludge. Just wondering why it would distinguish between a trad list and a dotted list. LB
Re: problem with org-toggle-inline-images
I use iimage-mode Have you tried iimage-mode? Notice the 2 i's in iimage Toggling works great with iimage-mode On Tue, Dec 24, 2019 at 8:09 AM Johannes Brauer wrote: > It seems that the problem arised since I’ve upgraded orgmode from version > 9.2.6 (9.2.6-4-ge30905-elpa to version 9.3 (9.3-8-geab7c4-elpa. > On a system where the older version is installed, toggling works fine. > > Johannes > > > Am 24.12.2019 um 11:30 schrieb Johannes Brauer : > > Hi Marco, > > thank for your answer > > Am 24.12.2019 um 11:00 schrieb Marco Wahl : > > The following message is a courtesy copy of an article > that has been posted to gmane.emacs.orgmode as well. > > Hi Johannes, > > Thanks for the report. > > Typing C-c C-x C-v the image is displayed in the org buffer > correctly. Typing C-c C-x C-v again the image does not disappear and I > get the error message: > > org-toggle-inline-images: Symbol’s value as variable is void: image-map > > Any hints what is going wrong? > > > Possibly variable image-map is not used correctly in Org or should not > be used at all. The easiest fix would be to drop the usage of that > variable within Org, I guess. > > Does the issue disappear when you do > > M-: (require 'image) RET > > before the image toggling? > > no, the behavior remains the same. > > Johannes > > >
Re: problem with org-toggle-inline-images
It seems that the problem arised since I’ve upgraded orgmode from version 9.2.6 (9.2.6-4-ge30905-elpa to version 9.3 (9.3-8-geab7c4-elpa. On a system where the older version is installed, toggling works fine. Johannes Am 24.12.2019 um 11:30 schrieb Johannes Brauer mailto:bra...@nordakademie.de>>: Hi Marco, thank for your answer Am 24.12.2019 um 11:00 schrieb Marco Wahl mailto:marcowahls...@gmail.com>>: The following message is a courtesy copy of an article that has been posted to gmane.emacs.orgmode as well. Hi Johannes, Thanks for the report. Typing C-c C-x C-v the image is displayed in the org buffer correctly. Typing C-c C-x C-v again the image does not disappear and I get the error message: org-toggle-inline-images: Symbol’s value as variable is void: image-map Any hints what is going wrong? Possibly variable image-map is not used correctly in Org or should not be used at all. The easiest fix would be to drop the usage of that variable within Org, I guess. Does the issue disappear when you do M-: (require 'image) RET before the image toggling? no, the behavior remains the same. Johannes
Re: problem with org-toggle-inline-images
Hi Marco, thank for your answer Am 24.12.2019 um 11:00 schrieb Marco Wahl mailto:marcowahls...@gmail.com>>: The following message is a courtesy copy of an article that has been posted to gmane.emacs.orgmode as well. Hi Johannes, Thanks for the report. Typing C-c C-x C-v the image is displayed in the org buffer correctly. Typing C-c C-x C-v again the image does not disappear and I get the error message: org-toggle-inline-images: Symbol’s value as variable is void: image-map Any hints what is going wrong? Possibly variable image-map is not used correctly in Org or should not be used at all. The easiest fix would be to drop the usage of that variable within Org, I guess. Does the issue disappear when you do M-: (require 'image) RET before the image toggling? no, the behavior remains the same. Johannes
Re: How to get parsed output of org-eww-copy-for-org-mode ?
stardiviner writes: > I try to get the parsed HTML content into Org format content for org capture > template. > > #+begin_src emacs-lisp > (require 'org-eww) > (with-temp-buffer > (insert html) > (org-eww-copy-for-org-mode) > ;; FIXME does not yank converted content, inserted original HTML instead. > (current-kill 0) > (org-yank)) > #+end_src > > But in upper code snippet, the ~current-kill~ or ~org-yank~ (or > ~yank~) can't get the > output. I try to use *advice-add*, but I don't know which advice > combinator can > archive the purpose that get the parsed output of > ~org-eww-copy-for-org-mode~ and > save it somewhere like variable or register. So that I can yank in capture > buffer again. org-eww-copy-for-org-mode works reasonably only on a buffer that has been prepared by the shr library. The typical example for such buffer is the output of eww. If plain html is given and you want to use org-eww-copy-for-org-mode you could prepare a suitable buffer along the lines of shr-render-buffer, I think. HTH
Re: problem with org-toggle-inline-images
Hi Johannes, Thanks for the report. > Typing C-c C-x C-v the image is displayed in the org buffer > correctly. Typing C-c C-x C-v again the image does not disappear and I > get the error message: > > org-toggle-inline-images: Symbol’s value as variable is void: image-map > > Any hints what is going wrong? Possibly variable image-map is not used correctly in Org or should not be used at all. The easiest fix would be to drop the usage of that variable within Org, I guess. Does the issue disappear when you do M-: (require 'image) RET before the image toggling? Ciao, Marco
How to get parsed output of org-eww-copy-for-org-mode ?
I try to get the parsed HTML content into Org format content for org capture template. #+begin_src emacs-lisp (require 'org-eww) (with-temp-buffer (insert html) (org-eww-copy-for-org-mode) ;; FIXME does not yank converted content, inserted original HTML instead. (current-kill 0) (org-yank)) #+end_src But in upper code snippet, the ~current-kill~ or ~org-yank~ (or ~yank~) can't get the output. I try to use *advice-add*, but I don't know which advice combinator can archive the purpose that get the parsed output of ~org-eww-copy-for-org-mode~ and save it somewhere like variable or register. So that I can yank in capture buffer again. -- [ stardiviner ] I try to make every word tell the meaning what I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3