Should org-link-parser add type "file" when link has no "file:" prefix?

2023-12-28 Thread Joseph Turner
Hello! I expect the following to return "[[/foobar]]": (with-temp-buffer (delay-mode-hooks (org-mode)) (insert "[[/foobar]]") (goto-char (point-min)) (let ((link (org-element-link-parser))) (org-element-link-interpreter link nil))) Instead, it returns "[[file:/foobar]]". In

Re: [PATCH] assoc-delete-all missing from 26.1

2023-12-28 Thread Ihor Radchenko
Justin writes: > From 48c84e876018a9f2f7c818c2b9fa179e47ac45b9 Mon Sep 17 00:00:00 2001 > From: Justin Vallon > Date: Thu, 28 Dec 2023 17:16:45 -0500 > Subject: [PATCH] assoc-delete-all missing from 26.1 > > * lisp/org-compat: add org-assoc-delete-all from compat/compat-27.el > *

[PATCH] assoc-delete-all missing from 26.1

2023-12-28 Thread Justin
* lisp/org-compat: add org-assoc-delete-all from compat/compat-27.el * lisp/org-persist: use org-assoc-delete-all ---  lisp/org-compat.el  | 18 ++  lisp/org-persist.el |  2 +-  2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/lisp/org-compat.el b/lisp/org-compat.el

Re: [PATCH v4] org-manual: Describe export process flow

2023-12-28 Thread Matt
On Thu, 28 Dec 2023 13:05:27 +0100 Ihor Radchenko wrote --- > See the attached. All looks good to me. -- Matt Trzcinski Emacs Org contributor (ob-shell) Learn more about Org mode at https://orgmode.org Support Org development at https://liberapay.com/org-mode

Re: [BUG] - org-agenda log view does not conform to org-timestamp-formats

2023-12-28 Thread Ihor Radchenko
Tebe Nigrelli writes: > I understand that `org-timestamp-formats' is a constant, but since > almost everything I need still works I would like to fix my setup. > > Could you please point me to the function that parses clock lines and > returns the duration of the clock, as I could not find it

[PATCH v4] org-manual: Describe export process flow

2023-12-28 Thread Ihor Radchenko
Matt writes: > I was making a different point. I was trying to say that it may be a > good idea for the ox.el commentary section to specifically reference > the new manual section (next to where it references Worg). Makes sense. See the attached. I added reference to the manual in

Re: [PATCH] Set Python shell in Org edit buffer

2023-12-28 Thread Ihor Radchenko
Jack Kamm writes: > Ihor Radchenko writes: > >> I think we have a misunderstanding here. >> >> Didn't we just discuss that C-c C-p in python is not equivalent to >> `org-babel-python-initiate-session'? > > ob-python works fine with sessions started externally by `run-python'. > And I have

Re: [PATCH] Set Python shell in Org edit buffer

2023-12-28 Thread Ihor Radchenko
Jack Kamm writes: > Liu Hui writes: > >> I just want to set 'python-shell-buffer-name' in the edit buffer >> according to the :session header and don't need to start the session >> even if the session doesn't exist. > > Sorry that I missed this thread. > > I agree that

Re: [BUG] - org-agenda log view does not conform to org-timestamp-formats

2023-12-28 Thread Ihor Radchenko
Tebe Nigrelli writes: > Steps to reproduce: > > Changing org-timestamp-formats to include the timezone: ("<%Y-%m-%d %a > %Z>" . "<%Y-%m-%d %a %H:%M %Z>"), a clock line will look like this: `org-timestamp-formats' is a constant. You are not supposed to change it. And if you do, we give no