Re: Please document the caching and its user options

2024-06-15 Thread Daniel Clemente
> > Please document the caching features of Org in the manual, including > > how to turn that off. (I also question the wisdom of turning this on > > by default without as much as a single request for confirmation from > > the user.) > Hmm. What aspect of caching do you want us to document? >

Re: [BUG] orgalist send bug

2024-06-15 Thread Rustom Mody
Some immediate data org-version: 9.8pre emacs-version: 29.1 orgalist version 1.14 On Sun, Jun 16, 2024 at 8:01 AM Rustom Mody wrote: > > > On Sat, Jun 15, 2024 at 6:55 PM Ihor Radchenko > wrote: > >> CCing Nicolas. >> >> Rustom Mody writes: >> >> > This is regarding the separate package

Re: [BUG] orgalist send bug

2024-06-15 Thread Rustom Mody
On Sat, Jun 15, 2024 at 6:55 PM Ihor Radchenko wrote: > CCing Nicolas. > > Rustom Mody writes: > > > This is regarding the separate package orgalist by Nicolas Goaziou. > > https://elpa.gnu.org/packages/orgalist.html > > > > I installed orgalist with package install. > > Open the file

Re: [PATCH] function and symbol for headline and olp for org-capture-templates

2024-06-15 Thread Nafiz Islam
I've updated my tests with `org-test-at-time' and updated the commit message to fit within default column of 70. From 25c0252c8532e498e3fce103dd44a81441d8a51a Mon Sep 17 00:00:00 2001 From: Nafiz Islam Date: Tue, 21 May 2024 16:24:26 -0400 Subject: [PATCH] function and symbol for headline and

[PATCH] Testing: Add tests for `org-tags-sort-function'

2024-06-15 Thread Morgan Smith
* testing/lisp/test-org-agenda.el (test-org-agenda/tags-sorting): New test. --- Hello! I just recently sent in a patch to add a new possible value for `org-tags-sort-function'. To ease discussion there, I thought I'd add a nice little test here so I can later show off the feature I'm trying to

Re: Please document the caching and its user options

2024-06-15 Thread Eli Zaretskii
> From: Ihor Radchenko > Cc: emacs-orgmode@gnu.org, emacs-de...@gnu.org, Michael Albinus > > Date: Sat, 15 Jun 2024 14:13:03 + > > CCing emacs-devel as I'd like to upgrade this discussion to Emacs-wide > context. > > Eli Zaretskii writes: > > >> ... I wanted to know what is being

Re: Saving some kitten, plus some questions along the way

2024-06-15 Thread Ihor Radchenko
Ihor Radchenko writes: > Stefan Monnier writes: > >> OK, changed it to `with-current-buffer`. >> >> I pushed the resulting patch (along with three other patches resulting >> from running the tests) to `scratch/org` on `elpa.git`. >> >> You can also find them attached, > > Thanks! > >> Subject:

Re: [PATCH] lisp/org.el: Add ability to sort tags by hierarchy

2024-06-15 Thread Ihor Radchenko
Morgan Smith writes: > * lisp/org.el (org-tags-sort-hierarchy): New function. > (org-tags-sort-function): Add new function to type. > * testing/lisp/test-org.el (test-org/tags-sort-hierarchy): New test > --- > > This is one of those things that I thought would be easy but then ended up > hard. >

Re: Please document the caching and its user options

2024-06-15 Thread Ihor Radchenko
CCing emacs-devel as I'd like to upgrade this discussion to Emacs-wide context. Eli Zaretskii writes: >> ... I wanted to know what is being cached, why, and in what file/directory. >> > > ... >> Would it be possible for Emacs to define a framework for cache/var/data >> locations? Such

Re: Please document the caching and its user options

2024-06-15 Thread Ihor Radchenko
Ihor Radchenko writes: >> The emacs-internal encoding is not binary. In almost all the cases it >> is indistinguishable from utf-8-unix. It differs where a buffer >> includes characters outside of the Unicode codespace. The usual >> practice in Emacs is that files holding internal data use >>

Re: [BUG/FR] org-plot: replot on resize [9.7-pre (N/A @ /home/viz/lib/emacs/straight/build/org/)]

