Worg build status?

2024-03-13 Thread Adam Porter
Hi, A couple of days ago I pushed some updates to Worg.git, and then I saw that the build seems to be failing . I found this message from January explaining that the builds

Best way to make the Org source tree?

2024-03-13 Thread William Denton
I looked on the site and in the source but didn't see this, but forgive me if I missed something obvious. Say I cloned the Git repository and now I'm in that directory and want to update Org. I'm not doing any development, I just want to stay current. I think these are equivalent: $ make

Re: Things got very slow: profiler output

2024-03-13 Thread William Denton
On Wednesday, March 13th, 2024 at 19:19, Bruno Cardoso wrote: > For me this improved the situation a bit, but I still get significant > slow-downs as before. > > I don't know if it is related, but if I set a property (C-c C-x p) in a new > heading with no drawers, I'm unable to unfold the

Re: Table column formula with remote reference

2024-03-13 Thread Wu Ming
> On 13 Mar 2024, at 20:16, Ihor Radchenko wrote: > > Wu Ming writes: > >> My fault. Missed the line "One of the very first actions during evaluation >> of Calc formulas and Lisp formulas is to substitute ‘@#’ and ‘$#’ in the >> formula with the row or column number of the field where the

Re: Things got very slow: profiler output

2024-03-13 Thread Bruno Cardoso
On 2024-03-12, 12:43 +, Ihor Radchenko wrote: > > Profiler data does not make sense here. > In any case, I tried to make fontifying newlines after folds slightly > faster on the latest main: > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=c9b655f27 > > If you are lucky,

Re: `:export' attribute?: Re: Experimental public branch for inline special blocks

2024-03-13 Thread Juan Manuel Macías
Juan Manuel Macías writes: > It was necessary with the previous implementation, which excessively > abused regexp. Not now (I want to do a few more tests and I'll make a > new commit with the changes). With the new implementation, now: > > - do not export > > * export only the content > > =

Re: Reproducible work with natively compiled Emacs

2024-03-13 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > Thanks for the feedback! I'm attaching a unified patch. Thanks! Some more comments. > +# This is where Emacs stores the .eln files > +ELNDIR= $(shell $(EMACS) --batch --eval '(princ (car > native-comp-eln-load-path))') Maybe := is better here.

Re: Modifying org-quote blocks

2024-03-13 Thread Ihor Radchenko
Divya Ranjan writes: > I have been trying to modify my org-blocks that pertain to quotes. I > have tried setting the variable `org-fontify-quote-and-blocks` to `t` > but that doesn't really do anything. There is no such variable in Org mode. Maybe you meant `org-fontify-quote-and-verse-blocks'?

Re: Reproducible work with natively compiled Emacs

2024-03-13 Thread Pedro Andres Aranda Gutierrez
Hi Ihor, Thanks for the feedback! I'm attaching a unified patch. TODO: check that the emacs installed supports native compilation. This is more for make native. Best, /PA On Wed, 13 Mar 2024 at 13:46, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > >> I have been

Re: `:export' attribute?: Re: Experimental public branch for inline special blocks

2024-03-13 Thread Juan Manuel Macías
Max Nikulin writes: >> how about the following: >> - "--" :: do not export >> - "**" :: export only the content >> - "==" :: rest (full) >> - "=*" :: rest (only the content) >> - "!backend-name+ :: export this backend (full) >> - "!backend-name*" :: export this backend (only the content) >> -

Re: `:export' attribute?: Re: Experimental public branch for inline special blocks

