Re: [FR] Allow TITLE to be used as default export file name (was: [BUG] EXPORT_FILE_NAME keyword is used by `org-export-output-file-name' before macro expansion/INCLUDEs/removing COMMENTed trees (was:

2022-11-09 Thread Alain . Cochard
Ihor Radchenko writes on Thu 10 Nov 2022 02:03: > alain.coch...@unistra.fr writes: > > > > I recommend you to use :EXPORT_FILE_NAME: headline property and > > > export using subtree scope. > > > > Thanks a lot for the tip. A suggestion: that the :TITLE: > > property be used if it exists.

Re: [PATCH v2] org-attach.el: ID to path functions may return nil

2022-11-09 Thread Ihor Radchenko
Max Nikulin writes: > On 08/11/2022 12:08, Ihor Radchenko wrote: >> >> I feel like this makes the docstring confusing. >> >> Note that `org-attach-id-to-path-function-list': > > I have tried to update the docstrings. Thanks! >>> if: No attachment directory is associated with the current

Re: Problem when tangling source blocks with custom coderefs

2022-11-09 Thread Ihor Radchenko
Luis Osa writes: > I would like to tangle source code blocks that contain coderefs. I have > found that the coderefs are correctly filtered out from the tangled files > if they follow the default format, i.e. "(ref:%s)", but not if I try to > customize the format using the documented "-l" switch

[BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-11-09 Thread Ihor Radchenko
Hi, I am trying to look into RTL language exports. I tried the following simple-minded Org file: #+title: Temp #+LATEX_COMPILER: lualatex #+LANGUAGE: HE \begin{equation} f(x) = \frac{8}{7} \end{equation} #+begin_src python :exports code for i in range(3): print("hello") #+end_src And

Re: [PATCH] Re: [BUG][Security] begin_src :var evaluated before the prompt to confirm execution

2022-11-09 Thread Ihor Radchenko
Ihor Radchenko writes: > See the attached tentative patch. > I tried to balance between annoying users with query and not evaluating > unsafe code: '-quoted lists and symbols are still evaluated without > prompt. Fixed. Applied onto main.

Re: [PATCH] ox-icalendar: Create export backend options for deadline/scheduled-summary-prefix defcustoms

2022-11-09 Thread Ihor Radchenko
Ilya Chernyshov writes: > Sending the updated patch. Applied onto main with minor amendments. I added TINYCHANGE cookie to the docstring. I added double space " " between sentences according to our conventions. I also fixed word order in the NEWS entry.

Re: [PATCH] Re: Update Org to MathJax 3

2022-11-09 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> Are these extensions no longer supported? > > MathJax 3+ supports extensions, and one can load them in multiple ways. > See [1]. It deserves some thinking, for the extensions mirror LaTeX > extensions. So, to make both HTML and PDF work, one has: > > Use the

Re: [patch] give tables their own default placement in LaTeX export

2022-11-09 Thread Ihor Radchenko
Eric S Fraga writes: > attached is a small patch to give tables their own default placement in > LaTeX export. Up to now, tables have used the default placement for > figures but figures and tables are very different creatures so it does > not make sense to have just one default for both.

Re: [PATCH] ob-java: Define the list of all supported header arguments

2022-11-09 Thread Ihor Radchenko
Rudolf Adamkovič writes: > The second one (`test-org-table') still fails on macOS. > > Overall, I now see the following failures on the main branch: > >FAILED ob-java/lint-header-args-block >FAILED ob-java/lint-header-args-buffer >FAILED ob-java/lint-header-args-heading AFAIK,

[FR] Allow TITLE to be used as default export file name (was: [BUG] EXPORT_FILE_NAME keyword is used by `org-export-output-file-name' before macro expansion/INCLUDEs/removing COMMENTed trees (was: Con

2022-11-09 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > > I recommend you to use :EXPORT_FILE_NAME: headline property and export > > using subtree scope. > > Thanks a lot for the tip. A suggestion: that the :TITLE: property be > used if it exists. We currently fall back to file name if nothing else works. Using

Re: [BUG] EXPORT_FILE_NAME keyword is used by `org-export-output-file-name' before macro expansion/INCLUDEs/removing COMMENTed trees (was: Confused about what the COMMENT keyword means)

2022-11-09 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > PS: there are a few occurrences of 'sub-tree' in the manual, but many > of 'subtree'; I suggest to use 'subtree' everywhere -- better > regarding searching. Good point. Fixed on main.

Re: [BUG] EXPORT_FILE_NAME keyword is used by `org-export-output-file-name' before macro expansion/INCLUDEs/removing COMMENTed trees (was: Confused about what the COMMENT keyword means)

2022-11-09 Thread Ihor Radchenko
Ihor Radchenko writes: > There should be no other buffer setting that is taken into account > in COMMENTed subtrees. EXPORT_FILE_NAME is the only one. > > I think that we should not really change the manual unless we have to. > It will be better to fix the bug instead. I am attaching a

Re: extended background on org-block-end-line

2022-11-09 Thread Ihor Radchenko
Abdul-Lateef Haji-Ali writes: > I saw the bug report on Emacs, but I am not sure how to reply to a thread > there without being subscribed to the mailing list, so I will reply here. You can reply in https://yhetil.org/emacs-bugs/87o7tfkby9@gmail.com/T/#t > I think a possible solution that

Re: [PATCH] ob-java: Define the list of all supported header arguments

2022-11-09 Thread Rudolf Adamkovič
Ihor Radchenko writes: >> ... The remaining tests (`test-org-num' and `test-org-table') fail >> in both scenarios. That said, I run macOS, which has some issues with >> sorting [*]. > > This is not because of macOS. Emacs 29 broke some assumptions about > return value of `overlays-in'. See >

Re: [PATCH] Re: Update Org to MathJax 3

2022-11-09 Thread Rudolf Adamkovič
Ihor Radchenko writes: > Is it really recommended by mathjax? Yes. > I cannot find any mention of jsdelivr.com. 1. Open MathJax docs (https://docs.mathjax.org/en/latest/). 2. Type "jsDelivr" into the search box. 3. Check the search results. > You may update the URL to something more precise.

Re: [PATCH] lisp/ob-octave.el, was [PATCH] rfc: using ert-deftest with side-effects

2022-11-09 Thread Leo Butler
Ihor, see below. On Wed, Nov 09 2022, Ihor Radchenko wrote: > Leo Butler writes: > >> Ihor, >> Thanks for your feeback and the pointer. I have revised the tests and >> attach the revised patch. > > Thanks! > > Note that your patch is over 15LOC, which exceeds legally allowed > contribution

Re: Can :packages and :headers arguments in latex SRC blocks be made affect EXPORT blocks of results?

2022-11-09 Thread Juan Manuel Macías
h...@heagren.com writes: > Is there a way around this? Either to export the src block another way, > or to add metadata to the to the resulting EXPORT block (or just text, > though I'm not sure how that would work for `:packages', since they > require text to be added to the resulting exported

Re: [PATCH v2] org-attach.el: ID to path functions may return nil

2022-11-09 Thread Max Nikulin
On 08/11/2022 12:08, Ihor Radchenko wrote: I feel like this makes the docstring confusing. Note that `org-attach-id-to-path-function-list': I have tried to update the docstrings. if: No attachment directory is associated with the current node, adjust ‘org-attach-id-to-path-function-list’

Re: Interest in an Org video meetup?

2022-11-09 Thread Sacha Chua
On Wed, Nov 9, 2022, 09:08 Quiliro Ordóñez wrote: > What do you mean by "a screenshared text editor (Emacs, of course)"? Do you mean Rudel? There are some options in https://www.emacswiki.org/emacs/CollaborativeEditing I meant something even simpler, actually - just someone using BBB's share

Re: extended background on org-block-end-line

2022-11-09 Thread Abdul-Lateef Haji-Ali
Hello Ihor, On 09/11/2022, Ihor Radchenko wrote: > This is because Org keeps the last newline visible and Emacs apply > :extent t to that visible newline. I saw the bug report on Emacs, but I am not sure how to reply to a thread there without being subscribed to the mailing list, so I will

Re: Interest in an Org video meetup?

2022-11-09 Thread Quiliro Ordóñez
Hi Sacha :-) El 2022-11-08 20:45, Sacha Chua escribió: > - first 5-15 minutes, people propose topics to talk about while you > write them down in a screenshared text editor (Emacs, of course). What do you mean by "a screenshared text editor (Emacs, of course)"? Do you mean Rudel? There are

Re: [PATCH] ox-icalendar: Create export backend options for deadline/scheduled-summary-prefix defcustoms

2022-11-09 Thread Ilya Chernyshov
Sending the updated patch. On Wed, Nov 9, 2022 at 8:42 AM Ihor Radchenko wrote: > Чернышов Илья writes: > > > This patch will allow to customize > `org-icalendar-deadline-summary-prefix', > > `org-icalendar-scheduled-summary-prefix' directly in the `ext-plist' arg > of > > org-export-as

Re: [patch] improved: add TTL as defcustom to ox-icalendar

2022-11-09 Thread Bastien Guerry
Hi, Ihor Radchenko writes: >> In the meantime I have the paperwork done and have "it" :-) > > Bastien, could you please check FSF records? Yes, I confirm Detlef is registered in the FSF records. -- Bastien