Re: org-insert-structure-template

2022-12-13 Thread Ihor Radchenko
Anthony Carrico writes: >> 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 that regularly bites me > on the TTY. C-c C-x , is actually not available (it is bound

Re: [BUG] org-mouse.el breaks org-open-at-point

2022-12-13 Thread Matt Lundin
Ihor Radchenko writes: > Matt Lundin writes: >> - What currently happens if org-mouse has been loaded: >> >> - calling "C-c C-o" with the keyboard cycles the visibility of the >> entry > Patches welcome! > > I think we need to modify `org-open-at-mouse' directly instead of > using

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

2022-12-13 Thread David O'Toole
Here are my suggested changes to the manual and change log. On Tue, Dec 13, 2022 at 11:32 AM David O'Toole wrote: > Sure, I would be happy to help out with the news and manual. > I will draft some changes and get back to you. > > >> This addition does sound useful. >> However, in addition to

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

2022-12-13 Thread András Simonyi
Dear All, On Tue, 13 Dec 2022 at 17:07, Timothy wrote: > Perhaps an ASCII approximation in an example block could work? Even if it’s > exaggerated to give the idea. yes, I'm also thinking of first trying to produce something in ASCII as the docstring will probably need it anyway, and we can

Re: 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-13 Thread Ihor Radchenko
Kévin Le Gouguec writes: > Just to make sure I understand this new setting correctly: by default, > despite org-cycle-hide-drawer-startup being t, it's ineffectual, because > org-startup-folded defaults to 'showeverything, right? Yes > (Asking because when reading the ORG-NEWS entry for the

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

2022-12-13 Thread Max Nikulin
On 12/12/2022 03:27, Tom Gillespie wrote: #+begin_src elisp :results none (setq-local org-confirm-babel-evaluate-cell (lambda (lang body) (ignore lang) (let ((rb (read body))) (not ; aka (unless condition t) (or (member rb '((or)

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

2022-12-13 Thread David Masterson
Ihor Radchenko writes: > David Masterson writes: > >> The documentation page for "4.4 External Links" could provide the >> answers to following questions: >> >> 1. What "file types" are supported by link type "file"? > > All. Though I am not sure what you mean by "supported". As in, if you

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

2022-12-13 Thread Max Nikulin
On 13/12/2022 08:53, Tom Gillespie wrote: +(defcustom org-confirm-babel-evaluate-cell t + "Confirm before evaluating a cell. +This follows the same conventions as `org-confirm-babel-evaluate'." Will it be clear to users what "cell" means in this context? Am I wrong that, roughly speaking,

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

2022-12-13 Thread David O'Toole
Sure, I would be happy to help out with the news and manual. I will draft some changes and get back to you. > This addition does sound useful. > However, in addition to changes in the code, it would be helpful to > provide appropriate news entry and manual changes. > On Tue, Dec 13, 2022 at

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

2022-12-13 Thread Ihor Radchenko
David Masterson writes: >>> 2. If #1 depends on some org variable settings, can you mention what >>> variables control the answer to #1? >> >> If you mean "can open", then see the next section. > > Ahh, maybe I am in the wrong section. I think, what I want is > org-open-at-point (which could be

Re: 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-13 Thread Kévin Le Gouguec
Ihor Radchenko writes: > Thanks for the heads-up! > Fixed on bugfix. > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=4323a19b1 > https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=47bcdce19 Fixes duly noted, thanks  Just to make sure I understand this new

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

2022-12-13 Thread David Masterson
Ihor Radchenko writes: > David Masterson writes: > 2. If #1 depends on some org variable settings, can you mention what variables control the answer to #1? >>> >>> If you mean "can open", then see the next section. >> >> Ahh, maybe I am in the wrong section. I think, what I want is

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

2022-12-13 Thread Timothy
Hi Ihor and András, > In the news, it could be example image indicating the distances, while > in the docstrings you can schematically indicate the spacings using text > example. Perhaps an ASCII approximation in an example block could work? Even if it’s exaggerated to give the idea. All the

Re: Keys to Category Filter Agenda

2022-12-13 Thread Ihor Radchenko
Colin Baxter writes: > > Initial prompt buffer only describes bindings for that buffer. > > They are totally different from agenda-mode buffer. > > That is not correct for the '<' key. You are told "Restriction is only > possible in Org buffers". In my opinion the distinction of the '<'

Re: Does variable 'org-goto-interface' exist?

2022-12-13 Thread Alain . Cochard
Ihor Radchenko writes on Tue 13 Dec 2022 09:33: > alain.coch...@unistra.fr writes: > > > At the end of section 2.3 (Motion) of the manual: > > > > See also the variable ‘org-goto-interface’. > > > > But this variable does not seem to exist. > > It does, but you need to load

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

2022-12-13 Thread Ihor Radchenko
Max Nikulin writes: >> We have `org-modules' that can handle calling `org-link-set-parameters'. > > Sorry, but I have not got your idea. Currently `org-modules' is just a > list of packages that should be loaded with org.el. > > It is possible to introduce some convention either in Org or in

Re: 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-13 Thread Ihor Radchenko
Kévin Le Gouguec writes: > 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

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

2022-12-13 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > thanks for the patience. I hope to have implemented all suggestions by now. No. You missed several. 1. :version is not necessary. See 15.1 Common Item Keywords section of Elisp manual: 2. Please also provide changelog entries. See

Re: [BUG] org-mouse is activated without explicit require

2022-12-13 Thread Max Nikulin
On 13/12/2022 16:52, Ihor Radchenko wrote: Max Nikulin writes: We have `org-modules' that can handle calling `org-link-set-parameters'. ...> We can simply process 'ol-* in `org-modules' specially. I do not consider it is a good idea. Third party packages may call `org-link-set-parameters'

Re: Does variable 'org-goto-interface' exist?

2022-12-13 Thread Max Nikulin
On 13/12/2022 18:43, Ihor Radchenko wrote: + Note: ~org-goto-*~ variables are only accessible when =org-goto= + library is loaded using ~require~ statement in the config or + auto-loaded by calling ~org-goto~ interactively. Perhaps it is better to introduce some more concise notation to

Re: How to disable completely org-persist

2022-12-13 Thread Ihor Radchenko
Ihor Radchenko writes: > Colin Baxter writes: > >> I too would like a means to disable org-persist. I don't doubt it may be >> useful for those users with "large" org files with multiply src-blocks, >> etc., etc., but, for me, I have not found any improvement in >> performance. As remarked by

Re: Does variable 'org-goto-interface' exist?

2022-12-13 Thread Alain . Cochard
Ihor Radchenko writes on Tue 13 Dec 2022 11:43: > Does the attached patch help with understanding? Yes, for me this is perfectly clear. I have a practical question, though: in order to see the effect of your patch in context, I applied it in my git repository and did make && make doc I

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-13 Thread Johan Tolö
Greg Minshall writes: 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 operator".) so, to me, at least, "proper list" is not a well-defined term in R. cheers, Greg =c= is "a generic function which combines its arguments"

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

2022-12-13 Thread Pedro Andres Aranda Gutierrez
Hi, thanks for the patience. I hope to have implemented all suggestions by now. BR,/PA On Tue, 13 Dec 2022 at 10:24, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > I've (finally) followed the procedure and broken up the patch in two. One > > for the labels= ,caption=

Re: Does variable 'org-goto-interface' exist?

2022-12-13 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > > It does, but you need to load org-goto library first. > > (It is also auto-loaded when you call org-goto via key binding) > > I see. Thank you. (I guess it wouldn't hurt to mention this in the > manual.) Does the attached patch help with understanding?

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

2022-12-13 Thread Ihor Radchenko
"David O'Toole" writes: > 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

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

2022-12-13 Thread Ihor Radchenko
David Masterson writes: > The documentation page for "4.4 External Links" could provide the > answers to following questions: > > 1. What "file types" are supported by link type "file"? All. Though I am not sure what you mean by "supported". > 2. If #1 depends on some org variable settings,

Re: Does variable 'org-goto-interface' exist?

2022-12-13 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > I have a practical question, though: in order to see the effect of > your patch in context, I applied it in my git repository and did > >make && make doc > > I then can see the change in the org.pdf file, but not in the Info > manual, although I used > >

Re: Org functions in source blocks

2022-12-13 Thread Max Nikulin
On 12/12/2022 10:23, William Denton wrote: On 10 December 2022, Max Nikulin wrote: @I$A and the "remote" function are available in table formulas only. ... I'll be back with more questions eventually, Using source blocks you may define new functions that you may call from table formulas.

Radio links work only in small numbers

2022-12-13 Thread Rudolf Adamkovič
Greetings smart people! All [[link]]s in my notes perfectly match LEVEL-1 headings, so I figured that I may as well ask Org to make links for me. So, I replaced all the ~4000 headings in my notes with radio <<>>. However, Org now errors out with "Regular expression too big". Does anyone know

Re: [BUG] issue with texmathp [9.6 (release_9.6-22-g78d283 @ /home/jds6696/.emacs.d/straight/build/org-mode/)]

2022-12-13 Thread Justin Silverman
Thanks for the quick response. I just had a chance to check it out. Unfortunately (unless I am mistaken), with the change, `texmathp' is now always returning t... which is not very helpful. Justin Ihor Radchenko writes: > Justin Silverman writes: > >> texmathp when used in org-mode seems

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

2022-12-13 Thread Tom Gillespie
> Will it be clear to users what "cell" means in this context? I assume the language was originally chosen with tables in mind, but I think it is clear? The one issue is that using org-babel-confirm-evaluate doesn't use the word "cell" in the yes-or-no-p prompt. > Am I wrong that, roughly

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

2022-12-13 Thread Kaushal Modi
On Tue, Dec 13, 2022 at 3:52 AM Ihor Radchenko wrote: > Kaushal Modi writes: > > > 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

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

2022-12-13 Thread Rudolf Adamkovič
Ihor Radchenko writes: > A patch would make it easier for me to apply the change with a proper > attribution ;) Ihor patches code faster than others poll their e-mail. Thanks! :) Rudy -- "Thinking is a momentary dismissal of irrelevancies." -- Richard Buckminster Fuller, 1969 Rudolf

Timestamps being changed in exporting to HTML ?

2022-12-13 Thread David Masterson
I just noticed that Org timestamps of the following form: <2006-11-02 Thu 20:00-22:00> are being changed to this form in HTML export: <2006-11-02 Thu 20:00>-<2006-11-02 Thu 22:00> # note single '-' Is this proper? -- David Masterson

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-13 Thread Greg Minshall
hi, Johan, > "Proper list" in the context of this discussion and pertaining to R > would be a =list()=, not a vector which is what is usually returned by > =c()=. A =data.frame()= is a special case of a =list()= where every > column has to have the same length. well, it's a language mapping

Re: 2a529ee57 org-element: Autoload org-element-use-cache

2022-12-13 Thread Kyle Meyer
Ihor Radchenko writes: > You wrote in the commit message that autoload.el is deprecated in Emacs > 29. Do we need to do anything about it in Org make system? Yes, though I don't consider it urgent given the deprecation hasn't even made it into a release. I was planning on doing something like

Completely hide properties drawer in 9.6

2022-12-13 Thread Sterling Hooten
First of all, thanks to everyone for working on 9.6! I'm trying to clone Lotus notes in Org mode. This requires certain properties to be generated for every heading (e.g., ID, creation time, modification time, etc.). But these are mainly used for searching and sorting, and rarely of interest to

Re: 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-13 Thread Kévin Le Gouguec
Ihor Radchenko writes: > Kévin Le Gouguec writes: > >> Just to make sure I understand this new setting correctly: by default, >> despite org-cycle-hide-drawer-startup being t, it's ineffectual, because >> org-startup-folded defaults to 'showeverything, right? > > Yes Gotcha  >> (Asking

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

2022-12-13 Thread Pedro Andres Aranda Gutierrez
Next try... I'm learning a lot :-) BR,/PA On Tue, 13 Dec 2022 at 12:51, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > thanks for the patience. I hope to have implemented all suggestions by > now. > > No. You missed several. > > 1. :version is not necessary. See 15.1

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

2022-12-13 Thread Alain . Cochard
Ihor Radchenko writes on Tue 13 Dec 2022 07:36: > 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 > > \\{\\}"".

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

2022-12-13 Thread Ihor Radchenko
Kaushal Modi writes: > 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

Re: Two problems with export to Google calendar

2022-12-13 Thread Ihor Radchenko
Max Nikulin writes: > The TZ environment variable is not set and that is the issue. Otherwise > the .ics file would have > > X-WR-TIMEZONE:Europe/London > > The problem is that there is no API to get time zone identifier in elisp > because such function is missed in libc. It is possible to get

Re: Keys to Category Filter Agenda

2022-12-13 Thread Colin Baxter
> Ihor Radchenko writes: > Colin Baxter writes: >> Indeed. I understand that, but the question was about '>' not >> '<'. The initial agenda buffer has >> >> < Buffer, subtree/region restriction > Remove restriction >> >> If I remove the restriction with >, as

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

2022-12-13 Thread Ihor Radchenko
Tom Gillespie writes: > 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! LGTM. I will wait a few more days in case if other contributors have something to say and then apply

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

2022-12-13 Thread Ihor Radchenko
Tom Gillespie writes: > Here's the rebased patch. It should apply without issue. Best! Applied. https://git.sr.ht/~bzg/org-contrib/commit/b6712e688b3a54c54b80ab34525d4672ff2a8d7a Marcel, note that your recent patch has been overwritten. Let me know if you have any objections. Also, if you see

Re: 2a529ee57 org-element: Autoload org-element-use-cache

2022-12-13 Thread Ihor Radchenko
Hi, You wrote in the commit message that autoload.el is deprecated in Emacs 29. Do we need to do anything about it in Org make system? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at

Does variable 'org-goto-interface' exist?

2022-12-13 Thread Alain . Cochard
At the end of section 2.3 (Motion) of the manual: See also the variable ‘org-goto-interface’. But this variable does not seem to exist. -- EOST (École et Observatoire des Sciences de la Terre) ITE (Institut Terre & Environnement) | alain.coch...@unistra.fr 5 rue René Descartes

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

2022-12-13 Thread Ihor Radchenko
h...@heagren.com writes: > Great! I've worked up a patch (well, two patches), attached. > > Some details of the implementation: > - folding blocks now cycles: >- everything folded (only top header line visible if present, > otherwise only `#+begin' line visible). >- all content

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

2022-12-13 Thread Ihor Radchenko
Pedro Andres Aranda Gutierrez writes: > I've (finally) followed the procedure and broken up the patch in two. One > for the labels= ,caption= and one for the language= control. Thanks! You also need to provide etc/ORG-NEWS entry since we are adding a new feature here. > FYI, I have already

Re: Does variable 'org-goto-interface' exist?

2022-12-13 Thread Ihor Radchenko
alain.coch...@unistra.fr writes: > At the end of section 2.3 (Motion) of the manual: > > See also the variable ‘org-goto-interface’. > > But this variable does not seem to exist. It does, but you need to load org-goto library first. (It is also auto-loaded when you call org-goto via key