From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id YK60NyDevWKvxwAAbAwnHQ (envelope-from ) for ; Thu, 30 Jun 2022 19:32:16 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qBO3NyDevWLYfAAA9RJhRA (envelope-from ) for ; Thu, 30 Jun 2022 19:32:16 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4FE9913667 for ; Thu, 30 Jun 2022 19:32:16 +0200 (CEST) Received: from localhost ([::1]:60730 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6y1X-0002hm-AR for larch@yhetil.org; Thu, 30 Jun 2022 13:32:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54726) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6y0J-0002fr-Iw for emacs-orgmode@gnu.org; Thu, 30 Jun 2022 13:31:06 -0400 Received: from mailrelay1-3.pub.mailoutpod1-cph3.one.com ([46.30.212.10]:52235) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6y0D-0006HP-FC for emacs-orgmode@gnu.org; Thu, 30 Jun 2022 13:30:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ntumwa-nziza.com; s=rsa1; h=content-type:mime-version:message-id:in-reply-to:date:subject:cc:to:from: references:from; bh=8suHkcezWXYcRlJGB2JLM8B/itTho7NuC5Z7i3LplEU=; b=NQSu2RTDUohqQ2xDfYo7e9lwAzQmwNXTdeHNbG4dFpohfdZ/jjm1jw71iMxxqzS8Xafq6Zyz2fWVD g3qmb8nsV3iQJeNKdnUOmrRJrvRcR9SYCT7iDw15jW+bbEYi2/vTxqx/8Ekapm4sWm7wUInXtwSY4r YjPNmRYZefF0oIZrdcLnPzLtYw5ryZ9apT1LEXOGzzgKqViqDwYD+/ZT5nzZ588CV3vZKhYpt3NgVU X/+W1UWyqqdaNaqvYgG1oe2bJVDCrCAZHe6ViSTh0UPgDG6lHyRY6U41jFIYNwUPW1f3wkJyG6hZkh 2oaP+dMSZcVOjjhmsaqH2HHBAdKurlg== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=ntumwa-nziza.com; s=ed1; h=content-type:mime-version:message-id:in-reply-to:date:subject:cc:to:from: references:from; bh=8suHkcezWXYcRlJGB2JLM8B/itTho7NuC5Z7i3LplEU=; b=6uRjoMmpI3RfF8Oj5Zmplpd7cf9+iM7Tmo3eNp57gngJCds53r2vukZt7fx+7wXJ0P4CEJItanB+/ dw9cJFoAQ== X-HalOne-Cookie: eee36a91834f9d8c1d62969e9ec5efc2fb817b5e X-HalOne-ID: 5f9ae57e-f89a-11ec-a6c5-d0431ea8a283 Received: from localhost (cable-static2-2-218.rsnweb.ch [146.185.2.218]) by mailrelay1.pub.mailoutpod1-cph3.one.com (Halon) with ESMTPSA id 5f9ae57e-f89a-11ec-a6c5-d0431ea8a283; Thu, 30 Jun 2022 17:30:46 +0000 (UTC) References: <87fsjm7g6t.fsf@localhost> User-agent: mu4e 1.6.11; emacs 28.1 From: =?utf-8?Q?Aim=C3=A9?= Bertrand To: Ihor Radchenko Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH] worg - Reflect the removal of org-mac-link.el from org-contrib Date: Thu, 30 Jun 2022 19:01:06 +0200 In-reply-to: <87fsjm7g6t.fsf@localhost> Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: none client-ip=46.30.212.10; envelope-from=aime.bertrand@ntumwa-nziza.com; helo=mailrelay1-3.pub.mailoutpod1-cph3.one.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1656610336; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8suHkcezWXYcRlJGB2JLM8B/itTho7NuC5Z7i3LplEU=; b=WfQEUnifWqk9z0g0g+qinQ3SoIj9lCa/osD2rFljICH8J+CKOTYD0ItYuSBXIjjYU1m7/d Y9ku9YLJUZ/oCyN02IwHqQs2XylPmdvmMUTanCQf5ZelumExZNRaz/Zvl/+nxg0zg1GSzx 0kaRqedUi4Y80vdD37ajxAvyPiEgfHN7CFe+4mLFPxNWbVpSKbebXM+wsuTRVQZZOIKp+7 Z7cs28jdtlVsBEJErUz/MrRtqiyw13fi3bnOPuTXyNWQWFGdvjTfs2bsMylrY5dZWYjo+g LSQWXax8Jq3LIE/jttVHKR0x8/mGOypNO+MG5bnvJ9y1f3cTZZ/5jGEMxIGQ7Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1656610336; a=rsa-sha256; cv=none; b=TRXfdCujdHPgi8cWx7GgK0zOxHQOE4HggSgDZVFSKLbirUXRhz+FXbE/Wsd7vAyrmgf/cG mA/GgHf9E33KDXtoFsKNCmx6u6lkatBSmSTRdtMLezf2IHiBaed27/LyD3tXiDq4rvaC00 eZUmepCGfE6EmWAiROT6fFXqRlIUYmhFZc1Zo81rIQnWgyG54KBkpKncmDOLxpbR+7Khm+ tLMv48OO1HFeCtI7pPHM1Xi2dhvi80akRiqf6rCebeAAvJnsBPYRkBJouKuBoNqjwcyK8T OcYVQZdDyL/7mhkZ14CNsHPNrOP+1HRhiCBboN1gdGNvBON2rmDhQCpVqQlHBA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ntumwa-nziza.com header.s=rsa1 header.b=NQSu2RTD; dkim=pass header.d=ntumwa-nziza.com header.s=ed1 header.b=6uRjoMmp; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -6.75 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ntumwa-nziza.com header.s=rsa1 header.b=NQSu2RTD; dkim=pass header.d=ntumwa-nziza.com header.s=ed1 header.b=6uRjoMmp; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 4FE9913667 X-Spam-Score: -6.75 X-Migadu-Scanner: scn0.migadu.com X-TUID: O5dDiOOiPI3K --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Hi Ihor, > Aim=C3=A9 Bertrand writes: > >> org-mac-link was removed from org-contrib with >> https://git.sr.ht/~bzg/org-contrib/commit/c6aef31ccfc7c4418c3b51e98f7c3b= d8e255f5e6. >> >> This is a patch (attached) for Worg to reflect the changes. > > Thanks for the patch! > >> --- a/org-contrib/index.org >> +++ b/org-contrib/index.org >> @@ -110,14 +110,6 @@ the package -- it will hopefully have some=20 >> documentation. >> Written by /Christopher Suckling/. >> [[contribfile:lisp/org-mac-iCal.el][Link to raw file]]. >> >> -- [[file:org-mac-link.org][/org-mac-link.el/ -- grab links=20 >> from various mac applications]] :: >> - Grab the current link or selection from an open mac=20 >> application and >> - insert it as a hyperlink at point in an org-mode=20 >> document. Written >> - by /Anthony Lander/, /John Wiegley/ and /Christopher=20 >> Suckling/. >> - This file replaces the earlier org-mac-message.el and >> - org-mac-link-grabber.el. >> - [[contribfile:lisp/org-mac-link.el][Link to raw file]]. > > Rather than removing the package description completely, it=20 > should be > moved to the External section. Took your advice and moved the package description to the External=20 section. > >> diff --git a/org-contrib/org-mac-link.org=20 >> b/org-contrib/org-mac-link.org >> deleted file mode 100644 >> index 2b2582e9..00000000 >> --- a/org-contrib/org-mac-link.org >> +++ /dev/null > > I have looked into README.org in > https://gitlab.com/aimebertrand/org-mac-link and I notice that=20 > it > contains less information compared to org-mac-link.org. It would=20 > be > useful to provide the missing details in the new README.org if=20 > you plan > to maintain the documentation there instead of WORG. > Left the documentation here and updated page to reflect the=20 changes to the package. Also Added URLs to external sources. >> -** [[file:org-contrib/org-mac-link.org][org-mac-link]] --=20 >> Hyperlink to items in mac applications >> - grab the current link or selection from an open mac=20 >> application and >> - insert it as a hyperlink at point in an org-mode=20 >> document. Written >> - by /Anthony Lander/. >> - >> **=20 >> [[file:org-contrib/org-mac-mail-link.org][org-mac-mail-link]]=20 >> -- Hyperlink to messages in Mail.app >> A small elisp file that addresses linking to Mail.app=20 >> messages >> directly via the =3Dorg-capture=3D system. For wider=20 >> application >> - support check out=20 >> [[file:org-contrib/org-mac-link.org][org-mac-link]]. >> + support check out=20 >> [[https://gitlab.com/aimebertrand/org-mac-link][org-mac-link]]. > > [[file:org-contrib/org-mac-mail-link.org][org-mac-mail-link]] is=20 > not > changed and will become dead line after applying this patch. > Left the page here. There shouldn't be any dead lines after the=20 patch. New patch file attached. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Reflect-the-removal-of-org-mac-link.el-from-org-cont.patch >From 6d3e5b319670574fb47a74ed3139990077190406 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aim=C3=A9=20Bertrand?= Date: Thu, 30 Jun 2022 18:55:34 +0200 Subject: [PATCH] Reflect the removal of org-mac-link.el from org-contrib * org-contrib/index.org: move org-mac-link.el to external section * org-contrib/org-mac-link.org: Add more supported Apps. Add URL to Repo. Add MELPA URL. --- org-contrib/index.org | 16 ++++++++-------- org-contrib/org-mac-link.org | 26 ++++++++++++++++++-------- 2 files changed, 26 insertions(+), 16 deletions(-) diff --git a/org-contrib/index.org b/org-contrib/index.org index 308168fc..1d329475 100644 --- a/org-contrib/index.org +++ b/org-contrib/index.org @@ -110,14 +110,6 @@ the package -- it will hopefully have some documentation. Written by /Christopher Suckling/. [[contribfile:lisp/org-mac-iCal.el][Link to raw file]]. -- [[file:org-mac-link.org][/org-mac-link.el/ -- grab links from various mac applications]] :: - Grab the current link or selection from an open mac application and - insert it as a hyperlink at point in an org-mode document. Written - by /Anthony Lander/, /John Wiegley/ and /Christopher Suckling/. - This file replaces the earlier org-mac-message.el and - org-mac-link-grabber.el. - [[contribfile:lisp/org-mac-link.el][Link to raw file]]. - - /org-mairix.el/ -- hook mairix search into Org for different MUAs :: Written by /Georg C. F. Greve/. [[contribfile:lisp/org-mairix.el][Link to raw file]]. @@ -299,6 +291,14 @@ See [[file:../exporters/index.org][Exporters]]. - [[http://ozymandias.dk/emacs/org-import-calendar.el][/org-import-icalendar.el/]] -- import iCal events in an Org buffer :: Written by /Vagn Johansen/. +- [[file:org-mac-link.org][/org-mac-link/ -- grab links from various mac applications]] :: + Grab the current link or selection from an open mac application and + insert it as a hyperlink at point in an org-mode document. Written + by /Anthony Lander/, /John Wiegley/ and /Christopher Suckling/. + This file replaces the earlier org-mac-message.el and + org-mac-link-grabber.el. + [[https://gitlab.com/aimebertrand/org-mac-link][project page]]. + - [[https://github.com/sigma/org-magit][/org-magit/]] -- basic support for [[https://github.com/magit/magit][magit]] links :: Written by /Yann Hodique/. diff --git a/org-contrib/org-mac-link.org b/org-contrib/org-mac-link.org index 2b2582e9..b06b8f0c 100644 --- a/org-contrib/org-mac-link.org +++ b/org-contrib/org-mac-link.org @@ -8,7 +8,7 @@ # Free Documentation license v1.3 or later, code examples are released # under the GNU General Public License v3 or later. -* Overview +* Overview This code will allow you to grab the current link or selection from an open mac application and insert it as a hyperlink at point in an @@ -25,23 +25,33 @@ - Firefox.app - Firefox.app with the Vimperator plugin - Google Chrome.app + - Brave.app + - Microsoft Outlook.app - Together.app - + - DEVONthink Pro Office.app + - Evernote.app + - qutebrowser.app + * Installation - - Customize the org group by typing =M-x customize-group RET org RET=, then - expand the /Modules/ section, and enable =mac-link=. + + Org-mac-link has its own repository [[https://gitlab.com/aimebertrand/org-mac-link][on GitLab]]. + + It's also available in [[https://melpa.org/#/org-mac-link][MELPA]]. + +* Customizing + + Customize the org group by typing =M-x customize-group RET org-mac-link RET=. You may also optionally bind a key to activate the link grabber menu, like this: - : (add-hook 'org-mode-hook (lambda () - : (define-key org-mode-map (kbd "C-c g") 'org-mac-grab-link))) + : (add-hook 'org-mode-hook (lambda () + : (define-key org-mode-map (kbd "C-c g") 'org-mac-link-get-link))) * Usage Activate the grabber by typing =C-c g= (or whatever key you decided to bind, - as above), or type =M-x org-mac-grab-link RET=. This will give you a menu in + as above), or type =M-x org-mac-link-get-link RET=. This will give you a menu in the modeline allowing you to select an application. The current selection in that application will be inserted at point as a hyperlink in your org-mode document. -- 2.32.1 (Apple Git-133) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable > Best, > Ihor Salut -- Aim=C3=A9 Bertrand aime.bertrand@macowners.club --=-=-=--