From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Support for shorthand emoji input Date: Tue, 30 Nov 2021 20:35:55 +0200 Message-ID: <83k0gptrsk.fsf@gnu.org> References: <867dcpee4b.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29693"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tor.a.s.kringeland@ntnu.no, emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 30 19:36:54 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ms7zq-0007XP-5O for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Nov 2021 19:36:54 +0100 Original-Received: from localhost ([::1]:48208 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ms7zo-0004B8-Tj for ged-emacs-devel@m.gmane-mx.org; Tue, 30 Nov 2021 13:36:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms7yx-0003V8-M3 for emacs-devel@gnu.org; Tue, 30 Nov 2021 13:35:59 -0500 Original-Received: from [2001:470:142:3::e] (port=45566 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms7yw-0006jS-GK; Tue, 30 Nov 2021 13:35:58 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=rN5RKK/howj/pjo3Ta2KXzOJJQIqJ3ivvoFIlIvchYA=; b=AIEVaugOPvItU/wWXfAK A7ts4czXndenLoUcDzbcW1DZljsxd3BjM9vc8CFIjZRVTVuGqpMSkBKv31GbmgLBPiwvm5R3oQiWZ aDtVeWEBKnHq559cVgxW4dQX1rW59WSB4zT6mM+F7Ni/der/MSXzvhl1tbm7E8uH/mLQJcKWcHqwE KvSCBwLjKR9237TUJkoZ4NrzDamOyHHfNFvI293x+tEua100tGP3iKsJppFvmnlt61S5TonPMwkJx CvCdoNsT3bJWgvK3n/hacQsBZZbu+YHWzwvqhnuMNDPac1wVzraQSnX9XwDEXR7dVq7pvIMNtUG/B d5IMeWtarX4fKw==; Original-Received: from [87.69.77.57] (port=4783 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ms7yw-00030C-2T; Tue, 30 Nov 2021 13:35:58 -0500 In-Reply-To: <867dcpee4b.fsf@mail.linkov.net> (message from Juri Linkov on Tue, 30 Nov 2021 19:59:20 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:280551 Archived-At: > From: Juri Linkov > Date: Tue, 30 Nov 2021 19:59:20 +0200 > Cc: emacs-devel@gnu.org > > BTW, another missing feature is an input method that would turn > a key sequence like ‘: - )’ into ‘😀’. Many apps provide such > feature that surprisingly works like input methods in Emacs, > e.g. an incomplete sequence is left untranslated, etc. It isn't an input method, it's a general-purpose text-replacing facility. We need to add it. Currently, abbrevs can be used as poor-man's alternative, but abbrevs cannot replace arbitrary text. The feature should offer several popular replacements and allow users to select and add to them.