emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daimrod <daimrod@gmail.com>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: Carsten Dominik <carsten@orgmode.org>, 17484@debbugs.gnu.org
Subject: bug#17484: 24.3.91; Emacs Pretest (emacs-24.3.91.tar.xz) freeze
Date: Wed, 14 May 2014 12:34:32 +0900	[thread overview]
Message-ID: <8761l958zb.fsf__38794.0779947259$1400038564$gmane$org@tanger.home> (raw)
In-Reply-To: <87r43x5fmm.fsf@tanger.home> (daimrod@gmail.com's message of "Wed, 14 May 2014 10:12:45 +0900")

Daimrod <daimrod@gmail.com> writes:

> Stefan Monnier <monnier@IRO.UMontreal.CA> writes:
>
>>> So, that's an org-mode bug, I'll try to see if I can reproduce it
>>
>> Right: org-adaptive-fill-function should finish fairly promptly.
>>
>>> (though I wonder why it uses `inhibit-quit' in the first place).
>>
>> It's not org-mode which binds inhibit-quit but the C code that runs
>> jit-lock.  The C code binds inhibit-quit basically any time we run
>> "asynchronous code" (i.e. code run from redisplay, timers,
>> process-filters, ...) since the user usually doesn't really know that
>> such is running, so if she hits C-g she doesn't mean for it to interrupt
>> that code, but instead to do something else (e.g. get out of the
>> minibuffer).
>
> Well, `org-mks' (in `org-capture.el') sets `inhibit-quit' to T and is
> called by `org-capture'.

You were right, it's not a problem with `org-capture', I had a another
freeze without using it.

Here is the xbacktraces:
gdb) xbacktrace
"avl-tree-delete" (0xffff54b0)
"byte-code" (0xffff55a0)
"byte-code" (0xffff5760)
"org-element--cache-process-request" (0xffff5990)
"byte-code" (0xffff5aa0)
"org-element--cache-sync" (0xffff5ce0)
"org-element-at-point" (0xffff5e00)
"byte-code" (0xffff60d0)
"org-adaptive-fill-function" (0xffff6300)
"fill-match-adaptive-prefix" (0xffff6480)
"fill-context-prefix" (0xffff6620)
"adaptive-wrap-fill-context-prefix" (0xffff67d0)
"adaptive-wrap-prefix-function" (0xffff6a18)
"run-hook-with-args" (0xffff6a10)
0x4d89f80 PVEC_COMPILED
"funcall" (0xffff6b30)
"jit-lock-fontify-now" (0xffff6e38)
"jit-lock-function" (0xffff6fc8)
"vertical-motion" (0xffffdca8)
"end-of-visual-line" (0xffffde08)
"call-interactively" (0xffffdfc0)
"org-end-of-line" (0xffffe198)
"call-interactively" (0xffffe350)
"command-execute" (0xffffe478)

I wonder if it is because `org-adaptive-fill-function' doesn't mix well
with `adaptive-wrap-prefix-mode'...

-- 
Daimrod/Greg

  reply	other threads:[~2014-05-14  3:35 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87d2fiaxjw.fsf@tanger.home>
     [not found] ` <jwvzjilygsq.fsf-monnier+emacsbugs@gnu.org>
     [not found]   ` <87tx8tajs5.fsf@tanger.home>
2014-05-13 17:59     ` bug#17484: 24.3.91; Emacs Pretest (emacs-24.3.91.tar.xz) freeze Stefan Monnier
2014-05-14  1:12       ` Daimrod
2014-05-14  3:34         ` Daimrod [this message]
2014-05-15  9:58           ` Bastien
     [not found]           ` <8738gbtlce.fsf@bzg.ath.cx>
2014-05-15 10:11             ` Daimrod
     [not found]             ` <87d2ff1hcw.fsf__9581.27144626833$1400148801$gmane$org@tanger.home>
2014-05-15 10:23               ` Bastien
     [not found]               ` <878uq3s5lf.fsf@bzg.ath.cx>
2014-05-15 12:30                 ` Daimrod
     [not found]         ` <8761l958zb.fsf@tanger.home>
2014-05-14 13:37           ` Stefan Monnier
     [not found]           ` <jwvk39owkip.fsf-monnier+emacsbugs@gnu.org>
2014-05-14 14:47             ` Daimrod
2014-05-14 16:52               ` Stefan Monnier
2014-05-29  2:52 ` Daimrod
2014-05-29  4:07   ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='8761l958zb.fsf__38794.0779947259$1400038564$gmane$org@tanger.home' \
    --to=daimrod@gmail.com \
    --cc=17484@debbugs.gnu.org \
    --cc=carsten@orgmode.org \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).