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: scratch/emoji vs emacs that maybe =?utf-8?Q?can=CA=BCt?= display emojis Date: Sun, 07 Nov 2021 20:29:40 +0200 Message-ID: <834k8n95uz.fsf@gnu.org> References: <87y263ko4i.fsf@gmail.com> <87cznek745.fsf@gnus.org> <87bl2yk6qz.fsf@gmail.com> <87wnlkeysw.fsf@gnus.org> <87sfw8eyi0.fsf@gnus.org> <878rxzexg2.fsf@turtle-trading.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="37320"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Benjamin Riefenstahl Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 07 19:30:31 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 1mjmw2-0009W6-9C for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Nov 2021 19:30:30 +0100 Original-Received: from [::1] (port=51034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjmw0-0007a3-Oa for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Nov 2021 13:30:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:38002) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjmvQ-0006te-Fi for emacs-devel@gnu.org; Sun, 07 Nov 2021 13:29:52 -0500 Original-Received: from [2001:470:142:3::e] (port=52486 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 1mjmvP-0004qo-SZ; Sun, 07 Nov 2021 13:29:51 -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=yqn9JFNUwShA5jKTpkIaaZHmy2Z3Q/RNe01MoclRwzs=; b=Ejf2PmojeSujekHoIPru cm+p4R+s9wx4fdVGGJRz8RsSqetwNFJeMtcrs+pv16BTkZlgsn/u/zLYpvyYxmRgPe43FsL7R9CNL XHCBZxl3bhGuDDoj6u5P9ebrHJND6fm8DfiIRGd6aU4ZFsLTCoV8thr2J7BGJEUpfbh9xLSnktCsZ gauRJwfdYrQA0jTqw6ILS2aZWejtZlKLm+o5n7ZBZnRcU2cRMr6Z6RxuyF+YZkxPikE4xSeTOnxW9 786Wr4b1em3glMpeXfdLRNG2qSbcPaXLzhIgomyrYOvgyYJH7nl8rbcpuGGfkVj04bKZ7YxZrh3EE O/Ez6s6jC9iB9g==; Original-Received: from [87.69.77.57] (port=3048 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 1mjmvP-00026D-F1; Sun, 07 Nov 2021 13:29:51 -0500 In-Reply-To: <878rxzexg2.fsf@turtle-trading.net> (message from Benjamin Riefenstahl on Sun, 07 Nov 2021 17:34:53 +0100) 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:278973 Archived-At: > From: Benjamin Riefenstahl > Date: Sun, 07 Nov 2021 17:34:53 +0100 > > Another note: In my own work with this issue, using NCurses, I have > noticed that NCurses mostly relies on the C library's wcwidth function. > Which seems reasonable for NCurses. I am not saying that Emacs should > do the same, but I expect NCurses and terminal emulators to develop in a > certain dependency, because it seem that NCurses is the most-used > full-screen terminal library these days. That already happens, to a degree. Both wcwidth and char-width-table in Emacs are supposed to be based on the same data whose source is the Unicode Character Database (UCD). Of course, whatever libc you are using and Emacs are not necessarily in sync when a new version of Unicode comes out. But other than that, the data should be the same.