Re: [PATCH] Async evaluation in ob-shell

2023-02-08 Thread Matt
I've attached two patches which replace the previous. I found cleaning the output was dramatically helped by calling `buffer-substring-no-properties' instead of `buffer-substring' in `org-babel-comint-async-filter'. I'm not sure why `buffer-substring' was originally used. `make test' shows

Re: Possible error in manual

2023-02-08 Thread TRS-80
J G writes: >> >> 2.2.3 Catching invisible edits >> >> Sometimes you may inadvertently edit an invisible part of the buffer and >> be confused on what has been edited and how to undo the mistake. Setting >> org-fold-catch-invisible-edits to non-nil helps preventing this. See the >> docstring of

Re: Setting the default todo priority ?

2023-02-08 Thread TRS-80
David Masterson writes: > Use case: I may have a task type that fully expresses what it's priority > is. Example would be SOMEDAY which is going to have the lowest > priority. Adding a cookie to all SOMEDAY tasks seems superfluous. I see that Nick already directly answered your question.

Re: [BUG] ob-gnuplot.el can't handle importing more than one table from the current file [9.6.1 ( @ /home/thomas/.emacs.d/elpa/org-9.6.1/)]

2023-02-08 Thread Thomas Worthington
Well, bloody hell. I can't replicate now. It was about four weeks ago I tripped over this and I absolutely saw it in action repeatedly - I could see gnuplot loading the same file in its process buffer, and only one file being created on-disc too. Maybe I updated org since then, but I didn't

Re: [TIP] Exporting Maxima results to LaTeX

2023-02-08 Thread Leo Butler
On Wed, Feb 08 2023, Max Nikulin wrote: > On 08/02/2023 04:40, Leo Butler wrote: >> Generate @@latex:\LaTeX{}@@ code from Maxima code. > > You can write just LaTeX, ox-latex recognizes such pattern. The bonus > is the it will be literally exported to HTML. Thanks. > >> #+begin_example >>

Re: [BUG] M-S- does not adjust clock timestamps as described in docs [9.5.5]

2023-02-08 Thread Mark Barton
> On Feb 8, 2023, at 6:11 AM, Robert Nikander > wrote: > > I’m pretty much a beginner with the clock features, so I don’t have an > opinion yet on how it should work. But yes, it seems like clarifying the > manual there would be an improvement. > > I don’t know what agenda clock check is.

Re: netspend table

2023-02-08 Thread Jude DaShiell
Yes, I'm using orgmode blind and no I don't have any good resources to share. Jude "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) . On Wed, 8 Feb 2023, Dr. Arne Babenhauserheide wrote: > > Jude

Re: [TIP] Exporting Maxima results to LaTeX

2023-02-08 Thread Fraga, Eric
On Wednesday, 8 Feb 2023 at 22:43, Max Nikulin wrote: > At first glance :prologue header argument might be an alternative, but > likely I have missed something obvious. Indeed. I use, for instance, the following #+PROPERTY: header-args:maxima :prologue "fpprintprec: 2; linel: 50;" for my

Re: [PATCH] org--batch-store-agenda-views: Fix treatment of lambda functions

2023-02-08 Thread Aaron Zeng
New patch looks good. Thanks! On Wed, Feb 8, 2023 at 05:09 Ihor Radchenko wrote: > "Aaron L. Zeng" writes: > > > * org-agenda.el (org--batch-store-agenda-views): Fix treatment of > > lambda functions used as custom agenda commands. > > `org-agenda-custom-commands' entries may specify a custom

Re: [PATCH] worg/org-faq.org: Recommend cb_thunderlink Thunderbird add-on

2023-02-08 Thread Max Nikulin
On 08/02/2023 01:26, Bruno Barbier wrote: Max Nikulin writes: A have prepared an alternative patch. Let me know if have suggestions, objections, or if you prefer to proceed with another revision of your patch. Looks good to me. Thank you for your patience. Updated version:

Re: [TIP] Exporting Maxima results to LaTeX

2023-02-08 Thread Max Nikulin
On 08/02/2023 04:40, Leo Butler wrote: Generate @@latex:\LaTeX{}@@ code from Maxima code. You can write just LaTeX, ox-latex recognizes such pattern. The bonus is the it will be literally exported to HTML. #+begin_example ,#+begin_src maxima :tangle maxima-init.lisp :exports none

Re: ob-sql dbconnection engine

2023-02-08 Thread Andreas Gerler
Hi Ihor, I use only MySQL, PostgreSQL and Vertica. However for me sql-product postgres in my sql-connection-alist works both in ob-sql as well as SQLi. In the end you are still able to overwrite in your src block parameters via :engine Andy > On Feb 5, 2023, at 11:58 AM, Ihor Radchenko

Re: [BUG] M-S- does not adjust clock timestamps as described in docs [9.5.5]

2023-02-08 Thread Robert Nikander
> On Feb 8, 2023, at 5:14 AM, Ihor Radchenko wrote: > > Robert Nikander writes: > >> […] >> >> If I put point on the minutes of 12:30 (second line) and hit S-M-, it >> moves the time to 12:35, but nothing else moves. Based on the docs, I >> thought it would shift one of the other lines.

Re: [BUG] :safe predicate for org-link-abbrev-alist does not make sense

2023-02-08 Thread Ihor Radchenko
Qiantan Hong writes: > The predicate is currently > (lambda (val) > (pcase val > (`(,(pred stringp) . ,(pred stringp)) t) > (_ nil))) > > This returns true for pairs like ("wiki" . "Blabla"), but such values are > invalid. > org-link-abbrev-alist need to be an ALIST. For any ALIST, the above

