Timothy writes:
#+begin_src diff
org-priority-regexp
- (defvar org-priority-regexp ".*?\\(\\[#\\([A-Z0-9]+\\)\\] ?\\)"
+ (defvar org-priority-regexp "^\\*+.*\\(\\[#\\([A-Z0-9]+\\)\\] ?\\)"
#+end_src
Since this thread seems to suggest it's (1) faster (2) more correct.
If anyone's considering
On Sunday, 14 Feb 2021 at 20:45, Timothy wrote:
> By patch "patch" I really mean just someone with commit access doing
> something like:
Hi Timothy,
Sure but the best way is if you prepare a patch with a commit message
that describes the change and post it here. Instructions on Worg on how
to
Eric S Fraga writes:
> On Sunday, 14 Feb 2021 at 12:39, Timothy wrote:
>> Did this end up being patched into Org?
>
> I don't think anybody has proposed a patch...
By patch "patch" I really mean just someone with commit access doing something
like:
#+begin_src diff
org-priority-regexp
-
On Sunday, 14 Feb 2021 at 12:39, Timothy wrote:
> Did this end up being patched into Org?
I don't think anybody has proposed a patch...
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.4-213-g49364f
Eric S Fraga writes:
> On Tuesday, 9 Feb 2021 at 23:33, Ihor Radchenko wrote:
>> I have the following in my config to speed things up:
>>
>> (setq org-priority-regexp "^\\*+.*\\(\\[#\\([A-Z0-9]+\\)\\] ?\\)")
>
> Should this not be the default setting? Reading the documentation,
> priority
On 11/02/2021 23:59, Ihor Radchenko wrote:
Maxim Nikulin writes:
It is not namely typing latency, but I have noticed lags while moving
over collapsed headings with "up" key (with "down" it is not so
apparent) e.g. in overview view. It has happened after linux upgrade,
emacs version changed
Maxim Nikulin writes:
> It is not namely typing latency, but I have noticed lags while moving
> over collapsed headings with "up" key (with "down" it is not so
> apparent) e.g. in overview view. It has happened after linux upgrade,
> emacs version changed from 25.2 to 25.3, system package
On 09/02/2021 01:24, Sébastien Miquel wrote:
I often get some unpleasant latency when editing org-mode
1. Is anyone experiencing something similar ?
It is not namely typing latency, but I have noticed lags while moving
over collapsed headings with "up" key (with "down" it is not so
On Tuesday, 9 Feb 2021 at 15:23, Christian Thäter wrote:
> Apropos, try out the native-comp Emacs branch.
Thank you. I've been watching the development of this branch with
interest! I'm too busy at the moment with work to play around with it
but I will soon.
Emacs, so long as I remember to
On 2021-02-09 09:38, Eric S Fraga wrote:
>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
i have a note that in org 8.0+ they have to be after the todo kw.
however, i /always/ interpret this to mean after the todo kw position
i.e. after where the todo kw would go if it is not there. thus "*
#[A] take out garbage" is legit. "* #[A] NEXT take out garbage" is
wrong.
"* NEXT take out
On Tuesday, 9 Feb 2021 at 23:33, Ihor Radchenko wrote:
> I have the following in my config to speed things up:
>
> (setq org-priority-regexp "^\\*+.*\\(\\[#\\([A-Z0-9]+\\)\\] ?\\)")
Should this not be the default setting? Reading the documentation,
priority cookies must be in a headline with a
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
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
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
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
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
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
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
Eric S Fraga writes:
What Emacs version are you using?
This is using the latest ative-comp git branch.
--
Sébastien Miquel
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.
Sébastien Miquel writes:
> AFAIU, the elisp profiler is useless in this case (fontification being
> slow). At least my runs don't seem to report anything relevant.
You can try font-lock-profiler package
(https://github.com/Lindydancer/font-lock-profiler)
Best,
Ihor
On Mon, Feb 08, 2021 at 07:24:21PM +0100, Sébastien Miquel wrote:
> I often get some unpleasant latency when editing org-mode
> buffers. My use case combines a lot of special blocks and LaTeX
> fragments, and the fontification seems to slow things down.
My only suggestion is have you looked at
23 matches
Mail list logo