Re: org-clock-report on headings and subheadings or for the whole file?

2022-11-12 Thread Uwe Brauer
> Uwe Brauer writes: > I had point before first heading and typed M-x org-clock-report. > You probably had point at or inside a heading. Correct, I did since I found it «logical» to have that table at the end of the file, but now I understand the problem with this. Thanks Ok, but I think

Re: org-clock-report on headings and subheadings or for the whole file?

2022-11-12 Thread Ihor Radchenko
Uwe Brauer writes: > I realized that I have > #+BEGIN: clocktable :scope subtree :maxlevel 2 > > While you have > > #+BEGIN: clocktable :scope file :maxlevel 2 > > But I don't know where shall I change the setting, the documentation of > > , > | org-clock-report (found in org-mode-map),

[PATCH] Re: [STYLE] :version tags in defcustom definitions (was: [PATCH] Improve look of agenda on graphical displays)

2022-11-12 Thread Ihor Radchenko
Timothy writes: >>> Sure. Just trying to clarify my confusion. The inconsistency with some >>> defcustoms using :version and some not is bugging me. >> >> Agreed. It would be better to be consistent with this. > > Given that org-mode is distributed separately to Emacs, and I get the >

Re: org-clock-report on headings and subheadings or for the whole file?

2022-11-12 Thread Uwe Brauer
> Yes, *but* I obtain > #+BEGIN: clocktable :scope subtree :maxlevel 2 > #+CAPTION: Clock summary at [2022-11-13 08:06] > | Headline | Time | > |+| > | *Total time* | *0:03* | > |+| > | $A^0$ condition | 0:03 | > #+END: > Which

Re: org-clock-report on headings and subheadings or for the whole file?

