Re: kaobook tex template integration to a org file to make self-contained, portable?

2023-08-08 Thread Zenny
Aloha Tom, Thank you for taking time to respond with an useful pointer. I feel like I reached the right person who is an expert in both LaTeX and Orgmode who has contributed to org-tufte book earlier as seen in your github repo. I am a novice, fyi. I appreciate if you take some time to point

blank line in ido as default when refiling

2023-08-08 Thread Samuel Wales
Subject: is blank option in ido a bugfix refile change? idk if this is etireoly user eror but i ave made no changes to my config that i am aware of so want to confirm with others who mght be able to guess or know there was a change i bugfix.. recent bugfix refile trying to insert link, presents a

ox-html: no tests, besides mathjax?

2023-08-08 Thread Hraban Luyat
Hi all, I was looking for ox-html unit tests and found testing/lisp/test-ox-html.el, which contains only mathjax tests. I didn't find any other (unit) tests for HTML. Is that correct? Thought I'd sanity check this, before I go on a wild goose chase. Thanks all Hraban

Re: kaobook tex template integration to a org file to make self-contained, portable?

2023-08-08 Thread Thomas S. Dye
Aloha Zenny, Zenny writes: However, the pdf did not inherit all the kaobook template features like: 1 Mini table of contents in the margin at the start of each chapter. 2 Chapter headings. 3 Huge chapter number with a vertical line The kaobook.cls defines non-standard LaTeX commands

Re: [ANN] lisp/ob-tangle-sync.el

2023-08-08 Thread Mehmet Tekman
Ihor Radchenko writes: > No. :result-params is not an actual header argument. It is > implementation detail - parsing :results header arg internally produces > (:results . "all the values concatenated") and _also_ (:result-params > "val 1" "val 2" ...). Hmm... what is the benefit if they encode

Re: [BUG] `org-open-at-point' surprisingly asks for tags table [9.7-pre (release_9.6.7-640-ga18ebc @ /home/jschmidt/work/org-mode/lisp/)]

2023-08-08 Thread Jens Schmidt
Sorry, just followed that recent side-effect-thread to the root https://list.orgmode.org/orgmode/87o7omg4ie@alphaville.usersys.redhat.com/ and found that everything already got documented. It was that thread that triggered my bug report as an example of a particular nasty side effect.

[BUG] `org-open-at-point' surprisingly asks for tags table [9.7-pre (release_9.6.7-640-ga18ebc @ /home/jschmidt/work/org-mode/lisp/)]

2023-08-08 Thread Jens Schmidt
make EMACS=../emacs-master/src/emacs vanilla Create a new Org-mode buffer with the following contents: -- <> [[test][test link]] -- Position point on the link then type C-c C-o: Point jumps to the

Re: [ANN] lisp/ob-tangle-sync.el

2023-08-08 Thread Ihor Radchenko
Mehmet Tekman writes: > Hello, I'm a bit overworked at the moment, sorry for the delay in > response. No worries. We are not in hurry. Take your time as needed and comfortable. >> We may have to use the approach employed for :results header argument >> where in addition to (:results . "string

Re: [ANN] lisp/ob-tangle-sync.el

