emacs-devel
[Top][All Lists]
Advanced

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

Re: Emacs 28.1 released


From: Robert Pluim
Subject: Re: Emacs 28.1 released
Date: Tue, 05 Apr 2022 09:34:14 +0200

>>>>> On Tue, 05 Apr 2022 08:23:00 +0100, Eric S Fraga <e.fraga@ucl.ac.uk> said:

    Eric> On Tuesday,  5 Apr 2022 at 09:13, tomas@tuxteam.de wrote:
    >> Here's one for Emacs... and for you: ♥️

    Eric> Thank you! 🙂 (must use that emoji interface introduced in v29... or 
was
    Eric> it v28?)

The display support is in v28, the handy interface for entering them
is v29 (although Lars did talk about packaging that for v28). In the
interim, you can use something like this:

(with-temp-buffer
  (activate-input-method "latin-prefix") ;; the input method has to be 
triggered for `quail-package-alist' to be non-nil
  (let ((quail-current-package (assoc "latin-prefix" quail-package-alist)))
    (quail-define-rules ((append . t))
                        (";)" ?😉)
                        (":]" ?😬)
                        ("8)" ?🥴)
                        (":|" ?😐)
                        (":/" ?😕)
                        (":(" ?😠)
                        ("X)" ?😵)
                        (":{" ?😦)
                        (">)" ?😈)
                        (";(" ?😢)
                        (":D" ?😀)
                        ("O)" ?😇)
                        (":)" ?🙂)
                        (":C" ?😼))))

(or you could define a completely separate "smiley" input method.)

Robert
-- 



reply via email to

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