unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#58200: osc.el name conflict
@ 2022-09-30 18:32 Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-09-30 19:51 ` Matthias Meulien
  0 siblings, 1 reply; 9+ messages in thread
From: Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-09-30 18:32 UTC (permalink / raw)
  To: 58200; +Cc: Augusto Stoffel, Matthias Meulien

The recent extraction of comint's handling of SCO escape sequences into
`lisp/osc.el` is probably a good thing in general but it breaks GNU
ELPA's `osc` package :-(

Could we use another name for that file?


        Stefan






^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#58200: osc.el name conflict
  2022-09-30 18:32 bug#58200: osc.el name conflict Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-09-30 19:51 ` Matthias Meulien
  2022-09-30 19:57   ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Matthias Meulien @ 2022-09-30 19:51 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 58200, Augusto Stoffel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> The recent extraction of comint's handling of SCO escape sequences into
> `lisp/osc.el` is probably a good thing in general but it breaks GNU
> ELPA's `osc` package :-(

Arg...  Sorry I didn't ear of that package until now.

> Could we use another name for that file?

Sure.  And I can do the renaming, but what would be a good name?
What do you think of osc-sequences.el?
-- 
Matthias





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#58200: osc.el name conflict
  2022-09-30 19:51 ` Matthias Meulien
@ 2022-09-30 19:57   ` Lars Ingebrigtsen
  2022-09-30 20:08     ` Augusto Stoffel
  2022-09-30 20:10     ` Matthias Meulien
  0 siblings, 2 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-30 19:57 UTC (permalink / raw)
  To: Matthias Meulien; +Cc: 58200, Augusto Stoffel, Stefan Monnier

Matthias Meulien <orontee@gmail.com> writes:

> Sure.  And I can do the renaming, but what would be a good name?
> What do you think of osc-sequences.el?

Would ansi-osc.el be totally misleading?





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#58200: osc.el name conflict
  2022-09-30 19:57   ` Lars Ingebrigtsen
@ 2022-09-30 20:08     ` Augusto Stoffel
  2022-10-01  9:57       ` Lars Ingebrigtsen
  2022-09-30 20:10     ` Matthias Meulien
  1 sibling, 1 reply; 9+ messages in thread
From: Augusto Stoffel @ 2022-09-30 20:08 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 58200, Matthias Meulien, Stefan Monnier

