Re: ob-octave: improve MATLAB support

2024-12-28 Thread Ihor Radchenko
John C writes: > See attached org-matlab.patch which addresses all feedback. Here's the > commit info. Thanks! See my comments inline. > +*** ob-matlab: fixed MATLAB support > + > +Fixed MATLAB babel code blocks processing. MATLAB code blocks, ~#+begin_src > matlab~, with ~:results > +verbatim

Re: [PATCH] Fix tiny typo in etc/ORG-NEWS

2024-12-28 Thread Ihor Radchenko
"Rohit Patnaik" writes: > When I was looking at the diff for 8e141ec24e, I noticed that there was a > second > typo on line 181 of =etc/ORG-NEWS=. This patch fixes it. Thanks! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0ce4f30d69 -- Ihor Radchenko //

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2024-12-28 Thread Ihor Radchenko
Paul Stansell writes: >> This looks more reasonable. >> Is this with my patch applied? >> > > Yes, the patch is applied. Ok. Then, may you try another version of the patch? >From 13ade2328dcae881296b5d7acc4493022a8895f3 Mon Sep 17 00:00:00 2001 Message-ID: <13ade2328dcae881296b5d7acc4493022a889

#15 [[bbb:OrgMeetup]] on Wed, Jan 8, 19:00 UTC+3

2024-12-28 Thread Ihor Radchenko
Dear all, Another OrgMeetup will be scheduled on the second Wednesday of January, in 10 days. Previous meetup notes: https://list.orgmode.org/877c7myc4v.fsf@localhost/T/#u WORG page with earlier notes and meetup schedule: https://orgmode.org/worg/orgmeetup.html URL: https://meet.jit.si/OrgMeetu

Re: Some hacks on top of org-publish

2024-12-28 Thread Nikolaos Chatzikonstantinou
On Wed, Dec 25, 2024 at 8:47 AM Ihor Radchenko wrote: > > Nikolaos Chatzikonstantinou writes: > > > 3) Source code blocks + colors (server-side; not a .js coloring client-side) > > Note that ox-html can fontify src blocks by itself. Via htmlize + CSS styles. > > > 1) I got colors in source blocks

Re: Some hacks on top of org-publish

2024-12-28 Thread Nikolaos Chatzikonstantinou
On Fri, Dec 27, 2024 at 12:31 PM Ihor Radchenko wrote: > > Nikolaos Chatzikonstantinou writes: > > >> > Finally a highlight of the hacks I had to pull off: apparently > >> > #+INCLUDE: will strip away inline backend information such as > >> > @@html:@@. I figured out that if I write something lik

Re: ob-octave: improve MATLAB support

2024-12-28 Thread John C
I accidentally did "reply" instead of "reply all". Re-adding the e-mail between Ihor and I. Regarding the suggestion to filter line-by-line. I think I understand that, but it will require that we match input lines to echo'd input. However, it's possible that output lines match input and are not fr

[SOLVED] (was: org-capture-templates: how to automatically insert the mail body)

2024-12-28 Thread General discussions about Org-mode.
>>> "UB" == Uwe Brauer writes: > Hi > However the mail body is only included if I mark it before calling > org-capture. > Is there any function/variable I miss that would insert the body > automatically like > %:body I found a solution in https://orgmode.org/worg/org-contrib/org-mac-mail

[PATCH] Fix tiny typo in etc/ORG-NEWS

2024-12-28 Thread Rohit Patnaik
Hello, When I was looking at the diff for 8e141ec24e, I noticed that there was a second typo on line 181 of =etc/ORG-NEWS=. This patch fixes it. Thanks, Rohit PatnaikFrom 9eee3b09681e1e1f61d58932878e0f2df01e5f0f Mon Sep 17 00:00:00 2001 From: Rohit Patnaik Date: Sat, 28 Dec 2024 13:20:32 -0600

Re: [BUG] "Invalid search bound (wrong side of point)" [9.8-pre (release_9.7.16-169-ge87ecf @ ~/.emacs.d/org-mode-git/lisp/)]

2024-12-28 Thread Paul Stansell
I just got the attached warnings (with the patch applied) when I opened a file called scratch.org. Warning (org-element): org-element--cache: Warning(scratch.org): (nil) Cached element is incorrect in scratch.org. (Cache tic up to date: "yes") Resetting. If this warning appears regularly, please r

Re: [PATCH] etc/ORG-NEWS: Clarify org-protocol bookmarklet issue

2024-12-28 Thread Ihor Radchenko
Max Nikulin writes: >> I also added an entry to ORG-NEWS: >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0af98b8411 > > I do not like "spawn empty page". See the attachment for another variant > of wording. You modified more than just "spawn empty page". What about the attac

Re: The less ambiguous math delimiters in tables

