[BUG] Org element cache had to reset [9.6.6 (release_9.6.6 @ /usr/share/emacs/29.1/lisp/org/)]

2024-02-06 Thread Neil MacLaren
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: Translation of the Org mode manual (was: Translation of manuals (was: SES manual French translation))

2024-02-06 Thread Richard Stallman
[[[ To any NSA and FBI agents reading my email: please consider]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > 1. Org mode manual itself, just like the other Emacs manuals may need to > be

Re: [PATCH] lisp/org-colview.el: [refactor] [extract function] `org-columns-move-up' & `org-columns-move-down'

2024-02-06 Thread Ihor Radchenko
Ihor Radchenko writes: > SÅ‚awomir Grochowski writes: > >> +(defun org-columns-move-up () >> + (interactive) >> ... >> +(defun org-columns-move-down () >> + (interactive) >> ... > > May you also add docstrings? > And maybe better names would be org-columns-next/previous-line. > ... Applied,

Re: [BUG] Unexpected result when evaluating python src block asynchronously [9.7-pre (release_9.6.17-1131-gc9ed03.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2024-02-06 Thread Bruno Barbier
Hi Ihor, Jack, Ihor Radchenko writes: > Jack Kamm writes: > >> I agree that it would be good to redesign it, but am not sure where to >> start. > > For example, > > 1. Change `org-babel-comint-async-register' to return UUID and to store >PARAMS as passed by the backend (current approach

Re: [BUG] org-capture matcher fail [9.7-pre (release_9.6.18-1145-g10d286 @ /home/gongzhitaao/.cache/emacs/straight/repos/org/lisp/)]

2024-02-06 Thread Ihor Radchenko
Zhitao writes: > This commit is problematic: > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0a58a53edac955381266e49bd68d1140fbece33e > > The old matcher for file+olp+datetree was: > > (`(file+olp+datetree ,path . ,outline-path) > ... > The new matcher does not match empty

Re: [BUG] repeated warnings about org-element-at-point "cannot be used in non-Org buffer" [9.7 (9.7-??-57b94f3 @ /Users/cstevens/.emacs.d/.local/straight/build-29.2/org/)]

2024-02-06 Thread Ihor Radchenko
Daniel Clemente writes: > I also see the warnings. In my case it's because I'm using outline-minor > mode in an elisp file. I'm not sure it's supported, but it worked years > ago: ... It is not supported by Org mode. The modern outline mode has `outline-cycle'. -- Ihor Radchenko // yantar92,

Re: [BUG] Unsolicited download of remote resources

2024-02-06 Thread Ihor Radchenko
Leo Butler writes: > So, it is *possible* to have the setupfile set-up arbitrary elisp code > that would be evaluated at some later time (during export or src block > evaluation, as you wrote)? Is that correct? Yes. That's why we prompt when SETUPFILE is remote. -- Ihor Radchenko // yantar92,

Re: [BUG] Unsolicited download of remote resources

2024-02-06 Thread Leo Butler
On Mon, Feb 05 2024, Ihor Radchenko wrote: > Leo Butler writes: > >> Q: if #+setupfile points to a real file available to download, does Org >> evaluate that file? > > keywords and startup options are taken from there. No Elisp code present > in #+SETUPFILE is evaluated. > > That said, if the

Re: [BUG] repeated warnings about org-element-at-point "cannot be used in non-Org buffer" [9.7 (9.7-??-57b94f3 @ /Users/cstevens/.emacs.d/.local/straight/build-29.2/org/)]

2024-02-06 Thread Daniel Clemente
I also see the warnings. In my case it's because I'm using outline-minor mode in an elisp file. I'm not sure it's supported, but it worked years ago: I could fold and unfold sections with usual org-mode keys like C-tab. I miss that feature. I never managed to learn the real outline-mode

[BUG] org-capture matcher fail [9.7-pre (release_9.6.18-1145-g10d286 @ /home/gongzhitaao/.cache/emacs/straight/repos/org/lisp/)]

2024-02-06 Thread Zhitao
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: Async Python src block behavior with :dir header property

2024-02-06 Thread Ihor Radchenko
Jack Kamm writes: > Ihor Radchenko writes: > >> What we can do is to introduce a new backend template function >> org-babel-session-buffer: that will be passed a session name and >> src block params and return the session buffer name. >> >> If such function is not defined, we fall back to

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-02-06 Thread Eli Zaretskii
> From: Ihor Radchenko > Cc: jporterb...@gmail.com, stefankan...@gmail.com, emacs-de...@gnu.org, > emacs-orgmode@gnu.org > Date: Tue, 06 Feb 2024 12:38:19 + > > Eli Zaretskii writes: > > > I think we do want to allow extending of this, but doesn't > > thingatpt.el already provide such

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-02-06 Thread Ihor Radchenko
Eli Zaretskii writes: > I think we do want to allow extending of this, but doesn't > thingatpt.el already provide such capabilities? For example, I see > this in bounds-of-thing-at-point: > ... > (cond > ((get thing 'bounds-of-thing-at-point) > (funcall

Re: Adding custom providers for thingatpt.el (was: [PATCH] Add support for 'thing-at-point' to get URL at point)

2024-02-06 Thread Eli Zaretskii
> From: Ihor Radchenko > Cc: emacs-de...@gnu.org, emacs-orgmode@gnu.org > Date: Mon, 05 Feb 2024 22:56:05 + > > Jim Porter writes: > > > On 2/5/2024 7:07 AM, Ihor Radchenko wrote: > >> It would make sense to add a number of alists: > >> - bounds-of-thing-at-point-provider-alist > >> - same