From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Franke Subject: Get links from Firefox/Safari into orgmode Date: Fri, 20 Jun 2014 19:43:57 +0200 Message-ID: <36ECB38A-86A2-40CB-98A5-D7C3ABEA963D@dfranke.com> Reply-To: orgmode@dfranke.com Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: multipart/signed; boundary="Apple-Mail=_EE1F9660-2E14-47E3-8266-0535C477536D"; protocol="application/pgp-signature"; micalg=pgp-sha512 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wy2rD-0005e1-36 for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 13:44:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wy2r5-0004Km-KA for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 13:44:11 -0400 Received: from mail-we0-f178.google.com ([74.125.82.178]:56876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wy2r5-0004KU-Al for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 13:44:03 -0400 Received: by mail-we0-f178.google.com with SMTP id x48so4103930wes.37 for ; Fri, 20 Jun 2014 10:44:01 -0700 (PDT) Received: from [192.168.1.22] (aftr-37-201-224-58.unity-media.net. [37.201.224.58]) by mx.google.com with ESMTPSA id fh5sm6584761wic.9.2014.06.20.10.43.59 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Jun 2014 10:43:59 -0700 (PDT) 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 --Apple-Mail=_EE1F9660-2E14-47E3-8266-0535C477536D Content-Type: multipart/alternative; boundary="Apple-Mail=_D36EF02F-F36F-495A-838A-4301B2DC44B8" --Apple-Mail=_D36EF02F-F36F-495A-838A-4301B2DC44B8 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi there, as the subject says, I would like to get links from any browser (i = almost don=92t care which one) into org mode. So far I have=20 tried is the EmacsClient.app = (https://github.com/neil-smithline-elisp/EmacsClient.app) but it did not = work at all. orgmode =3D> the git repository emacs =3D> from brew (GNU Emacs 24.3.1) Any hints welcome. :) Thank you,=20 Daniel --Apple-Mail=_D36EF02F-F36F-495A-838A-4301B2DC44B8 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=windows-1252 Hi = there,

as the subject says, I would like to get links = from any browser (i almost don=92t care which one) into org mode. So far = I have 
tried is the EmacsClient.app (https://g= ithub.com/neil-smithline-elisp/EmacsClient.app) but it did not work = at all.

orgmode =3D> the git = repository
emacs =3D> from brew (GNU Emacs = 24.3.1)

Any hints welcome. = :)

Thank = you, 
Daniel
= --Apple-Mail=_D36EF02F-F36F-495A-838A-4301B2DC44B8-- --Apple-Mail=_EE1F9660-2E14-47E3-8266-0535C477536D Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GnuPT 2.8.2 iQQcBAEBCgAGBQJTpHLdAAoJENZYvtsbo/qfUjwgAI7qivbawjtAg8vo8B29noqy uYgrHthKcbf/4Hkvx1E6P/duHTIINmoJbA2dpEmyTEJniPPha+GVd5jP1zaQMwB0 wlZxPqoyxdHZrMrbNxeq2vJtkmfu4aOfXveBnACaJaEjKI4peYlbpBsp6oL035ql vTgZhl8DD0+pxAL/OzA7WL+zrzfagsLO9mVqZ0ahiuj3OkZ+IoEiBZJfhaNmg06I ZIHPLNxeoI37MSuOwH6U2qCul6cWqdHfvQIQlr1RauEwlXyEMFk3FRE6+mReNwPp RTrCbLFyqSL8Zt1PzFo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=rEl1 -----END PGP SIGNATURE----- --Apple-Mail=_EE1F9660-2E14-47E3-8266-0535C477536D-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haider Rizvi Subject: Re: Get links from Firefox/Safari into orgmode Date: Fri, 20 Jun 2014 14:05:17 -0400 Message-ID: References: <36ECB38A-86A2-40CB-98A5-D7C3ABEA963D@dfranke.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wy3C2-00008j-Qd for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 14:05:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wy3Bt-00039z-Nn for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 14:05:42 -0400 Received: from plane.gmane.org ([80.91.229.3]:41962) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wy3Bt-00038t-HL for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 14:05:33 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1Wy3Br-0005pM-H4 for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 20:05:31 +0200 Received: from fw54.torolab.ibm.com ([199.246.40.54]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Jun 2014 20:05:31 +0200 Received: from harizvi by fw54.torolab.ibm.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 20 Jun 2014 20:05:31 +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: emacs-orgmode@gnu.org Daniel Franke writes: > as the subject says, I would like to get links from any browser (i almost don’t care which > one) into org mode. Since you mention Safari, assume you are running on a Mac. Here is what you are looking for. ;;; setup org-mac-link-grabber (require 'org-mac-link) (add-hook 'org-mode-hook (lambda () (define-key org-mode-map (kbd "C-c g") 'org-mac-grab-link) )) Regards, -- Haider From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Franke Subject: Re: Get links from Firefox/Safari into orgmode Date: Fri, 20 Jun 2014 20:55:18 +0200 Message-ID: <77D73F63-E1D2-4FBA-9873-7989B028FC59@dfranke.com> References: <36ECB38A-86A2-40CB-98A5-D7C3ABEA963D@dfranke.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: multipart/signed; boundary="Apple-Mail=_311A5468-6339-475A-BAE0-47CAB47B0549"; protocol="application/pgp-signature"; micalg=pgp-sha512 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wy3yE-0003he-GI for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 14:55:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wy3y6-0004gj-Kt for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 14:55:30 -0400 Received: from mail-we0-f179.google.com ([74.125.82.179]:53971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wy3y6-0004gb-Eh for emacs-orgmode@gnu.org; Fri, 20 Jun 2014 14:55:22 -0400 Received: by mail-we0-f179.google.com with SMTP id w62so4184286wes.38 for ; Fri, 20 Jun 2014 11:55:21 -0700 (PDT) In-Reply-To: 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: Haider Rizvi Cc: emacs-orgmode@gnu.org --Apple-Mail=_311A5468-6339-475A-BAE0-47CAB47B0549 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 hi Rizvi, thanks for your reply! As far as i can see you run that from emacs =3D> firefox/safari but i want it like browser =3D> emacs Thank you so much! :) Regards, Daniel On 20 Jun 2014, at 20:05, Haider Rizvi wrote: > Daniel Franke writes: >=20 >> as the subject says, I would like to get links from any browser (i = almost don=92t care which >> one) into org mode.=20 >=20 > Since you mention Safari, assume you are running on a Mac. Here is = what you are looking for.=20 >=20 > ;;; setup org-mac-link-grabber > (require 'org-mac-link) > (add-hook 'org-mode-hook (lambda ()=20 > (define-key org-mode-map (kbd "C-c g") 'org-mac-grab-link) > )) >=20 >=20 > Regards,=20 > --=20 > Haider >=20 >=20 --Apple-Mail=_311A5468-6339-475A-BAE0-47CAB47B0549 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GnuPT 2.8.2 iQQcBAEBCgAGBQJTpIOWAAoJENZYvtsbo/qfDzEf/2f0qzajcRepk5jQ7WDwGzQy RX1gwIRtdDW6AlcDONzZUVTvvvO7JLFlm7BXGu4AtJ9bmWnHDeGDd4k9ATjMqNRb 1n/XMuWeB/F1kiYzkfnrtrgFxTXAghYnx/75ab5+WIC2H9atpm0kRsX3KT1Ugunv 6ldIv0t6XoR1vgTC+/qvQ8B8BJ1mzS3z2U49rvKd7SfjFmaAagLe/ncCWA+WZvLF xSHKh9es+QVaeKGTxTzxCK2NhkqMLgQOAZSTHKbPQydEFz7jQVKv5OinzmilykY/ 2rIQH6LkyE/RWB9duMp4gU9x1HgA9kdsvaSFtg1N/fOCLFlio+kJ2VcRikUTE8cT qUd2zxUlKJJEruYc+dGfoKvhr5Bda685CttRIm/A6uR+V+zKdTIZR4h+ZetShX+H tPOdLijL4xbRO1b6tNzLyQGQ7KGlxW5LBOuhsXAVMM3dKXiCw77NqSLWay55OW/E 4cto/h5NX0DNh0eca25ssstpsojkUKF2T2MH1yK2fkZBTp7JcNkTrDEbgbYKTa7/ P6HtBBO4fNWpFMdkpV8D0UF6GqUBkn1nH7pM9CJ/7CMw/ZTfloyEOIvC8SlGhq+J QkpYgvr7zY/0gOozLwhGb03eRlw7UBHRMDGPeBiUNvjsziHdyVO/KzOEY1Y1aBM4 /bXmst2r7AZ5ek3n1YflFFk/u4zFf3epeuZVXnTtjKzkYJMR9gHrgLQ1XyKTJkLw qTwWR3NHjmyiG5BV26QfHG0WO1irHfeRz1DDKDn8IlvkdOj/nOevshae+qS2jtqp eMlSKAhEqQul7IsRtv7hHwYTFhEUzmsIcJRp6SqyE9dl7FOm4l6WFPvta1J+phTL Yw+02nMA7wGuI8G0n1F4u8EDE1g7wItPH7x9RoUna9+Rlcaoxdq89TFTuiT8UsY+ Nb843zKKMw/Dceq8Wr9uIYViImimcEnnx9HMLIkWQPFBM5zq5zTwesdNW6gTkDyJ hEjCXWOewRmV+bbkLCW/XOwFuqO4Cg4RAaRfHk9WAR5iWHuRfw32TpLxPTX5hT1f WytfbrfRzdHniQdSriWBjepCtPO/zlN9KQRk2SUBq5NuMPstpdnsQ9uwWd+H/GyD n9TBA0zXihplS/OWMcY3uhhFKKhEvOcYPwGzi1Ki3vkYoKJy/wJgB6phS47GJn7Y HhGhCJd5Fmk7GEQjJ7LZ050mQJJmfBQ8iIl2ZOArJBRuIu+DGU2nERCIOXDxc+XD X4soxfio6wkv+kU+tR+/7PicaSRmH1S8TRmCb8PMNsziilfc3RYtTEVRaiAB1Bsd cbSwN4H/3/4oKWOls8ozibdbJRL72F5rrPtmu2sZbBzhNYzFfJV8mOBEs99dAj8= =2rhS -----END PGP SIGNATURE----- --Apple-Mail=_311A5468-6339-475A-BAE0-47CAB47B0549-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Haider Rizvi Subject: Re: Get links from Firefox/Safari into orgmode Date: Sat, 21 Jun 2014 16:34:20 -0400 Message-ID: References: <36ECB38A-86A2-40CB-98A5-D7C3ABEA963D@dfranke.com> <77D73F63-E1D2-4FBA-9873-7989B028FC59@dfranke.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59896) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyRzi-0006zt-UM for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 16:34:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WyRzd-000339-J3 for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 16:34:38 -0400 Received: from plane.gmane.org ([80.91.229.3]:41785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyRzd-00032x-Cp for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 16:34:33 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WyRzb-0005fO-PT for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 22:34:31 +0200 Received: from 135-23-130-76.cpe.pppoe.ca ([135.23.130.76]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Jun 2014 22:34:31 +0200 Received: from harizvi by 135-23-130-76.cpe.pppoe.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 21 Jun 2014 22:34:31 +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: emacs-orgmode@gnu.org Daniel Franke writes: > emacs => firefox/safari That's correct. > browser => emacs Probably the best is to use an Applescript like below, and save it in ~/Library/Scripts/Applications/Safari. You can kick off this Applescript using a variety of methods (Quicksilver, menu bar, etc.) http://www.tuaw.com/2006/08/08/tuaw-tip-enable-the-applescript-menu/ tell application "Safari" set theUrl to URL of document 1 set theName to the name of the document 1 set theOrglink to "[[" & theUrl & "][" & theName & "]]" set the clipboard to theOrglink end tell activate application "Emacs" -- this last bit is iffy, since Emacs will not always have an org file -- open in the frame that pops up. tell application "System Events" keystroke "y" using control down end tell Hope this helps. Regards, -- Haider From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Franke Subject: Re: Get links from Firefox/Safari into orgmode Date: Sun, 22 Jun 2014 02:12:18 +0200 Message-ID: <28E09BEF-DE24-40DA-B63D-A8DDBADA0C4D@dfranke.com> References: <36ECB38A-86A2-40CB-98A5-D7C3ABEA963D@dfranke.com> <77D73F63-E1D2-4FBA-9873-7989B028FC59@dfranke.com> Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Content-Type: multipart/signed; boundary="Apple-Mail=_A44517A1-BF19-4274-AB40-DECCA6D88884"; protocol="application/pgp-signature"; micalg=pgp-sha512 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyVOX-0003fS-8Y for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 20:12:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WyVOS-0007JI-87 for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 20:12:29 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:49361) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyVOR-0007J4-VT for emacs-orgmode@gnu.org; Sat, 21 Jun 2014 20:12:24 -0400 Received: by mail-we0-f172.google.com with SMTP id u57so5299801wes.31 for ; Sat, 21 Jun 2014 17:12:22 -0700 (PDT) In-Reply-To: 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: Haider Rizvi Cc: emacs-orgmode@gnu.org --Apple-Mail=_A44517A1-BF19-4274-AB40-DECCA6D88884 Content-Type: multipart/alternative; boundary="Apple-Mail=_D37A7636-1181-4FC1-9B84-71E3A6C10874" --Apple-Mail=_D37A7636-1181-4FC1-9B84-71E3A6C10874 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 21 Jun 2014, at 22:34, Haider Rizvi wrote: > Daniel Franke writes: >=20 >> emacs =3D> firefox/safari > That's correct. >=20 >> browser =3D> emacs >=20 > Probably the best is to use an Applescript like below, and save it in > ~/Library/Scripts/Applications/Safari. You can kick off this > Applescript using a variety of methods (Quicksilver, menu bar, etc.) >=20 > http://www.tuaw.com/2006/08/08/tuaw-tip-enable-the-applescript-menu/ >=20 >=20 > tell application "Safari" > set theUrl to URL of document 1 > set theName to the name of the document 1 > set theOrglink to "[[" & theUrl & "][" & theName & "]]" > set the clipboard to theOrglink > end tell >=20 > activate application "Emacs" >=20 > -- this last bit is iffy, since Emacs will not always have an org file > -- open in the frame that pops up.=20 > tell application "System Events" > keystroke "y" using control down > end tell >=20 > Hope this helps. >=20 > Regards,=20 > --=20 > Haider >=20 >=20 Good evening Haider. thank you so much for your input, this helps a lot!! :) Now i have a = working solution. I used the script you suggest with a small change : tell application "Safari" set theUrl to URL of document 1 set theName to the name of the document 1 set theOrglink to "[[" & theUrl & "][" & theName & "]]" set the clipboard to theOrglink end tell activate application "Emacs" tell application "System Events" keystroke "v" using {command down} keystroke return end tell activate application "Safari" and then I opened it with the application Fastscripts = (http://www.red-sweater.com/fastscripts/). No i have the option to add = the bookmark by keystroke to the=20 actual open Emacs window. Regards, Daniel! --Apple-Mail=_D37A7636-1181-4FC1-9B84-71E3A6C10874 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii On 21 = Jun 2014, at 22:34, Haider Rizvi <harizvi@gmail.com> = wrote:

Daniel Franke <daniel@dfranke.com> = writes:

emacs =3D> = firefox/safari
That's correct.

browser =3D> emacs

Probably the = best is to use an Applescript like below, and save it = in
~/Library/Scripts/Applications/Safari. You can kick off = this
Applescript using a variety of methods (Quicksilver, menu bar, = etc.)

http://www.tuaw.com/2006/08/08/tuaw-tip-enable-the-applescript-menu/


tell application "Safari"
set theUrl to URL of document = 1
= set theName to the name of the document 1
set = theOrglink to "[[" & theUrl & "][" & theName & = "]]"
= set the clipboard to theOrglink
end tell

activate = application "Emacs"

-- this last bit is iffy, since Emacs will = not always have an org file
--  open in the frame that pops up. =
tell application "System Events"
keystroke "y" using control = down
end tell

Hope this helps.

Regards,
-- =
Haider



Good evening = Haider.

thank you so much for your input, this helps = a lot!! :) Now i have a working solution.

I = used the script you suggest with a small change :

tell application "Safari"
= set theUrl to URL of document 1
= set theName to the name of the document 1
= set theOrglink to "[[" & theUrl & "][" = & theName & "]]"
= set the clipboard to theOrglink
end tell


activate application "Emacs"
tell application "System Events"
= keystroke "v" using {command = down}
= keystroke return
end tell
activate application "Safari"

and then = I opened it with the application Fastscripts (http://www.red-sweater.co= m/fastscripts/). No i have the option to add the bookmark by = keystroke  to the 
actual open Emacs = window.

Regards,
Daniel!

= --Apple-Mail=_D37A7636-1181-4FC1-9B84-71E3A6C10874-- --Apple-Mail=_A44517A1-BF19-4274-AB40-DECCA6D88884 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GnuPT 2.8.2 iQQcBAEBCgAGBQJTph9iAAoJENZYvtsbo/qfFTcgALioJmTbBC7el7CYsdazpAfi BcDQRCoT/lwyrifPigKFmAaxvSftXJsMSHMBLTyo+VvPSvXpzMbJ9T7Ufvumy/ah 54G2hLWsTFGys/bhtYyzDuzqDPOW8btntYXSzt7rHd34c9yqQLv0xPwVcyuPayLs k3+2BKD3K3Zw+1EmZ7i6Ek6a1kCFzMUmo8OG0MH1BPqncvbCgDi7f/0P5rW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kxg673R kylWsrjxoMem1i5U8lJ9Uztz1wpip+3+Fy/uW+AFqyuNi2A2J9+ptpZjWWF+bwA= =is8Q -----END PGP SIGNATURE----- --Apple-Mail=_A44517A1-BF19-4274-AB40-DECCA6D88884-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe Koloska Subject: Re: Get links from Firefox/Safari into orgmode Date: Sun, 22 Jun 2014 23:57:34 +0200 Message-ID: <53A7514E.100@koloro.de> References: <36ECB38A-86A2-40CB-98A5-D7C3ABEA963D@dfranke.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47692) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyptY-0000nJ-C3 for emacs-orgmode@gnu.org; Sun, 22 Jun 2014 18:05:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WyptS-0008Ur-4r for emacs-orgmode@gnu.org; Sun, 22 Jun 2014 18:05:52 -0400 Received: from dd25110.kasserver.com ([85.13.144.97]:32945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WyptR-0008Uj-Uo for emacs-orgmode@gnu.org; Sun, 22 Jun 2014 18:05:46 -0400 Received: from bilbo.auenland (178-25-235-92-dynip.superkabel.de [178.25.235.92]) by dd25110.kasserver.com (Postfix) with ESMTPA id D871CEC22F3 for ; Sun, 22 Jun 2014 23:57:34 +0200 (CEST) Received: from [192.168.0.119] (elessar.fritz.box [192.168.0.119]) by bilbo.auenland (Postfix) with ESMTP id 5DA79168F0B for ; Sun, 22 Jun 2014 23:57:34 +0200 (CEST) In-Reply-To: <36ECB38A-86A2-40CB-98A5-D7C3ABEA963D@dfranke.com> 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 Am 20.06.2014 19:43, schrieb Daniel Franke: > as the subject says, I would like to get links from any browser (i > almost don=92t care which one) into org mode. With firefox you can use the CoLT (Copy Link Text) add-on https://addons.mozilla.org/de/firefox/addon/colt/ with this format string : [[%U][%T]] Hope this helps Uwe