From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: "Capture"-like browser plugin? Date: Fri, 24 Jul 2015 09:22:29 +0200 Message-ID: References: <6sw6c7y4i7nejo.fsf@dhcp-10-92-133-17.hmco.com> <86zj2nzzzz3p8k@me.localhost.invalid> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIXJU-0001No-Oe for emacs-orgmode@gnu.org; Fri, 24 Jul 2015 03:22:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZIXJR-0004Sk-Bt for emacs-orgmode@gnu.org; Fri, 24 Jul 2015 03:22:36 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:21580) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZIXJR-0004S6-6G for emacs-orgmode@gnu.org; Fri, 24 Jul 2015 03:22:33 -0400 In-Reply-To: <86zj2nzzzz3p8k@me.localhost.invalid> (Daniele Pizzolli's message of "Thu, 23 Jul 2015 16:47:23 +0200") 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: Daniele Pizzolli Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Daniele, On 2015-07-23 16:47, Daniele Pizzolli writes: > if you use firefox, see: > > https://addons.mozilla.org/it/firefox/addon/org-mode-capture/ > > The latest version convert html links to org-links (disclaimer: it is my > little contribution). This is great! If I may suggest an addition to it: being able to specify how one calls emacs. Indeed, my emacsclient is a symbolic link to the real one, which may change as I update it, but the preference interface of the addon only gives me the target of the symbolic link. I have also a small issue with org-protocol: it creates a new frame (which is great) but does not raise it, and it displays two windows: the capture one and an unrelated one. I have some code to avoid this when I call org-capture from my system: #+begin_src emacs-lisp (defun make-orgcapture-frame ()=20=20 "Create a new frame and run org-capture."=20=20 (interactive)=20=20 (make-frame '((name . "remember") (width . 80) (height . 16) (top . 400) (left . 300) (font . "-*-Consolas-normal-normal-normal-*-13-*-*-*-m-0-is= o10646-1") )) (select-frame-by-name "remember") (delete-other-windows) (flet ((switch-to-buffer-other-window (buf) (switch-to-buffer buf))) (org-capture nil "c"))) #+end_src but I don=E2=80=99t know how to integrate this with org-protocol. Is there = a way to change its call to org-capture without having to rewrite the `org-protocol-do-capture' function? Thanks! Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Last week athmospheric CO=E2=82=82 average (Updated July 19, 2015, Mauna Lo= a Obs.): 401.39 ppm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJVsee1AAoJEAQNCjtO0uXHclMIAIv1/qNr8z99DTbQxTgs15r1 5bqIRhV58iMyqnPQ7wA41wG2EsBiPga93JZ+QAtFsvDPhmDRDjdM5l2EoBlOYACC m5oTi5hYOjTudJ6Q3vqcBRZhe/PCq4cPwMgtkyFsP8VNy90RwD/7ULNHirGYNNpt 7BeebVXgX+1OFccy9zNOWMLDuwuey50ds/xx9DZ9tCI9R2Z6g+44jZ6U4KfnwRD7 rIzoO2GpKIwDsJmu7PbOAwRkSC8V8NWQl/cqXklPyCPYCyPynNbphPyE7Pb8eFdW XULmSm4lkKoPFAhweUkgfubmrwmbtq0ZzdiXiYCAeifUNI4GEoSTlRyBLYJDrsQ= =VGlq -----END PGP SIGNATURE----- --=-=-=--