Re: [PATCH 0/2] Don't print arguments of post-process arguments to stdout

2022-10-06 Thread Ihor Radchenko
Jonas Bernoulli writes: > I run org-babel-execute-buffer from a Makefile and the output is quite > noisy, forcing me to filter out some output using grep -v so that I am > still able to spot any unexpected output that indicates some issue. > > Now that I have started using post-processing code

Re: [PATCH] DOCT integration: template specific hooks [9.5.5 (9.5.5-g003cc7 @ /home/n/.emacs.d/elpaca/builds/org/)]

2022-10-06 Thread Ihor Radchenko
No Wayman writes: > I've addressed your comments in the attached patch. > I based it off the most recent patch in the thread. > The main difference is that the hook properties accept a single > nullary function or list of nullary functions. Applied onto main with minor amendments (filling and

Re: The Org mode in the Org Git does not export

2022-10-06 Thread Ihor Radchenko
After further off-list discussion and online debugging, we have managed to find out the culprit. Thanks, Rudolf, for the kind assistance with debugging! The slowdown mostly came from the new version of `org-html-format-latex' that copies the parent Org buffer environment when generating LaTeX

[BUG] Re: 98e168b48 Add compatibility wrapper for string-clean-whitespace (Emacs 26 compatibility) [9.6-pre (release_9.5.5-920-g057193 @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-10-06 Thread Ihor Radchenko
Kyle, The following commit adds `string-trim', which is not yet available in Emacs 26. 98e168b489e4350430d1600f7ece57215de1027c Author: Kyle Meyer AuthorDate: Tue Oct 4 17:42:27 2022 -0400 Commit: Kyle Meyer CommitDate: Tue Oct 4 18:38:25 2022 -0400 compat: Add compatibility wrapper

Re: Interest in an Org video meetup?

2022-10-06 Thread Marcin Borkowski
On 2022-10-06, at 19:24, Russell Adams wrote: > On Thu, Oct 06, 2022 at 05:28:12PM +0200, Marcin Borkowski wrote: >> Me too, though it depends on the schedule. What time of day do you plan >> for that? > > From my original post: > >>> I'm offering to schedule and moderate the first few

Re: Fix 'ob-sed-test' on BSD/macOS

2022-10-06 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Please see the attached two patches: > > (1) fixes 'ob-sed-test' on BSD/macOS, and > (2) fixes a typo in 'ob-sed'. Applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=48ac65bea08d385065c4b57f64a276f2b0d86a07

Re: [PATCH v1] Allow returning empty list from post-processing block

2022-10-06 Thread Ihor Radchenko
Jonas Bernoulli writes: > * lisp/ob-ref.el (org-babel-ref-resolve): When the result an empty > list, then treat it as a list, not as the symbol nil. > * testing/lisp/test-ob.el (test-ob/post-header-arguments): Add new > test. > * etc/ORG-NEWS (Post-processing code blocks can return an empty

Re: What is a "date tree"? (find manual unclear) [was: Re: Dates in headlines]

2022-10-06 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > Samuel Wales writes on Tue 28 Jun 2022 16:23: > > > [inactive timestamps] much better than date trees for my case. > > Reading this, I tried to find out what a date tree is. > > The manual says (in 10.1.3.1): > >A date tree is an outline structure with

Re: [PATCH] Three documentation patches

2022-10-06 Thread Ihor Radchenko
Stefan Kangas writes: > Ihor Radchenko writes: > >> The patches look good, but I am unable to apply them onto current main: > > Hmm, strange. I've rebased on top of current main, and I'm resending > the resulting patches here. I hope they work better. This time everything applies like a

Re: [PATCH] lisp/org-agenda.el: Fix filter preset problem for sticky agenda

2022-10-06 Thread Ihor Radchenko
Liu Hui writes: > When writing the test, I find the original patch only addresses the > case where an entry contains multiple commands. Now the udpated patch > can address the case containing one command by changing another global > symbol property to per-buffer text property. > > From

Re: Interest in an Org video meetup?

2022-10-06 Thread Russell Adams
On Fri, Oct 07, 2022 at 09:43:23AM +0800, Ihor Radchenko wrote: > Juan Manuel Macías writes: > > > Great idea. I would like to participate, even if it was just to listen > > :-) But I'm afraid that these months I'm going to have horrible > > schedules. Is it planned to record these meetings? > >

Re: Interest in an Org video meetup?

