Re: Flyspell causes severe slowdown when manipulating footnotes

2022-12-12 Thread arozbiz
Happy to. What is the best way to temporarily downgrade to 9.5.5? I install Emacs through this Arch AUR package, which installs the latest version of Org automatically. Best, Alan On Mon, Dec 12, 2022 at 3:32 AM Ihor Radchenko wrote: >

Re: Flyspell causes severe slowdown when manipulating footnotes

2022-12-11 Thread arozbiz
Thanks. It definitely helps, but it's still quite slow. What's made the biggest difference is is advising the relevant functions to turn flyspell off beforehand and then turn it back on. ``` (defun azr/org-footnote-disable-flyspell (orig-fun args) (flyspell-mode -1) (apply orig-fun args)

Can org-attach attach a single file to multiple headlines?

2022-12-10 Thread arozbiz
Using org-attach, is it possible to attach a single file to multiple headlines, so that each headline shares the same attachment folder (rather than having each headline have its own attachment folder with its own version of the file)? Thanks, Alan

Re: Flyspell causes severe slowdown when manipulating footnotes

2022-12-08 Thread arozbiz
Thanks Ihor for the response. Unfortunately, setting org-element--cache-self-verify to nil didn't work. Profile report attached. On Wed, Dec 7, 2022 at 7:23 AM Ihor Radchenko wrote: > aroz...@gmail.com writes: > > > I just upgraded to Org 9.6 and I've noticed that having flyspell-mode > >

Flyspell causes severe slowdown when manipulating footnotes

2022-12-05 Thread arozbiz
I just upgraded to Org 9.6 and I've noticed that having flyspell-mode turned on causes very large slowdowns when adding or deleting footnotes in an org file with lots of footnotes (e.g., more than 200, which is common for the academic articles that I use org for). Any ideas for what might be

Remove file to original state after org-capture-kill?

2021-04-14 Thread arozbiz
I have an org-capture template that looks like this: '(("j" "Journal" entry (file+headline find-file-function "Journal") "* %?") (I create separate Org files for each day, which the find-file-function returns the path for.) If I call org-capture "j" on a file that doesn't have a "Journal"

Re: How to combine two org files that each have footnotes?

2021-02-13 Thread arozbiz
Brilliant. Thank you both! -Alan

How to combine two org files that each have footnotes?

2021-02-11 Thread arozbiz
Most of my writing is academic and involves lots of footnotes. Sometimes it is useful to be able to combine two separate files, each of which have footnotes. How do I do so in a way that automatically renumbers the footnotes in the file that comes second? More specifically, I have file1.org and

How to open ID links in a new window?

2021-01-23 Thread arozbiz
I would like to open ID links [[id:...]] in a new window. I can make file links [[file:...]] open in a new window by running (add-to-list 'org-link-frame-setup '(file . find-file-other-window)), but this doesn't seem to affect the behavior of ID links. Thanks, Alan

Re: How can I keep Org-id links from breaking when moving files?

2021-01-20 Thread arozbiz
This is helpful clarification, thank you. But does that mean that, if I change the directory where some files with UUIDs are located, there's no way to programmatically make sure that Org can find those IDs again (since there's no way to simply add a folder, rather than a list of files, to

Re: Why are (UU)IDs limited to the headline level?

2021-01-19 Thread arozbiz
That was my thought as well. On Mon, Jan 18, 2021 at 8:02 PM Ihor Radchenko wrote: > "Dr. Arne Babenhauserheide" writes: > > > You can use <> to make it possible to link to any > > place in a document. > > It does not work globally though. One cannot just put > [[id:some-anchor-name]] link in

How can I keep Org-id links from breaking when moving files?

2021-01-18 Thread arozbiz
This question is in the context of using Org-id UUIDs for linking between files. If I understand correctly, Org-id knows where to look for UUIDs (generated by org-id-get-create) by looking at the org-id-locations variable. But what if I move an .org file that I've generated a UUID into another

Why are (UU)IDs limited to the headline level?

2021-01-17 Thread arozbiz
I'm just getting into Emacs/Org-Mode. It's clearly an amazing system and the linking via UUID is very useful. My question is: why is linking by UUID (and, more generally, the creation of properties drawers) limited to headlines, and not to sub-elements like list elements or paragraphs? Doesn't all