[BUG] Fix for inlinetask visibility cycling causes infinite loop for "degenerate" inlinetasks

2022-08-18 Thread Anders Johansson
Hi, I use "degenerate" inlinetasks (without an "*** END" line) quite a lot (for example for "coding" snippets in my orgqda package https://git.sr.ht/~andersjohansson/orgqda/). Degenerate inlinetasks are stated as allowed in the documentation at the beginning of org-inlinetask.el, but are maybe not

Re: [BUG] Fix for inlinetask visibility cycling causes infinite loop for

2022-08-18 Thread Anders Johansson
Something like this could work. Just ensuring that we haven’t ended back at the start of the current (degenerate) inlinetask. I don’t know if this would be the most elegant solution though. I also considered whether org-inlinetask-goto-end should really move to the point after the last line of a

Re: [QUESTION] How to specific image size attributes under headline scope?

2022-08-18 Thread Christopher M. Miles
Timothy writes: > Hi Christopher, > >> I want to specify image size under headline properties. Is it possible to do >> this? > > As I understand org.el, this is solely governed by > `org-display-inline-image--width', which only looks at `#+attr_*' keywords > when > setting an image width. > > A

org-plot/gnuplot

2022-08-18 Thread Roger Mason
Hello, I want to plot energy against variable from this table. #+plot: title "Final energy vs nkpt" ind:5 deps:(6) type:2d with:points | workdir | calcdir| volume| iscl |coa | variable | energy | |-+--+-

Re: org-encode-time bug

2022-08-18 Thread Morgan Smith
Ihor Radchenko writes: > org-encode-time is defined in org-macs.el in the latest Org, but _not_ > in built-in Org. What you are seeing is most likely caused by "mixed" > installation of Org when part of Org is loaded from built-in Org > distribution coming from Emacs. I was actually seeing htt

Re: [PATCH] Documentation and NEWS for ` org-latex-language-alist'

2022-08-18 Thread Max Nikulin
On 16/08/2022 21:16, Juan Manuel Macías wrote: Firefox may block downloading of a file through unencrypted http: protocol if a link is opened from a https: page (HTML version of the Org manual served from orgmode.org this case). The problem with CTAN mirrors is that not all hosts have TLS certi

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

2022-08-18 Thread Max Nikulin
On 27/07/2022 11:09, Tim Cross wrote: Ihor Radchenko writes: ob-asymptote has been moved out of the core after https://orgmode.org/list/87bl9rq29m@gnu.org Subject: Moving some lisp/ob-*.el files to org-contrib - your advice? So, we are not talking about adding a new library into the core.

C-c $ missing?

2022-08-18 Thread Summer Emacs
Hi everyone, first time posting. I hope it's okay to ask this here (I'm totally new): Since this morning (I updated a few packages but not sure which), C-c $ is missing in org mode? It's how I used to archive tasks when they were done. I know that I can use C-c C-x C-s but I used to just use C-c

Re: C-c $ missing?

2022-08-18 Thread Matt
On Thu, 18 Aug 2022 12:46:23 -0400 Summer Emacs wrote --- > > Hi everyone, first time posting. I hope it's okay to ask this here (I'm > totally new): Welcome! > Since this morning (I updated a few packages but not sure which), C-c $ > is missing in org mode? It's how I used to a

Re: [PATCH v2] ol-info: Define :insert-description function

2022-08-18 Thread Ihor Radchenko
Max Nikulin writes: > I have rewritten the patch to use `pcase' and to fix allowed separators > between file name and node. Thanks! > +(defun org-info--link-file-node (path) > + "Extract file name and node from info link PATH. > + > +Return cons consisting of file name and node name or \"Top\

Re: [PATCH] Re: No mathematics in Texinfo exports

2022-08-18 Thread Ihor Radchenko
Rudolf Adamkovič writes: >> First of all, checking version should probably be controlled by some >> customization. Especially when we export to .texi (which does not >> involve calling makeinfo), not to .info. > > I could not figure out how to tell between the two kinds of export. > > My attempt,

Re: Fwd: Re: Typo in info pages

2022-08-18 Thread Ihor Radchenko
ed...@openmail.cc writes: >> I stored this link with Org (mode): >> [[info:org#Formula syntax for Calc]] >> >> There, one can find >> >> if(typeof(vmean($1..$7)) =​= 12, string(""), vmean($1..$7); E’ >> >> which I believe that should be >> >> if(typeof(vmean($1..$7)) =​= 12, string("")

Re: Dates in headlines

2022-08-18 Thread Ihor Radchenko
Ypo writes: > I found it again: > > "If the headline contains a timestamp, it is removed from the link, > which results in a wrong link—you should avoid putting a timestamp in > the headline." > > https://orgmode.org/manual/Handling-Links.html#FOOT28 Unless I miss something, this footnote is p

Re: Show a warning/message when loading Org modules requiring external packages (was: :session for Julia in org babel?)

2022-08-18 Thread Ihor Radchenko
"Christopher M. Miles" writes: > I found ~org-load-modules-maybe~ load modules from ~org-modules~, it's a > list of ob-* or ol-* elisp modules. Not Julia modules. I searched > ~org-load-modules-maybe~ function invocation code in org-mode source > code, have not relative examples. Don't know how t

Re: C-c $ missing?

2022-08-18 Thread Summer Emacs
Matt @ 2022-08-18 19:19 : > On Thu, 18 Aug 2022 12:46:23 -0400 Summer Emacs wrote --- > > > > Hi everyone, first time posting. I hope it's okay to ask this here (I'm > > totally new): > > Welcome! ty! 🙃 > > Since this morning (I updated a few packages but not sure which), C-c $ >

Re: org-plot/gnuplot

2022-08-18 Thread Ihor Radchenko
Roger Mason writes: > I want to plot energy against variable from this table. > > ... > I think the #+plot: invocation is correct for org-plot/gnuplot but when > run I just get "user-error: Current buffer has no process". You need to have "gnuplot" Emacs package installed to be able to use org-p

Re: C-c $ missing?

2022-08-18 Thread Ihor Radchenko
Summer Emacs writes: > C-c C-x C-s was never in question. 🙃 I was asking what happened to 'C-c > $' because that *would* actually archive the subtree instead of having > to type out C-c C-x C-s. It's even in my notes for emacs commands to use > and I used to use it every day for DONE tasks. 🙃 > >

Re: [BUG] Fix for inlinetask visibility cycling causes infinite loop for "degenerate" inlinetasks

2022-08-18 Thread Ihor Radchenko
Anders Johansson writes: > Since April, an infinite loop is caused when cycling an entry containing > degenerate inlinetasks by commit: > 5f184b org-inlinetask.el: Fix visibility cycling for inlinetasks > > Sample for reproducing: > - > * Heading > *** Degenerate inlinetask >

Re: C-c $ missing?

2022-08-18 Thread Mark Barton
> On Aug 18, 2022, at 11:06 PM, Summer Emacs wrote: > > So I was just curious as to what happened to C-c $? On my Emacs setup C-c $ is mapped to flyspell-correct-word-before-point, but C-h b shows that it is bound to org-archive-subtree. Did you recently enable spellcheck in org mode? If

Re: C-c $ missing?

2022-08-18 Thread Summer Emacs
Mark Barton @ 2022-08-18 23:37 : > [... 5 lines elided] > On my Emacs setup C-c $ is mapped to flyspell-correct-word-before-point, but > C-h b shows that it is bound to org-archive-subtree. > Did you recently enable spellcheck in org mode? Aha! that must be it because I enabled flyspell glob