2024-03-13 Thread Max Nikulin
On 13/03/2024 00:41, Juan Manuel Macías wrote: Max Nikulin writes: It is not clear for me how to achieve the following. Add a link [[https://youtube.com/...][Org mode in action demo (video)]] for all backends (EPUB, LaTeX, ODT, text, etc.) besides HTML because there is an #+export_html block

Modifying org-quote blocks

2024-03-13 Thread Divya Ranjan
I have been trying to modify my org-blocks that pertain to quotes. I have tried setting the variable `org-fontify-quote-and-blocks` to `t` but that doesn't really do anything. I still get `fixed-pitch` font in quote blocks. I would want to be able to modify the background and font nature of

Re: Warn about shell-expansion in the docstring of org-latex-to-html-convert-command

2024-03-13 Thread Max Nikulin
On 12/03/2024 20:03, Ihor Radchenko wrote: Max Nikulin writes: It is trivial to cause shell failure when single quotes are used around %i. I am in doubts concerning double quotes. Perhaps stripping them is more reliable. May you list the cases to you propose to recognize? Sun, 25 Feb 2024

Re: [DISCUSSION] Face priority in Org fontification (was: [BUG] org dates, radio links, and special keywords override heading backgrounds [9.7 (9.7-??-902dacb @ /home/st/.config/emacs/.local/straight/

2024-03-13 Thread Ihor Radchenko
Protesilaos Stavrou writes: >> This is not an exhaustive list. We have a number of markup objects that >> are fontified overriding the containing element/paragraph/heading face: >> >> - target links >> - timestamps >> - footnotes >> - radio targets >> - macros >> - inline export snippets >> >> I

Re: [PATCH] org-contrib/org-collector.org: fix example link and instructions

2024-03-13 Thread Ihor Radchenko
Gerard Vermeulen writes: > I noticed that the link > https://orgmode.org/worg/sources/org-contrib/org-collector-example.org > is broken. > Furthermore, I think that the usage instructions for Emacs-28.1 and > later are > outdated. > > This patch proposes fixes. Thanks! Applied.

Re: [BUG] Using org-table-next-line creates a new row when used on the header row [9.6.21 ( @ /Users/parhamdoustdar/.emacs.d/elpa/org-9.6.21/)]

2024-03-13 Thread Ihor Radchenko
Parham Doustdar writes: > If you run org-table-next-row on the very first line of a table that has a > “horizontal rule”, it inserts a row above the horizontal rule, instead of > skipping over it. This is expected. `org-table-next-row' is, by default, bound to . When current row is the last

[PATCH] org-contrib/org-collector.org: fix example link and instructions

2024-03-13 Thread Gerard Vermeulen
Hi, I noticed that the link https://orgmode.org/worg/sources/org-contrib/org-collector-example.org is broken. Furthermore, I think that the usage instructions for Emacs-28.1 and later are outdated. This patch proposes fixes. Regards -- Gerard

[BUG] Using org-table-next-line creates a new row when used on the header row [9.6.21 ( @ /Users/parhamdoustdar/.emacs.d/elpa/org-9.6.21/)]

2024-03-13 Thread Parham Doustdar
Hi, I’m facing an issue, and I’m not sure if it’s a bug, or a feature I don’t understand. I looked at the documentation for org tables, but couldn’t find anything that explicitly says I’m right or wrong. If you run org-table-next-row on the very first line of a table that has a “horizontal

Re: Org-agenda: List project with deadlines

2024-03-13 Thread Ihor Radchenko
Sébastien Gendre writes: > But how do I differentiate a project from a task for Org-mode ? Tags > have inheritance. Do I use a property ? It is completely up to you. It is, however, common to use either project tag to PROJ todo keyword to mark project. You can exclude specific tags from

Re: Sort alphabetically and order across sub-headings

2024-03-13 Thread Ihor Radchenko
Zenny writes: > I am trying to create a list where the ordered list numbering expands > across sub-headings: > > * Bacteria > ** Acetobacter Species > 1. Acetobacter aceti > 2. Acetobacter rasens > > * Fungi > ** Candida Species > 3. Candida famata > 4. Candida firmetaria > ... > How can one

Re: [Question] Learning to use Org Element API setters and how to ignore properties

2024-03-13 Thread Ihor Radchenko
Antonio Romano writes: > There's nothing concrete on my side, but I'd like to try and see if > org-element's AST can fit this kind of merging. However, I've had close > to no progress in trying to make the setter functions work despite all > the indications on worg and I think I would really

Re: Questions about splitting a tree into multiple files

2024-03-13 Thread Ihor Radchenko
Sébastien Gendre writes: > At first, I create one Org file where each book is a heading of level 1. > The title of the heading is the title of the book, the status is a TODO > keyword, the properties use Org-mode properties feature. And the notes > are simply headings of level 2, where the title

Re: Summarize a list of work for school

2024-03-13 Thread Ihor Radchenko
Sébastien Gendre writes: > When you display a list of tasks in Org-agenda, you have these columns: > > - Category > - Status > - Task title > - Tags > > But what I need in my list of work for school is: > - Task title > - Importance > - Deadline date and time > - Name of the work Check out 11.8

Re: Minor patch

2024-03-13 Thread Ihor Radchenko
Stefan Monnier writes: > The minor patch below clarifies what the computation is about and > removes the assumption that point-min == 1, while arguably > making the the code ever so slightly more efficient. Thanks! Applied, onto main, with minor amendments to the commit message.

Re: [BUG] Re: The orgframe construct in the Beamer exporter as a default needs a rethink

2024-03-13 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > I really don't have anything to object to the original patch. I support the > need to circumvent the "\begin-or-end{frame} inside frame" problem and > using orgframe is a clean way of doing so. > My only concern is the _default_ value for

Re: The org--math-p advice around texmathp

2024-03-13 Thread Ihor Radchenko
Tony Zorman writes: > I recently stumbled upon the fact that Org has some around advice for > texmathp: org--math-p. For reasons that aren't entirely clear to me, > this has some special handling for cdlatex-math-symbol, and recognises > display and inline maths environments on its own, only

Re: Reproducible work with natively compiled Emacs

2024-03-13 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: >> I have been experiencing some inconsistencies with org-mode, which I >> have been able to trace own to using native compilation and not knowing >> where the files from main were. Thanks for the patch! See my comments inline. > +# This is where Emacs

Minor patch

2024-03-13 Thread Stefan Monnier
The minor patch below clarifies what the computation is about and removes the assumption that point-min == 1, while arguably making the the code ever so slightly more efficient. Stefan >From d386af0653ff75956cc20e0df8ddb5bfa86fec9d Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date:

Re: [PATCH] Fix headers in some testing lisp files

2024-03-13 Thread Ihor Radchenko
Max Nikulin writes: > Looking for a file suitable for a new portion of unit tests I have > noticed some inconsistencies in first lines of files. Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=37a98d7de

Re: [PATCH] Allow external libraries (org-roam) to supply org-id locations

2024-03-13 Thread Ihor Radchenko
"Rick Lupton" writes: > Since updating the org-id code [1] to use the standard org-link registered > functions instead of hard-coding org-id opening, I have a problem using > org-roam. > > org-roam overwrites the :follow function for "id" links from the build-in > `org-id-open' to its own

Re: Table column formula with remote reference

2024-03-13 Thread Ihor Radchenko
Wu Ming writes: > My fault. Missed the line "One of the very first actions during evaluation of > Calc formulas and Lisp formulas is to substitute ‘@#’ and ‘$#’ in the formula > with the row or column number of the field where the current result will go > to.“ So '@@#' becomes '@'. > >

Re: org-agenda-skip-function now evaluated on line after headline?

2024-03-13 Thread Ihor Radchenko
Sean Whitton writes: > It looks like the org-agenda-skip-function is now evaluated with point > on the second line of the subtree, rather than on the headline? > > It always used to be evaluated with point on the headline. Seems like > this might count as a regression? May you please provide

Re: [BUG] "\fC" macro in ox-man.el [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.2/lisp/org/)]

2024-03-13 Thread Ihor Radchenko
Xiyue Deng writes: > I'm not very familiar with roff so my understanding may be off. > According to the `Safe subset' section in man(7), they mentioned the > following: > > , > | Font changes (ft and the \f escape sequence) should only have the > | values 1, 2, 3, 4, R, I, B, P, or CW (the

Re: Org mode version 9.7-pre (9.7-pre-n/a-gb0c3c9); Infinite loop in org-update-statistics-cookies when org-hierarchical-todo-statistics nil

2024-03-13 Thread Ihor Radchenko
No Wayman writes: > (elpaca-test > ... > 1. toggle-debug-on-quit > 2. With point on the statistics cookie in the first headline, > invoke org-update-statistics-cookies twice. > 3. Observer an infinite loop. Thanks for reporting! Fixed, on main.

Re: Pending contents in org documents (Re: Asynchronous blocks for everything (was Re: ...))

2024-03-13 Thread Ihor Radchenko
Bruno Barbier writes: >> While reading the library header and `org-pending' docstring (btw, it >> should probably be a separate library, not a part of org-macs), > > I was feeling more and more like squatting the wrong file :-) > > Would "lisp/org-pending.el" be OK ? Or do you see a better

Re: Org-agenda: List project with deadlines

2024-03-13 Thread Christian Moe
Hi, Sébastien, A general take: Org does not tell you how to organize your notes, it provides tools for doing it any way you like, and this freedom bewilders everyone. People work out their own systems, with advantages and disadvantages. You may find it liberating to consider that there is no

Re: [DISCUSSION] Face priority in Org fontification (was: [BUG] org dates, radio links, and special keywords override heading backgrounds [9.7 (9.7-??-902dacb @ /home/st/.config/emacs/.local/straight/

2024-03-13 Thread Protesilaos Stavrou
Thank you, Ihor! > From: Ihor Radchenko > Date: Mon, 4 Mar 2024 10:32:38 + > > StrawberryTea writes: > >> Hello. Currently, if you have a heading background, and you have a date, >> radio link, or special keyword, the background is overridden. I have >> attached a patch that fixes this

Re: [BUG] Re: The orgframe construct in the Beamer exporter as a default needs a rethink

2024-03-13 Thread Pedro Andres Aranda Gutierrez
Hi Leo, I really don't have anything to object to the original patch. I support the need to circumvent the "\begin-or-end{frame} inside frame" problem and using orgframe is a clean way of doing so. My only concern is the _default_ value for `org-beamer-frame-environment'. If we set it to "frame",

Re: Table column formula with remote reference

2024-03-13 Thread Wu Ming
> On 12 Mar 2024, at 22:46, Ihor Radchenko wrote: > > Wu Ming writes: > >> Problem solved with >> >> $1 = remote(A,@@#$1) >> >> as described on the manual page >> https://orgmode.org/manual/References.html#Field-coordinates-in-formulas-1 >>