Re: [BUG] Error when using mouse to set TODO state [9.5.2 (9.5.2-g91681f @ /home/garyo/.emacs.d/straight/build/org/)]

2022-03-19 Thread Ihor Radchenko
Gary Oberbrunner writes: > I'm using org and org-roam. I tried to use the mouse-3 menu to toggle the > state of a TODO item, but I get this error: > > > Debugger entered--Lisp error: (void-variable org-todo) Thanks for reporting! Fixed now on bugfix via af6f1298b. Best, Iho

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Ihor Radchenko
Jamie Matthews writes: > # Issue > Starting emacs with emacs -Q​, then navigating to a minimal example org file > with C-x C-f​ yields a ~10 second hang on an 8-core/16GB RAM machine with > nothing else running. Also, scrolling commands like C-v​ are often laggy > after the initial hang. > > T

Re: profiling latency in large org-mode buffers (under both main & org-fold feature)

2022-03-19 Thread Ihor Radchenko
Max Nikulin writes: > It is up to you to choose at which level your prefer to optimize the > code. And it is only my opinion (I do not insist) that benefits from > changes in low level code might be much more significant. I like the > idea of markers, but their current implementation is a sour

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Jamie Matthews
Hi Ihor, I tried to run that code but get errors for the elp-instrument-function​ calls (both with my config and emacs -Q​): ``` Debugger entered--Lisp error: (error "ELP cannot profile the function: org-cite-basic--g...") error("ELP cannot profile the function: %s" org-cite-basic--get-entry)

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Ihor Radchenko
Jamie Matthews writes: > Hi Ihor, > > I tried to run that code but get errors for the elp-instrument-function​ > calls (both with my config and emacs -Q​): > > ``` > Debugger entered--Lisp error: (error "ELP cannot profile the function: > org-cite-basic--g...") Then also add (require 'oc-basic

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Jamie Matthews
Thanks: ``` org-cite-basic-activate 59 10.724349447 0.1817686346 org-cite-basic--parse-bibliography 129 10.559936049 0.0818599693 org-cite-basic--all-keys59 7.830202561 0.1327152976 org-cite-basic--get-entry 70 2.7772344940

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Ihor Radchenko
Jamie Matthews writes: > Thanks: > > ``` > org-cite-basic-activate 59 10.724349447 0.1817686346 > org-cite-basic--parse-bibliography 129 10.559936049 0.0818599693 > org-cite-basic--all-keys59 7.830202561 0.1327152976 > org-cite-basic--get-ent

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Jamie Matthews
It seems a very significant improvement - the lag on scrolling after the buffer is loaded is not noticeable, and the initial loading hang essentially disappears! I'm slightly surprised that elp-results​ doesn't seem to show as dramatic an improvement as it feels for me: ``` org-cite-basic-acti

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Ihor Radchenko
Jamie Matthews writes: > It seems a very significant improvement - the lag on scrolling after the > buffer is loaded is not noticeable, and the initial loading hang essentially > disappears! Great! Do you mean that there is no apparent slowness at all? > I'm slightly surprised that elp-result

Re: [BUG] Resolving idle clocks needs multiple keystrokes [9.5.2 (release_9.5.2-24-g668205 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-03-19 Thread Roméo La Spina
Hi, I don't know how closely it is related to your problem, but I've reported another issue revolving around the use of read-char for the prompt to resolve clocks. See [[https://lists.gnu.org/archive/html/emacs-orgmode/2022-02/msg00278.html]]. Unfortunately I an not advanced enough in Elisp to

Re: Org and multimedia (tips?)

2022-03-19 Thread Juan Manuel Macías
Max Nikulin writes: > org-web-tools is an interesting project, but if you have access to > files it should be easier to extract all meta information directly > using e.g. > > exiftool -json file.mp3 > > or another tool suitable to particular format. It seems emms has > interface to various too

Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library [9.5.2 (9.5.2-g91681f @ /home/jdm204/.config/emacs/straight/build/org/)]

2022-03-19 Thread Jamie Matthews
I can confirm that the key turns red on insert when I altered the key outside of emacs (with that second version of `org-cite-basic--parse-bibliography`). However, I'm now noticing that the hang improvement earlier (< a second down from ~10) doesn't always occur. Specifically, if I 1. emacs

Re: Move or rename a file in a link

2022-03-19 Thread Juan Manuel Macías
Hi João, João Pedro de Amorim Paula writes: > I mean org attachments. I use org-attach extensively to store documents > with notes. So I'd have a heading like so > > * Documents > :PROPERTIES: > :DIR: data/docs/ > :END: > > - [[Registration][attachment:registration.pdf]] :: My registration. > > A

Re: [BUG] Resolving idle clocks needs multiple keystrokes [9.5.2 (release_9.5.2-24-g668205 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-03-19 Thread Ignacio Casso
> Hi, > > I don't know how closely it is related to your problem, but I've > reported another issue revolving around the use of read-char for the > prompt to resolve clocks. See > [[https://lists.gnu.org/archive/html/emacs-orgmode/2022-02/msg00278.html]]. > > Unfortunately I an not advanced enou

[PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library

2022-03-19 Thread Ihor Radchenko
Jamie Matthews writes: > I can confirm that the key turns red on insert when I altered the key outside > of emacs (with that second version of `org-cite-basic--parse-bibliography`). Great. Then, I am attaching the patch with the new version of the function. I will let Nicolas decide if it is go

Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library

2022-03-19 Thread Jamie Matthews
> Great. Then, I am attaching the patch with the new version of the > function. I will let Nicolas decide if it is good enough to be merged. I > do not feel confident enough with org-cite code to judge if my approach > is not missing some edge cases. Great, thanks for your help! > If I am correct

Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library

2022-03-19 Thread Ihor Radchenko
Jamie Matthews writes: > Hmm, this doesn't fix what I'm seeing - still hang on first load and quicker > after killing and finding again. Very possible there's something else obvious > I'm missing though, I'm very much an emacs 'end user'! This is strange. I would then try to run the profiler

Re: [BUG] Resolving idle clocks needs multiple keystrokes [9.5.2 (release_9.5.2-24-g668205 @ /home/ignacio/repos/emacs/lisp/org/)]

2022-03-19 Thread Roméo La Spina
Hmm, I see the problem. I didn't think about that. Thank you very much for your suggestion. But what about using read-char-exclusive? It seems to have a timeout argument too, and should apparently fix the issue (ie. the prompt will no longer disappear at the first unintentional click). Romeo

Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library

2022-03-19 Thread psychosis
Hello, I have a related problem (see https://list.orgmode.org/77km6r.3bgd0z3z4p...@disroot.org/ for reference) and Ihor’s patch reduced the initial load time of my biblatex bibliography file from almost ten minutes to about 10 to 20 seconds. For me the changed cite-key turns only red if I r

Re: [PATCH] Re: [BUG] org-cite: 10 second hang opening a ~4k org file with 10MB bibtex library

2022-03-19 Thread Ihor Radchenko
psychosis writes: > I have a related problem (see > https://list.orgmode.org/77km6r.3bgd0z3z4p...@disroot.org/ for > reference) and Ihor’s patch reduced the initial load time of my > biblatex bibliography file from almost ten minutes to about 10 to 20 > seconds. I have seen your email. Persi

Re: How do you manage complex project with Org-mode

2022-03-19 Thread Ihor Radchenko
Sébastien Gendre writes: > So, if you have any suggestion on how to manage, in Org-mode, projects > with: > * Lot of work to do (many days) > * Short deadline (not enough time) > * High importance (disastrous consequences in my future in case of fail) > * Many of them in the same time > * Progres

Re: How do you manage complex project with Org-mode

2022-03-19 Thread Ihor Radchenko
Tim Cross writes: > For example, I > would not have a task which says to review my tasks twice a week. Do you > really need a task to remind you to do this twice a week? Do you really > need to track that you have done this? I would classify such tasks as > 'noise' tasks. They really don't perfor

Re: Inconsistent handling of multi-line properties

2022-03-19 Thread Ihor Radchenko
Greg Sullivan writes: > I would really like the ability to use the ":myProperty+: " to create > multi-line properties for the org-export-taskjuggler exporter. > However, the mentioned patch is quite large and mostly focused on headline > caching, as far as I can tell. > @Ihor or @Hanno, Is there

Re: Inconsistent handling of multi-line properties

2022-03-19 Thread Ihor Radchenko
Hanno Perrey writes: > Hej, > > I have noticed that properties that stretch over multiple lines using > the :value+: syntax are ignored by org-element-property and therefore > also by e.g. org-export-get-node-property when exporting to ics via > ox-icalendar.el (see example below). I was wonde

Re: Links to javascript-based websites from orgmode.org: Paypal and Github

2022-03-19 Thread Ihor Radchenko
Max Nikulin writes: > Actually I considered Atom and VS Code (that are still on the main page) > quite similar. I admit that they are open source, but are available > packages are really free? Maybe my opinion was just distorted by a > mention of a project aiming to remove telemetry code from

Re: Communication problems and possible problems with the website

2022-03-19 Thread Ihor Radchenko
Bastien Guerry writes: > Discourse is nice but I'm not favor of installing an instance for Org. > > Beginners often ask questions on reddit.com and stackoverflow.com (and > perhaps elsewhere): perhaps some regular users of these websites could > serve as "contributors stewards", redirecting inter