Re: Secrets in org-babel

2022-09-05 Thread Greg Minshall
Felix, my setup is probably too complicated. and, i don't really know what "aws secretsmanager" is, or how you interact with it. but, in case this helps... i put ("long-term") secrets in pass https://www.passwordstore.org/ for "programmatic access" (in particular, for passwords

Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread David Masterson
Ihor Radchenko writes: > David Masterson writes: > >> Does org-publish have options for files with org-crypt entries? > > We do not have an explicit option, but you can add org-decrypt-entries > to your org-export-before-processing-hook. Thanks -- David Masterson

Re: Org-Crypt usage questions

2022-09-05 Thread David Masterson
Ihor Radchenko writes: > David Masterson writes: > >> I've gotten org-crypt working, but I have some questions: >> >> + after decrypting, can I re-encrypt with a new symmetric password? > > Yes. AFAIK, the symmetric password is never reused. Though it may depend > on your gpg settings. Hmm.

Secrets in org-babel

2022-09-05 Thread Felix Dorner
New org user, fascinated by org-babel, but stumbled over something I have no good solution for: I have mostly shell blocks, and very often have to retrieve secrets from aws secretsmanager before I can do anything useful, e.g. query a database in several places. What I've been doing is to put the

Re: [PATCH] ox-icalendar.el: customizable vevent summary prefix

2022-09-05 Thread Mikhail Skorzhisnkii
Ah, sorry — probably forgot to attach it, yes. See the second patch here in the attachment. Ihor Radchenko writes: > Mikhail Skorzhisnkii writes: > >> Subject: [PATCH 1/2] org-agenda.el: customize outline path in echo area > > I do not see the second patch. Did you forget to attach it? >From

Re: [PATCH] ox-icalendar.el: customizable vevent summary prefix

2022-09-05 Thread Mikhail Skorzhisnkii
Thanks for your comment, Ihor. I have addressed your comments, see some comments inline. Attaching new version of the patch. Ihor Radchenko writes: > Mikhail Skorzhisnkii writes: > >> I have signed FSF papers. Attaching a rebased patch with additional changes >> to >> ORG-NEWS > > Thanks! >

Re: [PATCH] ox-icalendar.el: customizable vevent summary prefix

2022-09-05 Thread Mikhail Skorzhisnkii
Resubmitting this patch with better commit message. Mikhail Skorzhisnkii writes: > I have signed FSF papers. Attaching a rebased patch with additional changes to > ORG-NEWS > > Ihor Radchenko writes: > >> “Mikhail Skorzhinskiy” writes: >> >>> Thanks for review, Ihor. I have sent a copyright

Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread David Masterson
l...@tosk.in writes: > Ihor Radchenko yanta...@gmail.com writes: >> >> > David Masterson dsmaster...@gmail.com writes: >> > >> > > Does org-publish have options for files with org-crypt entries? >> > >> > We do not have an explicit option, but you can add org-decrypt-entries >> > to your

Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread lehi
Ihor Radchenko yanta...@gmail.com writes: > > > David Masterson dsmaster...@gmail.com writes: > > > > > Does org-publish have options for files with org-crypt entries? > > > > We do not have an explicit option, but you can add org-decrypt-entries > > to your org-export-before-processing-hook. >

per-file (or, really, per buffer) allowing/disallowing code block execution

2022-09-05 Thread Fedja Beader
Hello, Pressing C-c C-c in a code block asks the user whether to execute that code block or not. This soon becomes annoying. To remedy this, org-mode provides us the variable org-confirm-babel-evaluate. But this is not very user friendly. Additionally, as per documentation, this variable only

Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread tomas
On Mon, Sep 05, 2022 at 09:08:13PM -0700, David Masterson wrote: > l...@tosk.in writes: > > > Ihor Radchenko yanta...@gmail.com writes: > >> > >> > David Masterson dsmaster...@gmail.com writes: > >> > > >> > > Does org-publish have options for files with org-crypt entries? > >> > > >> > We do

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

2022-09-05 Thread Marcel Lauhoff
> On 2022-09-03, at 10:14, Ihor Radchenko wrote: > > Marcel Lauhoff writes: > >> My TODO keywords: >> ┌ >> │ org-todo-keywords '((sequence "≣(p)" "|" "∎(f)") >> │(sequence "◇(t)" "★" "⌛(w)" "(.)" "⚙(s)" "⎇(r)" "⏵(e)" "|" >> "✔(d)" "✘(c)") >> │(sequence

Re: [PATCH] ol-info: Enable :insert-description feature

2022-09-05 Thread Ihor Radchenko
Max Nikulin writes: > Patches are independent and neither of them is strictly necessary, I do > not mind if they would be ignored. They do add value. Applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=1b647b00d08354d1c2824d0140149a39b271fab7

