Re: Org 9.6-pre and Bash sessions

2022-10-23 Thread Ihor Radchenko
Ihor Radchenko writes: > This is actually expected. Without session, ob-shell discards results of > src blocks that fail and display *Error* window (empty in this case). > > If you try > > #+begin_src bash :results output > echo one > one.txt > echo two > two.txt > diff one.txt two.txt |

Re: [BUG] org-link-descriptive not honored as file-local-variable [9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/)]

2022-10-23 Thread Ihor Radchenko
Gustavo Barros writes: > On Fri, 29 Oct 2021 at 15:53, Gustavo Barros wrote: > >> Currently, trying to set `org-link-descriptive' as file-local-variable >> is not honored by Org, and doing so, leads to one of mismatched states >> between `org-link-descriptive' and the invisibility specs. > > a r

Exporting diary-sexps into icalendar file

2022-10-23 Thread Stephen Eglen
hi, I have a simple file, notes.org, with the following content. (This is the example from the org mode manual). -- * 22:00-23:00 The nerd meeting on every 2nd Thursday of the month <%%(diary-float t 4 2)>

[PATCH] ox.el: Refactor variable org-html--id-attr-prefix, ox-html.el: Add support for the ID property to org-html--reference

2022-10-23 Thread Feraidoon Mehri
I have already signed the copyright assignment. (Though I used my other email rudiwillalwayslove...@gmail.com when signing it.) I have manually tested the changes with a custom value for `org-html--id-attr-prefix', and everything works. I did not change the behavior of `org-html-prefer-user-label

time-stamp in DONE tag is not really displayed

2022-10-23 Thread Uwe Brauer
Hi My time-stamps are of the form <2022-10-23 Sun> I have an entry like this - State "DONE" from "WAIT" [2022-10-23 21:06] \\ However it is displayed when I use org-toggle-time-stamp-overlays as [23.10.%] Neither the year not the time is displayed, why! I have set org-tim

Re: quotation marks in table cell vs. org-babel-ref-resolve

