>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)