Re: [BUG] org-element-cache [9.5.4 (release_9.5.4-766-gf3f60e @ /home/boudiccas/git/org-mode/lisp/)]

2022-09-05 Thread Ihor Radchenko
Sharon Kimble writes: >> You can then try: >> 1. Run clean Emacs version by running "make repro" from Org repository >>and try to reproduce the issue. > > This created a new instance of emacs, which showed this in its > '*compile-log*' - Let me clarify what I was referring to. "make

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

2022-09-05 Thread Bastien Guerry
Hi Ihor and Bruno, Ihor Radchenko writes: > Bastien, could you please check the FSF record. I confirm Bruno is on the list of FSF-signed contributors, I updated the Worg page. Bruno, thanks in advance for your contributions! -- Bastien

Re: Help mastering indentation

2022-09-05 Thread Ihor Radchenko
Ypo writes: > But when it comes to displaying each paragraph, I perceive it like very > difficult: filling, unfilling, wrapping, adaptive wrapping, indent... > and it seems that emacs and org-mode have their own functions. Well. This is what we usually have in Emacs. Multiple approaches to

Re: Org-Crypt usage questions

2022-09-05 Thread Ihor Radchenko
David Masterson writes: > I've gotten org-crypt working, but I have some questions: > > + the setup in the manual only automatically *encrypts* on save, not > decrypts on read, correct? Yes. > + decryption is done via org-decrypt-* -- is there another way? M-x org-reveal (C-c C-r) > + after

[PATCH] org.el: Preserve case for link subgroups from `org-file-apps'

2022-09-05 Thread Max Nikulin
Hi, Debugging `org-file-apps' and `org-open-file' regexp subgroups I noticed an issue: the code distorts case of the link components making them invalid. The patch to fix the bug is attached, the commit message contains an example of the problem. Maybe I break some use case, but I am

org-babel-load-languages usability issue

2022-09-05 Thread Tim Cross
I'm not sure when the definition of the variable org-babel-load-languages changed, but I think we may need to consider either reverting it or making some other adjustment. Originally, this variable was an alist of languages and a boolean indicating whether the language should be loaded e.g.

Re: org-babel-load-languages usability issue

2022-09-05 Thread Tim Cross
Ihor Radchenko writes: > Tim Cross writes: > >> I'm not sure when the definition of the variable >> org-babel-load-languages changed, but I think we may need to consider >> either reverting it or making some other adjustment. >> >> Originally, this variable was an alist of languages and a

Re: org-babel-load-languages usability issue

2022-09-05 Thread Ihor Radchenko
Tim Cross writes: > I'm not sure when the definition of the variable > org-babel-load-languages changed, but I think we may need to consider > either reverting it or making some other adjustment. > > Originally, this variable was an alist of languages and a boolean > indicating whether the

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

2022-09-05 Thread Ihor Radchenko
Bruno Barbier writes: > I'm now adding a version of `with-connection-local-variables', in > org-compat.el: that should work for 26. I didn't test it as I currently > don't have an Emacs 26. But I should be able to compile one, if you think > it's needed. > > Thank you for spotting this and

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

2022-09-05 Thread Marcel Lauhoff
> On 2022-09-05, at 12:29, Ihor Radchenko wrote: > > Marcel Lauhoff writes: > >>> Thanks for reporting! >>> Fixed on main via a1c923afd. >>> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a1c923afda22089cbf14c7b7a175cee10bfd297b >> >> ┌ >> │ - " *\\("

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

2022-09-05 Thread Ihor Radchenko
Marcel Lauhoff writes: >> Thanks for reporting! >> Fixed on main via a1c923afd. >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=a1c923afda22089cbf14c7b7a175cee10bfd297b > > ┌ > │ -" *\\(" (regexp-opt org-todo-keywords-1 'words) "\\)?" > │ +"

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

2022-09-05 Thread Ihor Radchenko
Marcel Lauhoff writes: >> Oops. You are indeed right. I forgot to remove the 'words argument. Now >> fixed (hopefully). >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=eeb4fa8c09e6e21b86bec51328e53b4adf662945 > > I think it should be > > " *\\(" (regexp-opt org-todo-keywords-1

Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread Ihor Radchenko
David Masterson writes: > Does org-publish have options for files with org-crypt entries? We do not have an explicit option, but you can add org-decrypt-entries to your org-export-before-processing-hook. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at

[PATCH] Re: Org Publish HTML and PDF With GPG Files

2022-09-05 Thread Ihor Radchenko
l...@tosk.in writes: >> Thus, we may simply extend `org-html-link' to work on .org.gpg files in >> addition to .org files. > > Yes, this is it exactly. Can you try the attached patch? -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org