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

2024-03-30 Thread Rudolf Adamkovič
Ihor Radchenko writes: >> I've found a better name: I'm now calling it a "lock". So I renamed >> "PENREG" into "REGLOCK" as "region lock". The structure is now >> `org-pending-reglock'. > > I slightly dislike short names and would prefer region-lock, but not a > big deal - it is just my

Re: Unexpected rendered HTML for title

2024-03-30 Thread Ihor Radchenko
writes: > #+title: test_latex_fragments > > Using org-html-export-to-html produce this: > > testlatexfragments > > > I assume there is a good reason why Org does it that way. But I want to > understand. > > Why does this happen? Org markup is recognized in the title. And

Unexpected rendered HTML for title

2024-03-30 Thread c.buhtz
Hello, I have this title line in my org file: #+title: test_latex_fragments Using org-html-export-to-html produce this: testlatexfragments I assume there is a good reason why Org does it that way. But I want to understand. Why does this happen? Kind Christian Buhtz

Re: [DISCUSSION] Face priority in Org fontification

2024-03-30 Thread StrawberryTea
StrawberryTea writes: > Ihor Radchenko writes: > >> Protesilaos Stavrou writes: >> >>> Now the tricky part is to figure out which combinations can work this >>> way. Headings and source blocks are two obvious ones. Maybe there are >>> more, but I cannot think of one right now. >> >> This is

Re: [PATCH] Add support for tables in Calc src block :var

2024-03-30 Thread Visuwesh
[திங்கள் மார்ச் 18, 2024] Fraga, Eric wrote: Good day, Eric! > Thank you for this. Potentially very useful. > > As you have managed to understand calc internals (to a much greater > degrees than I have ever managed), do you know if there is any way to go > the other way? Specifically, I would

Re: I can't make a custom face to take effect

2024-03-30 Thread Kepa
You're right, I moved it near the top of my init file, and it works Solved! Thanks On 30/03/2024 12:43, yantar92 at posteo.net wrote: Kepa writes: I have added a custom face, but it doesn't work unless I do "M-x org-mode-restart". The custom face: (defun yant/apply-custom-faces ()  

[FR] Add customization for default answers to `org-attach-set/unset-directory' prompt (was: Org-attach risks)

2024-03-30 Thread Kepa
Hi Ihor In addition to the sequence of prompts when changing the attachment directory: 1. Copy over attachments from old attachment directory to new one? 2. Delete old attachment directory? we can introduce a custom variable `org-attach-move-attachments' with the following values: 1. 'ask

Re: I can't make a custom face to take effect

2024-03-30 Thread Ihor Radchenko
Kepa writes: > I have added a custom face, but it doesn't work unless I do "M-x > org-mode-restart". > > The custom face: > > (defun yant/apply-custom-faces () >   (add-to-list 'org-font-lock-extra-keywords > '("(\\([^)]*?[A-Z]+[^)]+?[0-9]\\{3,4\\}[^)]*\\))" . (0 'shadow prepend)) >

I can't make a custom face to take effect

2024-03-30 Thread Kepa
Hi I have added a custom face, but it doesn't work unless I do "M-x org-mode-restart". The custom face: (defun yant/apply-custom-faces ()   (add-to-list 'org-font-lock-extra-keywords '("(\\([^)]*?[A-Z]+[^)]+?[0-9]\\{3,4\\}[^)]*\\))" . (0 'shadow prepend)) 'append)) (add-hook

Re: [WORG] 2680e65 * org-maintenance.org (Copyright assignments): Minor improvements

2024-03-30 Thread Ihor Radchenko
Adam Porter writes: >> I think that we are not very accurate here. >> According to >> https://www.gnu.org/prep/maintain/maintain.html#Copyright-Papers: >> >> Once the conversation is under way and the contributor is ready for more >> details, you should send one of the templates that

Re: How to organize tasks about Worg within Worg documents (was: Re: [Worg] CSS improvements)

2024-03-30 Thread Ihor Radchenko
Adam Porter writes: > Using a normal heading for a task would "commandeer" the structure of > the document, which I think is a real problem. Not really. If some section is incomplete, marking it "TODO" means that it should be completed. And the details might be listed in the logbook notes, for

Re: SVG Previews for org mode

2024-03-30 Thread Ihor Radchenko
Robert writes: > I created the attached code to be able to preview SVG in org mode. Please > comment if you have suggestions for a better approach. > > It works by having svg in a #+begin_src svg block and running org-format-svg > on it. > > I took inspiration from org-format-latex and wonder

Re: [BUG] Partially broken Org mode when remote setupfile is unavailable

2024-03-30 Thread Ihor Radchenko
Ihor Radchenko writes: >> Unexpected errors: >> - When point is on any non-empty line, RET is broken >>> save-excursion: Wrong type argument: stringp, nil >> - The link is not fontified (it is parsed properly however and even may >> be opened). > > This is because `file-remote-p' throws an

Re: [PATCH] Create commands for org-read-date-minibuffer-local-map

2024-03-30 Thread Ihor Radchenko
Bastien Guerry writes: > Ihor Radchenko writes: > >> Bastien, may you please check FSF records? > > Yes, Laurence copyright status is okay. Updated our records. https://git.sr.ht/~bzg/worg/commit/aaa9cd38 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at