Re: [PATCH] ob-python: support header argument `:results file graphics'

2023-07-11 Thread Jack Kamm
Ihor Radchenko writes: > ":results file" imply that results of the code block are written to a file > (the file is specified using header args). > > ":results file link" imply that results of the code block are interpreted > as file link. The fact that presence of :file header arg overrides this

Re: [PATCH] ob-python: Fix async evaluation

2023-07-11 Thread Jack Kamm
Ihor Radchenko writes: > Liu Hui writes: > >> To reproduce the bug: >> >> 1. create test.org: >> ──✀── >> #+begin_src python :session "*Python 3*" :async t >> 1 >> #+end_src >> >> # Local Variables: >> # python-shell-buffer-name: "Python 3" >> # End: >> ──

Re: Feature request: adjust ~org-agenda-format-item~ to let the user choose the first level included in breadcrumbs

2023-07-11 Thread M. Pger
Hi, I understand better, thanks. Would be a good opportunity for me to (try to) contribute; this weekend I will check carefully the link you've sent. I'll keep you posted, your assistance would be more than welcome :) Best, MP Sent with Proton Mail secure email. --- Original Message -

Re: Feature request: adjust ~org-agenda-format-item~ to let the user choose the first level included in breadcrumbs

2023-07-11 Thread Ihor Radchenko
"M. Pger" writes: > Sorry for the possibly silly question, but by '+1', can I understand that you > will implement this feature because you think it is worth it? No, it just means that I think that this feature makes sense to be implemented. Basically, upvote. Whether I am going to implement i

Re: Feature request: adjust ~org-agenda-format-item~ to let the user choose the first level included in breadcrumbs

2023-07-11 Thread M. Pger
Hi, Sorry for the possibly silly question, but by '+1', can I understand that you will implement this feature because you think it is worth it? If this is case, thank you very much; if not, thank you anyway for your work with Org-mode! Note that I was suggesting setting an upper bound, but bei

Re: [BUG] Incorrect indentation when there are invisible/diplay properties on the line [9.6.7 ( @ /home/huzf/.cache/emacs_configs/default/elpa.28/org-9.6.7/)]

2023-07-11 Thread Hammer Hu
Thanks for your accommodations. Is it possible to introduce a feature to align all blocks to the begining to the lines when indenting? I thing it helps when copying contents from a org file without emacs installed. Best, - From: Ihor Radchenko Sent: 11

Re: [BUG] Incorrect indentation when there are invisible/diplay properties on the line [9.6.7 ( @ /home/huzf/.cache/emacs_configs/default/elpa.28/org-9.6.7/)]

2023-07-11 Thread Ihor Radchenko
Hammer Hu writes: > Please change bug.el to > > (add-hook 'org-mode-hook #'org-modern-mode) > (setq-default org-adapt-indentation t) > > Select the region and M-x indent-region multiple times. Thanks! A simpler reproducer: 1. /tmp/bug.org #+begin_quote foo #+end_quote 2. emacs -Q -L /path/t

Re: [BUG] Incorrect indentation when there are invisible/diplay properties on the line [9.6.7 ( @ /home/huzf/.cache/emacs_configs/default/elpa.28/org-9.6.7/)]

2023-07-11 Thread Hammer Hu
Please change bug.el to (add-hook 'org-mode-hook #'org-modern-mode) (setq-default org-adapt-indentation t) Select the region and M-x indent-region multiple times. Best, - From: Ihor Radchenko Sent: 11.07.2023 13:22 To: Hammer Hu Subject: Re: [BUG]

Re: [BUG] Incorrect indentation when there are invisible/diplay properties on the line [9.6.7 ( @ /home/huzf/.cache/emacs_configs/default/elpa.28/org-9.6.7/)]

2023-07-11 Thread Ihor Radchenko
[ Adding Org mailing list back to CC. Please use "reply all" ] Hammer Hu writes: > I tried on the latest version, but the problem persists: > > Emacs : GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3.24.38, cairo version 1.17.8) > of 2023-07-11 > Package: Org mode version 9.

Re: [PATCH] org-element-timestamp-interpreter: Return daterange anyway, if DATERANGE is non-nil

2023-07-11 Thread Ilya Chernyshov
Ihor Radchenko writes: > The patch looks good in general, but there is at least one test failing > when I run make test. May you please check? Inside `org-timestamp-split-range', there was an attempt to intepret a timestamp object with :type `active'/`inactive' and :range-type `daterange'/`timer

Re: Fwd: [BUG] Sparse tree does not work on properties with dashes

2023-07-11 Thread Ihor Radchenko
Fabian Kurmann writes: > I can reproduce it with the sample in the annex, following the steps > below: > > - Start Emacs with 'emacs -Q' > - Open a new Org file > - Add the contents of the Annex > - Type 'C-c /' and then 'p' for property. > - Select "TEST-HELLO" > - Select any of the two values >

Re: [BUG] Incorrect indentation when there are invisible/diplay properties on the line [9.6.7 ( @ /home/huzf/.cache/emacs_configs/default/elpa.28/org-9.6.7/)]

2023-07-11 Thread Ihor Radchenko
Hammer Hu writes: > When `org-modern' is installed and `org-modern-mode' is enable in a > buffer, the fontification is augmented. See > [[https://raw.githubusercontent.com/minad/org-modern/screenshots/example.gif]] > for a demonstration. But when I have `org-modern-mode' turned on, > `org-adapt-

[BUG] Incorrect indentation when there are invisible/diplay properties on the line [9.6.7 ( @ /home/huzf/.cache/emacs_configs/default/elpa.28/org-9.6.7/)]

2023-07-11 Thread Hammer Hu
--text follows this line-- 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. --

Fwd: [BUG] Sparse tree does not work on properties with dashes

2023-07-11 Thread Fabian Kurmann
Dear maintainers, EXPLANATION HERE I can reproduce it with the sample in the annex, following the steps below: - Start Emacs with 'emacs -Q' - Open a new Org file - Add the contents of the Annex - Type 'C-c /' and then 'p' for property. - Select "TEST-HELLO" - Select any of the two values Ex

Re: Feature request: adjust ~org-agenda-format-item~ to let the user choose the first level included in breadcrumbs

2023-07-11 Thread Ihor Radchenko
"M. Pger" writes: > Feature request: adjust ~org-agenda-format-item~ to let the user choose the > first level included in breadcrumbs +1 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

Re: [PATCH] ob-python: Fix async evaluation

2023-07-11 Thread Ihor Radchenko
Liu Hui writes: > To reproduce the bug: > > 1. create test.org: > ──✀── > #+begin_src python :session "*Python 3*" :async t > 1 > #+end_src > > # Local Variables: > # python-shell-buffer-name: "Python 3" > # End: > ──✀── > > 2. emacs

Re: [PATCH] org.el: Remove undefined dynamic variable `org-log-states' from example

2023-07-11 Thread Ihor Radchenko
Max Nikulin writes: > On 11/07/2023 06:11, Evgenii Klimov wrote: >> I added `org-summary-todo' example function, that are advertized in >> `org-after-todo-statistics-hook', to my init file (with >> lexical-binding: t) and got a compilation warning: >> >>Warning (bytecomp): Unused lexical var

Re: [PATCH] org-element-timestamp-interpreter: Return daterange anyway, if DATERANGE is non-nil

2023-07-11 Thread Ihor Radchenko
Ilya Chernyshov writes: > Preserved old behavior for `org-element-timestamp-interpreter' > function for :range-type set to `nil'. The new function > > The new function takes into account :range-type value when interpreting > ranges and throws error when :range-type set for `active'/`inactive' > t