filling more narrowly --- or unfilling -- for export to email, upon ascii export

2024-05-23 Thread Samuel Wales
thanks both. > I write my email using org syntax and then invoke > > M-x org-mime-htmlize RET > > just before sending. i'm guessing that would solve all formatting issues. not sure how quoting [top post or interstitial] conversations would work. however, last time i tried sending html through

Re: Bug: org-capture does not work if called from minibuffer (Org mode version 9.6.10 (9.6.10-n/a-g902975)

2024-05-23 Thread Ihor Radchenko
Clément Payard writes: > Version: Org mode version 9.7-pre (9.7-pre-n/a-g1c5492) > (I hope it's the last, I use elpaca). > > No, the behavior is not actually the same: for me (hoping my configuration > doesn't interfere), everything goes “as expected”, except that the second > capture cancels

Re: Pending contents in org documents (Re: Asynchronous blocks for everything (was Re: ...))

2024-05-23 Thread Bruno Barbier
Hi Ihor, Ihor Radchenko writes: > Bruno Barbier writes: > >> I've pushed the modification to my branch. > > Thanks! Let's work further on the top comment. > >> ;; To lock a region, you need to do something like this: > > I think "something like this" can be just dropped. Sorry, I'm failing

Re: [BUG] org-capture: %\N template expansion

2024-05-23 Thread Bruno Cardoso
On 2024-05-23, 11:13 +, Ihor Radchenko wrote: > That's because you can only use %\N placeholder for %^{prompt} but not > for %^{prompt}X. > ... > We can probably improve the error and the docstring to clarify this. Thanks for the explanation, Ihor. I expected it to work in both cases, as

Re: [FR] :noweb-wrap header arg

2024-05-23 Thread Ihor Radchenko
Amy Grinn writes: >> I recommend the following: >> >> If the value starts from ", use Elisp's `read': >>|"# <<" ">>" >>(read (current-buffer)) ; => "# <<" >>otherwise, consider read until the first whitespace. >>|#<<; >>; >>(re-search-forward (rx (1+ (not whitespace >>

Re: [BUG] org-capture: %\N template expansion

2024-05-23 Thread Ihor Radchenko
Bruno Cardoso writes: > I'm having trouble expanding the '%\N' template in org-capture. > > For example, with the following template: > > (add-to-list 'org-capture-templates > '("t" "TEST" entry >(file+headline "~/org/test.org" "TEST") >"** TODO %? >