From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: capture problem Date: Sun, 17 Oct 2010 08:18:40 +0200 Message-ID: References: <4CB314DE.5090906@unibas.ch> <6413AFDF-A9D5-4934-B4C1-F54ED4703FFC@gmail.com> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=51418 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P7MZx-0007G4-1K for Emacs-orgmode@gnu.org; Sun, 17 Oct 2010 02:18:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P7MZv-0007Vt-Q6 for Emacs-orgmode@gnu.org; Sun, 17 Oct 2010 02:18:44 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:63868) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P7MZv-0007Vl-L1 for Emacs-orgmode@gnu.org; Sun, 17 Oct 2010 02:18:43 -0400 Received: by ewy5 with SMTP id 5so1532864ewy.0 for ; Sat, 16 Oct 2010 23:18:43 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Jeff Horn Cc: Emacs-orgmode@gnu.org On Oct 12, 2010, at 6:55 AM, Jeff Horn wrote: > On Tue, Oct 12, 2010 at 12:51 AM, Carsten Dominik > 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 > jhorn@gmu.edu > jrhorn424@gmail.com