[BUG] commit 7048876f broke Figure link with caption [9.6 (release_9.6 @ /Users/powellb/src/org-mode/lisp/)]

2022-12-18 Thread Brian Powell
It seems that the following commit broke the ability to link to a figure with a caption. commit 7048876f6fa519513763c83bc5baa791420cddab Author: Ihor Radchenko Date: Tue Dec 13 11:44:22 2022 +0300 org-export-get-ordinal: Do not ignore ELEMENT type when TYPES is

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

2022-12-18 Thread Tim Cross
Ihor Radchenko writes: > Tim Cross writes: > >> Based on the information in section 17.13, how do I configure my Emacs >> so that >> >> 1. All the code in the files I wrote just runs and doesn't bother me with >> annoying execute questions. >> >> 2. Code in files from colleagues is shown to

Re: [BUG] exporting links with underscores

2022-12-18 Thread Leo Butler
On Sat, Dec 17 2022, Mike Gauland wrote: > On 17/12/22 11:32, Leo Butler wrote: >> Org version is 9.5.2; emacs version is 27.1. >> >> The manual does not indicate that underscores need to be escaped in >> links (and they can't be, as far as I can tell). The latex and html >> exporters interpret

Re: bug#59882: Multiple versions of Org in load-path problem

2022-12-18 Thread Stefan Monnier
> - "emacs -l org" to simulate a regular user session with some opened files. > - Update to Org-9.6 from ELPA. > - Close emacs and start it again "emacs -l org" > > Result: > byte-code: Invalid function: org-assert-version Hmm... there's code in `package.el` intended to avoid that problem, but

Re: bug#59882: Multiple versions of Org in load-path problem

2022-12-18 Thread Max Nikulin
On 16/12/2022 21:47, Ihor Radchenko wrote: Can it happen that already loaded version affects compilation of a new version by package-install. Yes. It is what appears to be happening: https://irreal.org/blog/?p=10996 https://irreal.org/blog/?p=10999 I would not call it steps to reproduce.

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

2022-12-18 Thread Justin Silverman
That makes sense. Yes it breaks some of my snippets which have a condition texmathp (I don't write latex without enclosing in latex math environment in org). Its an easy enough fix for me though: (add-hook 'org-cdlatex-mode-hook (lambda () (advice-remove 'texmathp

Re: Problems with C-c C-e file.org

2022-12-18 Thread Ihor Radchenko
andre duarte bueno writes: > When I try to export file.org using C-c C-e the window with the list of > possibilities appears. But it appears incomplete(visualization), so I try > to use the mouse to view the other export options and the system is > completely blocked. Every mouse click is

Re: Minor rendering issues in the Org Mode Compact Guide

2022-12-18 Thread Ihor Radchenko
Cauim de Souza Lima writes: > Hi, Org mode maintainers, > > While reading the compact guide, I found a couple of minor rendering issues: Thanks for reporting! Fixed on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=12e10eb0d > These issues seem to be present in the

Re: [PATCH][WORG] Fixes broken link to worg sources

2022-12-18 Thread Ihor Radchenko
gerard.vermeu...@posteo.net writes: > Hello, > > the attached patch fixes a broken link to the worg sources. > > Best regards -- Gerard > diff --git a/index.org b/index.org > index 84f69eea..8c6de883 100644 > --- a/index.org > +++ b/index.org > @@ -138,7 +138,7 @@ You can help us dedicate more of

Re: Bug? org-assert-version does not prevent mixed install

2022-12-18 Thread Ihor Radchenko
Max Nikulin writes: >> We might do something like >> >> (eval-and-compile (org-assert-version)) > > This will give obscure error during compiling since `org-assert-version' > is not defined. > > Unsure what will happen during load of the org.el file since org.elc is > not produced. Perhaps

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

2022-12-18 Thread Ihor Radchenko
Tim Cross writes: > Based on the information in section 17.13, how do I configure my Emacs > so that > > 1. All the code in the files I wrote just runs and doesn't bother me with > annoying execute questions. > > 2. Code in files from colleagues is shown to me and I'm asked if it > should be

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

2022-12-18 Thread Ihor Radchenko
Max Nikulin writes: >> I disagree. If anything, we can set the default value of >> `org-confirm-babel-evaluate-cell' to nil and apply this patch. >> >> Then, we can get the old behaviour back yet allowing concerned users to >> have more security. > > I am leaving it up to you. Form my point of

Re: Bug? org-assert-version does not prevent mixed install

2022-12-18 Thread Max Nikulin
On 18/12/2022 20:04, Ihor Radchenko wrote: Max Nikulin writes: It is possible to convert the error to a better one by checking if `org-assert-version' is bound in org.el. We might do something like (eval-and-compile (org-assert-version)) This will give obscure error during compiling since

Re: Failing to load, showing this 'Symbol's function definition is void: defvar-1'

2022-12-18 Thread Sharon Kimble
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Tim Cross writes: > Sharon Kimble writes: > >> I unfortunately upgraded this morning to emacs-30.0.50, and since then I >> can't get into my usual emacs of 29.0.50. >> >> When I'm loading emacs-29.0.50 from /usr/local/bin/ it is consistently

Re: [BUG] org-latex-src-block-backend is directly used as variable instead of querying export option (was: [Syntax discussion] Should we treat src blocks without LANG as paragraphs?)

2022-12-18 Thread Timothy
Hi Ihor and Max, >> P.S. I have accidentally noticed a suspicious line. I have not tried if >> it is real bug, but in `org-latex-make-preamble’ I expect a property >> obtained from the INFO argument, not global variable: >> >> lisp/ox-latex.el:2014: (when (and (eq org-latex-src-block-backend

Re: Bug: Function org-heading-components is not resilient [9.4.3 (9.4.3-elpa @ /home/data1/protected/.emacs.d/elpa/org-20201216/)]

2022-12-18 Thread Ihor Radchenko
Jean Louis writes: > Org commands could get slowly or speedy adopted not to be shown in > other modes by using the recent development of the command > `interactive' > > interactive is a special form in ‘C source code’. > > (interactive ARG-DESCRIPTOR MODES) > > If MODES is present, it should

[BUG] org-latex-src-block-backend is directly used as variable instead of querying export option (was: [Syntax discussion] Should we treat src blocks without LANG as paragraphs?)

2022-12-18 Thread Ihor Radchenko
Max Nikulin writes: > P.S. I have accidentally noticed a suspicious line. I have not tried if > it is real bug, but in `org-latex-make-preamble' I expect a property > obtained from the INFO argument, not global variable: > > lisp/ox-latex.el:2014: (when (and (eq org-latex-src-block-backend

Re: Agenda View Export with Clocking Gaps

2022-12-18 Thread Ihor Radchenko
Yifan Zhu writes: > In agenda view, all clocking gaps can be found by turning on > [c]lockcheck. However, if we export the agenda view (C-x C-w > (|org-agenda-write|) to a html file, the clocking gaps don't show up in > the resultant file. Is there anyway to include the clocking gaps in the

[Feature] Store heading properties remotely, outside the Org file (was: Completely hide properties drawer in 9.6)

2022-12-18 Thread Ihor Radchenko
Below is the idea how one can store heading properties in a separate file or even database. I think it might be of interest for users who hate property drawer clutter yet needed to store some metadata associated with Org headings. To be consistent with Org internal logic, we may, instead of

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

2022-12-18 Thread Ihor Radchenko
Ihor Radchenko writes: > Pedro Andres Aranda Gutierrez writes: > >> Next try... I'm learning a lot :-) > > Then, next set of comments. As discussed privately, I have addressed the comments myself. Now applied onto main. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=0c467b6b8

Re: [BUG] Org-9.6 declares compatibility with Emacs-25.1

2022-12-18 Thread Ihor Radchenko
Max Nikulin writes: > lisp/org.el:10:;; Package-Requires: ((emacs "25.1")) We should indeed bump the minimal required Emacs version. Should we use Emacs 26.3 as the minimal version? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at .

Re: Bug? org-assert-version does not prevent mixed install

2022-12-18 Thread Ihor Radchenko
Max Nikulin writes: > Is it possible to signal a fatal error during installing using emacs > machinery to prevent broken user configuration? My expectation that > result of failed compilation is ignored by emacs. > > It is possible to convert the error to a better one by checking if >

Re: [MAINTENANCE] Do we have any backwards-compatibility policy for third-party packages?

2022-12-18 Thread Ihor Radchenko
Ihor Radchenko writes: > Ok. Here are the tentative patches for Org manual and WORG maintenance > page. Applied. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=dd4e06ddc https://git.sr.ht/~bzg/worg/commit/432828ce -- Ihor Radchenko // yantar92, Org mode contributor, Learn

Re: Babel (scheme): Evaluation errors are not shown

2022-12-18 Thread Ihor Radchenko
Marc Nieper-Wißkirchen writes: > When I evaluate erroneous code of an Elisp code block like > > #+BEGIN_SRC elisp > (x) > #+END_SRC > > I see the error message ("Symbol's function definition is void: x") in > the minibuffer (and in the *Messages* buffer). > > This is not the case with Scheme

Re: [FR] Add support for racket images in org-babel

2022-12-18 Thread Ihor Radchenko
dalanicolai writes: > I have not asked anywhere yet, but I do not know a 'standard org-mode' way > to make org-mode show the plot images. Racket creates a temp image file and > returns a string that includes the path to the file. The actual format of > the string is: > > "\"#\"" > > I could

Re: Bash results broken?

2022-12-18 Thread Ihor Radchenko
Ihor Radchenko writes: > Confirmed. Fixed on bugfix. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=224799875 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at ,

[PATCH][WORG] replaces broken javascript with link

2022-12-18 Thread gerard . vermeulen
Hello, the attached patch replaces a snippet of broken javascript code with an org-mode link. Best regards -- Gerard worg-org-issues-replace-broken-javascript-with-link.patch Description: Binary data

[PATCH][WORG] Fixes broken link to worg sources

2022-12-18 Thread gerard . vermeulen
Hello, the attached patch fixes a broken link to the worg sources. Best regards -- Gerard worg-broken-link-to-worg-sources.patch Description: Binary data

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

2022-12-18 Thread Bastien Guerry
Sorry for the delay. Ihor Radchenko writes: >> FYI, I have already cleared the FSF paperwork for an emacs patch. > > Bastien, could you kindly confirm? Yes, I do confirm Pedro's FSF paperwork is in order. Thanks! -- Bastien

Problems with C-c C-e file.org

2022-12-18 Thread andre duarte bueno
When I try to export file.org using C-c C-e the window with the list of possibilities appears. But it appears incomplete(visualization), so I try to use the mouse to view the other export options and the system is completely blocked. Every mouse click is captured and displayed in the command

Minor rendering issues in the Org Mode Compact Guide

2022-12-18 Thread Cauim de Souza Lima
Hi, Org mode maintainers, While reading the compact guide, I found a couple of minor rendering issues: - Section 2.2 Visibility Cycling : "Org uses just two commands, bound to TAB and *{{{kbd{S-TAB)}}}* to change the visibility in

Re: [BUG] Org-9.6 declares compatibility with Emacs-25.1

2022-12-18 Thread Tim Cross
Timothy writes: > Hi Max, > >> Notice emacs-25.1 in the elpa package description: > > Yea, I’m pretty sure this is just an oversight. This should be bumped to 26. > Yep, that would be my assumption as well. Support is for the two previous releases i.e. 27.x and 26.x.