[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Support for shorthand emoji input
From: |
Eli Zaretskii |
Subject: |
Re: Support for shorthand emoji input |
Date: |
Fri, 03 Dec 2021 09:29:57 +0200 |
> From: Richard Stallman <rms@gnu.org>
> Cc: juri@linkov.net, tor.a.s.kringeland@ntnu.no, emacs-devel@gnu.org
> Date: Thu, 02 Dec 2021 23:29:29 -0500
>
> > A facility to let users specify text replacements to be done
> > on-the-fly as you type. It should be similar to what the abbrevs do,
> > just extended to handle non word-constituent characters, including
> > punctuation and symbols. For example, replacing -- with the em-dash
> > character — or 1/2 with ½ or (C) with © or <== with ←.
>
> It sounds useful, but may be hard to implement efficiently.
> Abbrevs are efficient because it does lookup of a word at the end
> of that word.
I very much doubt that comparing a bunch of characters before point
with a list of strings could be so inefficient as to make this feature
unusable.
But it's all highly academic unless someone produces a working code.