2024-12-28 Thread Max Nikulin
On 26/12/2024 00:56, Rudolf Adamkovič wrote: I thought that, with the noisy \(...\) delimiters, GitHub users faced ambiguities with $...$ delimiters as well, so do not be upset by "noisy" syntax. Alternatives may be painful as well.

org-capture-templates: how to automatically insert the mail body

2024-12-28 Thread Uwe Brauer
Hi I decided to use org-capture and the corresponding org-capture-templates to save mail into an org file. For example the following works #+begin_src emacs-lisp (setq org-capture-templates '(("hi" "Hg Issues Discussions" entry (file+headline "~/Some-file.org" "Issues")

Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-12-28 Thread Max Nikulin
On 28/12/2024 20:55, Rehan Deen wrote: Max Nikulin writes: Interestingly, the `org-capture` extension for Firefox from https://github.com/sprig/org-capture-extension continues to work without producing this issue (i.e. the link is captured and the webpage continues to be displayed properly). S

[PATCH] etc/ORG-NEWS: Clarify org-protocol bookmarklet issue

2024-12-28 Thread Max Nikulin
On 28/12/2024 01:13, Ihor Radchenko wrote: Max Nikulin writes: I also added an entry to ORG-NEWS: https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0af98b8411 I do not like "spawn empty page". See the attachment for another variant of wording.From 61323321eaf0821aadb6fabf53ba4d8

Re: Form feed characters break odt export

2024-12-28 Thread Ihor Radchenko
Joseph Turner writes: >> Subject: [PATCH v3] ox-odt: Avoid putting forbidden characters into ODT xml > > LGTM! TIL about clicking on ⛔ and warning-suppress-types. Thank you! Thanks for checking! Applied, onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=e16c9ed54f --

Re: [PATCH] Add next-error support to org-lint report buffer

2024-12-28 Thread Ihor Radchenko
Malcolm Purvis writes: > Apologies for the malformed patch. Here it is as an attachment. Thanks! > -| {{{kbd(S)}}} | Sort reports by the column at point > | Looks like you deleted this line by accident. > +*** next-error supports =org-lint= reports > + > +The comma

Re: [BUG] org-link-preview-file emits image not supported in daemon [9.8-pre (release_9.7.10-127-g07dd3b @ /home/bidar/.local/etc/emacs/lib/org/lisp/)]

2024-12-28 Thread Ihor Radchenko
Karthik Chikmagalur writes: >>> I will remove that message from org-link-preview-file. >> >> +1 > > Patch attached. Thanks! Applied, onto main, after adding a link to this thread to the commit message. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=ab14970b63 -- Ihor Radchenko

[PATCH] doc/org-manual.org: Specify that tangling requires language identifier

2024-12-28 Thread General discussions about Org-mode.
TINYCHANGE --- See discussion "[BUG] Inconsistent org-babel tangle behaviour" doc/org-manual.org | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/doc/org-manual.org b/doc/org-manual.org index 2d5fd57b3..7710bfe7e 100644 --- a/doc/org-manual.org +++ b/doc/org-manual.org @@

Re: [BUG] Org-protocol bookmarklets in Firefox behaving badly after recent upgrade [9.6.15 (release_9.6.15 @ /usr/share/emacs/29.4/lisp/org/)]

2024-12-28 Thread Rehan Deen
Max Nikulin writes: > Have you considered reporting a bug to Firefox? > > I have tried year old versions of Chromium and Firefox and have > realized that e.g. javascript:a="test" consistently replaces document > content. Chromium still discards expression value in the case of > assignment to "loca

Re: [BUG] Inconsistent org-babel tangle behaviour

2024-12-28 Thread General discussions about Org-mode.
> Here, a language is actually specified. The language is ":tangle" (there > is nothing stopping anyone from creating a language name starting from > colon). I see. I just assumed that header arguments and switches were "recognized" and not considered as the language if placed positionally first

Re: Form feed characters break odt export

2024-12-28 Thread Joseph Turner
Ihor Radchenko writes: > Joseph Turner writes: > >> From ce506caa0bffbd243a2aba384f75f7aaac7fdc4b Mon Sep 17 00:00:00 2001 >> From: Ihor Radchenko >> Date: Fri, 27 Dec 2024 10:21:02 + >> Subject: [PATCH] ox-odt: Avoid putting forbidden characters into ODT xml > > Thanks for helping with the

Re: Form feed characters break odt export

2024-12-28 Thread Ihor Radchenko
Joseph Turner writes: > From ce506caa0bffbd243a2aba384f75f7aaac7fdc4b Mon Sep 17 00:00:00 2001 > From: Ihor Radchenko > Date: Fri, 27 Dec 2024 10:21:02 + > Subject: [PATCH] ox-odt: Avoid putting forbidden characters into ODT xml Thanks for helping with the patch! I modified it further, addi