Re: [BUG] ob-gnuplot.el can't handle importing more than one table from the current file [9.6.1 ( @ /home/thomas/.emacs.d/elpa/org-9.6.1/)]

2023-02-08 Thread Ihor Radchenko
Thomas Worthington writes: > org-babel-gnuplot-process-vars in ob-gnuplot.el makes a temporary file to > store a table imported from the current org file using :var > > However, the name of this file does not include the name of the variable or > any similar field unique to the data. This

[BUG] ob-gnuplot.el can't handle importing more than one table from the current file [9.6.1 ( @ /home/thomas/.emacs.d/elpa/org-9.6.1/)]

2023-02-08 Thread Thomas Worthington
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don’t know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. Emacs : GNU

[BUG] :safe predicate for org-link-abbrev-alist does not make sense

2023-02-08 Thread Qiantan Hong
The predicate is currently (lambda (val) (pcase val (`(,(pred stringp) . ,(pred stringp)) t) (_ nil))) This returns true for pairs like ("wiki" . "Blabla"), but such values are invalid. org-link-abbrev-alist need to be an ALIST. For any ALIST, the above predicate returns NIL. Best, Qiantan

Re: new org mode, changed folding behavior could be improved / more consistent

2023-02-08 Thread Ihor Radchenko
Laurenz Wiskott writes: > There is one feature however that I really miss: It used to be that I could > add an entry > with a certain number of stars in the first line, and then 'org-global-cycle' > using S-TAB > would allow to make all the headlines visible only up to that many stars. > For

Re: [POLL] Proposed syntax for timestamps with time zone info (was: [FEATURE REQUEST] Timezone support in org-mode datestamps and org-agenda)

2023-02-08 Thread Ihor Radchenko
Jean Louis writes: >> It means "when I scheduled this item, I expected the UTC offset at the >> time of the timestamp to be -08 and remain so. It was motivated by >> America/Vancouver time zone, but if it changes in future, I do not care >> - the scheduled time should remain at specific time

Re: [BUG] M-S- does not adjust clock timestamps as described in docs [9.5.5]

2023-02-08 Thread Ihor Radchenko
Robert Nikander writes: > But it doesn't seem to work like that. For example > >* Testing it out >:LOGBOOK: >CLOCK: [2023-02-07 Tue 12:35]--[2023-02-07 Tue 12:45] => 0:10 >CLOCK: [2023-02-07 Tue 12:20]--[2023-02-07 Tue 12:30] => 0:10 >CLOCK: [2023-02-06 Mon

Re: [PATCH] org--batch-store-agenda-views: Fix treatment of lambda functions

2023-02-08 Thread Ihor Radchenko
"Aaron L. Zeng" writes: > * org-agenda.el (org--batch-store-agenda-views): Fix treatment of > lambda functions used as custom agenda commands. > `org-agenda-custom-commands' entries may specify a custom function > instead of a symbol like `tags-todo'. `org--batch-store-agenda-views' > behaved

Re: netspend table

2023-02-08 Thread Dr. Arne Babenhauserheide
Jude DaShiell writes: > I think if I had known about orgmode when studying adjusted trial balance > sheets I would have used it since braille paper has a maximum of 42 > characters in a line. Are you using orgmode blind? If so, do you have a good resource I could send a blind author? Best