2024-06-15 Thread Ihor Radchenko
Visuwesh writes: >> So, you can set DATA to (list (or dump-func 'org-plot/gnuplot-to-data) table >> num-cols params) > > Done in the attached patch. Thanks! >;; Dump table to datafile > - (let ((dump-func (plist-get type :data-dump))) > + (let* ((dump-func (plist-get type

Re: [BUG] html-htmlize-output-type does not work on a per project basis [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/29.3/lisp/org/)]

2024-06-15 Thread Ihor Radchenko
Mehul Sanghvi writes: > I would like to be able to set =:html-htmlize-output-type= on a > per-project basis. That does not seem to be working. If I have > ~htmlize.el~ installed and set =:html-htmlize-output-type css=, then I > get hardcoded values for the colours being used in the code

Re: [BUG] orgalist send bug

2024-06-15 Thread Ihor Radchenko
CCing Nicolas. Rustom Mody writes: > This is regarding the separate package orgalist by Nicolas Goaziou. > https://elpa.gnu.org/packages/orgalist.html > > I installed orgalist with package install. > Open the file orgalist.txt which contains the example from orgalist shown > below > M-x

RE: org-babel-execute-src-block filters characters from :session *shell* output

2024-06-15 Thread Ihor Radchenko
"Cook, Malcolm" writes: >>> #+begin_src sh >>> printf 'a\nb\nc\n>d\n>> #+end_src >>> >>> #+RESULTS: >>> : a >>> : b >>> : c >>> : d >>> : >> >>> Huh? what happened to the ">" before the "d"? >> >>I cannot reproduce. >>May it be that you are setting global :session header argument? > > Yes, of

Re: [PATCH] ob-lua: Support all types and multiple values in results

2024-06-15 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Rudolf Adamkovič writes: > >> #StillCooking :) > > All right, here we go! 5 patches, all based on top of the head > (73da6beb5) of `main' as of today (2024-06-14), in order: > > 0. [main, as of today] > 1. ob-lua: Escape double quote characters in results > 2.

Re: Please document the caching and its user options

2024-06-15 Thread Eli Zaretskii
> From: Ihor Radchenko > Cc: emacs-orgmode@gnu.org > Date: Sat, 15 Jun 2024 12:47:29 + > > Eli Zaretskii writes: > > >> I am not convinced that we have to do it. > > > > That's too bad. When a user finds out about this caching, how do you > > propose that he/she looks for the information

Re: Please document the caching and its user options

2024-06-15 Thread Ihor Radchenko
Eli Zaretskii writes: >> I am not convinced that we have to do it. > > That's too bad. When a user finds out about this caching, how do you > propose that he/she looks for the information about it? I wanted to > know what is being cached, why, and in what file/directory. It took > me quite

[PATCH] lisp/org.el: Add ability to sort tags by hierarchy

2024-06-15 Thread Morgan Smith
* lisp/org.el (org-tags-sort-hierarchy): New function. (org-tags-sort-function): Add new function to type. * testing/lisp/test-org.el (test-org/tags-sort-hierarchy): New test --- This is one of those things that I thought would be easy but then ended up hard. I wrote this so that items in my

Re: [BUG] org-plot: Unable to use text xtics with type:2d (+ more) [9.7-pre (N/A @ /home/viz/lib/emacs/straight/build/org/)]

2024-06-15 Thread Ihor Radchenko
Visuwesh writes: > Sorry for the noise, I copied the wrong link in the commit message. > Please see attached instead. Thanks! I have some comments. > -(type (assoc (plist-get params :plot-type) > - org-plot/preset-plot-types)) > +(type (cdr (assoc (plist-get

[BUG] html-htmlize-output-type does not work on a per project basis [9.6.15 (release_9.6.15 @ /usr/local/share/emacs/29.3/lisp/org/)]

2024-06-15 Thread Mehul Sanghvi
Summary: I would like to be able to set =:html-htmlize-output-type= on a per-project basis. That does not seem to be working. If I have ~htmlize.el~ installed and set =:html-htmlize-output-type css=, then I get hardcoded values for the colours being used in the code blocks. If I don't

Re: Pending contents in org documents

2024-06-15 Thread Bruno Barbier
Hi Ihor, Ihor Radchenko writes: > Bruno Barbier writes: > > I have one suggestion though. You now do > > Use the function ON-OUTCOME to update the region with the outcome; if it > is nil, set it to the function `org-pending-on-outcome-replace'. > > However, `org-pending' is defined

Re: imenu vs. refile goto (was Re: [PATCH] lisp/org-compat.el: Allow using imenu to visit non-leaf headlines)

2024-06-15 Thread Samuel Wales
if i am not mistaken, imenu only works for a single buffer, while org refile goto can go to any file configured for it. at least, i /think/ imenu cannot be configured to, for example, find a shell function definition that is not in the current file. for example, you might be in a script called