[-- Attachment #1: Type: text/plain, Size: 506 bytes --]

I think the file name in itself doesn't matter too much. But should we also
rename all symbols to have a matching prefix?

Sharing the osc- prefix is not as clean but I guess there's enough space in
it for the two packages...

On Fri, Sep 30, 2022, 21:57 Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Matthias Meulien <orontee@gmail.com> writes:
>
> > Sure.  And I can do the renaming, but what would be a good name?
> > What do you think of osc-sequences.el?
>
> Would ansi-osc.el be totally misleading?
>

[-- Attachment #2: Type: text/html, Size: 963 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#58200: osc.el name conflict
  2022-09-30 19:57   ` Lars Ingebrigtsen
  2022-09-30 20:08     ` Augusto Stoffel
@ 2022-09-30 20:10     ` Matthias Meulien
  2022-09-30 21:19       ` Matthias Meulien
  1 sibling, 1 reply; 9+ messages in thread
From: Matthias Meulien @ 2022-09-30 20:10 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 58200, Augusto Stoffel, Stefan Monnier

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Matthias Meulien <orontee@gmail.com> writes:
>
>> Sure.  And I can do the renaming, but what would be a good name?
>> What do you think of osc-sequences.el?
>
> Would ansi-osc.el be totally misleading?

I am ok with that.

My understanding was that OSC sequences are more related to ECMA because
the most precise description I read is here:
https://www.ecma-international.org/publications-and-standards/standards/ecma-48/
but Wikipedia page on ANSI escape sequences tends to present OSC
sequences as a particular case of ANSI sequences, aligned with your
suggestion,
https://en.wikipedia.org/wiki/ANSI_escape_code#OSC_(Operating_System_Command)_sequences.

We could use the prefix ansi-osc- which isn't that long.
-- 
Matthias





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#58200: osc.el name conflict
  2022-09-30 20:10     ` Matthias Meulien
@ 2022-09-30 21:19       ` Matthias Meulien
  2022-10-01  6:50         ` Matthias Meulien
  0 siblings, 1 reply; 9+ messages in thread
From: Matthias Meulien @ 2022-09-30 21:19 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 58200, Augusto Stoffel, Stefan Monnier

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]

Matthias Meulien <orontee@gmail.com> writes:

> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> Matthias Meulien <orontee@gmail.com> writes:
>>
>>> Sure.  And I can do the renaming, but what would be a good name?
>>> What do you think of osc-sequences.el?
>>
>> Would ansi-osc.el be totally misleading?
>
> I am ok with that.
>
> My understanding was that OSC sequences are more related to ECMA because
> the most precise description I read is here:
> https://www.ecma-international.org/publications-and-standards/standards/ecma-48/
> but Wikipedia page on ANSI escape sequences tends to present OSC
> sequences as a particular case of ANSI sequences, aligned with your
> suggestion,
> https://en.wikipedia.org/wiki/ANSI_escape_code#OSC_(Operating_System_Command)_sequences.
>
> We could use the prefix ansi-osc- which isn't that long.

A patch that renames related files and adds the ansi-osc- prefix is attached.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Rename-osc.el-to-ansi-osc.el-bug-58200.patch --]
[-- Type: text/x-diff, Size: 13384 bytes --]

From 1e027ba3498a040e32298dbddfd9ad1671bab46b Mon Sep 17 00:00:00 2001
From: Matthias Meulien <orontee@gmail.com>
Date: Fri, 30 Sep 2022 22:46:35 +0200
Subject: [PATCH] Rename osc.el to ansi-osc.el (bug#58200)

* lisp/osc.el: Move from here...
* lisp/ansi-osc.el: ...to here.
* test/lisp/osc-tests.el: Move from here...
* test/lisp/ansi-osc-tests.el: ...to here.
---
 etc/NEWS                                      |   4 +-
 lisp/{osc.el => ansi-osc.el}                  | 105 +++++++++---------
 lisp/comint.el                                |  14 +--
 test/lisp/{osc-tests.el => ansi-osc-tests.el} |  12 +-
 4 files changed, 68 insertions(+), 67 deletions(-)
 rename lisp/{osc.el => ansi-osc.el} (63%)
 rename test/lisp/{osc-tests.el => ansi-osc-tests.el} (85%)

diff --git a/etc/NEWS b/etc/NEWS
index b9c4ef62ce..ec23f10b1f 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2577,12 +2577,12 @@ Enabling this minor mode turns on hiding header material, like
 'elide-head' does; disabling it shows the header.  The commands
 'elide-head' and 'elide-head-show' are now obsolete.
 
-*** New package osc.el.
+*** New package ansi-osc.el.
 Support for OSC ("Operating System Command") escape sequences has been
 extracted from comint.el in order to provide interpretation of OSC
 sequences in compilation buffers.
 
-Adding the new function 'osc-compilation-filter' to
+Adding the new function 'ansi-osc-compilation-filter' to
 'compilation-filter-hook' enables interpretation of OSC escape
 sequences in compilation buffers.  By default, all sequences are
 filtered out.
diff --git a/lisp/osc.el b/lisp/ansi-osc.el
similarity index 63%
rename from lisp/osc.el
rename to lisp/ansi-osc.el
index 14f7fe6a4f..67a8551628 100644
--- a/lisp/osc.el
+++ b/lisp/ansi-osc.el
@@ -1,4 +1,4 @@
-;;; osc.el --- Support for OSC escape sequences      -*- lexical-binding: t; -*-
+;;; ansi-osc.el --- Support for OSC escape sequences      -*- lexical-binding: t; -*-
 
 ;; Copyright (C) 2022  Free Software Foundation, Inc.
 
@@ -26,37 +26,37 @@
 ;; Handlers for OSC 2, 7 and 8 (for window title, current directory
 ;; and hyperlinks respectively) are provided.
 
-;; The function `osc-compilation-filter' can be added to
+;; The function `ansi-osc-compilation-filter' can be added to
 ;; `compilation-filter-hook' to collect OSC sequences in compilation
-;; buffers.  The variable `osc-for-compilation-buffer' tells what to
-;; do with collected sequences.
+;; buffers.  The variable `ansi-osc-for-compilation-buffer' tells what
+;; to do with collected sequences.
 
 ;;; Code:
 
-(defconst osc-control-seq-regexp
+(defconst ansi-osc-control-seq-regexp
   ;; See ECMA 48, section 8.3.89 "OSC - OPERATING SYSTEM COMMAND".
   "\e\\][\x08-\x0D]*[\x20-\x7E]*\\(\a\\|\e\\\\\\)"
   "Regexp matching an OSC control sequence.")
 
-(defun osc-filter-region (begin end)
+(defun ansi-osc-filter-region (begin end)
   "Filter out all OSC control sequences from region between BEGIN and END."
   (save-excursion
     (goto-char begin)
     ;; Delete escape sequences.
-    (while (re-search-forward osc-control-seq-regexp end t)
+    (while (re-search-forward ansi-osc-control-seq-regexp end t)
       (delete-region (match-beginning 0) (match-end 0)))))
 
-(defvar-local osc-handlers '(("2" . osc-window-title-handler)
-                             ("7" . osc-directory-tracker)
-                             ("8" . osc-hyperlink-handler))
+(defvar-local ansi-osc-handlers '(("2" . ansi-osc-window-title-handler)
+                                  ("7" . ansi-osc-directory-tracker)
+                                  ("8" . ansi-osc-hyperlink-handler))
   "Alist of handlers for OSC escape sequences.
-See `osc-apply-on-region' for details.")
+See `ansi-osc-apply-on-region' for details.")
 
-(defvar-local osc--marker nil)
-;; The function `osc-apply-on-region' can set `osc--marker' to the start
-;; position of an escape sequence without termination.
+(defvar-local ansi-osc--marker nil)
+;; The function `ansi-osc-apply-on-region' can set `ansi-osc--marker'
+;; to the start position of an escape sequence without termination.
 
-(defun osc-apply-on-region (begin end)
+(defun ansi-osc-apply-on-region (begin end)
   "Interpret OSC escape sequences in region between BEGIN and END.
 This function searches for escape sequences of the forms
 
@@ -64,12 +64,13 @@ osc-apply-on-region
     ESC ] command ; text ESC \\
 
 Every occurrence of such escape sequences is removed from the
-buffer.  Then, if `command' is a key in the alist that is the value
-of the local variable `osc-handlers', that key's value, which should
-be a function, is called with `command' and `text' as arguments, with
-point where the escape sequence was located."
+buffer.  Then, if `command' is a key in the alist that is the
+value of the local variable `ansi-osc-handlers', that key's
+value, which should be a function, is called with `command' and
+`text' as arguments, with point where the escape sequence was
+located."
   (save-excursion
-    (goto-char (or osc--marker begin))
+    (goto-char (or ansi-osc--marker begin))
     (when (eq (char-before) ?\e) (backward-char))
     (while (re-search-forward "\e]" end t)
       (let ((pos0 (match-beginning 0))
@@ -79,35 +80,35 @@ osc-apply-on-region
         (if (re-search-forward "\a\\|\e\\\\" end t)
             (let ((text (buffer-substring-no-properties
                          pos1 (match-beginning 0))))
-              (setq osc--marker nil)
+              (setq ansi-osc--marker nil)
               (delete-region pos0 (point))
-              (when-let ((fun (cdr (assoc-string code osc-handlers))))
+              (when-let ((fun (cdr (assoc-string code ansi-osc-handlers))))
                 (funcall fun code text)))
           (put-text-property pos0 end 'invisible t)
-          (setq osc--marker (copy-marker pos0)))))))
+          (setq ansi-osc--marker (copy-marker pos0)))))))
 
 ;; Window title handling (OSC 2)
 
-(defvar-local osc-window-title nil)
-(defun osc-window-title-handler (_ text)
-  "Set value of `osc-window-title' from an OSC 2 escape sequence.
-The variable `osc-window-title' can then be referenced in
+(defvar-local ansi-osc-window-title nil)
+(defun ansi-osc-window-title-handler (_ text)
+  "Set value of `ansi-osc-window-title' from an OSC 2 escape sequence.
+The variable `ansi-osc-window-title' can then be referenced in
 `frame-title-format' to dynamically set the frame title.
 
 This function is intended to be included as an element of the
-list that is the value of `osc-handlers'."
-  (setq osc-window-title text))
+list that is the value of `ansi-osc-handlers'."
+  (setq ansi-osc-window-title text))
 
 ;; Current directory tracking (OSC 7)
 
 (declare-function url-host "url/url-parse.el")
 (declare-function url-type "url/url-parse.el")
 (declare-function url-filename "url/url-parse.el")
-(defun osc-directory-tracker (_ text)
+(defun ansi-osc-directory-tracker (_ text)
   "Update `default-directory' from OSC 7 escape sequences.
 
 This function is intended to be included as an element of the
-the list that is the value of `osc-handlers'.  You should arrange
+the list that is the value of `ansi-osc-handlers'.  You should arrange
 for your shell to print the appropriate escape sequence at each prompt,
 such as with the following command:
 
@@ -124,7 +125,7 @@ osc-directory-tracker
 
 ;; Hyperlink handling (OSC 8)
 
-(defvar osc-hyperlink-map
+(defvar ansi-osc-hyperlink-map
   (let ((map (make-sparse-keymap)))
     (define-key map "\C-c\r" 'browse-url-button-open)
     (define-key map [mouse-2] 'browse-url-button-open)
@@ -132,29 +133,29 @@ osc-hyperlink-map
     map)
   "Keymap used by OSC 8 hyperlink buttons.")
 
-(define-button-type 'osc-hyperlink
-  'keymap osc-hyperlink-map
+(define-button-type 'ansi-osc-hyperlink
+  'keymap ansi-osc-hyperlink-map
   'help-echo (lambda (_ buffer pos)
                (when-let ((url (get-text-property pos 'browse-url-data buffer)))
                  (format "mouse-2, C-c RET: Open %s" url))))
 
-(defvar-local osc-hyperlink--state nil)
+(defvar-local ansi-osc-hyperlink--state nil)
 
-(defun osc-hyperlink-handler (_ text)
+(defun ansi-osc-hyperlink-handler (_ text)
   "Create a hyperlink from an OSC 8 escape sequence.
 This function is intended to be included as an elemnt of the list
-that is the value of `osc-handlers'."
-  (when osc-hyperlink--state
-    (let ((start (car osc-hyperlink--state))
-          (url (cdr osc-hyperlink--state)))
+that is the value of `ansi-osc-handlers'."
+  (when ansi-osc-hyperlink--state
+    (let ((start (car ansi-osc-hyperlink--state))
+          (url (cdr ansi-osc-hyperlink--state)))
       (make-text-button start (point)
-                        'type 'osc-hyperlink
+                        'type 'ansi-osc-hyperlink
                         'browse-url-data url)))
-  (setq osc-hyperlink--state
+  (setq ansi-osc-hyperlink--state
         (and (string-match ";\\(.+\\)" text)
              (cons (point-marker) (match-string-no-properties 1 text)))))
 
-(defcustom osc-for-compilation-buffer 'filter
+(defcustom ansi-osc-for-compilation-buffer 'filter
   "What to do with OSC escape sequences in compilation output.
 
 If nil, do nothing.
@@ -162,9 +163,9 @@ osc-for-compilation-buffer
 If the symbol `filter', then filter out all OSC control sequences.
 
 If any other non-nil value, then collect OSC control sequences
-and call the appropriate handlers as described in `osc-handlers'.
+and call the appropriate handlers as described in `ansi-osc-handlers'.
 
-In order for this to have any effect, `osc-compilation-filter'
+In order for this to have any effect, `ansi-osc-compilation-filter'
 must be in `compilation-filter-hook'."
   :type '(choice (const :tag "Do nothing" nil)
                  (const :tag "Filter out OSC" filter)
@@ -175,17 +176,17 @@ osc-for-compilation-buffer
 (defvar compilation-filter-start)
 
 ;;;###autoload
-(defun osc-compilation-filter ()
+(defun ansi-osc-compilation-filter ()
   "Maybe collect OSC control sequences.
-This function depends on the variable `osc-for-compilation-buffer',
+This function depends on the variable `ansi-osc-for-compilation-buffer',
 and is meant to be used in `compilation-filter-hook'."
   (let ((inhibit-read-only t))
-    (pcase osc-for-compilation-buffer
+    (pcase ansi-osc-for-compilation-buffer
       ('nil nil)
       ('filter
-       (osc-filter-region compilation-filter-start (point)))
+       (ansi-osc-filter-region compilation-filter-start (point)))
       (_
-       (osc-apply-on-region compilation-filter-start (point))))))
+       (ansi-osc-apply-on-region compilation-filter-start (point))))))
 
-(provide 'osc)
-;;; osc.el ends here
+(provide 'ansi-osc)
+;;; ansi-osc.el ends here
diff --git a/lisp/comint.el b/lisp/comint.el
index a70a75c648..b1f3ad8259 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -103,7 +103,7 @@
 
 (require 'ring)
 (require 'ansi-color)
-(require 'osc)
+(require 'ansi-osc)
 (require 'regexp-opt)                   ;For regexp-opt-charset.
 (eval-when-compile (require 'subr-x))
 \f
@@ -3918,11 +3918,11 @@ comint-redirect-results-list-from-process
 ;; sequences.
 
 ;; Aliases defined for reverse compatibility
-(defvaralias 'comint-osc-handlers 'osc-handlers)
-(defalias 'comint-osc-directory-tracker 'osc-directory-tracker)
-(defalias 'comint-osc-hyperlink-handler 'osc-hyperlink-handler)
-(defalias 'comint-osc-hyperlink 'osc-hyperlink)
-(defvaralias 'comint-osc-hyperlink-map 'osc-hyperlink-map)
+(defvaralias 'comint-osc-handlers 'ansi-osc-handlers)
+(defalias 'comint-osc-directory-tracker 'ansi-osc-directory-tracker)
+(defalias 'comint-osc-hyperlink-handler 'ansi-osc-hyperlink-handler)
+(defalias 'comint-osc-hyperlink 'ansi-osc-hyperlink)
+(defvaralias 'comint-osc-hyperlink-map 'ansi-osc-hyperlink-map)
 
 (defun comint-osc-process-output (_)
   "Interpret OSC escape sequences in comint output.
@@ -3941,7 +3941,7 @@ comint-osc-process-output
   (let ((start (1- comint-last-output-start))
         ;; Start one char before last output to catch a possibly stray ESC
         (bound (process-mark (get-buffer-process (current-buffer)))))
-    (osc-apply-on-region start bound)))
+    (ansi-osc-apply-on-region start bound)))
 
 \f
 ;;; Input fontification and indentation through an indirect buffer
diff --git a/test/lisp/osc-tests.el b/test/lisp/ansi-osc-tests.el
similarity index 85%
rename from test/lisp/osc-tests.el
rename to test/lisp/ansi-osc-tests.el
index d53bab08d3..b3d66fb036 100644
--- a/test/lisp/osc-tests.el
+++ b/test/lisp/ansi-osc-tests.el
@@ -26,10 +26,10 @@
 
 ;;; Code:
 
-(require 'osc)
+(require 'ansi-osc)
 (require 'ert)
 
-(defvar osc-tests--strings
+(defvar ansi-osc-tests--strings
   `(
     ("Hello World" "Hello World")
 
@@ -48,10 +48,10 @@ osc-tests--strings
 ;; Don't output those strings to stdout since they may have
 ;; side-effects on the environment
 
-(ert-deftest osc-tests-apply-region-no-handlers ()
-  (let ((osc-handlers nil))
-    (pcase-dolist (`(,input ,text) osc-tests--strings)
+(ert-deftest ansi-osc-tests-apply-region-no-handlers ()
+  (let ((ansi-osc-handlers nil))
+    (pcase-dolist (`(,input ,text) ansi-osc-tests--strings)
       (with-temp-buffer
         (insert input)
-        (osc-apply-on-region (point-min) (point-max))
+        (ansi-osc-apply-on-region (point-min) (point-max))
         (should (equal (buffer-string) text))))))
-- 
2.30.2


[-- Attachment #3: Type: text/plain, Size: 15 bytes --]



-- 
Matthias

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* bug#58200: osc.el name conflict
  2022-09-30 21:19       ` Matthias Meulien
@ 2022-10-01  6:50         ` Matthias Meulien
  2022-10-01  9:59           ` Lars Ingebrigtsen
  0 siblings, 1 reply; 9+ messages in thread
From: Matthias Meulien @ 2022-10-01  6:50 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 58200, Augusto Stoffel, Stefan Monnier

[-- Attachment #1: Type: text/plain, Size: 194 bytes --]

Matthias Meulien <orontee@gmail.com> writes:

> A patch that renames related files and adds the ansi-osc- prefix is attached.

I just realized that the customization group hasn't been defined.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Define-ansi-osc-customization-group.patch --]
[-- Type: text/x-diff, Size: 1589 bytes --]

From da4bca9eb2b7c5d28e47e7c2bc522731c770d0e3 Mon Sep 17 00:00:00 2001
From: Matthias Meulien <orontee@gmail.com>
Date: Sat, 1 Oct 2022 08:46:50 +0200
Subject: [PATCH] Define ansi-osc customization group

* lisp/ansi-osc.el (ansi-osc): Define ansi-osc customization group
(ansi-osc-for-compilation-buffer): Fix wrong group
---
 lisp/ansi-osc.el | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/lisp/ansi-osc.el b/lisp/ansi-osc.el
index 67a8551628..34154998cd 100644
--- a/lisp/ansi-osc.el
+++ b/lisp/ansi-osc.el
@@ -155,6 +155,17 @@ ansi-osc-hyperlink-handler
         (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 @@ ansi-osc-for-compilation-buffer
   :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)
-- 
2.30.2


[-- Attachment #3: Type: text/plain, Size: 15 bytes --]



-- 
Matthias

^ permalink raw reply related	[flat|nested] 9+ messages in thread

* bug#58200: osc.el name conflict
  2022-09-30 20:08     ` Augusto Stoffel
@ 2022-10-01  9:57       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2022-10-01  9:57 UTC (permalink / raw)
  To: Augusto Stoffel; +Cc: 58200, Matthias Meulien, Stefan Monnier

Augusto Stoffel <arstoffel@gmail.com> writes:

> I think the file name in itself doesn't matter too much. But should we
> also rename all symbols to have a matching prefix?

Yup.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#58200: osc.el name conflict
  2022-10-01  6:50         ` Matthias Meulien
@ 2022-10-01  9:59           ` Lars Ingebrigtsen
  0 siblings, 0 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2022-10-01  9:59 UTC (permalink / raw)
  To: Matthias Meulien; +Cc: 58200, Augusto Stoffel, Stefan Monnier

Matthias Meulien <orontee@gmail.com> writes:

>> A patch that renames related files and adds the ansi-osc- prefix is attached.
>
> I just realized that the customization group hasn't been defined.

Thanks; I've now pushed the two patches to Emacs 29.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-10-01  9:59 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-30 18:32 bug#58200: osc.el name conflict Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-09-30 19:51 ` Matthias Meulien
2022-09-30 19:57   ` Lars Ingebrigtsen
2022-09-30 20:08     ` Augusto Stoffel
2022-10-01  9:57       ` Lars Ingebrigtsen
2022-09-30 20:10     ` Matthias Meulien
2022-09-30 21:19       ` Matthias Meulien
2022-10-01  6:50         ` Matthias Meulien
2022-10-01  9:59           ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).