Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace

2024-10-17 Thread Benjamin McMillan
My understanding is that org-end-of-meta-data should put point at the start of the 'real' contents of a heading. Meaning the first point where I might start making notes under a heading. This expectation isn't matched in the example I give (which is different from the mentioned test). In my exampl

Re: ob-clojure breaks tangling of comments using org-babel-tangle for clojure source code blocks

2024-10-17 Thread Anoop GR
> > I guess that we may leave the comments intact if the code block does not > have :var. > I moved the comment stripping code in org-babel-expand-body:clojure to follow the above idea:- --- (defun org-babel-expand-body:clojure (body params) "Expand BODY according to PARAMS, return the expanded

Re: Why Emacs shows ^M at the end of some lines in sh code blocks that use curl?

2024-10-17 Thread Bruno Barbier
Hi Rodrigo, Rodrigo Morales writes: > I saved the contents of the code block below to the file =/tmp/a.org=. > > > I wish those ^M were not shown in the sh code blocks in the Org Mode > buffer. Does anyone know how to accomplish this behavior? > Your result is mixing different "end-of-line" c

How can I export a table to HTML with header and footers

2024-10-17 Thread Dr. Volker Zell
... see subject Result should be like the following to be used with the datatable framwork         Name   Position   Office               Tiger Nixon   System Architect   Edinburgh           Ashton Cox   Technical Author   San Francisco        

Re: How can I export a table to HTML with header and footers

2024-10-17 Thread Raghavendra Nyshadham
On 2024-10-18 00:44 +05:30, Dr. Volker Zell wrote: Result should be like the following to be used with the datatable framwork Name Position Office Tiger Nixon System Architect Edinburgh Ashton Cox

Why Emacs shows ^M at the end of some lines in sh code blocks that use curl?

2024-10-17 Thread Rodrigo Morales
I saved the contents of the code block below to the file =/tmp/a.org=. #+HEADER: :tangle /tmp/a.org #+BEGIN_SRC org ,#+HEADER: :tangle no ,#+HEADER: :results verbatim ,#+BEGIN_SRC sh curl --silent --request GET 'http://localhost:4891/posts' ,#+END_SRC ,#+HEADER: :tangle no ,#+HEADER: :results ve

Re: [PATCH] Add yank-media handler for LibreOffice Calc tables

2024-10-17 Thread Visuwesh
[செவ்வாய் அக்டோபர் 15, 2024] Ihor Radchenko wrote: > Visuwesh writes: > >>> Something is off with encoding. >> >> I cannot reproduce it on my end. I tried with different documents and >> document types (Excel and LO format). Would it be possible to send the >> faulty file? > > Here is the recip

Re: [PATCH] Add yank-media handler for LibreOffice Calc tables

2024-10-17 Thread Ihor Radchenko
Visuwesh writes: >> Consider the following example: >> >> * Heading >> >> M-x yank-media ... will slurp the heading >> >> | * Heading a | b | c | >> >> In contrast, the existing handlers will only insert some text at point, >> never touching the text around. > > Would it be sufficient to uncondi

Re: [BUG] A call of (org-end-of-meta-data t) goes too far in a heading with only whitespace

2024-10-17 Thread Ihor Radchenko
Benjamin McMillan writes: > My understanding is that org-end-of-meta-data should put point at the start > of the 'real' contents of a heading. Meaning the first point where I might > start making notes under a heading. Nope. It should "Skip planning line and properties drawer in current entry.",

Re: ob-clojure breaks tangling of comments using org-babel-tangle for clojure source code blocks

2024-10-17 Thread Ihor Radchenko
Anoop GR writes: >> >> I guess that we may leave the comments intact if the code block does not >> have :var. >> > > I moved the comment stripping code in org-babel-expand-body:clojure to > follow the above idea:- > ... The code look reasonable. Would you be interested to convert it into a patch

Re: [HELP] How to have a repeating task that begins at 06:50 and ++1h until 20:50, and then when DONE the last repeater for that day, it would ++1d at 06:50?

2024-10-17 Thread Ihor Radchenko
Starlit Sky writes: > EXPECTED BEHAVIOR > > I want to have a repeating task that begins at 06:50 and ++1h until > 20:50, and then when DONE the last repeater for that day (20:50), it would > ++1d at 06:50 and ++1h until 20:50, and so on. I've tried many things, but > nothing seems to work. Wha