Sorry for the repeat. Forgot to copy the list the first time. ---- ​Instrumenting 'org-capture' with edebug might be of some assistance. This should at least allow you to step through org-capture and see where emacs is hanging. HTH On 13 October 2017 at 12:51, Aaron Bieber wrote: > Hola, > > I am trying to track down an issue where emacs hangs on OpenBSD when > using org-capture. I happens with org 9.1.2 and 8.2.10 in emacs > 25.3.1. > > It seems that 3 out of 4 times, emacs completely hangs when adding a > Todo. I have tried setting (toggle-debug-on-quit) and > (toggle-debug-on-error), but once the hang happens emacs becomes > completely unresponsive. The one time that it doesn't hang, it takes > around 3 or 4 seconds to actually open up the gtd.org file. > > I can't reproduce on non-OpenBSD systems > > The config is fairly simple: > > (require 'org) > > (setq org-directory "~/new_org") > (setq org-agenda-files (file-expand-wildcards "~/new_org/*.org")) > (setq org-journal-dir "~/new_org/journal/") > (setq org-mobile-directory "~/new_org/MobileOrg") > (setq org-log-done 'time) > > (setq org-capture-templates > `(("t" "Todo" > entry (file+headline "~/new_org/gtd.org" "TODOs") > "* TODO %?\n :PROPERTIES:\n :LOGGING: TODO(!) WAIT(!) DONE(!) > CANCELED(!)\n :END:\n") > ("j" "Journal" > entry (file+olp+datetree "~/new_org/journal-%Y-%m.org") > "* %?\nEntered on %U\n %i\n %a"))) > > (global-set-key "\C-cc" 'org-capture) > (global-set-key "\C-cl" 'org-store-link) > (global-set-key "\C-ca" 'org-agenda) > (global-set-key "\C-cb" 'org-iswitchb) > > Any suggestions would be greatly appreciated! > > Cheers, > Aaron > > -- > PGP: 0x1F81112D62A9ADCE / 3586 3350 BFEA C101 DB1A 4AF0 1F81 112D 62A9 > ADCE > >