emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can watermarking Unicode text using invisible differences sneak thro


From: Richard Stallman
Subject: Re: Can watermarking Unicode text using invisible differences sneak through Emacs, or can Emacs detect it?
Date: Thu, 03 Feb 2022 22:52:07 -0500

[[[ To any NSA and FBI agents reading my email: please consider    ]]]
[[[ whether defending the US Constitution against all enemies,     ]]]
[[[ foreign or domestic, requires you to follow Snowden's example. ]]]

It would be useful to be able to analyze and construct complex
characters -- for instance, to operate on a-with-breve-and-tilde
and find out that represents an a with two diacritics.

So I propose a function, `diacriticize'.  Its arguments are
characters, and if they can be graphically combined to make a single
character, that's what diacriticize returns.  Otherwise, it returns
nil.

  (diacriticize ?a ?~ ?˘) => ?ã¯
  (diacriticize ?a ?Z) => nil

It could have an inverse function, criticanalyze, which given the
character code for a character that is (in spirit) a composition,
would return the characters it consists of:

(criticanalyze ?ã˘) => (?a ?~ ?˘)

With these functions, latin1-display could figure out automatically
which conversions to make.

-- 
Dr Richard Stallman (https://stallman.org)
Chief GNUisance of the GNU Project (https://gnu.org)
Founder, Free Software Foundation (https://fsf.org)
Internet Hall-of-Famer (https://internethalloffame.org)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]