Re: How to export to the simplest possible HTML?

2023-06-24 Thread Max Nikulin
On 08/06/2023 22:18, Thomas Redelberger wrote: I had a similar requirement for "simplest HTML" and have documented how I tackled this under  http://web222.webclient5.de/doc/swdev/emacs/orgmode/html At this page: #+BIND: org-html-viewport nil I do not need viewport information in the

Re: How to export to the simplest possible HTML?

2023-06-24 Thread Marcin Borkowski
On 2023-06-24, at 15:34, Ihor Radchenko wrote: > Marcin Borkowski writes: > >>> Org export passes the actual parsed and filtered AST that will be >>> exported to `org-export-filter-parse-tree-functions'. You can modify and >>> traverse the parse tree as you need. >> >> Yeah, that I do

Re: How to export to the simplest possible HTML?

2023-06-24 Thread Ihor Radchenko
Marcin Borkowski writes: >> Org export passes the actual parsed and filtered AST that will be >> exported to `org-export-filter-parse-tree-functions'. You can modify and >> traverse the parse tree as you need. > > Yeah, that I do understand. Problem is, I don't know how the AST is > structured,

Re: How to export to the simplest possible HTML?

2023-06-24 Thread Marcin Borkowski
On 2023-06-03, at 10:37, Ihor Radchenko wrote: > Marcin Borkowski writes: > >>> You can loop over links in the exported subtree and export any extra if >>> necessary. For example, in the `org-export-filter-parse-tree-functions'. >> >> Interesting. The main problem with it is that the

Re: How to export to the simplest possible HTML?

2023-06-24 Thread Marcin Borkowski
On 2023-06-10, at 10:25, Thomas Redelberger wrote: > Dear Marcin and everybody, > > I had a similar requirement for "simplest HTML" and have documented (incl. > source code) how I tackled this under > http://web222.webclient5.de/doc/swdev/emacs/orgmode/html > > In summary, my solution is > -

Re: [BUG] org-reload reloads unnecessary files

2023-06-24 Thread Ihor Radchenko
Max Nikulin writes: > `org-reload' reloads obarray and oclosure libraries that are unrelated > to org-babel and org-cite. I believe, the function should not do it. Confirmed. The regexp used to match Org libraries is too inclusive. > ... I suspect `org-reload' may have another issue >

Re: [BUG] org-babel-tangle: Header arg `:comments org' produces no comment in the output [9.7-pre (release_9.6.6-418-g294a4d @ /home/nick/src/emacs/org/org-mode/lisp/)]

2023-06-24 Thread Ihor Radchenko
Nick Dokos writes: > A couple of nits: maybe the comment that `org-back-to-heading' sets match > data should be deleted? And there is a typo in the initial comment of > the test you added (thanks for adding it!): `:commends org' should be > `:comments org'. Thanks! Fixed, on bugfix.

Re: [PATCH] org-capture.el: Allow `(here)' as a template

2023-06-24 Thread Ihor Radchenko
No Wayman writes: >>> Interesting. I'm only able to reproduce it some of the time. >>> I'll look into it more when I have time, but it may have been >>> an >>> artifact of my Emacs session. >> >> I saw >> Was it the same for you? > > Yes, that's the same error. (Sorry, looks like an

[BUG] org-reload reloads unnecessary files

2023-06-24 Thread Max Nikulin
Hi, `org-reload' reloads obarray and oclosure libraries that are unrelated to org-babel and org-cite. I believe, the function should not do it. Frankly speaking, I miss a public function in Emacs similar to `package--list-loaded-files' removed in

Re: How to install org-protocol

2023-06-24 Thread Max Nikulin
On 24/06/2023 16:06, Ypo wrote: I would like to give another try to org-protocol, but I can't find the package to install it. Is it on org-contrib? A link, please? Have you stuck with emacs or with desktop handler configuration? In emacs init file you should have (require

Re: How to install org-protocol

2023-06-24 Thread Ihor Radchenko
Ypo writes: > I would like to give another try to org-protocol, but I can't find the > package to install it. Is it on org-contrib? A link, please? It is built-in.

How to install org-protocol

2023-06-24 Thread Ypo
Hi I would like to give another try to org-protocol, but I can't find the package to install it. Is it on org-contrib? A link, please? Best regards