From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adrian Bradd Subject: Re: Help with org related crash on OpenBSD Date: Tue, 17 Oct 2017 19:54:12 -0400 Message-ID: References: <20171013165118.dkr3lvgcc5yiwsbo@slip.bold.daemon> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="f403043bb6c8092cb2055bc6d7e7" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46624) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e4bgg-0005Xz-JS for emacs-orgmode@gnu.org; Tue, 17 Oct 2017 19:54:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e4bge-0000MX-5U for emacs-orgmode@gnu.org; Tue, 17 Oct 2017 19:54:18 -0400 Received: from mail-pf0-x235.google.com ([2607:f8b0:400e:c00::235]:47943) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e4bgd-0000JV-PE for emacs-orgmode@gnu.org; Tue, 17 Oct 2017 19:54:16 -0400 Received: by mail-pf0-x235.google.com with SMTP id z11so2537909pfk.4 for ; Tue, 17 Oct 2017 16:54:14 -0700 (PDT) In-Reply-To: <20171013165118.dkr3lvgcc5yiwsbo@slip.bold.daemon> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Aaron Bieber Cc: emacs-orgmode --f403043bb6c8092cb2055bc6d7e7 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sorry for the repeat. Forgot to copy the list the first time. ---- =E2=80=8BInstrumenting 'org-capture' with edebug might be of some assistanc= e. 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 > > --f403043bb6c8092cb2055bc6d7e7 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Sor= ry for the repeat. Forgot to copy the list the first time.

----

=E2=80=8BInstrumenting '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 <aaron@bolddaemon.com> 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
=C2=A0 =C2=A0 =C2=A0 `(("t" "Todo"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0entry (file+headline "~/new_org/gtd.org&quo= t; "TODOs")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"* TODO %?\n=C2=A0 :PROPERTIES:\n=C2= =A0 :LOGGING: TODO(!) WAIT(!) DONE(!) CANCELED(!)\n=C2=A0 :END:\n") =C2=A0 =C2=A0 =C2=A0 =C2=A0 ("j" "Journal"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0entry (file+olp+datetree "~/new_org/= journal-%Y-%m= .org")
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"* %?\nEntered on %U\n=C2=A0 %i\n=C2= =A0 %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=C2=A0 4AF0 1F81 112D 62A= 9 ADCE


--f403043bb6c8092cb2055bc6d7e7--