2022-10-06 Thread Ihor Radchenko
Juan Manuel Macías writes: > Great idea. I would like to participate, even if it was just to listen > :-) But I'm afraid that these months I'm going to have horrible > schedules. Is it planned to record these meetings? Even if there is a recording, where can we publish the recorded videos? --

Re: Interest in an Org video meetup?

2022-10-06 Thread Russell Adams
On Thu, Oct 06, 2022 at 08:09:44PM +, Juan Manuel Macías wrote: > Russell Adams writes: > > > Would there be any interest in a monthly 1-2 hour long ad-hoc screen > > sharing and video discussion for Org-mode? > > Great idea. I would like to participate, even if it was just to listen > :-) But

Re: Interest in an Org video meetup?

2022-10-06 Thread Juan Manuel Macías
Russell Adams writes: > Would there be any interest in a monthly 1-2 hour long ad-hoc screen > sharing and video discussion for Org-mode? > > I'm offering to schedule and moderate the first few events. I'd > propose a Saturday meeting in the afternoon European time to cover EU > and NA. > > I'm

Re: Interest in an Org video meetup?

2022-10-06 Thread Rudolf Adamkovič
I, too, would like to join. Rudy -- "Programming reliably -- must be an activity of an undeniably mathematical nature […] You see, mathematics is about thinking, and doing mathematics is always trying to think as well as possible." -- Edsger W. Dijkstra, 1981 Rudolf Adamkovič [he/him]

test-org-table/sort-lines: Failing test on macOS

2022-10-06 Thread Rudolf Adamkovič
Howdy, howdy! I see the test failure below on macOS. Test test-org-table/sort-lines condition: (ert-test-failed ((should (equal "| a | x |\n| B | 4 |\n| c | 3 |\n" (org-test-with-temp-text "| a | x |\n| c | 3 |\n| B | 4 |\n" ... ...))) :form (equal "| a

Fix 'ob-sed-test' on BSD/macOS

2022-10-06 Thread Rudolf Adamkovič
Please see the attached two patches: (1) fixes 'ob-sed-test' on BSD/macOS, and (2) fixes a typo in 'ob-sed'. Rudy >From 868f878cb50c5234a16b2675688256892467f5f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rudolf=20Adamkovi=C4=8D?= Date: Thu, 6 Oct 2022 21:14:17 +0200 Subject: [PATCH 1/2]

Re: Interest in an Org video meetup?

2022-10-06 Thread Tory S. Anderson
I would enjoy a video meetup on Orgmode, since it is the first and last program I interact with during my computing day. -- Tory S. Anderson Application & Web Developer https://toryanderson.com

Re: Interest in an Org video meetup?

2022-10-06 Thread Russell Adams
On Thu, Oct 06, 2022 at 05:28:12PM +0200, Marcin Borkowski wrote: > Me too, though it depends on the schedule. What time of day do you plan > for that? >From my original post: >> I'm offering to schedule and moderate the first few events. I'd >> propose a Saturday meeting in the afternoon

Re: Interest in an Org video meetup?

2022-10-06 Thread Payas Relekar
Marcin Borkowski writes: > On 2022-10-06, at 16:40, Leslie Watter wrote: > >> Would be great to see what others are doing in their workflows using org ;-) >> >> I'd like to join to! > > Great idea! > > Me too, though it depends on the schedule. What time of day do you plan > for that? +1 for

Re: Interest in an Org video meetup?

2022-10-06 Thread Marcin Borkowski
On 2022-10-06, at 16:40, Leslie Watter wrote: > Would be great to see what others are doing in their workflows using org ;-) > > I'd like to join to! Great idea! Me too, though it depends on the schedule. What time of day do you plan for that? Best, -- Marcin Borkowski http://mbork.pl

Re: Interest in an Org video meetup?

2022-10-06 Thread Leslie Watter
Would be great to see what others are doing in their workflows using org ;-) I'd like to join to! Cheers, Leslie On Thu, Oct 6, 2022 at 10:43 AM Kaushal Modi wrote: > I'd like to join. > > -- > Kaushal Modi > > > On Thu, Oct 6, 2022 at 9:24 AM Russell Adams > wrote: > >> >> Would there be

[BUG] babel R src block with :results output hangs [9.5.2 (9.5.2 @ /usr/share/emacs/site-lisp/elpa/org-9.5.2/)]

2022-10-06 Thread JM Nunes
Source blocks with header arg ':results output' either locally or via #+PROPERTY: do never return (waited 10 minutes before C-g). Editing the block in a major mode buffer (C-c') shows the correct results in the iess R session. The block: #+BEGIN_SRC R :results output sqrt(-4) #+END_SRC

