GitHunt
ZO

zonuexe/unicode-inspector.el

🔎 unicode-inspector.el

unicode-inspector.el is an Emacs package that provides detailed information about Unicode characters. It allows you to interactively inspect strings and view their code points, names, and other properties for each character.

Requirements

This package requires the following:

  • Emacs 29.1 or later.
  • vui.el: A declarative, component-based UI framework for Emacs.

Note

Since vui.el is hosted on MELPA, please ensure that you have MELPA added to your package-archives in your Emacs configuration to resolve this dependency.

Installation

You can install unicode-inspector using package-vc-install (available in Emacs 29.1 and later). Run the following code in your Emacs:

(package-vc-install
 '(unicode-inspector :url "https://github.com/zonuexe/unicode-inspector.el.git"
                     :main-file "unicode-inspector.el"))

Commands

  • M-x unicode-inspector opens the main inspector UI.
  • M-x unicode-inspector-block-table opens a block table via completion.
  • M-x unicode-inspector-block-list opens a block codepoint list via completion.

Customization

You can customize the behavior of unicode-inspector by adding the following configuration to your Emacs Initialization File:

(with-eval-after-load 'unicode-inspector
  (setopt unicode-inspector-unique-input t))

unicode-inspector-unique-input

If non-nil, the inspector filters out duplicate characters from the input and displays each unique character only once.

unicode-inspector-char-face

Controls the face applied to the Char column. Set to nil to disable styling.

unicode-inspector-block-table-char-face

Controls the face applied to characters in block tables. Set to nil to disable styling.

unicode-inspector-show-trailing-whitespace

Controls show-trailing-whitespace in Unicode Inspector buffers. Default is :hide.

This package is licensed under GNU General Public License, version 3.

unicode-inspector.el  Copyright (C) 2025  USAMI Kenta

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Unicode Data Notice

unicode-inspector-blocks.el is derived from the Unicode data and is subject to the Unicode Terms of Use and the License.