Re: Org Publish HTML and PDF With GPG Files

2022-09-03 Thread lehi
> Tim Cross theophil...@gmail.com writes: > I do not think that things are that difficult. org->html link conversion > > assumes that the linked .org file is also exported generating the > .html file. If I understand correctly, .org.gpg files are also exported > during publishing process. (Lehi To

Re: Support for tagging (special) blocks

2022-09-03 Thread Ihor Radchenko
Sébastien Miquel writes: > To clarify, here are the two alternatives I have in mind. > > #+tag: easy > #+attr_latex: A classic > #+begin_exercice > Find a necessary and sufficient condition on $N$ and $P$ for $P = NP$ > to hold. > #+end_exercice > > #+begin_exercice A classic

Re: [PATCH] Prevent mixed installation

2022-09-03 Thread Ihor Radchenko
Ihor Radchenko writes: > The annoying mixed installation problems keep popping up in the mailing > list and other communication channels. > > The attached is a patch trying to forbid loading multiple Org versions. > The idea is putting a macro that internally expands Org git version at > compile

Re: [BUG] ob-shell: cmdline and stdin broken when used with TRAMP

2022-09-03 Thread Bruno Barbier
Ihor Radchenko writes: > Thanks for the patch! > Thanks for the review! >> I've also included a test, as the problem is reproducible with TRAMP >> "/mock::" connection. But, that test will only work on GNU/Linux >> systems. > Then you also need to guard the tests against system-type variable

Re: org-time-stamp-custom-formats with out the name of the day of the week

2022-09-03 Thread Ihor Radchenko
writes: >> This cannot currently be customized. However, you can change >> org-time-stamp-formats constant. Removing the %a should be safe. > > FWIW, I have this in an (eval-after-load 'org ...) > > (setq org-time-stamp-formats > '("<%Y-%m-%d>" ."<%Y-%m-%d %H:%M>")) > > since years (> 5) a

Re: Volunteering to maintain ob-asymptote.el within Org

2022-09-03 Thread Jarmo Hurri
Greetings Bastien! Bastien writes: >> I hereby volunteer to maintain ob-asymptote.el. This file has been >> moved to org-contrib, but I would like it to be brought back into Org >> itself. > > I added Luc (cc'ed) as the maintainer of ob-asymptote.el a while ago: > > https://git.savannah.gnu.or

Re: Org mode links: Open a PDF file at a given page and highlight a given string

2022-09-03 Thread Max Nikulin
On 03/03/2021 03:07, Rodrigo Morales wrote: #+begin_src emacs-lisp :results silent (setq org-file-apps '(("\\.pdf::\\([0-9]+\\)::\\([^:]+\\)\\'" . "zathura -P %1 -f %2 %s"))) #+end_src I am going to respond to a message from another thread containing discussion of a patch, but I suppos

Re: Support for tagging (special) blocks

2022-09-03 Thread Sébastien Miquel
Ihor Radchenko writes: >> >> On a slightly related note, I find it quite unfortunate that one >> >> presently cannot make use of the #+begin_ line of special blocks to >> >> set some kind of optional title instead of using #+name or >> >> #+attr_latex. That's a lot of wasted real estate.

Re: Support for tagging (special) blocks

2022-09-03 Thread Ihor Radchenko
Sébastien Miquel writes: > > We already have ":exports none" header argument. > > For src block yes, but not for special blocks. > > To explain where I'm coming from : I write mathematical content > categorized using special blocks, such as theorems, exercices, proofs, > personnal notes, etc. Th

Re: [PATCH] org.el: Fix percent substitutions in `org-open-file'

2022-09-03 Thread Ihor Radchenko
Max Nikulin writes: >>> +(\".pdf::(.+)\\='\" . \"okular file://%s#%1\") >>> +;; No location within the file, optionally followed by \"::\", >>> +;; e.g. . >>> +(\".pdf(?:::)?\\='\" . \"okular %s\") >> >> This is a nice set of examples, but

Re: Unicode TODO keyword issues in agenda search leading to org-scan-tags regex

2022-09-03 Thread Ihor Radchenko
Marcel Lauhoff writes: > My TODO keywords: > ┌ > │ org-todo-keywords '((sequence "≣(p)" "|" "∎(f)") > │ (sequence "◇(t)" "★" "⌛(w)" "🔥(.)" "⚙(s)" "⎇(r)" "⏵(e)" "|" > "✔(d)" "✘(c)") > │ (sequence "⛱(m)" "|")) > │ > └ > ... > The `(regexp-opt org-todo-keywo

Re: org-time-stamp-custom-formats with out the name of the day of the week

2022-09-03 Thread tomas
On Fri, Sep 02, 2022 at 09:33:40PM +0800, Ihor Radchenko wrote: > Uwe Brauer writes: > > > I see, the question simply is this: > > > > How can I achieve that org-time-stamp inserts the date *without* the day > > name?! > > This cannot currently be customized. However, you can change > org-time-s