2023-08-08 Thread Mehmet Tekman
Hello, I'm a bit overworked at the moment, sorry for the delay in response. > We may have to use the approach employed for :results header argument > where in addition to (:results . "string value"), we have > (:result-params "sub-value" "sub-value" ...). Isn't this similar to my `:tangle-sync'

Re: kaobook tex template integration to a org file to make self-contained, portable?

2023-08-08 Thread Zenny
Hi again, I updated the texlive to 2023 and can produce a pdf with the following snippets inside the https://github.com/asilata/emacsconf2021/ggm.org: ** Org LaTeX setup > #+latex_class: kaobook > #+latex_class_options: [openany, a5paper] > #+latex_header: >

Re: BUG: org-cycle does not unfold some subtrees

2023-08-08 Thread Ihor Radchenko
Michael Dauer writes: > The issue is still easy to reproduce: > * h1 > a > * h2 > b > * h3 > b > * h4 > c > <<< > Fold all. On * h1 call swiper-isearch, enter bbb and select the first > match. -> h2 cannot be unfold anymore. > If you repeat it and select the second match

Re: [ANN] [[bbb:OrgMeetup]] on Wed, Aug 9, 19:00 UTC+3 (was: Interest in an Org video meetup?)

2023-08-08 Thread Ihor Radchenko
Ihor Radchenko writes: > URL: https://bbb.emacsverse.org/b/iho-h7r-qg8-led > Time & Date: <2023-08-09 Wed 19:00-21:00 @+03,Europe/Istanbul> > The room will be open half an hour before the official start. This is a reminder that OrgMeetup is still scheduled for tomorrow, as planned. -- Ihor

Re: BUG: org-cycle does not unfold some subtrees

2023-08-08 Thread Michael Dauer
The issue is still easy to reproduce: >>> * h1 a * h2 b * h3 b * h4 c <<< Fold all. On * h1 call swiper-isearch, enter bbb and select the first match. -> h2 cannot be unfold anymore. If you repeat it and select the second match then h3 cannot be unfold anymore, but h2 works again.

Re: Add a Chinese version to index.org of orgmode.org

2023-08-08 Thread General discussions about Org-mode.
Hello Ihor, Lux and all, On Aug 8, 2023, at 14:55, Ihor Radchenko wrote: > > lux writes: > >> Hi >> To facilitate Chinese users' understanding of Org Mode, I have >> translated index.org into Simplified Chinese. Please review it. > > Thanks! > However, we already have another, more

Re: [PATCH] Re: what is the purpose of "This link has already been stored"?

2023-08-08 Thread Bastien Guerry
Ihor Radchenko writes: > This would be yet another breaking change... Of course, you're right! Then here are two suggestions, assuming it's best to spare us yet another option: (1) by always store the latest link on top and remove old dups. (2) always store latest link at the top and remove

Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?

2023-08-08 Thread Bastien Guerry
Thanks a lot for the detailed clarification. The Elisp coding convention explicitely targets Emacs "editing behavior". The definition of a new function is not a side-effect that affects Emacs editing behavior, so Babel and export libs are OK. Ihor Radchenko writes: > Finally, we have

Re: How to put a string produced by an Elisp form in an Org source block in the Org file?

2023-08-08 Thread Ihor Radchenko
Marcin Borkowski writes: > And here it is: > https://mbork.pl/2023-08-05_Plotting_ASCII_art_charts_from_Org_mode_tables There is also (org-babel-ref-resolve "weight-data[-60:-1]") -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support

Re: [BUG] WORG example for ob-lilypond is no longer working as described (was: Moving some lisp/ob-*.el files to org-contrib - your advice?)

2023-08-08 Thread Ihor Radchenko
Jonathan Gregory writes: > On 31 Jul 2023, Ihor Radchenko wrote: > >> May it be possible to mix multiple \version commands? So that we >> declare \version for \paper and user can declare other \version >> for the code block body. > > Probably not. Wouldn't that confuse the compiler? In any

Re: [FR] Add an option to use ID links during tangling

2023-08-08 Thread Ihor Radchenko
Evgenii Klimov writes: >> I do not like the idea of creating side effects in the original Org >> document during tangling. >> We can, however, use (org-id-link-to-org-use-id 'use-existing) to use >> the already present IDs. > > Understandable, with (org-id-link-to-org-use-id 'use-existing) I

Re: [PATCH] Re: [bug] Setting org-id-link-to-org-use-id to t creates IDs properties when tangling

2023-08-08 Thread Ihor Radchenko
Ihor Radchenko writes: > In a recent feature request [1], one user expressed an interest in using > ID links during tangling, as they are more reliable wrt heading renames. > > I am now re-considering this fix. > > `org-id-link-to-org-use-id', apart from t, can be set to >

Re: [PATCH] testing: Delete duplicate tests

