From e7f0f2c51950b3c0f181191c5210ea26cafc03f4 Mon Sep 17 00:00:00 2001 From: "Robert P. Goldman" Date: Thu, 10 Feb 2022 11:20:36 -0600 Subject: [PATCH 2/4] Revert "Fix FAQ entry about mailto links." This reverts commit b8158af7a839a751e6976cd95d18a5d5f199024a. --- org-faq.org | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/org-faq.org b/org-faq.org index cac8063e..4b34560c 100644 --- a/org-faq.org +++ b/org-faq.org @@ -1927,13 +1927,13 @@ For example: #+index: Link!Mailto You can customize the function org-mode uses to open mailto links by -changing the entry for =mailto:= links in =org-link-parameters=: +setting the variable =org-link-mailto-program=: -=M-x customize-variable org-link-parameters= +=M-x customize-variable org-link-mailto-program= The default function called is =browse-url=, which opens a mail composition buffer within Emacs. The type of buffer opened by -=browse-url= depends on the setting of the variable =mail-user-agent=. +browse-url depends on the setting of the variable =mail-user-agent=. Thus, if you want to ensure that mailto links use Gnus to open a message buffer, you could add the following to your =.emacs=: @@ -1941,18 +1941,6 @@ message buffer, you could add the following to your =.emacs=: (setq mail-user-agent 'gnus-user-agent) #+end_src -You can also change the function used to a different one. For -example, the following function (on MacOS) opens =mailto:= links in -the =MailMate= program: - -#+begin_src elisp -("mailto" :follow - (lambda - (path) - (shell-command - (format "open -a MailMate 'mailto:%s'" path)))) -#+end_src - ** Can I use CamelCase links? :PROPERTIES: :CUSTOM_ID: CamelCase-links -- 2.31.1