unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* manipulating (capitalize, lower case) unicode bold and italic characters
@ 2019-07-07 19:13 Dan Hitt
  2019-07-08  2:29 ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Dan Hitt @ 2019-07-07 19:13 UTC (permalink / raw)
  To: help-gnu-emacs

In emacs, you can use CTRL-x 8 CR and then at the prompt auto-complete a
name like "MATHEMATICAL BOLD SMALL w" (without the quotes) and get a
unicode bold w inserted into your buffer.  You could also auto-complete in
a name like "MATHEMATICAL ITALIC CAPTIAL W", for example (also without
quotes).

This is extremely useful, because, for example, you can enter a bold face
or italicized comment in a piece of code, and the font will survive exactly
the way you want notwithstanding any font-lock or other rules that may
dictate some other style that you specifically wish to override.

So it's a sort of unqualified good, but it would be very useful to be able
to select a region of text, and convert it to mathematical bold, or
mathematical italic, or fraktur, or other unicode symbols.   (Right now, i
do copy paste for this, and would like something easier.)  It would also be
good to be able to change case easily (and i guess this should work whether
the characters are greek or latin, and work with arabic digits as well).
(And such a means should try to be complete enough to work on the other
unicode goodies, such as mathematical bold script capital R.  If a
transition were impossible, then the character in question should just not
be modified.)

Is there any code out there that does this?

I'm using emacs 24.5.1 on debian 9.

TIA for any info!

dan


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-07-08 22:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-07-07 19:13 manipulating (capitalize, lower case) unicode bold and italic characters Dan Hitt
2019-07-08  2:29 ` Eli Zaretskii
2019-07-08 13:11   ` Marcin Borkowski
2019-07-08 13:51     ` Eli Zaretskii
2019-07-08 17:07       ` Stefan Monnier
2019-07-08 17:19         ` Eli Zaretskii
2019-07-08 18:50       ` Dan Hitt
2019-07-08 19:21         ` Eli Zaretskii
2019-07-08 22:32           ` Dan Hitt

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).