emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/xr a444d8c 11/12: Explain why we are not using rx in on


From: Mattias Engdegård
Subject: [elpa] externals/xr a444d8c 11/12: Explain why we are not using rx in one place
Date: Mon, 30 Nov 2020 04:32:25 -0500 (EST)

branch: externals/xr
commit a444d8c03b5c431bbd0dd3b73e9c613e697b428a
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Explain why we are not using rx in one place
---
 xr.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xr.el b/xr.el
index d314f9d..415686a 100644
--- a/xr.el
+++ b/xr.el
@@ -1705,6 +1705,8 @@ in SKIP-SET-STRING."
   "Escape non-printing characters in a string for maximum readability.
 If ESCAPE-PRINTABLE, also escape \\ and \", otherwise don't."
   (replace-regexp-in-string
+   ;; We don't use rx here because of bugs in dealing with raw chars
+   ;; prior to Emacs 27.1.
    "[\x00-\x1f\"\\\x7f\x80-\xff][[:xdigit:]]?"
    (lambda (s)
      (let* ((c (logand (string-to-char s) #xff))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]