emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: Emacs-orgmode@gnu.org
Subject: Re: capture problem
Date: Wed, 20 Oct 2010 08:05:51 +0200	[thread overview]
Message-ID: <C1FA6F24-BE4A-439B-99D3-28C77ABD562B@gmail.com> (raw)
In-Reply-To: <AANLkTimm0nFrBdn2kAWDn-LpbXzmaS4kkDykzt=np=VA@mail.gmail.com>


On Oct 20, 2010, at 8:02 AM, Jeff Horn wrote:

> Steps so far: Clear pasteboard by killing some text. Confirm that
> org-capture creates capture buffer successfully when pasteboard
> contains text. To reproduce bug:
>
> 1) Find an image online in a modern graphical browser on a modern, GUI
> OS. Linux should do (I'm using Snow Leopard)
> 2) Right-click the image, select "copy image" or similar.
> 3) Return to emacs, and visit any buffer.
> 4) Call org-capture. Press the key indicating the template you'd  
> like to use.
> 5) Observe the mini-buffer complains that the "pastboard does not
> contain valid data"
>
> Again, I'm using **Aquamacs** on Snow Leopard. Can anyone else confirm
> using a different emacsen/os combination?
>
> I've downloaded the patched org-capture.el you've sent, and pressed
> `C-u C-c C-x !`. I've observed the minibuffer reloading uncompiled
> source and stating that I'm using org-mode 7.1trans "dirty". When I
> try to reproduce the bug, the minibuffer again complains, but I see no
> backtrace or additional errors in the Messages buffer.

You need to set debug on error from the options menu.

- Carsten

>
> Jeff
>
> On Sun, Oct 17, 2010 at 2:18 AM, Carsten Dominik
> <carsten.dominik@gmail.com> wrote:
>>
>> On Oct 12, 2010, at 6:55 AM, Jeff Horn wrote:
>>
>>> On Tue, Oct 12, 2010 at 12:51 AM, Carsten Dominik
>>> <carsten.dominik@gmail.com> 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
>>
>>
>
>
>
> -- 
> Jeffrey Horn
> Graduate Lecturer and PhD Student in Economics
> George Mason University
>
> (704) 271-4797
> jhorn@gmu.edu
> jrhorn424@gmail.com
>
> http://www.failuretorefrain.com/jeff/

  reply	other threads:[~2010-10-20  6:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-11 13:45 capture problem Jörg Hagmann
2010-10-11 17:33 ` Jeff Horn
2010-10-12  4:51   ` Carsten Dominik
2010-10-12  4:55     ` Jeff Horn
2010-10-17  6:18       ` Carsten Dominik
2010-10-20  5:19         ` Jeff Horn
2010-10-20  5:20           ` Jeff Horn
2010-10-20  6:02         ` Jeff Horn
2010-10-20  6:05           ` Carsten Dominik [this message]
2010-10-20  6:45             ` Jeff Horn
2010-10-20  6:08           ` Noorul Islam K M
  -- strict thread matches above, loose matches on Subject: below --
2011-12-30  7:14 Thomas S. Dye
2011-12-30  9:07 ` Nick Dokos
2011-12-30  9:35 ` Sebastien Vauban
2011-12-30 17:27   ` Thomas S. Dye
2012-01-05 22:15   ` Thomas S. Dye
2012-01-06  8:33     ` Sebastien Vauban

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=C1FA6F24-BE4A-439B-99D3-28C77ABD562B@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=Emacs-orgmode@gnu.org \
    --cc=jrhorn424@gmail.com \
    /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).