summaryrefslogtreecommitdiff
path: root/lisp/ansi-osc.el
diff options
context:
space:
mode:
authorMatthias Meulien <orontee@gmail.com>2022-10-01 08:46:50 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2022-10-01 11:58:46 +0200
commita2a91f0205b82030d502b3b1c48c78ccfe35fda6 (patch)
tree07b1b3c2731979af03076ab2ea38f2e4d5d6543a /lisp/ansi-osc.el
parentabc955d017cc4e6ad33d06d61f8317bd2b6c380f (diff)
downloademacs-a2a91f0205b82030d502b3b1c48c78ccfe35fda6.tar.gz
Define ansi-osc customization group
* lisp/ansi-osc.el (ansi-osc): Define ansi-osc customization group (ansi-osc-for-compilation-buffer): Fix wrong group
Diffstat (limited to 'lisp/ansi-osc.el')
-rw-r--r--lisp/ansi-osc.el13
1 files changed, 12 insertions, 1 deletions
diff --git a/lisp/ansi-osc.el b/lisp/ansi-osc.el
index 67a85516281..34154998cdf 100644
--- a/lisp/ansi-osc.el
+++ b/lisp/ansi-osc.el
@@ -155,6 +155,17 @@ that is the value of `ansi-osc-handlers'."
(and (string-match ";\\(.+\\)" text)
(cons (point-marker) (match-string-no-properties 1 text)))))
+(defgroup ansi-osc nil
+ "Interpretation of OSC escape sequences.
+Handlers for OSC 2, 7 and 8 (for window title, current directory
+and hyperlinks respectively) are provided. OSC (Operating System
+Commands) control sequences are defined in section 8.3.89 of the
+ECMA-48 standard is freely available at
+<URL:https://www.ecma-international.org/publications/standards/Ecma-048.htm>
+as a PDF file."
+ :version "29.1"
+ :group 'processes)
+
(defcustom ansi-osc-for-compilation-buffer 'filter
"What to do with OSC escape sequences in compilation output.
@@ -170,7 +181,7 @@ must be in `compilation-filter-hook'."
:type '(choice (const :tag "Do nothing" nil)
(const :tag "Filter out OSC" filter)
(other :tag "Translate OSC" t))
- :group 'osc
+ :group 'ansi-osc
:version "29.1")
(defvar compilation-filter-start)