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: Fri, 03 Dec 2021 15:34:54 +0200 Message-ID: <83wnkl7qwx.fsf@gnu.org> References: <867dcpee4b.fsf@mail.linkov.net> <83k0gptrsk.fsf@gnu.org> <831r2vqw44.fsf@gnu.org> 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="17557"; mail-complaints-to="usenet@ciao.gmane.io" Cc: tor.a.s.kringeland@ntnu.no, juri@linkov.net, rms@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 03 14:42:12 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 1mt8pI-0004MZ-1p for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Dec 2021 14:42:12 +0100 Original-Received: from localhost ([::1]:44210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mt8pH-0001a8-4n for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Dec 2021 08:42:11 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35966) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mt8im-00085X-1X for emacs-devel@gnu.org; Fri, 03 Dec 2021 08:35:30 -0500 Original-Received: from [2001:470:142:3::e] (port=56298 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 1mt8ig-0003b0-Nx; Fri, 03 Dec 2021 08:35:26 -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=Ox0f7DXVDi1xBhDET/MjyJlqBZvwO4efwaiIAz/W7sI=; b=P7vQaaEEKNHvH3Trgu9f le1RH4q/QuxwAVXkGu5bR42KhseduRa6QqlHP/ZWguD2CbsWBpDKqIVzoyGtrqL6vZnpXOInFvNe+ NsitszfND4oR29o/ydLA//9uHGuYv5WTPpOjXv90X54Xd0F5MbeGLRQC3VkY+GYBbXOKEUCP9r9F3 TuFCNhodagP0tkxukmS7c4OTO78yq/gtm0PDt8Sd9ZRvtK1yvxrIFmPHA117ZBeMyHfNOxgVZN/3x YNjssBN4sRTOrjic3xdgtK12RyyDhMjXbh7UhC+uLrb3noJXabZASeaXv0INT/cjbA0U3EJd4iTtx cVy6HF/I9InuXw==; Original-Received: from [87.69.77.57] (port=3319 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 1mt8iQ-0002kQ-F9; Fri, 03 Dec 2021 08:35:16 -0500 In-Reply-To: (message from Stefan Monnier on Fri, 03 Dec 2021 08:14:53 -0500) 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:280836 Archived-At: > From: Stefan Monnier > Cc: rms@gnu.org, tor.a.s.kringeland@ntnu.no, emacs-devel@gnu.org, > juri@linkov.net > Date: Fri, 03 Dec 2021 08:14:53 -0500 > > Eli Zaretskii [2021-12-02 09:55:23] wrote: > > 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 ←. > > FWIW, `abbrev.el` already supports abbrevs with non-word-constituents. > This support comes with 2 caveats, admittedly: Yes, I know. If these caveats could be resolved, we'd have the feature ready for use.