Re: Typing latency

2021-02-09 Thread Ihor Radchenko
Timothy writes: >> (setq org-priority-regexp "^\\*+.*\\(\\[#\\([A-Z0-9]+\\)\\] ?\\)") > > If this doesn't produce regressions, is this worth patching into Org? I believe so, but I am not sure about regressions. Current master allow placing priority cookies anywhere, while my version only limits

Re: Typing latency

2021-02-09 Thread Timothy
Ihor Radchenko writes: > I also had issues with priority faces. It is related to sub-optimal > regexp used to detect priority cookies. > > I have the following in my config to speed things up: > > (setq org-priority-regexp "^\\*+.*\\(\\[#\\([A-Z0-9]+\\)\\] ?\\)") If this doesn't produce

Re: Typing latency

2021-02-09 Thread Ihor Radchenko
Sébastien Miquel writes: > the delay, which must be caused by the already fontified parts. > I guess the issue must be wih emacs' internals. I had some issues with performance when displaying unicode symbols in the past for certain (large) fonts. That time, the following helped to improve Emacs

Re: Typing latency

2021-02-09 Thread Sébastien Miquel
Ihor Radchenko writes: I have the following in my config to speed things up: (setq org-priority-regexp "^\\*+.*\\(\\[#\\([A-Z0-9]+\\)\\] ?\\)") For the latex fontification, I never had issues, but you might play with org-highlight-latex-and-related. Hope it helps. Thanks, I've set it so

Bug: org-next/previous-link not working with radio targets [9.5 (nil @ /home/kevin/.emacs.d/.local/straight/build-27.1/org-mode/)]

2021-02-09 Thread Kevin Haddock
  Not sure if this is a bug or a feature request but it would sure be niceif this works (if it's even feasible). Emacs  : GNU Emacs 27.1 (build 1, x86_64-pc-cygwin) of 2020-10-29Package: Org mode version 9.5 (nil @ /home/kevin/.emacs.d/.local/straight/build-27.1/org-mode/)  

Re: [PATCH] document org-html-meta-tags

2021-02-09 Thread Timothy
Kyle Meyer writes: > Thanks. Pushed (5b0eb9aad) with the tweaks mentioned below. Great! >> Oh, by the way --- [...] > > Sorry, I don't have the bandwidth at the moment for that discussion. No problem, I mainly wanted to put the thought /somewhere/ --- which I have now done :) -- Timothy.

Re: Account for latex snippet width in fill paragraph

2021-02-09 Thread Matt Huszagh
Eric S Fraga writes: > I don't have this issue because I use visual-line-mode (together with > org-indent-mode) and text reflows automatically. Every paragraph is a > single "line" in the org file but is (soft) wrapped automatically at the > window edge. But this may not suit you, of course.

Re: Typing latency

2021-02-09 Thread Ihor Radchenko
Sébastien Miquel writes: > It reports that most of the time is spent in org-do-latex-and-related, > and some 20% in something related to the priority faces (despite the > lack of priority cookies). I also had issues with priority faces. It is related to sub-optimal regexp used to detect

Re: Typing latency

2021-02-09 Thread Sébastien Miquel
Ihor Radchenko writes: You can try font-lock-profiler package (https://github.com/Lindydancer/font-lock-profiler) This is useful, thank you. It reports that most of the time is spent in org-do-latex-and-related, and some 20% in something related to the priority faces (despite the lack of

Re: Typing latency

2021-02-09 Thread Sébastien Miquel
Russell Adams writes: My only suggestion is have you looked at disabling flyspell? Yes, thank you. Flyspell can cause some delay on its own aswell, but in this situation/configuration it doesn't change the results. -- Sébastien Miquel

Re: Typing latency

2021-02-09 Thread Sébastien Miquel
Eric S Fraga writes: What Emacs version are you using? This is using the latest ative-comp git branch. -- Sébastien Miquel

Re: local variables and export processing in hooks

2021-02-09 Thread Sébastien Miquel
Eric S Fraga writes: I tried but this doesn't seem to be propagated to the export as the export works on a copy of the buffer, not the buffer itself. That's what #+BIND is for, supposedly... I think this buffer copy preserves local variables. I know I use a such a local variable and its

Re: local variables and export processing in hooks

2021-02-09 Thread Eric S Fraga
On Tuesday, 9 Feb 2021 at 12:30, to...@tuxteam.de wrote: > Perhaps a file local variable? Thank you. I tried but this doesn't seem to be propagated to the export as the export works on a copy of the buffer, not the buffer itself. That's what #+BIND is for, supposedly... I'll play some more.

Re: local variables and export processing in hooks

2021-02-09 Thread tomas
On Tue, Feb 09, 2021 at 10:13:01AM +, Eric S Fraga wrote: > Dear org mode users, > > I have a small elisp function that I use to process my org file before > export to LaTeX or HTML, adding this function to > org-export-before-parsing-hook. Briefly, the function exports the TBLFM > lines so

Re: Exporting from Org to Gift/Aiken or other quiz formats

2021-02-09 Thread Diego Zamboni
Hi Eric, Thanks for the pointer! I had not seen it. It would seem delightfully convoluted to go Org -> LaTeX -> Moodle, but it might just work :) I'll take a look when I have some more time to devote to this. For now I've been semi-manually converting my quizzes into Gift format for import into

local variables and export processing in hooks

2021-02-09 Thread Eric S Fraga
Dear org mode users, I have a small elisp function that I use to process my org file before export to LaTeX or HTML, adding this function to org-export-before-parsing-hook. Briefly, the function exports the TBLFM lines so that the org table calculations can be inspected. This is for pedagogical

Re: Exporting from Org to Gift/Aiken or other quiz formats

2021-02-09 Thread Eric S Fraga
On Wednesday, 13 Jan 2021 at 12:31, Diego Zamboni wrote: > Hi everyone, > > I've started to develop online teaching materials with Moodle ( > https://moodle.com/), and I'm looking for ways to generate my content > using Org as much as possible. Diego, did you have a look at the LaTeX package for

Re: Account for latex snippet width in fill paragraph

2021-02-09 Thread Diego Zamboni
I can only agree with Eric - I think visual-line-mode is the best way to deal with variable-length content in paragraphs. --Diego On Tue, Feb 9, 2021 at 10:47 AM Eric S Fraga wrote: > On Monday, 8 Feb 2021 at 22:43, Matt Huszagh wrote: > > Before I take a crack at this, has anyone else

Re: Account for latex snippet width in fill paragraph

2021-02-09 Thread Eric S Fraga
On Monday, 8 Feb 2021 at 22:43, Matt Huszagh wrote: > Before I take a crack at this, has anyone else attempted to remedy this? I don't have this issue because I use visual-line-mode (together with org-indent-mode) and text reflows automatically. Every paragraph is a single "line" in the org

Re: Typing latency

2021-02-09 Thread Eric S Fraga
On Monday, 8 Feb 2021 at 19:24, Sébastien Miquel wrote: >  1. Is anyone experiencing something similar ? Yes, particularly since I moved to using exwm as my window manager, so not necessarily org related. For instance, I find that having doc-view buffers active, my whole Emacs shows latency.

Re: strange table calculation

2021-02-09 Thread Eric S Fraga
On Monday, 8 Feb 2021 at 12:34, Eric S Fraga wrote: > The behaviour of @-1$+1 seems fragile. To follow up, the same table copied (verbatim) to another org file behaves as it should but continues to behave oddly in the original file. Very mysterious. But adding blank lines before/after