From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Entering emojis Date: Thu, 28 Oct 2021 23:49:18 +0200 Message-ID: <87czno3jmp.fsf@gnus.org> References: <87cznths5j.fsf@gnus.org> <87ilxi7531.fsf@gnus.org> <875yth7bjr.fsf@gnus.org> <871r4576ey.fsf@gnus.org> <87wnlx5rd4.fsf@gnus.org> <837ddxtimp.fsf@gnu.org> <87h7d15mvi.fsf@gnus.org> <831r45tgu3.fsf@gnu.org> <87cznp5k6p.fsf@gnus.org> <83tuh1rvjt.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7894"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: stefankangas@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 29 00:07:42 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 1mgDYj-0001mO-IH for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Oct 2021 00:07:41 +0200 Original-Received: from localhost ([::1]:33628 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgDYh-0004L0-Jz for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Oct 2021 18:07:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgDH5-0006wJ-MQ for emacs-devel@gnu.org; Thu, 28 Oct 2021 17:49:27 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:57012) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgDH3-0003lO-HN; Thu, 28 Oct 2021 17:49:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=2vHspn00BQiAqN2To+3Ym0Sw26qLWJ8smpdpODBQ5lY=; b=Gcc2D1juDA2S3PKdnZh8FHl4VF yQeKJHl7Q0S5gT/Dp7N1j1AG7pN0i0wQM0VHCfGGaQLhAfa1E1w9bJdoV1+sg52hltrVNdFzX3yDp 4llclvJm1DVv2WFFem4ak6LEMfCMH5l/4vjOGqlvWk+1Yj6BXh8sdOCIU50zSRJQlpcs=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mgDGy-00022b-EX; Thu, 28 Oct 2021 23:49:22 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAgMAAAAqbBEUAAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAADFBMVEU7MjeVWmXe1cr/ //9HfuA7AAAAAWJLR0QDEQxM8gAAAAd0SU1FB+UKHBUVM0iqNo4AAAFLSURBVCjPTZFBbsIwEEX/ WEmksjJSsiBHyClsqek6SDYL1kUqOUXgBHRB11RKKuJTdmzHgBfWPM/4j/0H4FVc/I467KvhBWr1 Ao0CGS6IAFQ2wREwunsA/cwGRQAH9PNBRWiGvJktdlFzoH5usY9Nod2cUwQg70fSHwvg8wtbSsCZ LsWoL0/IAVIJysxzggLZEmYw4pbAwtC0xNSiFFOq05BikktKE8SYlCmHuD3atCh+8VRY3RJU76jH cMrvq9iMeyjvQNZCzB7eFBtocQovaBU4xjkMQimybLX+jpOoGHK6RG3qWmyyboxftp08Bvd9xpbZ vVI9SxCDovnI1kusQVvF7sLxLGSwyd2Fc4MHRTyExjkvXknQ/to7LpUw/Pv+unJ8SYOHjkPLd/7Y M7/MTvuMiePxMC2ZcqO9GreHQlacQsas2fms2DL8A0kSVvj+DBcIAAAAJXRFWHRkYXRlOmNyZWF0 ZQAyMDIxLTEwLTI4VDIxOjIxOjUxKzAwOjAwvD38+wAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0x MC0yOFQyMToyMTo1MSswMDowMM1gREcAAAAASUVORK5CYII= X-Now-Playing: Joni Mitchell's _Dog Eat Dog_: "Ethiopia" In-Reply-To: <83tuh1rvjt.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 28 Oct 2021 18:57:58 +0300") Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:278149 Archived-At: Eli Zaretskii writes: > Why not? it will at least tell the user the font doesn't support > that. More importantly, it will allow the user to choose a sequence > even if his/her Emacs cannot display it, because those of the > addressees (assuming this is in an email message, for example) could. But this is in the graphical display -- the user has no way of knowing what they're entering (it's just the glyph, not the name). The other interface (the text-based one) lists all glyphs, even the ones that Emacs can't display, so that'd be the way to insert such emojis. > And as a nice bonus, it makes the code much faster. I've poked at the problem some more, and it seems like `char-displayable-p' is really fast on characters it can actually display, but slow on characters it doesn't know about? Perhaps this makes it trigger loading more fonts or something? (I haven't actually read the code yet, just done some testing.) If this is the case, is there a way to say "don't try to load anything, but just see if you have the glyph in the current set"? > So I'd say it's a net win. But if you are still unconvinced, how > about a user option to control whether undisplay-able emoji sequences > are filtered out? I don't think it's necessary, but if people request it, I don't object to adding it. (But I don't think anybody will. =F0=9F=99=83) --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no