2022-10-23 Thread Ihor Radchenko
Greg Minshall writes: > hi, Tim, > >> The key question is what is the use case for having this 'mixed' content >> in a table cell? > > in my case, i am putting RFC822('ish) e-mail addresses in a column of an > org-mode table. and, i want to extract them. > > | oxymo...@example.com

Re: [PATCH 2-v4] New: auto display inline images under subtree when `org-cycle'.

2022-10-23 Thread Ihor Radchenko
"Christopher M. Miles" writes: > Whether can this patch be merged at first, put the test in future to > finish? In recent days, I still have not figured out this image overlays > test. Sure. Can you please send the final version of the patch and the working tests? -- Ihor Radchenko // yantar92

Re: Org babel noweb expansion includes extra newline

2022-10-23 Thread Ihor Radchenko
pareto optimal writes: > #+RESULTS: > #+begin_example > "git ls-files ~/system/users/profiles/emacs/default.nix > git ls-files ~/system/users/profiles/emacs/emacs-packages.nix > git ls-files ~/system/users/profiles/chat/default.nix > git ls-files ~/system/profiles/misc/default.nix > git ls-files

LIterate programming with calc (help)

2022-10-23 Thread Ypo
Is it possible to express in a calc block some basic operations with variables and non-predefined units? For example, if you wanted to build a code block that calculates how much money costs: a land with an Area of 300x300 m^2 at a price of 1 $/m^2. Would it be something like this? #+begi

Re: Possible bugs in org-babel-temp-stable-file

2022-10-23 Thread Ihor Radchenko
Ferdinand Pieper writes: >>> It could also be nice to add an extra argument to force the use of >>> the local org-babel-temporary-stable-directory for remote files. >> >> I am not sure if it is a good idea. >> On remote files, default-directory often points to the remote making >> `shell-command'

Possible bugs in org-babel-temp-stable-file (was: [PATCH] Add light argument to org-babel-lob-get-info)

2022-10-23 Thread Ferdinand Pieper
Ihor Radchenko writes: > Applied onto main. Thanks > Have you seen org-babel-temp-stable-file? I have not. Seems really useful, thanks for mentioning. I wrote my functions before org-babel-temp-stable-file was added, but seems I can simplify them now quite a bit. I noticed two possible bugs

Re: Bug: canceled capture operation results in demoted following heading when template ends with newline [9.2.4 (9.2.4-11-g1c3eae-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190722/)]

2022-10-23 Thread Ihor Radchenko
Gustavo Barros writes: > On Sun, 28 Jul 2019 at 16:34, Gustavo Barros wrote: >> When the capture template ends with a newline character and the capture >> process is canceled, the following heading gets demoted. And it >> shouldn’t. > > a respectful bump on this one. I can still reproduce this w

Re: unexpected timestamp conversion

2022-10-23 Thread Ihor Radchenko
Jude DaShiell writes: > Is it possible to have emacs-orgmode replace an iso-8601 date and time > with only a correctly formatted timestamp? > Script started on 2020-11-22 15:07:15-05:00 [TERM="linux" TTY="/dev/tty1" > COLUMNS="200" LINES="56"] I am sorry, but the recorded script text is unreada

Re: Best android app

2022-10-23 Thread Ihor Radchenko
ypuntot writes: > Could these be added there? > > https://github.com/DanielDe/org-web > https://easyorgmode.com/ > https://github.com/amake/orgro > https://logseq.com/ Except for https://easyorgmode.com/, feel free to send a patch against https://orgmode.org/worg/org-faq.html#org0a6fc30 in http

[off-topic] E-readers and Org-Mode

2022-10-23 Thread Juan Manuel Macías
Hi all, As I am beginning to have serious eye fatigue problems, I am thinking of buying an e-ink device, not to read books but to read documents. My idea is that it be an Android device and that it supports the installation of apk, to be able to install Termux/Emacs/Org-Mode and Nextcloud to sync

Re: Org babel and Guile/Scheme: noise from... Geiser?

2022-10-23 Thread Ihor Radchenko
writes: > I'm trying to take some notes and explain things (to myself, to > others). So org babel it is, yay! > > ... > But alas, the result has some noise: > > #+RESULTS: mklst/test/0 > :results: > (a 22 "foo") > While executing meta-command: > Wrong type to apply: #t > scheme@(guile

Request for feedback: ox-linuxmag

2022-10-23 Thread Damien Cassou
Hi, I'm done writing ox-linuxmag, an exporter for the French GNU/Linux Magazine: https://github.com/DamienCassou/ox-linuxmag. I would be happy to receive feedback. Thank you for your help during the implementation of this exporter. Best, -- Damien Cassou "Success is the ability to go from on

Re: [PATCH 2-v4] New: auto display inline images under subtree when `org-cycle'.

2022-10-23 Thread Christopher M. Miles
Ihor Radchenko writes: > "Christopher M. Miles" writes: > >> Whether can this patch be merged at first, put the test in future to >> finish? In recent days, I still have not figured out this image overlays >> test. > > Sure. Can you please send the final version of the patch and the working > t

[off-topic] E-readers and Org-Mode

2022-10-23 Thread Ypo
Probably an offtopic for your offtopic, but: I use my phone to read e-books: - AMOLED screen (black color doesn't emit light). - low level of brightness (so I can read in the night without "losing" melatonin). Usually e-book reading app gives you this option. - the PDF reading app must have

Re: [PATCH] ox-icalendar.el: customizable vevent summary prefix

2022-10-23 Thread Mikhail Skorzhisnkii
Hi, Ihor, Sorry for the delay with fixes, took some time before I got time to finish this. Thanks for your review and looking forward for the next iteration. See new version in the attachment. Comments are inline. Ihor Radchenko writes: > Mikhail Skorzhisnkii writes: > >> Thank you for sugge

Re: [BUG] ox-odt file: links are not pointing to the real files (was: [BUG] ox-odt fails for org-id links (e.g., from org-roam v2) [9.5.2 (9.5.2-gfbff08 @ /home/moritz/.emacs.d/elpa/27.2/develop/org-9

2022-10-23 Thread Ihor Radchenko
Max Nikulin writes: > pandoc-2.5 generates a link that can not be opened by LibreOffice as > well (no leading ../). > > echo 'A' | pandoc -f html -t odt -o pandoc.odt > > office:name=""> text:style-name="Definition">A May you ask pandoc people about this? -- Ihor Radchenko // yantar92, Org m

[PATCH 2/2] doc/org-manual.org: Document org-clock-{in,out}-switch-to-state

2022-10-23 Thread Samuel W. Flint
* doc/org-manual.org (Clocking commands): Document operation of org-clock-{in,out}-switch-to-state, org-clock-{in,out}-next-state, and org-clock-{in,out}-next-state-function. --- doc/org-manual.org | 22 ++ 1 file changed, 22 insertions(+) diff --git a/doc/org-manual.org b/doc

Re: Bug: canceled capture operation results in demoted following heading when template ends with newline [9.2.4 (9.2.4-11-g1c3eae-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20190722/)]

2022-10-23 Thread Gustavo Barros
Hi All, On Sun, 28 Jul 2019 at 16:34, Gustavo Barros wrote: > When the capture template ends with a newline character and the capture > process is canceled, the following heading gets demoted. And it > shouldn’t. a respectful bump on this one. I can still reproduce this with Emacs 28.2 and Org 9

[PATCH 1/2] lisp/org-clock.el: Make switching states on clock-in/-out easier

2022-10-23 Thread Samuel W. Flint
* lisp/org-clock.el (org-clock-in-next-state, org-clock-out-next-state): Define and document customizeable variables to describe the "next state" on clock-in/-out. (org-clock-in-switch-to-state, org-clock-out-switch-to-state): Add options to use the `org-clock-{in,out}-next-state' variables to cha

Re: processing of babel blocks and select_tags

2022-10-23 Thread Ihor Radchenko
Eric S Fraga writes: > On Saturday, 19 Feb 2022 at 08:54, Jeremie Juste wrote: >> If I change eval: no_export to :eval no, Only the =Description= section >> is evaluated and exported. > > Interesting. I hadn't considered trying just "no". What a difference > this makes! The book compiles in s

Re: Problem when tangling source blocks with custom coderefs

2022-10-23 Thread Ihor Radchenko
Tom Gillespie writes: >I don't think you are doing anything wrong. IIRC the portion of the > patch that allowed the customization to propagate to the tangled code > was not included. Given that I am no longer the only one who is > looking for/expecting this behavior, maybe it is worth revisit

Re: Possible bugs in org-babel-temp-stable-file

2022-10-23 Thread Ferdinand Pieper
Ihor Radchenko writes: > Fixed now. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=69e3a4db3d0c54b4165761f56523da4962eff74c Seems good, thanks. >> It could also be nice to add an extra argument to force the use of >> the local org-babel-temporary-stable-directory for remote f

Re: Possible bugs in org-babel-temp-stable-file (was: [PATCH] Add light argument to org-babel-lob-get-info)

2022-10-23 Thread Ihor Radchenko
Ferdinand Pieper writes: >> Have you seen org-babel-temp-stable-file? > > I have not. Seems really useful, thanks for mentioning. I wrote my functions > before org-babel-temp-stable-file was added, but seems I can simplify them > now quite a bit. > > I noticed two possible bugs in org-babel-tem

Re: [BUG] Mention #+PRINT_BIBLIOGRAPHY in the Org manual

2022-10-23 Thread Bruce D'Arcus
I'm not sure what I think about this. I can't ever recall having a practical issue with this example (I'd expect it's more common for people with very long cite keys?), though in the past I have had issues with whitespace when moving around citation-references programmatically (as, for example, wit

Re: [BUG] org-link-descriptive not honored as file-local-variable [9.5 (9.5-g0a86ad @ /home/gustavo/.emacs.d/elpa/org-9.5/)]

2022-10-23 Thread Gustavo Barros
Hi All, On Fri, 29 Oct 2021 at 15:53, Gustavo Barros wrote: > Currently, trying to set `org-link-descriptive' as file-local-variable > is not honored by Org, and doing so, leads to one of mismatched states > between `org-link-descriptive' and the invisibility specs. a respectful bump. Despite t

Re: Line breaks and brackets in LaTeX export

2022-10-23 Thread Max Nikulin
On 22/10/2022 12:15, Ihor Radchenko wrote: as long as the next line does not match "^[ \t]*\\[" Verse package defines \\! and \\>. The only precaution that search pattern should ignore \\\[0pt]\] that is a display equation "0pt]" I propose the following: 1. Merge my patch with \\[0pt] safe

Re: Bug: fill-paragraph in Org buffer [9.4 (9.4-19-gb1de0c-elpaplus @ /home/gustavo/.emacs.d/elpa/org-plus-contrib-20201019/)]

2022-10-23 Thread Gustavo Barros
Hi All, On Mon, 26 Oct 2020 at 14:11, Gustavo Barros wrote: > Calling `fill-paragraph' in an Org buffer may leak paragraph boundaries, > and even heading boundaries, and break document structure. Just an update on this one. I can no longer reproduce it with Emacs 28.2 and Org 9.5.5. Fixed. Be

Re: Best android app

2022-10-23 Thread Ypo
Hi I don't know how to send patches. I have found the place where I want to add some lines: https://git.sr.ht/~bzg/worg/tree/master/item/org-faq.org#L4502 I have cloned the "repository" hoping it works like in github, but I see no option to edit. If I click on "prepare a patchset" I can j