Re: org-agenda-dim-blocked-tasks don't use org-todo face

2022-12-12 Thread Ihor Radchenko
Mark Kerr writes: > Thank you. I may have been unclear but the result seems to be the > opposite of what I was hoping for. > > I was hoping to be able to gain the ability to use the org-todo face > with blocked tasks, while retaining the org-priority face which was > previously working.. > > Now

Re: org-babel shell in windows not finishing command

2022-12-12 Thread Ihor Radchenko
Vlastimil Vondra writes: > after upgrading to 9.6. The output is exactly the same. It would be great if someone with access to Windows could debug this. First, the version without session. It should be slightly less tricky - Org creates a temporary script file and executes it. -- Ihor

9.6 - hide-drawer-startup option(s?) [9.5.5 (release_9.5.5 @ /usr/local/share/emacs/29.0.50/lisp/org/)]

2022-12-12 Thread Kévin Le Gouguec
Hey Org, Trying out Emacs 29 and going over ORG-NEWS, this item stands out to me: > *** A new custom setting =org-hide-drawer-startup= to control initial folding > state of drawers A quick grep for org(-cycle)?-hide-drawer-startup turns this up: File: etc/ORG-NEWS 459 27 *** A new custom

[BUG] org-cycle-max-level is broken, especially when using org-element-cache (was: Problem in org-inlinetask-min-level's docstring?)

2022-12-12 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > NB: While experimenting, I noticed that, if I customize > org-cycle-max-level to 0, then a on a headline generates the > cryptic "org-match-line: Invalid regexp: "Invalid content of > \\{\\}"". Well. It does not really make much sense to set this variable to

Re: Problem in org-inlinetask-min-level's docstring?

2022-12-12 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > Ihor Radchenko writes on Fri 25 Nov 2022 10:33: > > alain.coch...@unistra.fr writes: > > > > I do not understand the last sentence, even assuming that the 1st > > > 'of' is 'or'. Is my English the problem? > > > > That sentence is indeed screwed up. > >

[BUG] Documentation fix needed in "4.4 External Links" [9.6 ( @ /home/dsmasterson/.emacs.d/elpa/org-9.6/)]

2022-12-12 Thread David Masterson
Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list.

Re: Latest MathJax?

2022-12-12 Thread Ihor Radchenko
Galaxy Being writes: > I just perused my org-html-mathjax-options and the path seems outdated > > '((path " > https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS_HTML;) > ... > Shouldn't it be > > https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js Please update Org to the

Latest MathJax?

2022-12-12 Thread Galaxy Being
I just perused my org-html-mathjax-options and the path seems outdated '((path " https://cdn.jsdelivr.net/npm/mathjax@2/MathJax.js?config=TeX-AMS_HTML;) (scale "100") (align "center") (font "TeX") (linebreaks "false") (autonumber "AMS") (indent "0em") (multlinewidth "85%")

Re: [PATCH] ob-core: add org-confirm-babel-evaluate-cell custom variable

2022-12-12 Thread Kyle Meyer
Ihor Radchenko writes: > I am also wondering if we should include this into bugfix. > This is a new feature, but it appears to be important enough to be > merged into built-in Org. > Bastien, Kyle, any thoughts? Sounds reasonable to me.

Re: [PATCH] ob-core: add org-confirm-babel-evaluate-cell custom variable

2022-12-12 Thread Tom Gillespie
Hi Ihor, Here's the updated patch using :safe, and an additional patch for the news entry to make it easier to apply the core change to bugfix if needed. Best! Tom > I am also wondering if we should include this into bugfix. I can vouch for the fact that trying to work around this in any

Re: [PATCH] lisp/org-expiry.el: Account for org-time-stamp-formats

2022-12-12 Thread Tom Gillespie
Here's the rebased patch. It should apply without issue. Best! Tom From 5247d2459800f82434f1bc3aeea136c18af7923c Mon Sep 17 00:00:00 2001 From: Tom Gillespie Date: Sun, 4 Dec 2022 01:02:35 -0800 Subject: [PATCH] lisp/org-expiry.el: Account for org-time-stamp-formats refactor *

Re: Switching over from package org-radiobutton to native support

2022-12-12 Thread Samuel Wales
not sure what you mean by return. org core code for a while now has included a minor mode for radio buttons. i think, however, #+ syntax and no mode is better if it means that you can do it per list or per sublist. that can also be used for other list features, such as ensuring bullet style

Incorrect numbering of tables (and other elements like figures) [Org 9.6]

2022-12-12 Thread Kaushal Modi
Hello, Since Org 9.6, I am seeing that the numbering of tables (and other elements like figures) resets to 1 and stays so, thought I cannot see a pattern of why that happens. Org version: Org mode version 9.6 (release_9.6-40-g49cf3e ..) Here's a small reproducible example that shows the problem

Re: org-insert-structure-template

2022-12-12 Thread Tim Cross
Anthony Carrico writes: > I'm trying to remember what the old keybinding was before it got switched to > 'C-c C-,'... IIRC there wasn't one. Previously, a completely different system was used for adding these templates and it was bound to < (or was it >, I cannot remember). The problem

Re: org-agenda-dim-blocked-tasks don't use org-todo face

2022-12-12 Thread Mark Kerr
From: Ihor Radchenko > [-- Attachment #1: Type: text/plain, Size: 534 bytes --] > > Mark Kerr writes: > > > The org-todo face is used for todo keywords in non-blocked items. > > > > When org-agenda-dim-blocked-tasks is set to true, however, the todo keyword > > is instead displayed using

For your consideration: Extending org-info-js with additional hooks

2022-12-12 Thread David O'Toole
Greetings, Orgmoders. After some discussion with Yantar on IRC, I humbly submit the attached diff for your consideration. It adds new hooks to org-info-js to allow the following: 1. inserting page-specific HTML into each OrgInfo header, and 2. calling a custom JavaScript function to run after

Re: Two problems with export to Google calendar

2022-12-12 Thread Max Nikulin
On 12/12/2022 21:00, Ihor Radchenko wrote: Max Nikulin writes: By default, ox-icalendar takes the value of your TZ environment variable. I think, in most cases TZ is not set, so (format-time-string "%Z") is used to get abbreviation (that is ambiguous). On Linux we may try timedatectl

Re: Autoloading side effects (was: Re: [BUG] org-mouse is activated without explicit require)

2022-12-12 Thread Max Nikulin
On 12/12/2022 17:25, Ihor Radchenko wrote: Max Nikulin writes: I am afraid, requirement that loading should not cause side effects is too strict and it will make usage inconvenient. Examples: - ol-info calls `org-link-set-parameters'. We have `org-modules' that can handle calling

Re: Autoloading side effects (was: Re: [BUG] org-mouse is activated without explicit require)

2022-12-12 Thread Matt Lundin
Max Nikulin writes: > I am afraid, requirement that loading should not cause side effects is > too strict and it will make usage inconvenient. Examples: > - ol-info calls `org-link-set-parameters'. > - org-protocol installs an advice for `server-visit-files'. (It should > not be necessary, but

Re: org-babel shell in windows not finishing command

2022-12-12 Thread Vlastimil Vondra
Hi, after upgrading to 9.6. The output is exactly the same. V. On Mon, 12 Dec 2022 at 14:10, Ihor Radchenko wrote: > Vlastimil Vondra writes: > > > Org mode version 9.5.5 > > GNU Emacs 28.2 (build 2, x86_64-w64-mingw32) of 2022-09-13 > > We have made a number of fixes in this area in Org 9.6.

Re: org-insert-structure-template

2022-12-12 Thread Alain . Cochard
Anthony Carrico writes on Mon 12 Dec 2022 09:41: > On 12/12/22 09:20, alain.coch...@unistra.fr wrote: > > Perhaps you have in min > > >'<', followed by a template selector and ' > > Yes! > Was this deprecated because it isn't a regular emacs keybinding? I don't remember. It was

Re: org-insert-structure-template

2022-12-12 Thread Anthony Carrico
On 12/12/22 09:20, alain.coch...@unistra.fr wrote: Perhaps you have in min > '<', followed by a template selector and ' Yes! I didn't realize that could be enabled. I trained myself not to rely on this when the new keybinding came. Only recently did I realize the reason the new keybinding

Re: org-insert-structure-template

2022-12-12 Thread Anthony Carrico
On 12/12/22 09:04, Ihor Radchenko wrote: Note that we have alternative key bindings for TTY. See `org-use-extra-keys'. The general pattern is C-c C-x . Maybe we can add "C-c C-x ,"? Thanks, that is probably a good pattern to use. I'll look into org-use-extra-keys. This is the only keybinding

Re: org-insert-structure-template

2022-12-12 Thread Alain . Cochard
Anthony Carrico writes on Mon 12 Dec 2022 08:50: > I'm trying to remember what the old keybinding was before it got > switched to 'C-c C-,'... Perhaps you have in mind '<', followed by a template selector and ' ? See 17.2 Structure Templates: For example, ‘< s ’ creates a code block.

Re: Switching over from package org-radiobutton to native support

2022-12-12 Thread Ihor Radchenko
Terje Larsen writes: > However I am missing a function similar to `org-radiobutton-value`: > https://github.com/Fuco1/org-radiobutton/blob/master/org-radiobutton.el#L111-L121 > ... > I know it is possible via a mouthful of lisp. But it would be nice if it > was natively supported. It would also

Re: Org and Multimedia..?

2022-12-12 Thread Ihor Radchenko
David Masterson writes: > Is it possible to attach (say) an image to a task? > I'd like to use images to help explain tasks better (or just remind me > what my intention was). I imagine you could do something with file > links, but is there a defined method? Issues:

Re: Flyspell causes severe slowdown when manipulating footnotes

2022-12-12 Thread Ihor Radchenko
aroz...@gmail.com writes: > Happy to. What is the best way to temporarily downgrade to 9.5.5? I install > Emacs through this Arch AUR > package, which installs the latest version of Org automatically. If you have Emacs 28, Org 9.5.5 is built-in

Re: Flyspell causes severe slowdown when manipulating footnotes

2022-12-12 Thread arozbiz
Happy to. What is the best way to temporarily downgrade to 9.5.5? I install Emacs through this Arch AUR package, which installs the latest version of Org automatically. Best, Alan On Mon, Dec 12, 2022 at 3:32 AM Ihor Radchenko wrote: >

Re: org-insert-structure-template

2022-12-12 Thread Ihor Radchenko
Anthony Carrico writes: > I use this command all the time because the literal syntax is so heavy. > The problem is that the current keybinding is not available on the TTY, > and every time I use it there I get org-priority which is bound to 'C-c > ,'. Does anyone else find this frustrating?

Re: Two problems with export to Google calendar

2022-12-12 Thread Ihor Radchenko
Max Nikulin writes: >> By default, ox-icalendar takes the value of your TZ environment variable. > > I think, in most cases TZ is not set, so (format-time-string "%Z") is > used to get abbreviation (that is ambiguous). > > On Linux we may try > > timedatectl show --property=Timezone

Re: org-insert-structure-template

2022-12-12 Thread Anthony Carrico
I'm trying to remember what the old keybinding was before it got switched to 'C-c C-,'... -- Anthony Carrico

org-insert-structure-template

2022-12-12 Thread Anthony Carrico
I use this command all the time because the literal syntax is so heavy. The problem is that the current keybinding is not available on the TTY, and every time I use it there I get org-priority which is bound to 'C-c ,'. Does anyone else find this frustrating? Which keybinding do you use for

Re: Looking for new maintainer for ob-sql-mode

2022-12-12 Thread Ihor Radchenko
Nik Clayton writes: > I wrote https://github.com/nikclayton/ob-sql-mode as a thing that scratched > my own itch a few years ago. Since then my need for it has disappeared, but > kind people occasionally report issues or send PRs. > > I'm not really in a position to review them, so I'm looking

Re: Prevent files with excluded FILETAGS from being exported

2022-12-12 Thread Ihor Radchenko
Thomas Ingram writes: > Currently when trying to export an org file with FILETAGS set to > "noexport" (or any value in `org-export-exclude-tags') the file is still > exported with the title and top level text. I propose that be changed > so files with FILETAGS in `org-export-exclude-tags' are

Re: [PATCH] LSP support in org-src buffers

2022-12-12 Thread Ihor Radchenko
João Pedro writes: > Were you thinking of having a > =:context {yes|no}= option on src blocks? I am not sure if yes|no are good values. If an src block has :tangle option, it is probably reasonable to display it together with other tangled blocks. If an src blocks does not have a :tangle

Re: org-babel shell in windows not finishing command

2022-12-12 Thread Vlastimil Vondra
Hi Ihor, Org mode version 9.5.5 GNU Emacs 28.2 (build 2, x86_64-w64-mingw32) of 2022-09-13 Best regards, Vlastimil Vondra On Mon, 12 Dec 2022 at 13:39, Ihor Radchenko wrote: > Vlastimil Vondra writes: > > > I'm trying to run some shell block code (in windows they should evaluate > in > >

Re: org-babel shell in windows not finishing command

2022-12-12 Thread Ihor Radchenko
Vlastimil Vondra writes: > Org mode version 9.5.5 > GNU Emacs 28.2 (build 2, x86_64-w64-mingw32) of 2022-09-13 We have made a number of fixes in this area in Org 9.6. Please upgrade and let us know if you are still seeing the problem. -- Ihor Radchenko // yantar92, Org mode contributor, Learn

Re: PATCH: include controlling language= in my previous patch

2022-12-12 Thread Pedro Andres Aranda Gutierrez
Hi, I've (finally) followed the procedure and broken up the patch in two. One for the labels= ,caption= and one for the language= control. FYI, I have already cleared the FSF paperwork for an emacs patch. Best, /PA On Mon, 12 Dec 2022 at 11:11, Ihor Radchenko wrote: > Pedro Andres Aranda

Re: [PATCH] Make broken link markers customizable

2022-12-12 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Org provides no good way to ignore broken links when exporting subtrees > with lots of links. With `org-export-with-broken-links' set to `nil', > the exporter aborts. When set to `t', the exporter removes the linked > words altogether, breaking the sentences.

Re: org-babel shell in windows not finishing command

2022-12-12 Thread Ihor Radchenko
Vlastimil Vondra writes: > I'm trying to run some shell block code (in windows they should evaluate in > cmd). But when executing org-babel block code, it seems that org-babel is > not finishing the last command. What is your Org version and Emacs version? (the output of M-x org-version and M-x

Re: Problem in org-inlinetask-min-level's docstring?

2022-12-12 Thread Alain . Cochard
Ihor Radchenko writes on Fri 25 Nov 2022 10:33: > alain.coch...@unistra.fr writes: > > I do not understand the last sentence, even assuming that the 1st > > 'of' is 'or'. Is my English the problem? > > That sentence is indeed screwed up. > > Does `org-cycle-max-level' docstring sound

Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages

2022-12-12 Thread Ihor Radchenko
Ihor Radchenko writes: > Rudolf Adamkovič writes: > >> Slovak: >> >> ("sk" "Súbor" "L" "Časová značka" "Záhlavie" "Čas" "VŠETKO" "Celkový >> čas" "Čas súboru" "Časový súhrn pre") > > Thanks! A patch would make it easier for me to apply the change with a > proper attribution ;) I created and

Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages

2022-12-12 Thread Pedro Andres Aranda Gutierrez
This is why I'm using "Duración"... Being bilingual ES/DE I tried to align the Spanish translation to the German translation My .02c /PA On Mon, 12 Dec 2022 at 13:18, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > I'd rather go for > > > > ("es" "Archivo" "N" "Fecha y

Re: [BUG] ob-R.el: extra empty data.frame columns generated from plain lists after recent change [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-12 Thread Ihor Radchenko
Greg Minshall writes: >> ** List references in source block variable assignments are now proper lists > > just for background, one oddity is that the meaning of a "list" in R is > a bit loose. > ... > so, to me, at least, "proper list" is not a well-defined term in R. Sounds reasonable. I also

Re: [HELP] Translate/extend `org-clock-clocktable-language-setup' for Spanish/Dutch/more languages

2022-12-12 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > I'd rather go for > > ("es" "Archivo" "N" "Fecha y hora" "Tarea" "Duración" "TODO" "Duración > total" "Tiempo archivo" "Generado el") > > To be in line with the ("de" ...) line So, we have two suggested variants now: yours and from Esteban Ordóñez.

Re: [BUG] ob-R.el: extra empty data.frame columns generated from plain lists after recent change [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-12 Thread Greg Minshall
hi, Ihor, > ** List references in source block variable assignments are now proper lists just for background, one oddity is that the meaning of a "list" in R is a bit loose. > list(1,2,3) [[1]] [1] 1 [[2]] [1] 2 [[3]] [1] 3 > c(1,2,3) [1] 1 2 3 (where =c= is the "concatenation

[PATCH 1] lisp/org-fold.el: Fold header lines in blocks (was: Proposal: folding stacked `#+header:' lines in src blocks)

2022-12-12 Thread hugo
On 2022-12-07 19:58, Thomas S. Dye wrote: I would use this feature. My stack typically includes headers, a name, and a caption. It would be nice to fold them all out of sight. Great! I've worked up a patch (well, two patches), attached. Some details of the implementation: - folding blocks

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

2022-12-12 Thread Ihor Radchenko
Ihor Radchenko writes: > One possible fix could be replacing `comint-prompt-regexp' one more time > at the very end in addition to `org-babel-comint-prompt-separator'. We > must also make `comint-prompt-regexp' more precise to avoid "lude> " > being detected as a prompt. This is what I ended up

Re: [BUG] hyperbole action key on path name results in org-element-cache warning [9.6-pre (release_9.5.5-997-ge58bd0 @ /home/grfz/src/org-mode/lisp/)]

2022-12-12 Thread Ihor Radchenko
Robert Weiner writes: > So if we want to determine the Org type of an element outside of an Org > buffer (when using org-type minor modes for example), how would we change > this 'let' code: > > (let* ((context > ;; Only consider supported types, even if they are not > ;; the

Re: [PATCH] oc-csl: Improve LaTeX bibliography formatting

2022-12-12 Thread Ihor Radchenko
András Simonyi writes: >> Would it be possible >> to provide an example of bibliography output and how it is affected by >> the new custom variables? >> In the news, it could be example image indicating the distances, > > Hm, I tried to find an image in the ORG-NEWS file and even in the > Manual

Re: [PATCH] oc-csl: Improve LaTeX bibliography formatting

2022-12-12 Thread András Simonyi
Dear All, On Mon, 12 Dec 2022 at 10:07, Ihor Radchenko wrote: > Would it be possible > to provide an example of bibliography output and how it is affected by > the new custom variables? > In the news, it could be example image indicating the distances, Hm, I tried to find an image in the

Re: Autoloading side effects (was: Re: [BUG] org-mouse is activated without explicit require)

2022-12-12 Thread Ihor Radchenko
Max Nikulin writes: > On 11/12/2022 16:45, Ihor Radchenko wrote: >> We cannot do much about Emacs' handling of autoloads, but what we can >> (and should) do is changing org-mouse to become a global minor mode. >> Then, loading org-mouse will cause no side effects. > > I am afraid, requirement

Re: [PATCH] ob-core: add org-confirm-babel-evaluate-cell custom variable

2022-12-12 Thread Ihor Radchenko
Tom Gillespie writes: > Got it. Here's the updated patch (I think I did it correctly?). Thanks! You also need a NEWS entry here. > * lisp/ob-core.el (org-confirm-babel-evaluate-cell): Added to control > execution of cells separate from execution of src blocks, it works in > exactly the same

Re: PATCH: include controlling language= in my previous patch

2022-12-12 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > thanks for the patience. I have a comment on the message you refer to... If > comes from 2014. > > So I have resorted to my fresh Emacs29, opened it with emacs -Q for a clean > environment. > ... > In my most humble opinion, I looks like the global

Re: org-agenda-dim-blocked-tasks don't use org-todo face

2022-12-12 Thread Ihor Radchenko
Mark Kerr writes: > The org-todo face is used for todo keywords in non-blocked items. > > When org-agenda-dim-blocked-tasks is set to true, however, the todo keyword > is instead displayed using org-agenda-dimmed-todo-face. > > The org-priority face, however, is still used for blocked tasks. > >

Re: [BUG] ob-R.el: extra empty data.frame columns generated from plain lists after recent change [9.6 (release_9.6-3-ga4d38e @ /usr/share/emacs/30.0.50/lisp/org/)]

2022-12-12 Thread Ihor Radchenko
Jeremie Juste writes: > On Thursday, 8 Dec 2022 at 09:07, Ihor Radchenko wrote: > >> I am not sure if I like the approach you used in the commit. >> >> -(unless (listp (car value)) (setq value (list value))) >> +(unless (listp (car value)) (setq value (mapcar 'list value))) >>

Re: [PATCH] lisp/org-expiry.el: Account for org-time-stamp-formats

2022-12-12 Thread Ihor Radchenko
Tom Gillespie writes: > Looks like string-replace doesn't support that notation, > so both too aggressive and without sufficient control. > I've switched to replace-regexp-in-string which does > what we want. > > Here's the updated patch. Thanks! Note that your patch does not apply onto master.

Re: Flyspell causes severe slowdown when manipulating footnotes

2022-12-12 Thread Ihor Radchenko
aroz...@gmail.com writes: > Thanks. It definitely helps, but it's still quite slow. What's made the > biggest difference is is advising the relevant functions to turn flyspell > off beforehand and then turn it back on. Sure, but it is not going to help others. Could you try to produce the

Re: Flyspell process called frequently when using Org export (was: Flyspell causes severe slowdown when manipulating footnotes)

2022-12-12 Thread Ihor Radchenko
Rudolf Adamkovič writes: > Upon further investigation, Org frequently starts and kills the > spellchecker when the document contains `LocalWords' comments. > > 1. Start Emacs > >emacs -Q > > 2. Configure Flyspell > >(add-hook 'text-mode-hook #'flyspell-mode) >(add-hook

Re: To convert and simplify units in tables

2022-12-12 Thread Fraga, Eric
On Sunday, 27 Nov 2022 at 20:19, Ypo wrote: > The alternative way I am trying is using an org-table. It is not > literate programming, but it is a spreadsheet with units ;D > [...] > Now, in a more practical case, I have some problems with units: > > | $ | E = 2141404.05 kg/cm^2 | > | $

Re: [PATCH] oc-csl: Improve LaTeX bibliography formatting

2022-12-12 Thread Ihor Radchenko
András Simonyi writes: > first of all, apologies for the delay, unfortunately, I haven't been > able to work on my WIP patches for a while. Now I've attached a new > version of the patch, which hopefully addresses all issues discussed > earlier. Thanks! The patch looks good in general, but I

org-babel shell in windows not finishing command

2022-12-12 Thread Vlastimil Vondra
Hello, I'm trying to run some shell block code (in windows they should evaluate in cmd). But when executing org-babel block code, it seems that org-babel is not finishing the last command. If I run: #+begin_src shell :results output echo %cd% echo "hello" #+end_src then the output is