Re: Agenda 'Org view' (org-projection?)

2022-09-06 Thread Ihor Radchenko
Eduardo Suarez writes: > In Agenda, it is possible to generate different views. I wonder whether it > would be possible to generate an "org mode" view. That is, a buffer in > org-mode > format with all the tasks from our agenda query (no really a sparse tree > view). > Then that file could be e

Re: Manual Ordering and Dynamic Priority

2022-09-06 Thread Ihor Radchenko
Eduardo Suárez writes: > My main problem is, given a file with lots of tasks, to create a "preorder" of > tasks to avoid the fear of missing out tasks when planning or selecting the > top > priority tasks. To review the full list of tasks takes very long (my estimate > is O(n^2)). Reordering the

Re: org-babel-load-languages usability issue

2022-09-06 Thread Ihor Radchenko
Tim Cross writes: >> Well. There are actually languages below if you look into the source >> code. Indeed, it is confusing in the help/customize buffer. We can fix >> this, say, by adding the language list into the docstring itself. Though >> it will not cover third-party ob-*.el modules. > > May

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

2022-09-06 Thread Steven Harris
There is a neat solution to this problem using * Local Variables :noexport: see the discussion at stackoverflow Cheers, Steven On Wed, 7 Sept 2022 at 05:07, Greg Minshall wrote: > Fedja, > > > Wha

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

2022-09-06 Thread Greg Minshall
Fedja, > What I would like to have, to safely and easily use org-mode > as an interactive notebook, is to not have to overload this > function and to be asked only once per buffer/file whether to: > 1) Unconditionally allow executing all code blocks > 2) Unconditionally disallow executing all code

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

2022-09-06 Thread Bruno Barbier
Ihor Radchenko writes: > LGTM now. Thanks! > Applied onto main with minor amendments in formatting. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=8151d52574f525fd922aadc43544688004cb7d14 Thanks Ihor!

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

2022-09-06 Thread Bruno Barbier
Bastien Guerry writes: > I confirm Bruno is on the list of FSF-signed contributors, > I updated the Worg page. Bruno, thanks in advance for your > contributions! Thanks Bastien.

ido, org-insert-link, and completion based on link description

2022-09-06 Thread Max Nikulin
Hi, Does anyone have an idea why it was necessary to drop completion of stored links based on their description for the sake of ido? I am not an ido user, so I am surprised that such feature negatively affected usability. I mean the commit 7f096ad37 2012-10-12 14:39:53 +1100 Tony Day: org-i

Re: Agenda 'Org view' (org-projection?)

2022-09-06 Thread Juan Manuel Macías
Hi, Eduardo: Eduardo Suarez writes: > Based on my previous mail "Manual Ordering and Dynamic Priority" I would like > also to comment about this related idea. > > In Agenda, it is possible to generate different views. I wonder whether it > would be possible to generate an "org mode" view. That is

Re: Org Publish HTML and PDF With GPG Files

2022-09-06 Thread Ihor Radchenko
l...@tosk.in writes: > Is there a specific way of setting this in the config? > I tried adding `(add-hook 'org-export-before-processing-hook > #'org-decrypt-entries)` to my init.el, but publishing fails with the error > "run-hook-with-args: Wrong number of arguments: (0 . 0), 1" This is abnorma

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

2022-09-06 Thread Ihor Radchenko
Fedja Beader writes: > 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 documentati

Re: Org-Crypt usage questions

2022-09-06 Thread Ihor Radchenko
David Masterson writes: >> Yes. AFAIK, the symmetric password is never reused. Though it may depend >> on your gpg settings. > > Hmm. During the save of a file with an entry with "crypt" tag, I was > asked for a symmetric passwd. The file was saved okay and the entry was > encrypted properly.

Agenda 'Org view' (org-projection?)

2022-09-06 Thread Eduardo Suarez
Based on my previous mail "Manual Ordering and Dynamic Priority" I would like also to comment about this related idea. In Agenda, it is possible to generate different views. I wonder whether it would be possible to generate an "org mode" view. That is, a buffer in org-mode format with all the task

Re: Secrets in org-babel

2022-09-06 Thread Ihor Radchenko
Felix Dorner writes: > 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

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

2022-09-06 Thread Ihor Radchenko
Max Nikulin writes: > 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

Re: Manual Ordering and Dynamic Priority

2022-09-06 Thread Eduardo Suárez
Thanks a lot for all your answers. I've been thinking about it and I've come up with another solution. My main problem is, given a file with lots of tasks, to create a "preorder" of tasks to avoid the fear of missing out tasks when planning or selecting the top priority tasks. To review the full l

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

2022-09-06 Thread Marcel Lauhoff
> On 2022-09-05, at 12:54, Ihor Radchenko wrote: > > 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 >> >>