2023-08-08 Thread Ihor Radchenko
Ihor Radchenko writes: > It looks like the real test is supposed to be > > (equal " foo " > ... > (org-table-get-field 2 " foo ") > (buffer-string) > ... I have re-introduced the new tests in place of the removed ones, according to my and Max's findings. On top of the patch. Applied, onto

Re: [PATCH] Highlight ANSI sequences in the whole buffer (was [PATCH] ANSI color on example blocks and fixed width elements)

2023-08-08 Thread Ihor Radchenko
Hi, A few months have passed since the last activity in this thread. May I know if you are still interested in the idea? Should you need any help, feel free to ask. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development

Re: [BUG] Evaluating org-class throws a void-variable error [9.6 (9.6-??-0c9b30e96 @ ~/.emacs.d/.local/straight/build-27.2/org/)]

2023-08-08 Thread Ihor Radchenko
Ihor Radchenko writes: > AFAIK, org-element-timestamp-parser does not support diary-type > timestamps that contain time/time intervals. Consider the following: > > ** Monday Lecture > SCHEDULED: <%%(org-class 2021 08 30 2021 12 11 1) 19:30-20:45> > > org-element-context gives > > (planning >

Re: Add a Chinese version to index.org of orgmode.org

2023-08-08 Thread Ihor Radchenko
"Dr. Arne Babenhauserheide" writes: >> Thanks! >> However, we already have another, more complete translation pending. >> See https://list.orgmode.org/orgmode/sdvzg71zzor@netyu.xyz/ > > Maybe you can use the experience with the text you now have to review > this other translation and suggest

Re: [PATCH] Re: what is the purpose of "This link has already been stored"?

2023-08-08 Thread Ihor Radchenko
Samuel Wales writes: > i am confused. org-stored-links is a command? what are the known > user needs for storing and pasting links? Typo. Meant to be org-store-link. > i am also unclear on why we have a dedicated paste function as opposed > to kill ring. probably a good reason. but wfm.

Re: [PATCH] Re: what is the purpose of "This link has already been stored"?

2023-08-08 Thread Ihor Radchenko
Bastien writes: > Ihor Radchenko writes: > >> * lisp/ol.el (org-link-store-existing): New customization controlling >> how to deal with already stored links. >> (org-store-link): Respect the new customization, allowing duplicates >> to (1) be added anyway; (2) be ignored; (3) be moved to front

Re: [PATCH] org-macs: Fix incorrect use of relative paths in org-compile-file

2023-08-08 Thread Ihor Radchenko
Bastien Guerry writes: > Ihor Radchenko writes: > >> Bastien, may you please confirm Roshan's copyright status? > > Yes, I do confirm Roshan is a FSF registered contributor for Emacs. Updated our records. https://git.sr.ht/~bzg/worg/commit/9015a8ea -- Ihor Radchenko // yantar92, Org mode

Re: [POLL] Should we accept breaking changes to get rid of Org libraries that perform side effects when loading?

2023-08-08 Thread Ihor Radchenko
Bastien Guerry writes: >> This is convincing. >> I am then CCing Bastien, as, despite the Elisp convention, following it >> will break https://bzg.fr/en/the-software-maintainers-pledge/ > > FWIW, in this case, the mistake lies in breaking the Emacs Lisp coding > convention first. When the

Re: [Pre-PATCH] Overhaul of the LaTeX preview system

2023-08-08 Thread Ihor Radchenko
WANG Yicheng writes: > Also, the org-latex-preview also rendered (deliberately put) inline \[…\] as > inline images. > > I guess it could be caused by org-latex-math-environments-re. Could you add > support to recognize \[…\] also as equations? Thank you. For context, \[...\] fragments are

Re: kaobook tex template integration to a org file to make self-contained, portable?

2023-08-08 Thread Zenny
Thanks Christian for the pointer, But I already have, (add-to-list 'org-latex-classes >`("kaobook" > ,(string-join >'("\\documentclass{kaobook}" > "\\usepackage{color}" >

Re: [BUG] (error "rx ‘**’ range error") [9.7 (9.7-??-d6f3aed7b @ /Users/melody/.emacs.d/.local/straight/build-28.2/org/)]

2023-08-08 Thread Angela L
Ok. Thank you so much. Cheers, Annie On Aug 8, 2023, 4:00 PM +0800, Ihor Radchenko , wrote: > Angela L writes: > > > org-roam-buffer-p is a byte-compiled function defined in org-roam.el. > > ... > > This function has :before-until advice: md-roam-buffer-p. > > So, md-roam package, which you

Re: [BUG] (error "rx ‘**’ range error") [9.7 (9.7-??-d6f3aed7b @ /Users/melody/.emacs.d/.local/straight/build-28.2/org/)]

2023-08-08 Thread Ihor Radchenko
Angela L writes: > org-roam-buffer-p is a byte-compiled function defined in org-roam.el. > ... > This function has :before-until advice: md-roam-buffer-p. So, md-roam package, which you likely use, modified `org-roam-buffer-p' and caused the breakage. Please report this bug to md-roam

Re: [BUG] (error "rx ‘**’ range error") [9.7 (9.7-??-d6f3aed7b @ /Users/melody/.emacs.d/.local/straight/build-28.2/org/)]

2023-08-08 Thread Angela L
org-roam-buffer-p is a byte-compiled function defined in org-roam.el. Signature (org-roam-buffer-p BUFFER) Documentation Return t if BUFFER is for an Org-roam file. If BUFFER is not specified, use the current buffer. This function has :before-until advice: md-roam-buffer-p. References

Re: [BUG] (error "rx ‘**’ range error") [9.7 (9.7-??-d6f3aed7b @ /Users/melody/.emacs.d/.local/straight/build-28.2/org/)]

2023-08-08 Thread Angela L
It’s nil Cheers, Annie On Aug 8, 2023, 3:48 PM +0800, Ihor Radchenko , wrote: > [ Please use "Reply all" to keep the conversation public ] > > Angela L writes: > > > > What does M-: (org-roam-buffer-p) say in that buffer? > > It replies t. > > This is strange. > What about M-: (derived-mode-p

Re: [BUG] (error "rx ‘**’ range error") [9.7 (9.7-??-d6f3aed7b @ /Users/melody/.emacs.d/.local/straight/build-28.2/org/)]

2023-08-08 Thread Ihor Radchenko
Angela L writes: > It’s nil This is unexpected. AFAIK, org-roam-buffer-p is defined as (defun org-roam-buffer-p ( buffer) "Return t if BUFFER is for an Org-roam file. If BUFFER is not specified, use the current buffer." (let ((buffer (or buffer (current-buffer))) path)

Re: [BUG] (error "rx ‘**’ range error") [9.7 (9.7-??-d6f3aed7b @ /Users/melody/.emacs.d/.local/straight/build-28.2/org/)]

2023-08-08 Thread Ihor Radchenko
[ Please use "Reply all" to keep the conversation public ] Angela L writes: >> What does M-: (org-roam-buffer-p) say in that buffer? > It replies t. This is strange. What about M-: (derived-mode-p 'org-mode) ? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at

Re: Add a Chinese version to index.org of orgmode.org

2023-08-08 Thread Dr. Arne Babenhauserheide
Hi lux, Ihor Radchenko writes: > lux writes: >> To facilitate Chinese users' understanding of Org Mode, I have >> translated index.org into Simplified Chinese. Please review it. > Thanks! > However, we already have another, more complete translation pending. > See

Re: [BUG] (error "rx ‘**’ range error") [9.7 (9.7-??-d6f3aed7b @ /Users/melody/.emacs.d/.local/straight/build-28.2/org/)]

2023-08-08 Thread Ihor Radchenko
Angela L writes: > And I just found that this only happened when I changed to markdown buffer. I > am currently using md-roam with org-roam-ui as well. Curious. What does M-: (org-roam-buffer-p) say in that buffer? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org

Re: org-agenda queries for absent properties

2023-08-08 Thread Ihor Radchenko
Jens Schmidt writes: > I was trying to decipher and document the acronyms used for the > let-bindings in that `let*' sexp. I think I got them right but was > unsure about the "gv". Removed the question mark, let's just assume > that "gv" means "getter value" and be done with it. Yeah. I also

Re: Add a Chinese version to index.org of orgmode.org

2023-08-08 Thread Ihor Radchenko
lux writes: > Hi > To facilitate Chinese users' understanding of Org Mode, I have > translated index.org into Simplified Chinese. Please review it. Thanks! However, we already have another, more complete translation pending. See https://list.orgmode.org/orgmode/sdvzg71zzor@netyu.xyz/ --

[BUG] Fontification of scheme code blocks

2023-08-08 Thread Ihor Radchenko
We have recently got WORG build failures because running scheme-mode spawns an interactive prompt to select Scheme implementation. This happens when Org export attempts to fontify scheme source blocks, and calling major mode (scheme-mode) expects user interaction - something we do not anticipate.