emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] capture problem


From: Carsten Dominik
Subject: Re: [Orgmode] capture problem
Date: Sun, 17 Oct 2010 08:18:40 +0200


On Oct 12, 2010, at 6:55 AM, Jeff Horn wrote:

On Tue, Oct 12, 2010 at 12:51 AM, Carsten Dominik
<address@hidden> wrote:
Could one of you try to make a backtrace for this problem?

Debugger entered--Lisp error: (error "Capture abort: (quit pasteboard
doesn't contain valid data)")
signal(error ("Capture abort: (quit pasteboard doesn't contain valid data)"))
 ad-Orig-error("Capture abort: %s" (quit "pasteboard doesn't contain
valid data"))
 apply(ad-Orig-error ("Capture abort: %s" (quit "pasteboard doesn't
contain valid data")))
error("Capture abort: %s" (quit "pasteboard doesn't contain valid data"))
 byte-code("\301\302!\203\n

Hi Jeff,

unfortunately the error is hard to identify because I have a handler in
place when it happens.

Can I ask you to apply the patch below, and then again hit the error to
make me a backtrace?  With uncompiled code, please.

Thanks!

- Carsten

diff --git a/lisp/org-capture.el b/lisp/org-capture.el
index 7915f7f..b2aade6 100644
--- a/lisp/org-capture.el
+++ b/lisp/org-capture.el
@@ -405,11 +405,7 @@ bypassed."
                         (or org-overriding-default-time
                             (org-current-time)))
        (org-capture-set-target-location)
-       (condition-case error
-           (org-capture-put :template (org-capture-fill-template))
-         ((error quit)
-          (if (get-buffer "*Capture*") (kill-buffer "*Capture*"))
-          (error "Capture abort: %s" error)))
+       (org-capture-put :template (org-capture-fill-template))

        (if (equal goto 0)
            ;;insert at point





--
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
address@hidden
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]