[SUGGESTION] Re: [PATCH] org-crypt-decrypt-entry: Apply initial visibility upon decryption

2023-04-30 Thread Christopher M. Miles
Thanks Ihor for improve this file. I'm also try to improve this file to improve large Org buffer saving performance. I have some ideas: - auto encrypt buffer on buffer save hook (currently mechanism, your patch improved it) - auto decrypt on org-cycle expand headline if current headline is

Re: [Need Help] Error to evaluate "mpv" command in inline src block

2023-04-30 Thread Christopher M. Miles
Ihor Radchenko writes: > stardiviner writes: > >> I have Emacs Org mode config like bellowing to auto evaluate inline src >> block when Org headline cycle expanded. >> ... >> Here is the testing Org content: >> ... >> >> When I press Tab key to expand upper headline. I check the inline src

Re: org-latex-pdf-process as a lisp function?

2023-04-30 Thread John Kitchin
Thanks for this and the other one too! On Sun, Apr 30, 2023 at 12:41 PM Ihor Radchenko wrote: > John Kitchin writes: > > > The documentation for org-latex-pdf-process says that it can be a list of > > strings, or a lisp function. > > ... > > In org-compile-file-commands, I think this line > >

[PATCH] org-crypt-decrypt-entry: Apply initial visibility upon decryption

2023-04-30 Thread Ihor Radchenko
Hi, I'd like to propose applying initial visibility to the freshly decrypted headings. IMHO, it makes much more sense by default compared to showing all the text unfolded, including property drawers. Any objections? >From 5f90460cf565e9c3185f58a631500207e9b14d39 Mon Sep 17 00:00:00 2001

Re: [BUG] [PATCH] org-odt-plain-text: Fix when text contains only spaces [9.7-pre (release_9.6.4-346-g7d41bd @ /home/cassou/.emacs.d/lib/org/lisp/)]

2023-04-30 Thread Ihor Radchenko
Damien Cassou writes: > in [1], Ihor fixed a bug I reported in ox-odt. Unfortunately, this fix > broke figures with several lines of captions such as: > > #+CAPTION: first line, > #+CAPTION: second line > [[file:media/myPicture.png]] > > This is because, in this case,

Re: Suggestion to increase usefulness of TAB key / 'org-cycle' function

2023-04-30 Thread Philipp Kiefer
On 28.04.2023 19:41, Dr. Arne Babenhauserheide wrote: Philipp Kiefer writes: My suggestion was aimed at improving the out-of-the-box experience of (new) Org users by extending the usefulness of 'org-cycle' by folding the subtree at point from anywhere inside it that is not itself a parent

Re: org-latex-pdf-process as a lisp function?

2023-04-30 Thread Ihor Radchenko
John Kitchin writes: > The documentation for org-latex-pdf-process says that it can be a list of > strings, or a lisp function. > ... > In org-compile-file-commands, I think this line > > ((pred functionp) process) > > should instead be > > ((pred functionp) (list process)) Yes, indeed. Fixed,

Re: [BUG] org-delete-indentation on region doesn't work when END is before BEGIN [9.6.1 (release_9.6.1-40-g3d817c @ /home/sbaugh/.local/src/emacs29/lisp/org/)]

2023-04-30 Thread Ihor Radchenko
Ihor Radchenko writes: > `org-delete-indentation' did not support regions properly. > I tried to make things more consistent with `delete-indentation in the > attached patch. Fixed, on main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=09cf89f71 -- Ihor Radchenko //

Re: [Need Help] Error to evaluate "mpv" command in inline src block

2023-04-30 Thread Ihor Radchenko
stardiviner writes: > I have Emacs Org mode config like bellowing to auto evaluate inline src > block when Org headline cycle expanded. > ... > Here is the testing Org content: > ... > > When I press Tab key to expand upper headline. I check the inline src block > session buffer, here is the

Re: Org-mode publish: Some questions when use it for a blog

2023-04-30 Thread Ihor Radchenko
Sébastien Gendre writes: > I try do generate a blog with Org-mode publish. > > I'm very impressed by the publishing tool. But as it's nice to do a > simple website, I have some difficulties to use it for a blog. Note that ox-publish is very basic. There is a number of third-party packages that

[BUG] [PATCH] org-odt-plain-text: Fix when text contains only spaces [9.7-pre (release_9.6.4-346-g7d41bd @ /home/cassou/.emacs.d/lib/org/lisp/)]

2023-04-30 Thread Damien Cassou
Hi, in [1], Ihor fixed a bug I reported in ox-odt. Unfortunately, this fix broke figures with several lines of captions such as: #+CAPTION: first line, #+CAPTION: second line [[file:media/myPicture.png]] This is because, in this case, org-odt-plain-text is called at some point with

org-latex-pdf-process as a lisp function?

2023-04-30 Thread John Kitchin
The documentation for org-latex-pdf-process says that it can be a list of strings, or a lisp function. I have used a function for a long time, but recently it seems to have broken. Now I get an error in org-compile-file. The issue comes in the first line where (commands (org-compile-file-commands

Re: Use timestamp instead of time-stamp uniformly in Org (was: How to update a timestamp?)

2023-04-30 Thread Ihor Radchenko
Ihor Radchenko writes: > alain.coch...@unistra.fr writes: > >> Also, when searching through the manual for time-stamp, I was a victim >> of the time-stamp/timestamp curse :-) > > Manual overwhelmingly uses timestamp, except several "time-spamped", > which appear to be just right. > > Not so much

Re: [Need Help] Error to evaluate "mpv" command in inline src block

2023-04-30 Thread Christopher M. Miles
Ruijie Yu writes: > Try putting "cat" there. I suspect something is fed into the stdin of > the process. Can you explain in detailed? Don't know how to put command "cat" in my situation. -- [ stardiviner ] I try to make every word tell the meaning that I want to express without

[PATCH v4] Add compat.el support to Org (was: [POLL] Use compat.el in Org? (was: Useful package? Compat.el))

2023-04-30 Thread Ihor Radchenko
Max Nikulin writes: > I do not like lengthy emacs commands and make functions to generate > them. I think, it is better to move such code to a script. A proof of > concept is attached, however it is rather rough draft > > ./epm.el -Q --epm-dir $(emacs_pkgdir)/emacs-%e install compat >

Re: Troubleshooting empty *Org PDF LaTeX Output*

2023-04-30 Thread Ihor Radchenko
John Kitchin writes: > For a while the *Org PDF LaTeX Output* buffer has been empty for me when I > export to PDF. > ... > > It seems to have been added in > commit f0dfbf0c3999e44ef7b6704e6584aa2a5d43f2d8 Thanks for reporting! Fixed, on main.