From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu 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 13:11:21 -0700 Message-ID: References: <83351q4uvg.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.600.7\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19794"; mail-complaints-to="usenet@ciao.gmane.io" Cc: SUNG TAE KIM , 64420@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 14 22:12:20 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 1qKP9H-0004v7-Hq for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 14 Jul 2023 22:12:19 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qKP91-0006Up-CY; Fri, 14 Jul 2023 16:12:03 -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 1qKP90-0006UN-0L for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 16:12: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 1qKP8z-0007kP-On for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 16:12:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qKP8z-0003zQ-Kb for bug-gnu-emacs@gnu.org; Fri, 14 Jul 2023 16:12:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jul 2023 20:12: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.168936550215308 (code B ref 64420); Fri, 14 Jul 2023 20:12:01 +0000 Original-Received: (at 64420) by debbugs.gnu.org; 14 Jul 2023 20:11:42 +0000 Original-Received: from localhost ([127.0.0.1]:43576 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKP8f-0003yq-VP for submit@debbugs.gnu.org; Fri, 14 Jul 2023 16:11:42 -0400 Original-Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]:50347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qKP8d-0003yc-Il for 64420@debbugs.gnu.org; Fri, 14 Jul 2023 16:11:40 -0400 Original-Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-6687466137bso1601808b3a.0 for <64420@debbugs.gnu.org>; Fri, 14 Jul 2023 13:11:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689365494; x=1691957494; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bZjdz66bHXhg0gAUI20FdGUENe0y5h1XcKFRFU9bk9s=; b=cuRIwEQVTPtkzq0UgUN4Gq83vaXa09H8EAuwnAnNOzbct5lE/mME9noNWAaUhd85s8 bc9sPq6OcDN8CgTgnjGvVLjgabfXcFsYTXhAxKtYimyGl8mzMzZIYCBtdaq15AKMkuHJ rpS04ysLkv/8rUWKkLURBSQMmLp6sxGt6dqycJGX7jPMA/DgwBhXDorkEMWFu662FFBJ 8j9NKjDe2MSR7pj3yX9BRcUgpy9fyQ5HDkCNlXdvv6fFxBldPGaY8w6ENYo4fcHzXrxT P4VRZfhH1yFBExu4qTlEmwhE0jV7SFRsp5hqSCkv7C4sYiz1QgayJEiMO5vxW3C/n4ac 2qhg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689365494; x=1691957494; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bZjdz66bHXhg0gAUI20FdGUENe0y5h1XcKFRFU9bk9s=; b=dvzRRYiaMLW5mHLPwZuag2RtKxaMZRWq8z5UA4H3vNLZ1AbXTCEnmtf79yPmNGPsjN 39EChF1iNPjGox+M5NN3UNlwfTM9OPi+E6DPfEq2sLkceedl1/WO/WdcWkrBas/LQfZr s7EcTTUnEHe+WtEVoz15lONA/E04zi32oQ2uP/iGpKYuonfdh6CfySJ4ymquGrDh1kPZ r75zSCkwEHEufzrvfxvH4dyqPHUY17A9lqcrHDAnLXSHiDgGeawBTmHZvSdckNnm21SI QpAyrZthmazqKunRGAet5HbaQzIUoCwydLVdjjHiNAOIBRpcSikzwUdPx/WMfoVXNES4 mGNw== X-Gm-Message-State: ABy/qLbO51iIpmHiX/geAinKIJkGqeKG7eHDDfCeNplzup2cICMDJolb WojxwiPSgadKor8MvCT0uuo= X-Google-Smtp-Source: APBJJlEPYyPjgxua+XmDTz5KAwMPvDkoxHBIEEEe49DBur4Mmph2Xmfn9Gl/hnbXwRyua1tTvEOubg== X-Received: by 2002:a05:6a20:7f99:b0:133:6816:d04a with SMTP id d25-20020a056a207f9900b001336816d04amr4049540pzj.19.1689365493725; Fri, 14 Jul 2023 13:11:33 -0700 (PDT) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id f23-20020aa782d7000000b00682802ca418sm7527272pfn.79.2023.07.14.13.11.33 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Jul 2023 13:11:33 -0700 (PDT) In-Reply-To: <83351q4uvg.fsf@gnu.org> X-Mailer: Apple Mail (2.3731.600.7) 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:265127 Archived-At: > On Jul 14, 2023, at 4:04 AM, Eli Zaretskii wrote: >=20 >> From: SUNG TAE KIM >> Date: Fri, 14 Jul 2023 18:21:42 +0900 >> Cc: 64420@debbugs.gnu.org >>=20 >> 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. >=20 > We don't blindly follow the Unicode Standard. We seriously consider > its recommendations, and then do whatever we think is best for our > users. >=20 >> 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. >=20 > 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. I tend to agree with Sung Tae, but this sounds like a reasonable = compromise to me. Yuan=