Re: Bug: "before first headline" error when adding clock out note [9.4.6 (9.4.6-dist @ /home/wenlong/org-9.4.6/lisp/)]

2021-06-27 Thread Dave D
Thank you so much for the quick fix. On 28/06/2021, Nicolas Goaziou wrote: > Hello, > > Dave D writes: > >> It seems the error is caused by function >> org-clock-remove-empty-clock-drawer called by org-clock-out-hook >> >> I have removed that function from the hook for now as a workaround. > >

Re: Export Org mode files to (gag, barf) MS Office?

2021-06-27 Thread Brandon Taylor
Actually, I've decided to go with your earlier recommendation of using WSL now that it supports GUI apps like Emacs. Doing the export act gives me a very elegant (albeit somewhat crowded) ODT file, like this -- https://www.dropbox.com/s/16dhity67rtdwyp/belvoire.odt?dl=0

Re: org-agenda no longer clocks out then in

2021-06-27 Thread Dave D
this commit https://code.orgmode.org/bzg/org-mode/commit/8e3e2f667f0b28b85845204b708c3f0aebc9152b probably fixes the issue. Could you perhaps give it a test?

Re: Export Org mode files to (gag, barf) MS Office?

2021-06-27 Thread Tim Cross
That error would tend to indicate there is a problem with the way the file uri is being encoded. This could either be a bug or it could be due to an error in your configuration or possibly the original org file your trying to encode. Unfortunately, in that backtrace output, I cannot see the full

Re: Export Org mode files to (gag, barf) MS Office?

2021-06-27 Thread Brandon Taylor
Here's the generated backtrace after doing M-x toggle-debug-on-error and then trying to do export on Windows. Debugger entered--Lisp error: (rng-uri-error "Bad escapes in URI ‘file:///c:/Program%20Files/Ema...") signal(rng-uri-error ("Bad escapes in URI ‘file:///c:/Program%20Files/Ema..."))

Re: Libre vs Open Office [was: Export Org mode files to (gag, barf) MS Office?]

2021-06-27 Thread Marcin Borkowski
On 2021-06-26, at 22:12, to...@tuxteam.de wrote: > On Sat, Jun 26, 2021 at 09:49:02PM +0200, Marcin Borkowski wrote: >> >> On 2021-06-26, at 21:18, to...@tuxteam.de wrote: >> >> > On Sat, Jun 26, 2021 at 04:27:19PM +, Brandon Taylor wrote: >> >> I’ve seen that LibreOffice can read and

Re: [PATCH] ob-R output file with graphics parameter

2021-06-27 Thread Jack Kamm
Hi all, > I obviously missing something. The above works for me without the > patch. Unfortunately, I can't trace back the thread in order to > understand the context. I think this is a followup from this mail: https://orgmode.org/list/87zgxc42qg@gmail.com/ wherein Jeremie states: > The

Re: Export Org mode files to (gag, barf) MS Office?

2021-06-27 Thread Samuel Banya
The reason why someone would want to do this is that most corporate environments literally force you to use products like the MS Office Suite. I can only see that as a benefit to be able to export to whatever you want. is it perfect? Probably not, but at least the option exists. I feel that

Export Org mode files to (gag, barf) MS Office?

2021-06-27 Thread emanuel . charpentier
I know we’re not supposed to really even TALK about proprietary software in FOSS communities like this one, but I can’t help but wonder if someone might consider making (an) Emacs plugin(s) that allow(s) a user to export Org mode files to Microsoft Office file formats such as .docx, .xlsx and the

Re: Bug: "before first headline" error when adding clock out note [9.4.6 (9.4.6-dist @ /home/wenlong/org-9.4.6/lisp/)]

2021-06-27 Thread Nicolas Goaziou
Hello, Dave D writes: > It seems the error is caused by function > org-clock-remove-empty-clock-drawer called by org-clock-out-hook > > I have removed that function from the hook for now as a workaround. I pushed a fix in master. Thank you. Regards, -- Nicolas Goaziou

Re: [PATCH] source blocks mangled when edited

2021-06-27 Thread Nicolas Goaziou
Hello, Sébastien Miquel writes: > Subject: [PATCH] org-src.el: Use `replace-buffer-contents' only for emacs >= > 27 > > * lisp/org-src.el: Use `replace-buffer-contents' only for emacs >= 27. > > It was introduced in emacs 26.1, but earlier versions made no > guarantees of correctness. I

Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)]

2021-06-27 Thread Gustavo Barros
On Sun, 27 Jun 2021 at 03:31, Bhavin Gandhi wrote: You are right, I actually did a bisect last week and found that change has introduced this behavior. I should have posted that immediately, it would have saved some of your time. No problem. Thanks for confirming you reached the same

FYI Speedup of publish command in master

2021-06-27 Thread Gustav Wikström
Hi, In a similar vein as the speedups of scanning for IDs that was made a while back, there now is a speedup for org publish as well. Soon to be pushed to code.orgmode.org (we're still using that, aren't we?) with commit aa0fa8c75. The speedup is seen when scanning through files to decide if

Re: Bug: Duplicate logbook entry for repeated tasks [9.4.6 (9.4.6-gab9f2a @ /home/gustavo/.emacs.d/elpa/org-9.4.6/)]

2021-06-27 Thread Bhavin Gandhi
On Sat, 26 Jun 2021 at 00:13, Jeff Kowalski wrote: > While I don't have a fix for the root issue, I did have a chance to > create > a lint for LOGBOOK duplicates, as you suggested. Thank you Jeff, I had no clue how to write something like that :) On Sun, 27 Jun 2021 at 07:58, Gustavo Barros