From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Viren Subject: Re: RFQ - new contribution - org-screenshot.el Date: Fri, 17 May 2013 13:20:16 -0400 Message-ID: References: <87mwru8f57.wl%max@openchat.com> <8761yhmv4v.wl%max@openchat.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdOmO-0001Kh-2H for emacs-orgmode@gnu.org; Fri, 17 May 2013 13:49:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UdOmH-0008K1-J8 for emacs-orgmode@gnu.org; Fri, 17 May 2013 13:49:19 -0400 Received: from smtpgw.bnl.gov ([2620:10a:0:3::30]:64287 helo=iron3.sec.bnl.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UdOmH-0008Dr-BF for emacs-orgmode@gnu.org; Fri, 17 May 2013 13:49:13 -0400 Received: from bviren by lycastus.phy.bnl.gov with local (Exim 4.80) (envelope-from ) id 1UdOKG-0003in-Np for emacs-orgmode@gnu.org; Fri, 17 May 2013 13:20:16 -0400 In-Reply-To: <8761yhmv4v.wl%max@openchat.com> (Max Mikhanosha's message of "Fri, 17 May 2013 12:25:04 -0400") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Max,=20 Max Mikhanosha writes: > I have committed org-screenshot to master This sounds like a great idea. And just to prove that no good deed goes unpunished, here is a bug report: In an org-mode file I run "M-x org-screenshot-take", scrot runs and I can either click on a window or draw a selection box.=20=20 However, lifting the mouse button leads to: error in process sentinel: Symbol's value as variable is void: return [2 = times] An actual PNG is produced in the expected images/ subdir and also I confirm that running "/usr/bin/scrot -s /path/to/file.png" by hand works returning a 0 error code. My org is: Org-mode version 8.0.3 (8.0.3-elpa @ /home/bviren/.emacs.d/elpa/org-20130= 514/) Running in: GNU Emacs 24.1.1 (i486-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-07-20 = on murphy, modified by Debian I copied the org-screenshot.el you just pushed from git's contrib/ to my load path and added a "(require 'org-screenshot)" just after my "(require 'org)". The same behavior also occurs with the original copy you posted to this mailing list. A quick Google search just left me confused (I'm not great with elisp). Is there anything I can do to debug this further? Thanks, =2DBrett. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlGWZtAACgkQEixH2Z0dKCzaWACeNE+jJoxylUIVoUdGky9agk0H ADQAn3QTxijy0IS5HrS3wS94eH9efXJS =tiJ/ -----END PGP SIGNATURE----- --=-=-=--