[BUG] emacs-lisp source blocks do not implement :prologue and :epilogue [9.6.9 ( @ /home/jet/.config/emacs/elpa/org-9.6.9/)]

2023-10-18 Thread Jeff Trull
The manual page "Environment of a Code Block" describes :prologue and :epilogue header arguments, which are useful for applications like unit tests and boilerplate code. No suggestion is made that these arguments are only available for some languages. In fact, any language that provides its own

Re: Incorrect quantity of en-spaces

2023-10-18 Thread Tom Alexander
> This appears to be a special case, not documented on org-syntax page. Sounds good, thanks! -- Tom Alexander pgp: https://fizz.buzz/pgp.asc

[PATCH] org-fold: (org-fold-hide-drawer-all): Make interactive

2023-10-18 Thread Ivan Necas
Hi, Sometimes, I want to unfold all the drawers using `org-fold-show-all', and then I want to hide them all back. I've noticed, there is a function `org-fold-hide-drawer-all' does just that, but it's not marked as a command, so the patch is as simple as adding `(interactive)` there, as I don't

Re: Consider removing newlines from org-insert-link help message

2023-10-18 Thread Ihor Radchenko
Salih Muhammed writes: >> I am not sure. Your variant will be worse on smaller screens >> or terminals, when the line wrap may look more ugly for longer line. > > What about replacing it with shorter description? (Insert a link. Use TAB to complete link prefixes, then RET for type-specific

Re: [FR] org-num-mode inverse defaults

2023-10-18 Thread Ihor Radchenko
Maske writes: > I added: (setq org-global-properties '(("UNNUMBERED" . "t"))) > > But it doesn't work, every headline is numbered. (Not tried in emacs -q). Yeah. Inheritance was explicitly disabled, actually. I now changed that, but you need to add UNNUMBERED to `org-use-property-inheritance'

Re: Incorrect quantity of en-spaces

2023-10-18 Thread Ihor Radchenko
"Tom Alexander" writes: > The org-mode syntax document describes entities as: >> \NAME POST >> \NAME{} >> Where NAME and POST are not separated by a whitespace character. > > and POST is defined as: >> Either the end of line or a non-alphabetic character. > > So using the test document: > ``` >

Re: [BUG] Parser error: Invalid search bound (wrong side of point) [9.7 (9.7-??-e90a8a69a @ /home/user/.emacs.d/.local/straight/build-29.1/org/)]

2023-10-18 Thread Ihor Radchenko
lorenzohess--- via "General discussions about Org-mode." writes: > Hello, > I ran `C-c C-x C-l` to create a LaTeX preview of the following inline > fragment in an Org document: $\text{CaCo}_3$, and this bug happened. This is > my first bug report so let me know if anything else is necessary. >