From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: rcd-box.el for box drawings and tables
Date: Wed, 09 Nov 2022 05:28:26 +0100 [thread overview]
Message-ID: <87r0ycrbth.fsf@dataswamp.org> (raw)
In-Reply-To: Y2smiz7cdfuQoNra@protected.localdomain
Jean Louis wrote:
> Those characters are like this one ┓ and they are called box
> drawing characters.
That one, ┓, is called "box drawings heavy down and left",
old name "forms heavy down and left".
;; -*- lexical-binding: t -*-
;;
;; this file:
;; https://dataswamp.org/~incal/emacs-init/char.el
(defun what-char (&optional pos)
(interactive "P")
(let*((position (or (and (numberp pos) pos)
(point) ))
(kill pos)
(char (char-after position)) )
(when char
(let*((name (get-char-code-property char 'name))
(old-name (get-char-code-property char 'old-name))
(msg (if (and name old-name)
(format "%s (old: %s)" name old-name)
(or name old-name) ))
(msg-dc (when (stringp msg)
(downcase msg) )))
(when msg-dc
(prog1 msg-dc
(when kill
(kill-new msg-dc) )
(message "%s (at point: %d)" msg-dc position) ))))))
;; (what-char) ; "space"
;; (what-char 754) ; "right parenthesis (old: closing parenthesis)"
;; C-u 754 M-x what-char RET ; same, but also killed
;; C-u M-x what-char RET* (C-y) ; asterisk is yanked
;; M-x what-char RET ; line feed (lf) (at point: 1034)
--
underground experts united
https://dataswamp.org/~incal
next prev parent reply other threads:[~2022-11-09 4:28 UTC|newest]
Thread overview: 62+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-11-04 16:04 Elisp Reference Manual on inserting tables Christopher Dimech
2022-11-04 16:39 ` Eric S Fraga
2022-11-04 17:07 ` Christopher Dimech
2022-11-05 12:57 ` Fraga, Eric
2022-11-06 4:18 ` Heime
2022-11-06 20:48 ` Michael Heerdegen
2022-11-07 6:23 ` Jean Louis
2022-11-07 16:05 ` Michael Heerdegen
2022-11-07 16:49 ` Emanuel Berg
2022-11-08 15:57 ` Michael Heerdegen
2022-11-07 7:24 ` Heime
2022-11-07 12:32 ` Emanuel Berg
2022-11-07 13:53 ` Heime
2022-11-07 7:32 ` Heime
2022-11-07 18:02 ` Michael Heerdegen
2022-11-07 18:07 ` Heime
2022-11-07 18:10 ` Heime
2022-11-07 21:12 ` Michael Heerdegen
2022-11-08 4:09 ` Heime
2022-11-08 4:12 ` Emanuel Berg
2022-11-08 16:06 ` Heime
2022-11-08 20:38 ` Jean Louis
2022-11-09 0:49 ` Emanuel Berg
2022-11-08 22:49 ` Michael Heerdegen
2022-11-04 20:26 ` Heime
2022-11-04 16:43 ` Akib Azmain Turja
2022-11-05 19:37 ` Emanuel Berg
2022-11-06 6:48 ` Jean Louis
2022-11-06 8:31 ` Heime
2022-11-06 9:48 ` Jean Louis
2022-11-06 10:12 ` Heime
2022-11-06 12:26 ` Jean Louis
2022-11-06 12:54 ` Heime
2022-11-06 13:01 ` Emanuel Berg
2022-11-06 14:48 ` Heime
2022-11-06 15:20 ` Emanuel Berg
2022-11-07 5:38 ` Jean Louis
2022-11-07 7:05 ` Heime
2022-11-07 7:35 ` Jean Louis
2022-11-07 5:37 ` Jean Louis
2022-11-08 6:39 ` rcd-box.el for box drawings and tables Jean Louis
2022-11-08 7:58 ` Heime
2022-11-08 12:29 ` Jean Louis
2022-11-08 15:29 ` Heime
2022-11-08 20:31 ` Jean Louis
2022-11-08 15:42 ` Jude DaShiell
2022-11-08 20:33 ` Jean Louis
2022-11-09 3:34 ` Jude DaShiell
2022-11-09 4:03 ` Jean Louis
2022-11-09 4:28 ` Emanuel Berg [this message]
2022-11-10 6:07 ` Jean Louis
2022-11-10 18:22 ` Emanuel Berg
2022-11-11 22:28 ` [External] : " Drew Adams
2022-11-08 9:49 ` Emanuel Berg
2022-11-08 11:54 ` Jean Louis
2022-11-09 0:52 ` Emanuel Berg
2022-11-09 15:48 ` Jude DaShiell
2022-11-10 13:02 ` Jean Louis
2022-11-10 13:13 ` Jude DaShiell
2022-11-10 14:13 ` Jean Louis
2022-11-09 15:49 ` Jude DaShiell
2022-11-09 16:03 ` Emanuel Berg
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r0ycrbth.fsf@dataswamp.org \
--to=incal@dataswamp.org \
--cc=help-gnu-emacs@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.
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).