emacs-devel
[Top][All Lists]
Advanced

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

Re: Entering emojis


From: Kévin Le Gouguec
Subject: Re: Entering emojis
Date: Fri, 29 Oct 2021 17:30:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Lars Ingebrigtsen <larsi@gnus.org> writes:

> Kévin Le Gouguec <kevin.legouguec@gmail.com> writes:
>
>> OK, see attached.  With M-x emoji-pick, you can now
>>
>> - hit "-s" to pick your favourite skin tone,
>> - hit "C-x C-s" to save it (to ~/.emacs.d/transient/values.el),
>> - insert emoji,
>> - on subsequent M-x emoji-pick, you no longer need to pick a skin tone,
>> - you can still hit "-s" occasionally to unset the tone, and a second
>>   time to pick a different one,
>> - you get minibuffer history with M-p.
>
> Oh, that sounds pretty nice...

Yes, and pretty orthogonal to emoji-recent AFAICT: saving the transient
argument allows it to be applied by default for emoji that you haven't
used yet.

>> Note that I have never written transients in my life before (not with
>> that level of complexity anyway), so I'm sure my implementation is all
>> manners of uncouth.
>
> Unfortunately, it doesn't seem to work.  I just get
>
> transient-infix-read: Lisp nesting exceeds ‘max-lisp-eval-depth’
>
> when evalling (emoji-pick:--skin-tone).

Mmm.  I've tweaked the file; with the tip of the master branch
(2021-10-29 "Add some gnus-short-group-name tests" (8ada213b87)), things
seem to work on my end?  I'm starting Emacs with

emacs -Q -l transient-arguments.el

then hitting M-x emoji-pick.

Attachment: transient-arguments.el
Description: Text Data


reply via email to

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