2022-11-12 Thread Uwe Brauer
>>> "IR" == Ihor Radchenko writes: > Uwe Brauer writes: >> I just started to use logbooks and clocks. One of my org files looks >> like this >> >> * TODO Condition about symmetry >> :LOGBOOK: >> CLOCK: [2022-11-11 16:40]--[2022-11-11 17:32] => 0:52 >> CLOCK: [2022-11-11 13:58]--[2022-11-11

[RFC] Re: Headings and Headlines

2022-11-12 Thread Ihor Radchenko
André A. Gomes writes: > The project's documentation refers to headings and headlines as > synonyms. Relying on a single definition would be beneficial. If I had > to choose between the two, I'd go with heading. I've been looking into changing all the instances of "headline" to "heading" and

Re: [OT] org and diff

2022-11-12 Thread Samuel Wales
On 11/12/22, Ihor Radchenko wrote: > I have the following in my ~/.gitconfig: > > [diff "org"] > xfuncname = "^(\\*+ +.*)$" > > [core] > attributesfile = /home/yantar92/.gitattributes > > And ~/.gitattributes: > > *.org diff=org this looks interesting. i thought this stuff was just

Re: [OT] org and diff

2022-11-12 Thread Samuel Wales
ugh. i left out a probably significant fact that means i'd have to rework the whole post which i can't do atm. in /this particular example/ the file will actually still be there after staging. i forgot there are other changes in this concrete example. i am trying to clean up a set of magit

Re: [OT] org and diff

2022-11-12 Thread Ihor Radchenko
Samuel Wales writes: > someplace in it, is an entry with a 234-item plain list. if i try to > move this entry, and make no other changes, diff goes insane. if i > try to refile this entry to a different org file, diff similarly goes > insane, with the - part. only that change. > > ok, what

[OT] org and diff

2022-11-12 Thread Samuel Wales
i have a very old version of Magit, for reasons I won't get into. Fancier diff settings might be differnet or not available. But something drives me crazy. Probably not too Org-related, but it might be. I just want to know why, is all. I have a 24k line org file, and it's not that complex wrt

Re: org-clock-report on headings and subheadings or for the whole file?

2022-11-12 Thread Ihor Radchenko
Uwe Brauer writes: > I just started to use logbooks and clocks. One of my org files looks > like this > > * TODO Condition about symmetry > :LOGBOOK: > CLOCK: [2022-11-11 16:40]--[2022-11-11 17:32] => 0:52 > CLOCK: [2022-11-11 13:58]--[2022-11-11 14:05] => 0:07 > CLOCK: [2022-11-11

Re: Getting X selection reliably (Re: idea for capture anywhere in x)

2022-11-12 Thread Ihor Radchenko
Max Nikulin writes: > On 26/10/2022 11:58, Ihor Radchenko wrote: >> >> Yes. From org-capture-templates docstring: >> >>%x Content of the X clipboard. > > Ihor, I am afraid there are a couple of pitfalls with "%x" for Samuel > since he prefers to keep Emacs hidden so can not check

Re: [PATCH] ob-java: Define the list of all supported header arguments

2022-11-12 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> Yes, ideally, we need to know which exact test case fails. But please >> open a new thread as it will be unrelated to java discussed herein. > > Now you lost me. :) > > The linked mail has all the information already has its own thread. You are right.

Re: [BUG] Incorrect background color [9.5.4 (release_9.5.4-3-g6dc785 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-11-12 Thread Ihor Radchenko
Jeremie Juste writes: > >> WORG page is not accurate here. The truth is that ob-R.el does not provide > >> any defaults for header args. Instead, R defaults are used. I suspect > >> that defaults for background color changed in R since the WORG page has > >> been written. > > > > Jeremie,

Re: Volunteering to maintain ob-asymptote.el within Org

2022-11-12 Thread Ihor Radchenko
Jarmo Hurri writes: > Greetings Ihor. > > Ihor Radchenko writes: > >> Jarmo, did you hear anything from Luc? There was no action in >> ob-asymptote for over a year. If the current maintainer does not reply >> to email requests related to ob-asymptote, I'd rather transfer to >> maintenance to

Re: [PATCH] Re: Update Org to MathJax 3

2022-11-12 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Below, I attach the 7th revision of the patch. Thanks! I note that you did not mention in the news that MathJax 2 support is dropped. This is a very important thing we must highlight and ring all the bells about. Consider that someone has customized path option to a

Re: Tutorials on creating pdfs with org-babel and sqlite

2022-11-12 Thread Jean Louis
* Jan Ulrich Hasecke [2022-11-12 21:09]: > Dear all, > > I am doing my first steps to do some database publishing with org-babel > and sqlite. So far quite successful, but I am still very new to this, so > I would appreciate if you can recommend a tutorial on this. I am mostly > interested in

Re: [RFC PATCH] Re: [bug] Macro in citation not expanded

2022-11-12 Thread Ihor Radchenko
M. ‘quintus’ Gülker writes: > thank for the WIP patch. I have applied it to current main > (f83e45526b5ec4627d601673be3680e2dece1b33), but when I now export the > document described in the OP to LaTeX, the macro is erased entirely. I > receive: > > 1 Doe, Nothing important, 2. Aufl. (2022),

Re: [BUG] LaTeX export in non-English language [9.6-pre (release_9.5.5-1087-g620a96.dirty @ /home/yantar92/.emacs.d/straight/build/org/)]

2022-11-12 Thread Ihor Radchenko
Juan Manuel Macías writes: > I start by comment the error that you get when compiling. Is it possible > that you have an incomplete TeX Live installation? Distro repositories > usually offer TeX live in a modular way. On Arch Linux and its > derivatives, the texlive-lang and texlive-lang-extra

Re: [BUG] org-babel-comint-with-output: incorrect prompt detection [9.6-pre]

2022-11-12 Thread Ihor Radchenko
Bruno Barbier writes: >> We must also make `comint-prompt-regexp' more precise to avoid "lude> " >> being detected as a prompt. > If we need to do that for ob-haskell (when relying on the interpreter), > the cleanest way might be to redefine the set of possible prompts. ghci > is quite flexible:

Re: Tutorials on creating pdfs with org-babel and sqlite

2022-11-12 Thread Vikas Rawal
> interested in publishing use cases. Has anybody wrote a book or a report > with org-mode, org-babel and sqlite? Many years ago, I wrote this book with orgmode: https://www.fao.org/3/a-i4921e.pdf The source files are here: https://github.com/vikasrawal/endingmalnutrition Much has changed in

Re: Tutorials on creating pdfs with org-babel and sqlite

2022-11-12 Thread Vikas Rawal
> interested in publishing use cases. Has anybody wrote a book or a report > with org-mode, org-babel and sqlite? Many years ago, I wrote this book with orgmode: https://www.fao.org/3/a-i4921e.pdf The source files are here: https://github.com/vikasrawal/endingmalnutrition Much has changed in

Re: Tutorials on creating pdfs with org-babel and sqlite

2022-11-12 Thread Christopher M. Miles
You can check out http://www.howardism.org/Technical/Emacs/literate-database.html This is very great. Jan Ulrich Hasecke writes: > [[PGP Signed Part:Undecided]] > Dear all, > > I am doing my first steps to do some database publishing with org-babel > and sqlite. So far quite successful, but

Re: [PATCH] ob-java: Define the list of all supported header arguments

2022-11-12 Thread Rudolf Adamkovič
Ihor Radchenko writes: >> In the linked mail, I discuss the problem starting from this test, >> tracking it down to the problematic line of code. Do you want me to >> look into something further? > > Yes, ideally, we need to know which exact test case fails. But please > open a new thread as it

Tutorials on creating pdfs with org-babel and sqlite

2022-11-12 Thread Jan Ulrich Hasecke
Dear all, I am doing my first steps to do some database publishing with org-babel and sqlite. So far quite successful, but I am still very new to this, so I would appreciate if you can recommend a tutorial on this. I am mostly interested in publishing use cases. Has anybody wrote a book or a

Re: Help with a (query) replacement

2022-11-12 Thread Juan Manuel Macías
Juan Manuel Macías writes: > In the case of PDFs, I would use pdftotext. It converts the PDF to plain > text and (in theory) removes hyphens from the PDF after conversion. The > resulting plain text is somewhat ugly (page numbers and other elements > are preserved), but if you just want to

Re: Help with a (query) replacement

2022-11-12 Thread Juan Manuel Macías
Ypo writes: > Thanks, Juan Manuel. > > I normally study using PDF books. Their typography is like > "hardcoded", so a post-processing using Orgmode is needed, I think. If it's a PDF then forget what I told you about pandoc, because here pandoc would have nothing to do. I thought you were

Re: Help with a (query) replacement

2022-11-12 Thread Alain . Cochard
Ypo writes on Sat 12 Nov 2022 15:42: > Hi > > I am copy-pasting e-books into org-mode to read and study them. > > Usually, words come hyphenated, like "ato- mized", that I wanted to > transform into "atomized". > > I am trying with query replace, but I am starting to think that it is

Re: Help with a (query) replacement

2022-11-12 Thread Ypo
ummm, so you copy-paste from nov.el into an org buffer and then format would be maintained... interesting. Thanks El 12/11/2022 a las 16:23, Juan Manuel Macías escribió: Juan Manuel Macías writes: I think it will be more practical for you to use pandoc: With this command you can convert an

Re: Help with a (query) replacement

2022-11-12 Thread Juan Manuel Macías
Juan Manuel Macías writes: > I think it will be more practical for you to use pandoc: > > With this command you can convert an epub format to org: > > pandoc my-epub.epub -o my.epub.org > > (https://pandoc.org) > > You can also install calibre and convert your epubs to plain text from > there.

Re: [BUG] Null character in block/drawer regexps (but not in org-element parser)

2022-11-12 Thread Bastien Guerry
Hi Ihor, Ihor Radchenko writes: > So, we should probably remove zero-width shenanigans from the code. +1. > Unless I miss something. > > Bastien, maybe you recall something about presence of null character in > regexs? No, I don't. > P.S. If we decide to remove the null character, I'd

Re: Help with a (query) replacement

2022-11-12 Thread Ypo
Thanks, Juan Manuel. I normally study using PDF books. Their typography is like "hardcoded", so a post-processing using Orgmode is needed, I think. El 12/11/2022 a las 16:10, Juan Manuel Macías escribió: Ypo writes: Hi I am copy-pasting e-books into org-mode to read and study them.

Re: Help with a (query) replacement

2022-11-12 Thread Juan Manuel Macías
Ypo writes: > Hi > > I am copy-pasting e-books into org-mode to read and study them. > > Usually, words come hyphenated, like "ato- mized", that I wanted to > transform into "atomized". > > I am trying with query replace, but I am starting to think that it is > not the correct tool for this

Help with a (query) replacement

2022-11-12 Thread Ypo
Hi I am copy-pasting e-books into org-mode to read and study them. Usually, words come hyphenated, like "ato- mized", that I wanted to transform into "atomized". I am trying with query replace, but I am starting to think that it is not the correct tool for this job. I tried "query-replace

Re: Suggestion with footnotes when toggling headlines into plain lists

2022-11-12 Thread Ypo
elpa-devel did it!! (non installed git) Thanks, working! El 12/11/2022 a las 13:46, Ihor Radchenko escribió: Ypo writes: Is it easy for a user to test if it works? If you have git, you can clone Org repo (see https://git.savannah.gnu.org/cgit/emacs/org-mode.git) and then run make

Re: [BUG] phantom newlines while moving headings [9.6-pre ( @ /home/chomwitt/.config/emacs/elpa/org-9.6pre0.20221110.85807/)]

2022-11-12 Thread Ihor Radchenko
Alexandros Prekates writes: > On Fri, 11 Nov 2022 02:28:27 + > Ihor Radchenko wrote: > > I found a more minimal issue-reproducer > (i add $ because i used M-x whitespace mode . > Also @ is point) ; Thanks! Unfortunately, I am unable to reproduce. I started from the latest main branch of

Re: Formatting in citation locator

2022-11-12 Thread Ihor Radchenko
M. ‘quintus’ Gülker writes: > Am Mittwoch, dem 26. Oktober 2022 schrieb András Simonyi: >> I've ended up making the necessary changes in citeproc and also posted >> a patch here which should enable formatting in locators. Marvin, I'd >> appreciate it if you could test it. > > I have updated

Re: [PATCH] ob-java: Define the list of all supported header arguments

2022-11-12 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Ihor Radchenko writes: > >> Could you narrow down the particular test condition which is failing? >> Is it similar to previously discussed cases where MacOS sorting is not >> consistent with Linux? > > In the linked mail, I discuss the problem starting from this test,

[BUG] Null character in block/drawer regexps (but not in org-element parser) (was: BUG? Null character prevents org-babel-tangle from tangling a block)

2022-11-12 Thread Ihor Radchenko
Tommy Kelly writes: > The attached .org file describes a simple test to demonstrate the problem. > I've also attached a .zip version, in case the NULL character in the test > doesn't survive the gmailing process. (The null is In BLOCK 2, two > characters after the '3' in ';; line3' If it's

Re: Suggestion with footnotes when toggling headlines into plain lists

2022-11-12 Thread Ihor Radchenko
Ypo writes: > Is it easy for a user to test if it works? If you have git, you can clone Org repo (see https://git.savannah.gnu.org/cgit/emacs/org-mode.git) and then run make repro from inside the Org repo folder. It will open a clean Emacs instance configured to use the Org version from the

Re: [BUG] Incorrect background color [9.5.4 (release_9.5.4-3-g6dc785 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-11-12 Thread Jeremie Juste
Hello Ihor, On Sunday, 16 Oct 2022 at 10:44, Ihor Radchenko wrote: >> >> Confirmed. >> >> WORG page is not accurate here. The truth is that ob-R.el does not provide >> any defaults for header args. Instead, R defaults are used. I suspect >> that defaults for background color changed in

Re: [BUG] Incorrect background color [9.5.4 (release_9.5.4-3-g6dc785 @ /Users/salutis/src/emacs/nextstep/Emacs.app/Contents/Resources/lisp/org/)]

2022-11-12 Thread Jeremie Juste
On Sunday, 16 Oct 2022 at 10:44, Ihor Radchenko wrote: >> >> Confirmed. >> >> WORG page is not accurate here. The truth is that ob-R.el does not provide >> any defaults for header args. Instead, R defaults are used. I suspect >> that defaults for background color changed in R since the

org-clock-report on headings and subheadings or for the whole file?

2022-11-12 Thread Uwe Brauer
Hi I just started to use logbooks and clocks. One of my org files looks like this * TODO Condition about symmetry :LOGBOOK: CLOCK: [2022-11-11 16:40]--[2022-11-11 17:32] => 0:52 CLOCK: [2022-11-11 13:58]--[2022-11-11 14:05] => 0:07 CLOCK: [2022-11-11 11:22]--[2022-11-11 11:27] =>