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: Entering emojis Date: Wed, 27 Oct 2021 14:48:37 +0300 Message-ID: <83tuh2wuwa.fsf@gnu.org> References: <87cznths5j.fsf@gnus.org> <83zgqxymd3.fsf@gnu.org> <878rygj4gt.fsf@gnus.org> <83wnm0zz0q.fsf@gnu.org> <874k94j3rn.fsf@gnus.org> <83v91kzydh.fsf@gnu.org> <87tuh4holf.fsf@gnus.org> <822aec9d01909cecfc6c@heytings.org> <87a6iwhltf.fsf@gnus.org> <83tuh4zfg5.fsf@gnu.org> <87y26gfobr.fsf@gnus.org> <87tuh4f1ie.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21706"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, gregory@heytings.org, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 27 13:57:10 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 1mfhYK-0005Ny-St for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 13:57:09 +0200 Original-Received: from localhost ([::1]:41184 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfhYJ-0005NF-SR for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 07:57:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39998) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfhQ8-0004qP-NC for emacs-devel@gnu.org; Wed, 27 Oct 2021 07:48:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34554) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfhQ8-0008Ld-CI; Wed, 27 Oct 2021 07:48:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=CAjsUZzwSXR3sU7DzSd/7RUi/0v/bRsVKPdxsg639f0=; b=cuebmst4/zbF 2APMlQJQd0zbcYKcOFXPWrlj8EEAilU2rIbVyxT8UjyvUkBlJRl/2NgRBuXgzDl7Ne2doWidOZxC3 IDe/zSZbkq9SacZpwD0jXYctfLFsdpk0k6XB2Ti0SLnstCSlFKSkyXTwsORMdMIIwjRWQuSh7Z+96 oTr+C8Dk7zUUa5yUOkKDjxhpoAVisrMNqsRvWQeCkXV2fw81NmzBRzkdTa3LQ9GGyLParU4OdOl/u y+eiQP9PAWHE3g80yWuivm/lAsR5nj0g9wGpZzAhfhaf5nwFptA7l3TFt+FXeackhBl8alOU9XaUt GXgq+UbpM94zYu/Yzxukug==; Original-Received: from [87.69.77.57] (port=2062 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 1mfhQ7-0004UN-QX; Wed, 27 Oct 2021 07:48:40 -0400 In-Reply-To: (message from Stefan Kangas on Tue, 26 Oct 2021 23:12:12 +0200) 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:277942 Archived-At: > From: Stefan Kangas > Date: Tue, 26 Oct 2021 23:12:12 +0200 > Cc: Eli Zaretskii , Gregory Heytings , > Emacs developers > > Stefan Kangas writes: > > > (Unrelatedly, almost no smileys display on my macOS machine, but I > > believe this is a known issue.) > > Why exactly are emojis broken on macOS? What exactly is broken? You say "almost no smileys", but don't provide any details: which ones work and which ones don't? How about submitting a bug report with all the details, so we could investigate and try to fix that before the release? > I'm surprised to learn that I have to say: > > (set-fontset-font t 'emoji > '("Apple Color Emoji" . "iso10646-1") nil 'prepend) > > Is that correct? Not sure, because I think other users of macOS said they get this automatically. Is this in "emacs -Q"? (Once again, a detailed bug report is sorely needed.) > Why can't we just do that automatically? I don't know why the macOS font backend doesn't find this font in your case, it's something that should be investigated. If you are asking why we don't put the above in Emacs explicitly, then it's for the same reason we don't have such an explicit setting with Segoe UI Emoji for MS-Windows, nor mention any other proprietary fonts in our sources: we don't want to promote those proprietary fonts. > I think that most users will just assume that emojis are broken and move > on. Maybe some will soldier on and find the fix. I very nearly didn't. I hope we will indeed be able to find the reason(s) and fix whatever needs fixing, if we can. Please help by providing the details. > The NEWS entry on this is also not very useful, as it gives: > > (set-fontset-font t 'emoji > '("My New Emoji Font" . "iso10646-1") nil 'prepend) > > But there is of course no such font "My New Emoji Font". Of course. Why should you think this fake font name is a name of a real font? > Also, and I'm sorry in advance, but can we please change the text to > something understandable? > > ** New character script 'emoji' has been created. > Various blocks of codepoints have been split out of the 'symbol' > script into their own 'emoji' script to allow easier specification of > their treatment. Which codepoints are treated as emoji is derived > from the Unicode specifications. > > Uh, what? I have no idea what practical difference any of the words in > the above would make. Blocks of codepoints? What is a 'symbol' script? > Am I a horrible programmer and human being if I don't know what any of > this means? > > Maybe I have a general concept of some of these things, but not enough > to know how this affects me as a user. Did emojis already work, but > they are now just better? Are emojis an entirely new feature in Emacs > 28? Do they work even a little bit in Emacs 27? Do they work, but are > half-broken? Do they work perfectly? > > The entry after start talking about Zero Width Joiners and like, > seriously people, can we just *really* dumb this down to something like: > > *** Emojis now display nicely under X Windows and macOS. > > Or like: > > *** Emacs can display 50 new Emojis and also with skin tones. > > Or whatever the above is supposed to mean. You can then of course go > into whatever low-level technical details you want, but please at least > explain first in casual terms what this even is. > > Unless of course this is only of interest to actual Unicode experts, in > which case ignore me and carry on. Frankly, I think the level of sarcasm here is a bit overboard. The issue is indeed highly technical, and if one pretends not to know what Emoji are, nor how their support before Emacs 28 was lacking, and if you never tried to customize your fontsets to support Emoji (or any other character) better, then yes, it's easy to conclude that the above is useless. Anyway, I tried to clarify that entry as best I could, I hope it's an improvement.