From: Axel Svensson <svenssonaxel@gmail.com>
To: 57073@debbugs.gnu.org
Subject: bug#57073: [BUG] update-glyphless-char-display and variation selectors
Date: Tue, 9 Aug 2022 10:40:39 +0200 [thread overview]
Message-ID: <CAJ40yawwrq9VrmW+ayvh-7+QReFe1jAq_En66e5V=2LvSYx89Q@mail.gmail.com> (raw)
In-Reply-To: <CAJ40yaxSGeSJG_7ohkR0SW3pOg-yvuNJjB-TyRGqRaJGtYuC4w@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 202 bytes --]
On Tue, Aug 9, 2022 at 10:38 AM Axel Svensson <svenssonaxel@gmail.com> wrote:
> The attached patch attempts to fix this and succeeds for U+FE00..U+FE0E but fails for U+FE0F.
Sorry, patch attached now.
[-- Attachment #2: 0001-Add-variation-selectors-to-char-acronym-table.patch --]
[-- Type: text/x-patch, Size: 1209 bytes --]
From d7d8cb6c0111223aa2492db5248818af2e789a1f Mon Sep 17 00:00:00 2001
From: Axel Svensson <mail@axelsvensson.com>
Date: Tue, 9 Aug 2022 01:11:02 +0200
Subject: [PATCH] Add variation selectors to `char-acronym-table'
---
lisp/international/characters.el | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/lisp/international/characters.el b/lisp/international/characters.el
index ca28222c81..616480769d 100644
--- a/lisp/international/characters.el
+++ b/lisp/international/characters.el
@@ -1525,6 +1525,15 @@ Setup `char-width-table' appropriate for non-CJK language environment."
(aset char-acronym-table (+ #xE0021 i) (format " %c TAG" (+ 33 i))))
(aset char-acronym-table #xE007F "->|TAG") ; CANCEL TAG
+(let ((vs-acronyms
+ '("VS 1" "VS 2" "VS 3" "VS 4"
+ "VS 5" "VS 6" "VS 7" "VS 8"
+ "VS 9" "VS 10" "VS 11" "VS 12"
+ "VS 13" "VS 14" "VS 15" "VS 16")))
+ (dotimes (i 16)
+ (aset char-acronym-table (+ #xfe00 i) (car vs-acronyms))
+ (setq vs-acronyms (cdr vs-acronyms))))
+
;; We can't use the \N{name} things here, because this file is used
;; too early in the build process.
(defvar bidi-control-characters
--
2.30.2
next prev parent reply other threads:[~2022-08-09 8:40 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-09 8:38 bug#57072: [BUG] update-glyphless-char-display and variation selectors Axel Svensson
2022-08-09 8:40 ` Axel Svensson [this message]
2022-08-09 11:36 ` Eli Zaretskii
2022-08-09 14:56 ` Axel Svensson
2022-08-09 16:23 ` Eli Zaretskii
2022-08-09 20:33 ` Axel Svensson
2022-08-10 13:10 ` Eli Zaretskii
2022-08-16 11:55 ` Robert Pluim
2022-08-16 12:01 ` Eli Zaretskii
2022-08-11 14:01 ` Eli Zaretskii
2022-08-11 14:58 ` Axel Svensson
2022-08-11 16:19 ` Eli Zaretskii
2022-08-12 3:33 ` Axel Svensson
2022-08-12 5:53 ` Eli Zaretskii
2022-08-12 6:50 ` Axel Svensson
2022-08-12 7:10 ` Eli Zaretskii
2022-08-12 7:57 ` Axel Svensson
2022-08-12 10:29 ` Eli Zaretskii
2022-08-12 11:51 ` Axel Svensson
2022-08-12 12:46 ` Eli Zaretskii
2022-08-16 8:05 ` Robert Pluim
2022-08-16 13:06 ` Eli Zaretskii
2022-08-16 13:27 ` Robert Pluim
2022-08-16 13:39 ` Axel Svensson
2022-08-16 14:48 ` Robert Pluim
2022-08-16 16:27 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJ40yawwrq9VrmW+ayvh-7+QReFe1jAq_En66e5V=2LvSYx89Q@mail.gmail.com' \
--to=svenssonaxel@gmail.com \
--cc=57073@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.