[Solved] was: [BUG] babel R src block with :results output hangs [9.5.2 (9.5.2 @ /usr/share/emacs/site-lisp/elpa/org-9.5.2/)]

2022-10-06 Thread JM Nunes
Dear you, I continued looking for information to understand the bug and come across another bug that lead me to update my ESS package and that solved the problem. Thank you anywayy. Kind regards, On 05/10/2022 23.47, JM Nunes wrote: Source blocks with header arg ':results output'

Re: Interest in an Org video meetup?

2022-10-06 Thread Kaushal Modi
I'd like to join. -- Kaushal Modi On Thu, Oct 6, 2022 at 9:24 AM Russell Adams wrote: > > Would there be any interest in a monthly 1-2 hour long ad-hoc screen > sharing and video discussion for Org-mode? > > I'm offering to schedule and moderate the first few events. I'd > propose a Saturday

Re: [BUG] `org-fill-paragraph' doesn't respect formatting

2022-10-06 Thread Rudolf Adamkovič
Tor Kringeland writes: > The same happens with other formatting like *bold* and _underline_. +1 I bump into this inconsistency almost every day, e.g. *Example.* Starting with $n = 12$, ... Rudy -- "The whole science is nothing more than a refinement of everyday thinking." -- Albert

Interest in an Org video meetup?

2022-10-06 Thread Russell Adams
Would there be any interest in a monthly 1-2 hour long ad-hoc screen sharing and video discussion for Org-mode? I'm offering to schedule and moderate the first few events. I'd propose a Saturday meeting in the afternoon European time to cover EU and NA. I'm considering using Jitsi, or maybe

Re: Some links in online manual do not work

2022-10-06 Thread Tim Landscheidt
Ihor Radchenko wrote: >>> This looks like the nginx case issue again. >>> I've looked at this and there does not seem to be any 'clean' way to fix >>> this which also doesn't have significant processing overhead or a >>> maintenance burden. >>> I wonder if it would be worthwhile adding an

[PATCH 1/2] Don't print arguments of post-process arguments to stdout

2022-10-06 Thread Jonas Bernoulli
It is unclear whether the arguments were printed on purpose. It might be useful to do so at times for debugging purposes, but generally they drown out other messages when a lot of post-processing is being done; making it harder to spot messages of interest that would otherwise allow noticing

[PATCH 0/2] Don't print arguments of post-process arguments to stdout

2022-10-06 Thread Jonas Bernoulli
I run org-babel-execute-buffer from a Makefile and the output is quite noisy, forcing me to filter out some output using grep -v so that I am still able to spot any unexpected output that indicates some issue. Now that I have started using post-processing code blocks, the output has gotten even

[PATCH 2/2] Begin messages about executing code blocks with a capital letter

2022-10-06 Thread Jonas Bernoulli
By Emacs' convention all messages should begin with a capital letter. lisp/ob-awk.el (org-babel-expand-body:awk): lisp/ob-core.el (org-babel-execute-src-block): lisp/ob-groovy.el (org-babel-execute:groovy): lisp/ob-maxima.el (org-babel-execute:maxima): lisp/ob-sed.el (org-babel-execute:sed):

[HELP] Please help checking function definitions in the manual vs. docstrings (was: [BUG] Typo in manual [9.5.2 (9.5.2-gfbff08 @ /home/ignacio/.emacs.d/elpa/org-9.5.2/)])

2022-10-06 Thread Ihor Radchenko
Marco Wahl writes: > Ignacio Casso writes: > >> I would like to report a minor typo in the manual, although I'm not sure >> if this is the right place (please point me to it if it's not). > > Confirmed. I fixed the exact typo on main for now.

[PATCH v1] Allow returning empty list from post-processing block

2022-10-06 Thread Jonas Bernoulli
* lisp/ob-ref.el (org-babel-ref-resolve): When the result an empty list, then treat it as a list, not as the symbol nil. * testing/lisp/test-ob.el (test-ob/post-header-arguments): Add new test. * etc/ORG-NEWS (Post-processing code blocks can return an empty list): Document change in behavior. ---

Re: [PATCH] DOCT integration: template specific hooks [9.5.5 (9.5.5-g003cc7 @ /home/n/.emacs.d/elpaca/builds/org/)]

2022-10-06 Thread No Wayman
I've addressed your comments in the attached patch. I based it off the most recent patch in the thread. The main difference is that the hook properties accept a single nullary function or list of nullary functions. >From 90f0c68e1149512b51230fd44ad728b38e5f088e Mon Sep 17 00:00:00 2001 From:

Re: Bug: org-table-clean-line may not return only | and space [9.4.4 (release_9.4.4 @ /home/tbb/code/emacs/emacs/lisp/org/)] [9.4.4 (release_9.4.4 @ /home/tbb/code/emacs/emacs/lisp/org/)]

2022-10-06 Thread Mauro Aranda
Ihor Radchenko writes: > Ihor Radchenko writes: > >> Mauro Aranda writes: >> >>> 5. I expected to get a clean row: >>> Here is a table: >>> |   |   | >>> | Data1 | Data2 | >>> >>> but I got: >>> Here is a table: >>> |   | Data2 | >>> | Data1 | Data2 | >> >> Confirmed > > Fixed on

What is a "date tree"? (find manual unclear) [was: Re: Dates in headlines]

2022-10-06 Thread Alain . Cochard
Samuel Wales writes on Tue 28 Jun 2022 16:23: > [inactive timestamps] much better than date trees for my case. Reading this, I tried to find out what a date tree is. The manual says (in 10.1.3.1): A date tree is an outline structure with years on the highest level, months or ISO weeks

Re: Should we make org-fill-element respect the selected region and not expand the selection to the element boundaties?

2022-10-06 Thread Fraga, Eric
On Thursday, 6 Oct 2022 at 16:38, Ihor Radchenko wrote: > Should we go for it? It would mean better alignment with the rest of the text modes in Emacs so I would be supportive. But I only tend to use filling for paragraphs in any case so the breaking change would not affect me much. -- : Eric

Re: Bug report: org-preview-latex fails when using tramp

2022-10-06 Thread Ihor Radchenko
Timothy writes: > Confirmed. > > I just tried this by creating an Org file on a Debian server (I run OpenSUSE > with TexLive 2021). From looking at the `*Org Preview LaTeX Output*' buffer, > it > appears that the temp file is created on my local machine, and then the > process > is called on

