Re: [RFC] ox-icalendar: Unscheduled tasks & repeating tasks

2023-03-31 Thread Jack Kamm
Ihor Radchenko writes: > I now only have one minor concern about `org-icalendar-fold-string' when > the original buffer contains DOS line endings. May they mess things up > producing \r\r\n? There are 2 issues here: what does `org-icalendar-fold-string' do when string already contains \r, and

Re: Worg: Possible bug about inline-image example using four brackets

2023-03-31 Thread Corwin Brust
On Fri, Mar 31, 2023 at 2:49 PM Ihor Radchenko wrote: > > Corwin Brust writes: > > > Now corrected. Thanks again for your feedback on worg :) > > Thanks, but you cannot put language as example block argument. > When I remove the language argument ("org"), org resumes thinking it is a link: it

Re: Worg: Possible bug about inline-image example using four brackets

2023-03-31 Thread Ihor Radchenko
Corwin Brust writes: > Now corrected. Thanks again for your feedback on worg :) Thanks, but you cannot put language as example block argument. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

Re: Worg: Possible bug about inline-image example using four brackets

2023-03-31 Thread Corwin Brust
> On Fri, Mar 31, 2023 at 7:32 AM wrote: > > > > There you find an example of in inline-image in org-mode uing 4 brackets > > on each side. > > > > lore /img/org-mode-unicorn.png ipsum > > Now corrected. Thanks again for your feedback on worg :)

Re: [RFC] ox-icalendar: Unscheduled tasks & repeating tasks

2023-03-31 Thread Ihor Radchenko
Jack Kamm writes: >> I am looking at >> https://icalendar.org/iCalendar-RFC-5545/3-6-2-to-do-component.html, and >> I note that only BEGIN:VTODO and END:VTODO lines must actually have >> CRLF. For example, >> https://icalendar.org/iCalendar-RFC-5545/3-3-11-text.html has no >> mentions of CRLF,

Re: [BUG] No font lock in src blocks for shells in org-babel-shell-names (was Re: Font lock for org-babel shell scripts?)

2023-03-31 Thread Ihor Radchenko
Derek Chen-Becker writes: > When I asked the question I was just thinking of using it as a reference > for expanding the current org-src-lang-modes values, but now that you've > asked the question, perhaps we could dynamically amend org-src-lang-modes > based on the contents of

Re: [BUG] No font lock in src blocks for shells in org-babel-shell-names (was Re: Font lock for org-babel shell scripts?)

2023-03-31 Thread Derek Chen-Becker
When I asked the question I was just thinking of using it as a reference for expanding the current org-src-lang-modes values, but now that you've asked the question, perhaps we could dynamically amend org-src-lang-modes based on the contents of sh-ancestor-alist. Does that make sense? Thanks,

Re: [RFC] ox-icalendar: Unscheduled tasks & repeating tasks

2023-03-31 Thread Jack Kamm
Ihor Radchenko writes: > Thanks! > Note that I did not implement my suggestion because I am concerned if > putting CRLF is safe as every single line ending. > > I am looking at > https://icalendar.org/iCalendar-RFC-5545/3-6-2-to-do-component.html, and > I note that only BEGIN:VTODO and END:VTODO

Re: Worg: Possible bug about inline-image example using four brackets

2023-03-31 Thread Corwin Brust
On Fri, Mar 31, 2023 at 7:32 AM wrote: > > it seems there is no bug-tracker for "worg" at > "https://git.sr.ht/~bzg/worg;. I believe that we use the org bug tracker including for worg - see `org-submit-bug-report`. > > Please see the line behind this link >

Re: [BUG] No font lock in src blocks for shells in org-babel-shell-names (was Re: Font lock for org-babel shell scripts?)

2023-03-31 Thread Ihor Radchenko
Derek Chen-Becker writes: > Would it be fair to use the sh-ancestor-alist as a basis for all of the > supported shell variants? > > https://github.com/emacs-mirror/emacs/blob/master/lisp/progmodes/sh-script.el#L177 How can we use it? -- Ihor Radchenko // yantar92, Org mode contributor, Learn

Re: [RFC] ox-icalendar: Unscheduled tasks & repeating tasks

2023-03-31 Thread Ihor Radchenko
Jack Kamm writes: > However you are right that other parts of the iCalendar export have > inconsistent line endings. Currently, VEVENT and VTODO components have > the correct CRLF endings, but the other parts of the VCALENDAR do not > (such as the preamble). > > I like your suggestion in the

Worg: Possible bug about inline-image example using four brackets

2023-03-31 Thread c . buhtz
Hello, it seems there is no bug-tracker for "worg" at "https://git.sr.ht/~bzg/worg;. Please see the line behind this link https://git.sr.ht/~bzg/worg/tree/master/item/org-tutorials/images-and-xhtml-export.org#L61 There you find an example of in inline-image in org-mode uing 4 brackets on

Re: File generation from LaTeX src fails due to temporary PDF in wrong directory

2023-03-31 Thread Christian Moe
chris writes: >> [ ... snip ... ] >> Solution: >> >> Redefine org-babel-latex-preamble to remove >> the offending line. >> >> (setq org-babel-latex-preamble >> '(lambda (_) >> "\\documentclass[preview]{standalone}")) >> >> With this setup, my example >> >> #+header: :fit yes