Re: could a :var header argument refer to a data table in another file?

2021-04-30 Thread Michael Welle
Hello, Eric S Fraga writes: > Hello all, > > TL;DR: I have the need to reference a table that is in another file to > pass as data to a src block in the current file. Is this possible? > Hints welcome! I smell something strange going on here ;). For every Org related question I had in the last

Re: Notes about citations in Org (part 3)

2021-04-30 Thread Bastien
Hi Nicolas, Nicolas Goaziou writes: > This post is an update about "wip-cite-new" branch, which I rebased > a few minutes ago. I'm attaching a call for help to this thread so that more people can test this before we merge it into master. Thanks again for this important work! -- Bastien

Re: Bug: Org mode fails to compile using Emacs 24.5-r10 [9.4.5 (9.4.5-g3ea248 @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-04-30 Thread Kyle Meyer
Ihor Radchenko writes: > I was recently testing Org mode using old Emacs versions. Running make > on master fails with the following errors and warnings: Here are a few notes on ones present in maint that I've glanced at. > Compiling /home/yantar92/Git/org-mode/lisp/ol-eww.el... > > In

Re: [PATCH] Fix numbering of captioned images

2021-04-30 Thread Kyle Meyer
Pablo Barraza Cornejo writes: > Sounds good to me! I've modified the patch to reflect this change. [...] > Subject: [PATCH] ox-html.el/inline-image export: Fix caption numbering Thanks. Pushed (390063d8d).

Re: Big problem: org agenda freezes my process

2021-04-30 Thread Ihor Radchenko
torys.ander...@gmail.com (Tory S. Anderson) writes: > Lately, when I try to view an orgmode agenda it seems that two things make it > cause my emacs CPU threat to spin to max and freeze up, which is a huge > problem since I'm an exwm user and live in my agenda view. As far as I've > been able

Bug: org-columns does not respect global-visual-line-mode for long text within headlines

2021-04-30 Thread Nick Savage
Hello everyone, I'm filing a bug in relation to org-columns and its interactions with global-visual-line-mode, which I do not think is expected behaviour. 1. Start `emacs -Q' 2. Create /tmp/test.org (or something like this) 3. Enable M-x global-visual-line-mode 4. Insert the following (or

Re: stability of toc links

2021-04-30 Thread Greg Minshall
in this thread... > > The publish feature only means exporting several files at once. > You can publish a single file, too. It makes sense when a file is always > exported to the same location, possibly with the same configuration. my model is that exporting is to publishing as, well, as org

Re: Bug: First file opened does not colorize (tested with 9.3.7 and 9.4.5)

2021-04-30 Thread Tim Cross
What about running emacs -Q and then opening the org file. Does the syntax highlighting work then? Dominick Samperi writes: > Changing the suffix to .org does not help. Still the first file opened > does not colorize. > I first observed this problem about six months ago (and have been > using

Re: Bug: First file opened does not colorize (tested with 9.3.7 and 9.4.5)

2021-04-30 Thread Dominick Samperi
Changing the suffix to .org does not help. Still the first file opened does not colorize. I first observed this problem about six months ago (and have been using a function key to fix with 'org-mode-restart). The problem does not appear on a new desktop, running the same version of Emacs, same

Re: Bug: First file opened does not colorize (tested with 9.3.7 and 9.4.5)

2021-04-30 Thread Samuel Wales
what if .org? On 4/30/21, Dominick Samperi wrote: > The first org mode file opened (.txt suffix) is not colorized. To force > colorize I use 'org-mode-restart. Subsequently opened txt files are > properly colorized. This happens under Windows 10 using Emacs 27.1 and > 27.2, and org-mode 9.3.7

Bug: First file opened does not colorize (tested with 9.3.7 and 9.4.5)

2021-04-30 Thread Dominick Samperi
The first org mode file opened (.txt suffix) is not colorized. To force colorize I use 'org-mode-restart. Subsequently opened txt files are properly colorized. This happens under Windows 10 using Emacs 27.1 and 27.2, and org-mode 9.3.7 and 9.4.5. There are no problems under Ubuntu Linux. Oddly,

Re: How to create a macro that inserts multiline text with :B_ignoreheading: tag?

2021-04-30 Thread Richard Stanton
That works. Thanks Juan Manuel! > On Apr 30, 2021, at 1:40 PM, Juan Manuel Macías > wrote: > > Hi Richard, > > Richard Stanton writes: > >> I’d like to define a macro called, say, articletext, to insert this >> header into my document before exporting to LaTeX, so the org file >> would look

Re: wip-cite status question and feedback

2021-04-30 Thread Denis Maier
Hi Nicolas, thanks for all you work on this one. I don't have a setup where I can test this, but from what I can tell this looks quite good already. Am 30.04.2021 um 15:28 schrieb Nicolas Goaziou: [...] OK. I wrote a POC, and I would appreciate some feedback about it. In order to test it,

Re: stability of toc links

2021-04-30 Thread Tim Cross
Nicolas Goaziou writes: > Hello, > > Samuel Loury writes: > >> The publish feature only means exporting several files at once. > > You can publish a single file, too. It makes sense when a file is always > exported to the same location, possibly with the same configuration. > >> IIUC, what

Re: Big problem: org agenda freezes my process

2021-04-30 Thread Tim Cross
torys.ander...@gmail.com (Tory S. Anderson) writes: > I've been trying to debug a nearly show-stopping issue for a few weeks now; > the > next step is a more thorough bisection of my setup, but I wanted to send this > in > case anyone else experiences this or already knows the solution. > >

Re: How to create a macro that inserts multiline text with :B_ignoreheading: tag?

2021-04-30 Thread Juan Manuel Macías
Hi Richard, Richard Stanton writes: > I’d like to define a macro called, say, articletext, to insert this > header into my document before exporting to LaTeX, so the org file > would look something like this: > > {{{article text}}} > This text appears only in the article version. Macro

Big problem: org agenda freezes my process

2021-04-30 Thread Tory S. Anderson
I've been trying to debug a nearly show-stopping issue for a few weeks now; the next step is a more thorough bisection of my setup, but I wanted to send this in case anyone else experiences this or already knows the solution. Lately, when I try to view an orgmode agenda it seems that two things

Re: [PATCH] Bug: fragile org refile cache

2021-04-30 Thread Maxim Nikulin
On 29/04/2021 23:08, Ihor Radchenko wrote: Did you do any benchmarks? I just tried Outline path without cache: I have expanded your tests to make them more close to org-get-outline-path org-get-outline-path without cache | 5.459114059 | 12 | 1.205358000987 | org-get-outline-path with

How to create a macro that inserts multiline text with :B_ignoreheading: tag?

2021-04-30 Thread Richard Stanton
I’m using org mode to create Beamer presentations, also using beamerarticle so I can create an article version of my slides with extra text. This article by James Harkins was very helpful in getting started: https://orgmode.org/worg/exporters/beamer/beamer-dual-format.html

Re: Programmatically set TODO labels per file?

2021-04-30 Thread Arthur Miller
Arthur Miller writes: If anyone is interested, this is how I understand the org TODO per file parsing: The file is parsed in org-collect-keywords-1 in org.el. Each #+TODO: line is lumped into one single string, which is a problem when strings with spaces a concerned. Multiple #+TODO: lines

Re: Fwd: Bug: Texinfo export: Inline images are NOT rendered in INFO viewer [9.4.5 (release_9.4.5-354-g40b70c @ /home/rameshnedunchezian/src/org-mode/lisp/)]

2021-04-30 Thread Nicolas Goaziou
Hello, Ramesh Nedunchezian writes: > Bug: Texinfo export: Inline images are NOT rendered in INFO viewer Fixed. Thank you. Regards, -- Nicolas Goaziou

Re: wip-cite status question and feedback

2021-04-30 Thread Nicolas Goaziou
Hello, "Bruce D'Arcus" writes: > But an example from American English for illustration, derived from > Denis' examples. > > "A simple quote" [cite:@doe]. > > When rendered, that should be this in an author-date style: > > "A simple quote" (Doe 2021). > > ... and this in a note style: > > "A

Re: org-attach-attach in an org-capture template?

2021-04-30 Thread Ihor Radchenko
Tim Visher writes: > I also believe I could do this with one of the org-capture hooks but > examining them I didn't see the obvious right one to add my function to. I > would think it would be the org-capture-prepare-finalize-hook and I may > just give that a try. Capture hooks should be the

[PATCH] Possibility of using alternative separators in macros

2021-04-30 Thread Juan Manuel Macías
Hi all, I would like to propose (patch attached) the possibility of using an alternate character for separate arguments in replacement macros, following a suggestion from Nicolas Goaziou in this (closed) thread: https://orgmode.org/list/87o8ead42u@nicolasgoaziou.fr/ The idea would be to

Re: [PATCH] Have C-c C-c recognise #+plot lines

2021-04-30 Thread Bastien
Eric S Fraga writes: > I get this when I try: Thanks - I see what's wrong, I'll fix it. -- Bastien

Re: [PATCH] Have C-c C-c recognise #+plot lines

2021-04-30 Thread Eric S Fraga
On Friday, 30 Apr 2021 at 20:16, Timothy wrote: > Thank you for taking the time to check this in what sounds like a busy > day, and the backtrace. It's much appreciated :) Thank you. All days are busy (for all/most of us, I'm sure) but org is a major part of my day's work so always happy to try

Re: stability of toc links

2021-04-30 Thread Maxim Nikulin
On 30/04/2021 13:24, Timothy wrote: Dominique Dumont writes: For what it's worth, DNS servers faces a similar problem where host names can contain any unicode character, but DNS servers support only ascii char. In DNS cases, this is worked around using punycode. (1) Using the example above,

Re: [PATCH] Have C-c C-c recognise #+plot lines

2021-04-30 Thread Timothy
Eric S Fraga writes: > I have updated org. Problem persists. > > Attached is a full backtrace after hitting C-u C-c C-c on a table. The > document itself has 2 headings and a small table. > > I unfortunately cannot spend more time on this at the moment as I have a > presentation to make this

Re: W3C violations in Org's HTML export

2021-04-30 Thread Bruce D'Arcus
On Fri, Oct 23, 2020 at 3:46 PM TEC wrote: > ** Suggestion >Make the subtitle an independent element, is can still be a >p.subtitle, just not /inside/ the h2 title Have you seen this? Suggests wrapping title h* and p within a header.

Re: [PATCH] ob-sql: blocks without :engine get stuck in org-edit-src-code on indent

2021-04-30 Thread Ivan Sokolov
> what you want to do? I want to indent some sql in the src block in an org file. > what happens instead Buffer becomes unusable -- text is entered in the opposite direction until the Org-Src buffer is closed. NOTE: I am not opening this buffer myself, it is opened by org-indent-line, but is

Re: stability of toc links

2021-04-30 Thread Nicolas Goaziou
Hello, Samuel Loury writes: > The publish feature only means exporting several files at once. You can publish a single file, too. It makes sense when a file is always exported to the same location, possibly with the same configuration. > IIUC, what was written was that when using the publish

Re: [PATCH] Have C-c C-c recognise #+plot lines

2021-04-30 Thread Eric S Fraga
I have updated org. Problem persists. Attached is a full backtrace after hitting C-u C-c C-c on a table. The document itself has 2 headings and a small table. I unfortunately cannot spend more time on this at the moment as I have a presentation to make this afternoon and it's not quite

Re: [PATCH] Have C-c C-c recognise #+plot lines

2021-04-30 Thread Eric S Fraga
On Friday, 30 Apr 2021 at 16:52, Timothy wrote: > I checked the docs for `org-table-recalculate' and based on manually > calling it compared the behaviour to C-u C-c C-c on a table and noticed > no difference, but I'm not familiar with the intended functionality so > an example from Eric (or

Re: Additional indices in TexInfo exporter: FR or may be just a note ...

2021-04-30 Thread Nicolas Goaziou
Hello, Ramesh Nedunchezian writes: > 1. (May be) support for additional indices in TexInfo exporter. You can use #+texinfo: @fooindex whatever > 2. Use `info' function--as opposed to `info' binary--to open an >exported INFO file. IOW, don't use `org-open-file', but use `info' >

Re: Programmatically set TODO labels per file?

2021-04-30 Thread Arthur Miller
Nick Dokos writes: > Arthur Miller writes: > >> I have a simple question, but I wasn't able to find answer on the web, >> so finally I'll try my luck here. >> > >> I know I can setq org-todo-keywords with a list '((sequence "TODO" >> DONE")), as an example. But what variable is used for

Re: Bug: Texinfo export: Inline images are NOT rendered in INFO viewer [9.4.5 (release_9.4.5-354-g40b70c @ /home/rameshnedunchezian/src/org-mode/lisp/)]

2021-04-30 Thread Ramesh Nedunchezian
On 30/04/21 3:34 pm, Ramesh Nedunchezian wrote: > 1. Unzip the attached zip file. Forgot to remove '.git' folder in the root before zipping. Sorry about this. So, when you unzip the file, and you see a bunch of git-ted files, don't be confused. The MWE is still in there.

Re: stability of toc links

2021-04-30 Thread Samuel Loury
Hi. I understood differently. Tim Cross writes: [...] > A question to help me understand this issue. > > If I understand correctly, exporting to HTML does not guarantee > stability of TOC links. If you export as HTML, send someone a link from > the toc and then re-export the document, the

Re: W3C violations in Org's HTML export

2021-04-30 Thread Timothy
Bastien writes: >> ** Suggestion >>Make the subtitle an independent element, is can still be a >>p.subtitle, just not /inside/ the h2 title > > Agreed, can you provide a patch for this? I'll add that to my todo list. >> ** Suggestion >>Remove the ' type="text/javascript"' part of

Re: [PATCH] Have C-c C-c recognise #+plot lines

2021-04-30 Thread Timothy
Bastien writes: > Eric S Fraga writes: > >> Further on this, I don't have time to debug right now but the patch >> seems to have broken org table recalculation, specifically C-u C-c C-c >> on a table. > > Thanks for reporting - Tim can you double-check this? I checked the docs for

Re: W3C violations in Org's HTML export

2021-04-30 Thread Bastien
Hi Timothy, TEC writes: > * Error: Element p not allowed as child of element h2 in this > context > Org currently seems to put a p.subtitle inside the heading. > This violates the "phrasing content" restriction. > >

Re: [PATCH] Have C-c C-c recognise #+plot lines

2021-04-30 Thread Bastien
Eric S Fraga writes: > On Thursday, 29 Apr 2021 at 02:04, Timothy wrote: >> Have you had a chance to test this out? > > Further on this, I don't have time to debug right now but the patch > seems to have broken org table recalculation, specifically C-u C-c C-c > on a table. Thanks for reporting

Re: [PATCH] Have C-c C-c recognise #+plot lines

2021-04-30 Thread Eric S Fraga
On Thursday, 29 Apr 2021 at 02:04, Timothy wrote: > Have you had a chance to test this out? Further on this, I don't have time to debug right now but the patch seems to have broken org table recalculation, specifically C-u C-c C-c on a table. Have to run to a meeting but will try to check this

Re: Bug: Org mode fails to compile using Emacs 24.5-r10 [9.4.5 (9.4.5-g3ea248 @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-04-30 Thread Bastien
Hi Ihor, Ihor Radchenko writes: > Compiling /home/yantar92/Git/org-mode/lisp/ob-gnuplot.el... > > In end of data: > ob-gnuplot.el:299:1:Warning: the function ‘file-local-name’ is not known to be > defined. > > Compiling /home/yantar92/Git/org-mode/lisp/org.el... > > In

Additional indices in TexInfo exporter: FR or may be just a note ...

2021-04-30 Thread Ramesh Nedunchezian
TLDR: 1. (May be) support for additional indices in TexInfo exporter. 2. Use `info' function--as opposed to `info' binary--to open an exported INFO file. IOW, don't use `org-open-file', but use `info' function directly. (2) would be nice to have. I had a need to

Re: Bug: Org mode fails to compile using Emacs 24.5-r10 [9.4.5 (9.4.5-g3ea248 @ /home/yantar92/.emacs.d/straight/build/org/)]

2021-04-30 Thread Bastien
Hi Tim and everyone, Tim Cross writes: > I do think it is probably time to drop support for Emacs 24 in the next > major release. However, we cannot drop it 'mid release'. yes, I'm in favor of dropping support for Emacs < 25.1 for Org 9.5. Unless Nicolas, Kyle and Jack think otherwise, I'll

Re: [PATCH] org-protocol: Fix missing '+' in js snippet

2021-04-30 Thread Bastien
Hi Maxim, Maxim Nikulin writes: > On 28/04/2021 12:40, you wrote: >> Hi Maxim, >> Would you like to volunteer as the maintainer for org-protocol.el? >> For now org-protocol.el indicates that Sebastian Rose, the original >> author, is the maintainer, but I don't think he would mind handing it >>

Re: [PATCH] Have C-c C-c recognise #+plot lines

2021-04-30 Thread Bastien
Hi Timothy, Timothy writes: > Now that Eric and I have both tested this, and Nicolas' comments have > been taken into account, it would be great if a core maintainer could > consider applying this patch :) Done with commit aea31b065 in master, thanks to everyone in this thread. I allowed

Re: [PATCH] fix point position shifting in some org-src instances

2021-04-30 Thread Bastien
Hi Timothy, thanks for reporting this. Timothy writes: > I've noticed for a while that if you have a block with > overlays/invisible characters that editing it with `org-edit-special' > moves the point around. > > For example, with Org pretty entities enabled, and █ indicating the > cursor, if

Re: [PATCH] ob-sql: blocks without :engine get stuck in org-edit-src-code on indent

2021-04-30 Thread Bastien
Hi Ivan, thanks for the bug report. Ivan Sokolov writes: > user-error in sql-set-product interrupts normal execution flow in > org-indent-line for sql blocks without :engine. Sorry, I don't really understand what is the exact problem here. Can you restate it by explaining what you want to do,

Re: [PATCH] Have C-c C-c recognise #+plot lines

2021-04-30 Thread Timothy
Now that Eric and I have both tested this, and Nicolas' comments have been taken into account, it would be great if a core maintainer could consider applying this patch :) -- Timothy p.s. I'm specifically making a new reply to the version of the patch that should be looked at, in the hope that

Re: Bug: [patch] fix: ox-rss died when an entry had an empty date [ ( @ /home/arne/.guix-profile/share/emacs/site-lisp/)]

2021-04-30 Thread Bastien
Hi Kyle and Arne, Kyle Meyer writes: > I'm not an ox-rss user and don't know if there are more realistic ways > to hit this error, but I was able to trigger it by taking an already > exported buffer of > > * h1 > :PROPERTIES: > :ID: 76841adc-b233-4f6d-8446-3478f263544b > :PUBDATE:

Re: [PATCH] ol.el: Fix confusing variable name

2021-04-30 Thread Bastien
Applied in maint as commit e2ffee96d - thanks Aaron for the patch and Tim for the confirmation. -- Bastien

Re: [PATCH] ob-eval.el: Refactoring `org-babel-eval' to improve readability

2021-04-30 Thread Bastien
Hi Nick, Nick Savage writes: > I have attached a patch to refactor `org-babel-eval' and > `org-babel--shell-command-on-region' to improve readability and to > make local variables more consistent between functions. That's useful, thanks a lot. > This also removes two parameters from >

Re: stability of toc links

2021-04-30 Thread Timothy
Dominique Dumont writes: > For what it's worth, DNS servers faces a similar problem where host names can > contain any unicode character, but DNS servers support only ascii char. In DNS > cases, this is worked around using punycode. (1) > > Using the example above, a host named "こんにちは.example"