https://github.com/knu/charinfo.el
Emacs package to display Unicode codepoint and name for the character at point in the mode line
https://github.com/knu/charinfo.el
emacs emacs-package unicode
Last synced: 4 days ago
JSON representation
Emacs package to display Unicode codepoint and name for the character at point in the mode line
- Host: GitHub
- URL: https://github.com/knu/charinfo.el
- Owner: knu
- License: bsd-2-clause
- Created: 2025-01-10T12:48:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-10T13:38:52.000Z (over 1 year ago)
- Last Synced: 2026-04-05T23:12:16.699Z (2 months ago)
- Topics: emacs, emacs-package, unicode
- Language: Emacs Lisp
- Homepage:
- Size: 1 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# charinfo.el
This package provides a global minor mode to display Unicode codepoint
and name for the character at point in the mode line.
```emacs-lisp
(charinfo-mode 1)
```
# Screenshots
In `charinfo-mode`, Emacs displays the Unicode codepoint (e.g. U+0061)
for the character at point in the mode line. When you hover over that
code, a tooltip pops up showing the character's official Unicode name
(e.g. "LATIN SMALL LETTER A"):

And clicking the code opens a `describe-char` help window:

# Customization
- `charinfo-idle-delay` (default: `1.0`)
Idle time in seconds to wait before updating the character info.
- `charinfo-insert-into` (default: `'mode-line-format`)
List variable to insert the character info section to.
- `charinfo-insert-after` (default: `'mode-line-position`)
Where to insert the character info section after in `charinfo-insert-into`.
This value can be a literal value or a function that takes an
element to return a non-nil value to tell where to insert the
charinfo mode-line item at. If set to t, or none matches, the item
is inserted at the end.
## Author
Copyright (c) 2025 Akinori Musha.
Licensed under the 2-clause BSD license. See `LICENSE.txt` for details.
Visit [GitHub Repository](https://github.com/knu/charinfo.el) for the latest information.