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.bugs Subject: bug#64420: string-width of =?UTF-8?Q?=E2=80=A6?= is 2 in CJK environments Date: Fri, 14 Jul 2023 14:04:19 +0300 Message-ID: <83351q4uvg.fsf@gnu.org> References: 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="33587"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64420@debbugs.gnu.org To: SUNG TAE KIM Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 14 13:05:18 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1qKGbt-0008U3-VG for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jul 2023 13:05:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKGbg-0003ec-PL; Fri, 14 Jul 2023 07:05:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKGbe-0003dv-IC for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 07:05:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qKGbe-0006fn-8l for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 07:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qKGbd-0001vF-Ru for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 07:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jul 2023 11:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64420 X-GNU-PR-Package: emacs Original-Received: via spool by 64420-submit@debbugs.gnu.org id=B64420.16893326517328 (code B ref 64420); Fri, 14 Jul 2023 11:05:01 +0000 Original-Received: (at 64420) by debbugs.gnu.org; 14 Jul 2023 11:04:11 +0000 Original-Received: from localhost ([127.0.0.1]:41532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKGap-0001u8-2S for submit@debbugs.gnu.org; Fri, 14 Jul 2023 07:04:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKGak-0001tt-Va for 64420@debbugs.gnu.org; Fri, 14 Jul 2023 07:04:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qKGaf-0006Rg-Fy; Fri, 14 Jul 2023 07:04:01 -0400 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=1rodu66jPvPnDWicY26LqENDjxyBuhs7pRooBkLXCFw=; b=RFxarSkH2rV3Hd+vPyHv MIluZb7KLZpA1C8yp4VafkZPj3TVEpzz+tmYMz1MZ7QLxmlArlZfBriVB58Cxg+fPGOOHcN26k4YR CUa1mcfCC6ZkCfsI5knhJ0pILcK+ofxYc9BO1Ba9oDnrq0k8t0hpIoNmRUCj5T3vCtL/sATq9dQca DZSI0IyQtR3W+fJnv99Rupc/cuzM7QzWkV2IwlQ2CzloRpo9elauX5eu840BXwwUE2qDJA+tfEIjV N/KVKZjEd1CSOrBMa/sbJGs7gWkWudEbd2h5E68ms1HOTAst/SBfocHID79NaTPhU35q+9OBrpu20 N561Pnhw6PzHAw==; Original-Received: from [87.69.77.57] (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 1qKGae-0007mu-5X; Fri, 14 Jul 2023 07:04:01 -0400 In-Reply-To: (message from SUNG TAE KIM on Fri, 14 Jul 2023 18:21:42 +0900) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:265079 Archived-At: > From: SUNG TAE KIM > Date: Fri, 14 Jul 2023 18:21:42 +0900 > Cc: 64420@debbugs.gnu.org > > What I meant by default was default in the CJK language environment and the default width of the > ambiguous characters in CJK environment should be narrow. Current emacs changes the width of > ambiguous characters to wide if the user activates the CJK environment. The unicode standard > recommendation is set the width narrow at unclear circumstances but emacs changes the width to > wide even if it can't know what font is currently used. For that reason, I don't think such behavior is > aligned well with the unicode standard. We don't blindly follow the Unicode Standard. We seriously consider its recommendations, and then do whatever we think is best for our users. > Furthermore, The majority of the default width of those > characters in the CJK environment is narrow on contemporary implementation of the terminals from > my limited experience. However, Considering the emacs package ecosystem, current emacs > behavior is ok as long as there's an easy option for changing such values. It is not yet clear to me whether handling these characters as narrow by default in CJK language-environments is TRT. But adding an option to do so is a first step in that direction, if indeed this is the right direction: we can in the future make this optional behavior be the default, if we arrive at the conclusion that most users configure their fonts and their terminal emulators such that these characters have the narrow width.