Re: Org Syntax Specification

2022-01-15 Thread Sébastien Miquel
Hi, The new document seems much clearer. It makes a nice complement to the manual and we should definitely lose the (draft). Thank you Timothy for the work. Lastly, having spent a while looking at the syntax, I’m wondering if we should take this opportunity to mark some of the syntactic

Re: [PATCH] make test: Make failure results more verbose

2022-01-15 Thread Max Nikulin
A couple of additional remarks. On 15/01/2022 19:52, Max Nikulin wrote: On 02/01/2022 20:12, Ihor Radchenko wrote: Subject: [PATCH] make test: Make failure results more verbose At first it was not clear to me that only *summary* of test results is affected. Should not the variable be

Re: [PATCH] make test: Make failure results more verbose

2022-01-15 Thread Max Nikulin
On 02/01/2022 20:12, Ihor Radchenko wrote: In newer Emacs, ERT is capable of providing more info about FAILED tests. Maybe we can enable this option by default in the Org test suite? Thinking more, I have realized that something is wrong. Behavior of tests in Org should be controlled by

Re: [PATCH] org-attach-use-inheritance inherits from sibling

2022-01-15 Thread Ihor Radchenko
Ihor Radchenko writes: > Johan Tolö writes: > >> If "* Top heading" is the first heading in the buffer with nothing >> above it, not even a whitespace/newline, then '(org-entry-get nil >> "id" t)' with point in "* Second heading" will return the id of >> "Top heading". If there is anything

[PATCH] Add :noweb-prefix and :noweb-trans babel header arguments

2022-01-15 Thread Sébastien Miquel
Hi, The attached patch adds support for two new babel header arguments: =:noweb-prefix= and =:noweb-trans=. =:noweb-prefix= can be set to =no= to disable the noweb prefix behaviour, where prefix characters are repeated when expanding a multiline noweb reference. =:noweb-trans= can be set to

Re: [PATCH] make test: Make failure results more verbose

2022-01-15 Thread Max Nikulin
Ihor, I have tried your patch. My opinion is that you can go ahead and commit it as is. Reaction to my comments is optional. Subject: [PATCH] make test: Make failure results more verbose At first it was not clear to me that only *summary* of test results is affected. +ifeq

Re: [BUG] ob-tangle overrides user customization of org-id-link-to-org-use-id [9.5.2 (9.5.2-gfbff08 @ /home/ionasal/.emacs.d/elpa/org-9.5.2/)]

2022-01-15 Thread Ihor Radchenko
Allen Li writes: > I see. In my opinion those occurrences should be fixed even if no one > is reporting issues because it is bad/improper code, and it is not > especially surprising that no one has reported it yet; there is always a > first person who reports a bug, and there are always more

Re: org-->html text between @ should be red.

2022-01-15 Thread Uwe Brauer
>>> "T" == Timothy writes: Hi Timothy > Hi Uwe, >> And every text between @ appears red. >> >> Can I have a similar setting when exporting an org file to html via the >> «normal» html exporter? > Have a look at the filter functions, such as > `org-export-filter-final-output-functions'. See >

Re: org-->html text between @ should be red.

2022-01-15 Thread Uwe Brauer
>>> "JMM" == Juan Manuel Macías writes: > Uwe Brauer writes: >> Thanks very much it works as expected. However I just realized (and >> this is true also for the org-mime filter that the reg-exp has a flaw. >> >> I used the text >> >> >> =email:o...@mat.ucm.es= >> >> So there is only one @,

Re: org-->html text between @ should be red.

2022-01-15 Thread Juan Manuel Macías
Uwe Brauer writes: > (add-to-list 'org-export-filter-plain-text-functions 'my-html-red) > > How could I remove something from a list? I think this would work: (setq org-export-filter-plain-text-functions (remove 'my-html-red org-export-filter-plain-text-functions)) Anyway, I recommend

Re: org-->html text between @ should be red.

2022-01-15 Thread Uwe Brauer
>>> "JMM" == Juan Manuel Macías writes: > I think this would work: > (setq org-export-filter-plain-text-functions > (remove 'my-html-red org-export-filter-plain-text-functions)) > Anyway, I recommend that you take a look at the documentation on filters > that Timothy pointed you to, as

Re: org-->html text between @ should be red.

2022-01-15 Thread Timothy
Hi Uwe, > And every text between @ appears red. > > Can I have a similar setting when exporting an org file to html via the > «normal» html exporter? Have a look at the filter functions, such as `org-export-filter-final-output-functions'. See

Re: org-->html text between @ should be red.

2022-01-15 Thread Uwe Brauer
>>> "JMM" == Juan Manuel Macías writes: > Uwe Brauer writes: >> Can I have a similar setting when exporting an org file to html via the >> «normal» html exporter? > Using a custom filter? > #+begin_src emacs-lisp > (defun foo (text backend info) > (when (org-export-derived-backend-p

Re: org-->html text between @ should be red.

2022-01-15 Thread Juan Manuel Macías
Uwe Brauer writes: > Thanks very much it works as expected. However I just realized (and > this is true also for the org-mime filter that the reg-exp has a flaw. > > I used the text > > > =email:o...@mat.ucm.es= > > So there is only one @, nevertheless the exporter translated that to >

Re: org-->html text between @ should be red.

2022-01-15 Thread Juan Manuel Macías
Uwe Brauer writes: > Can I have a similar setting when exporting an org file to html via the > «normal» html exporter? Using a custom filter? #+begin_src emacs-lisp (defun foo (text backend info) (when (org-export-derived-backend-p backend 'html) (replace-regexp-in-string

Re: Depreciating TeX-style LaTeX fragments (was: Org Syntax Specification)

2022-01-15 Thread Timothy
Hi Sebastien, Thanks for your comments, and your thoughts on the proposed deprecation. It’s worth explicitly considering why we wouldn’t want to steer people away from the TeX-syntax LaTeX fragments, so I am glad you have brought up some reasons. I do not find myself agreeing with them however,

org-->html text between @ should be red.

2022-01-15 Thread Uwe Brauer
Hi When I use org-mime-htmlize, then I can use the setting Render text between "@" in red color, you can use =org-mime-html-hook=, #+begin_src elisp (add-hook 'org-mime-html-hook (lambda () (while (re-search-forward "@\\([^@]*\\)@" nil t) (replace-match

Re: Strange bug with text scaling and variable-pitch

2022-01-15 Thread Andrew Hyatt
I tracked this down to a bug in emacs, which happens only when indirect buffers are cloned. Reported as bug#53294 with a patch. On Thu, Jan 13, 2022 at 9:51 PM Andrew Hyatt wrote: > > Hi all, > > I've been having an odd problem where if I try to change my text > scale on my org capture buffers,

Re: [PATCH] ob-plantuml: Allow setting PlantUML args for jar file

2022-01-15 Thread Max Nikulin
Hi. Disclaimer: I am neither plantuml nor ditaa user, so my comments may have no sense. On 15/01/2022 13:20, Ihor Radchenko wrote: Dejan Josifović writes: Comparing ob-plantuml.el and plantuml-mode.el files I found what is the problem. plantuml-mode has a customizable variable for