summaryrefslogtreecommitdiff
path: root/lisp/org/org-protocol.el
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2024-01-02 10:19:48 +0800
committerPo Lu <luangruo@yahoo.com>2024-01-02 10:19:48 +0800
commit083e90dd80a16c9c573f92e0f11603267d15d82b (patch)
treeb66eed2722734e556cc708e812f93662f26458ed /lisp/org/org-protocol.el
parent24741d25633084101ab697ba6e28f03e1cdc8b7a (diff)
parent3204825f56040df0a783de4fc99052eabb62b84b (diff)
downloademacs-083e90dd80a16c9c573f92e0f11603267d15d82b.tar.gz
emacs-083e90dd80a16c9c573f92e0f11603267d15d82b.tar.bz2
emacs-083e90dd80a16c9c573f92e0f11603267d15d82b.zip
Merge from origin/emacs-29
3204825f560 Fix mangled Subject header field when forwarding (Bug#67360) 7591acfe38e Update to Org 9.6.15 240b4594f11 ; * etc/TODO: Add an item about 'Info-hide-note-references'. 01be4fe39d7 * doc/emacs/custom.texi (Modifier Keys): Fix markup (bug#... 55555a6a0d1 org-protocol: Minor copy-edits to Commentary 4696869d3d5 Improve syntax highlighting for python-ts-mode
Diffstat (limited to 'lisp/org/org-protocol.el')
-rw-r--r--lisp/org/org-protocol.el21
1 files changed, 11 insertions, 10 deletions
diff --git a/lisp/org/org-protocol.el b/lisp/org/org-protocol.el
index 9e72bda863c..f149db30f2f 100644
--- a/lisp/org/org-protocol.el
+++ b/lisp/org/org-protocol.el
@@ -34,7 +34,10 @@
;; `org-protocol-protocol-alist' and `org-protocol-protocol-alist-default'.
;;
;; Any application that supports calling external programs with an URL
-;; as argument may be used with this functionality.
+;; as argument could use this functionality. For example, you can
+;; configure bookmarks in your web browser to send a link to the
+;; current page to Org and create a note from it using `org-capture'.
+;; See Info node `(org) Protocols' for more information.
;;
;;
;; Usage:
@@ -44,13 +47,13 @@
;;
;; (require 'org-protocol)
;;
-;; 3.) Ensure emacs-server is up and running.
-;; 4.) Try this from the command line (adjust the URL as needed):
+;; 2.) Ensure emacs-server is up and running.
+;; 3.) Try this from the command line (adjust the URL as needed):
;;
;; $ emacsclient \
;; "org-protocol://store-link?url=http:%2F%2Flocalhost%2Findex.html&title=The%20title"
;;
-;; 5.) Optionally add custom sub-protocols and handlers:
+;; 4.) Optionally, add custom sub-protocols and handlers:
;;
;; (setq org-protocol-protocol-alist
;; '(("my-protocol"
@@ -64,10 +67,11 @@
;; If it works, you can now setup other applications for using this feature.
;;
;;
-;; As of March 2009 Firefox users follow the steps documented on
-;; https://kb.mozillazine.org/Register_protocol, Opera setup is described here:
-;; http://www.opera.com/support/kb/view/535/
+;; Firefox users follow the steps documented on
+;; https://kb.mozillazine.org/Register_protocol, Opera setup is
+;; described here: http://www.opera.com/support/kb/view/535/
;;
+;; See also: https://orgmode.org/worg/org-contrib/org-protocol.html
;;
;; Documentation
;; -------------
@@ -123,9 +127,6 @@
;; Note that using double slashes is optional from org-protocol.el's point of
;; view because emacsclient squashes the slashes to one.
;;
-;;
-;; provides: 'org-protocol
-;;
;;; Code:
(require 'org-macs)