Re: Slow to open certain file

2020-09-23 Thread Peter Bienstman
Ok, it turned out the url http functions also showed up when I was trying to update packages. It seems I'm suffering from this bug: https://emacs.stackexchange.com/questions/60560/error-retrieving-https-elpa-gnu-org-packages-archive-contents-error-http-400 and perhaps for some reason when opening t

Re: Slow to open certain file

2020-09-23 Thread Eric S Fraga
Opens almost immediately for me. Linux, recent emacs and org from git. -- : Eric S Fraga via Emacs 28.0.50, Org release_9.4-18-gaea110

Fwd: Slow to open certain file

2020-09-23 Thread Peter Bienstman
Attached the profile when i open with 'find-file'. It still seems to call ivy-read, but the interesting thing is that now a lot of time is apparently spent in 'url-http' functions. The file contains lots of web links, so it seems emacs is trying to do something with them when it really shouldn't...

Re: Slow to open certain file

2020-09-22 Thread Ihor Radchenko
I have no issue opening your file (under 1 second). > I also attach the profile. Looking at the profile, the problem seems to be with ivy. Can you try opening the file without ivy. Something like M-: (find-file "~/Org/notes.org") P.S. You can also add notes to papers from org-ref. That is a gr

Re: Slow to open certain file

2020-09-22 Thread Andy Klock
"Peter Bienstman" writes: > Is there anything I can do to speed this up? Might be a good idea to profile the operation to see where it is spending time. Can you: M-x profiler-start C-x C-f (or whatever you are doing to open the file) M-x profiler-report Here's my output on your file: https:

Re: Slow to open certain file

2020-09-22 Thread John Kitchin
on emacs 27.1 on a Mac, this seems to take under a second to open for me. John --- Professor John Kitchin Doherty Hall A207F Department of Chemical Engineering Carnegie Mellon University Pittsburgh, PA 15213 412-268-7803 @johnkitchin http://kitchingroup.cheme.cmu.e

Slow to open certain file

2020-09-22 Thread Peter Bienstman
Opening this file takes more than 10 seconds: https://www.dropbox.com/s/tg7pr6tetlh7jwb/toc%2020200922%2007.00.01.org?dl=0 I also attach the profile. I have org files which are much bigger, and they open almost instantly. This is on Windows 10, emacs 26.3, all packages updated to the latest ver