Should we make org-fill-element respect the selected region and not expand the selection to the element boundaties? (was: Bug: org-fill-paragraph [9.3 (release_9.3 @ /usr/share/emacs/27.1/lisp/org/)])

2022-10-06 Thread Ihor Radchenko
Ihor Radchenko writes: > Edrie Ddrie writes: > >> When using `org-fill-paragraph' on a part of a paragraph, e.g. with halve >> the lines as active region, it still uses the unselected text around when >> filling. >> This works different than `fill-paragraph', `fill-region' and >>

Re: [BUG] `org-fill-paragraph' doesn't respect formatting

2022-10-06 Thread Ihor Radchenko
Tor Kringeland writes: > Applying `org-fill-paragraph' to /e.g./ > > /Some text./ Some more text. > > when `sentence-end-double-space' is t removes the double space to a > single space. The same happens with other formatting like *bold* and > _underline_. In other instances it is more

Re: Bug: org-table-clean-line may not return only | and space [9.4.4 (release_9.4.4 @ /home/tbb/code/emacs/emacs/lisp/org/)] [9.4.4 (release_9.4.4 @ /home/tbb/code/emacs/emacs/lisp/org/)]

2022-10-06 Thread Ihor Radchenko
Ihor Radchenko writes: > Mauro Aranda writes: > >> 5. I expected to get a clean row: >> Here is a table: >> | | | >> | Data1 | Data2 | >> >> but I got: >> Here is a table: >> | | Data2 | >> | Data1 | Data2 | > > Confirmed Fixed on main.

Re: [O] BUG: Capture task clocking doesn't stop due to narrowing

2022-10-06 Thread Ihor Radchenko
Ihor Radchenko writes: > Bernt Hansen writes: > >> Hi, >> >> I ran into an issue this morning where my capture task continues >> clocking on save. This occurs in both master and maint when not >> clocking into a drawer. >> >> ECM follows. > > Confirmed Fixed on main.

Re: [BUG] org-beamer :BEAMER_ACT: ignored on columns

2022-10-06 Thread Fraga, Eric
On Thursday, 6 Oct 2022 at 11:06, Ihor Radchenko wrote: > Is there any reason why you only allow actions for "column" environment > specifically? What about other environments? Good question. But I don't know the answer! I was mimicking the existing code (e.g. the line above). I am not sure

Re: Bug: Percentage in caption (even escaped) does not work in LaTeX export

2022-10-06 Thread Ihor Radchenko
Timothy writes: > This should be finally fixed in > when it’s merged. The referenced patch has been applied, and the bug should be fully resolved on main now. Fixed. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org