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#64395: [PATCH] * src/xdisp.c (display_string): Don't truncate mode line in terminal Date: Sat, 01 Jul 2023 13:42:12 +0300 Message-ID: <834jmnrjzv.fsf@gnu.org> References: <20230701062756.78266-1-gongqijian@gmail.com> <83zg4gqdef.fsf@gnu.org> 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="34171"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 64395@debbugs.gnu.org To: qijian gong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 01 12:42:21 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 1qFY3Z-0008nS-Nf for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 01 Jul 2023 12:42:21 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qFY3I-0008DJ-Op; Sat, 01 Jul 2023 06:42: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 1qFY3H-0008Cb-8z for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 06:42:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qFY3G-0000n7-W3 for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 06:42:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qFY3G-0000me-5P for bug-gnu-emacs@gnu.org; Sat, 01 Jul 2023 06:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Jul 2023 10:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64395 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 64395-submit@debbugs.gnu.org id=B64395.16882081122997 (code B ref 64395); Sat, 01 Jul 2023 10:42:02 +0000 Original-Received: (at 64395) by debbugs.gnu.org; 1 Jul 2023 10:41:52 +0000 Original-Received: from localhost ([127.0.0.1]:56710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFY36-0000mG-D6 for submit@debbugs.gnu.org; Sat, 01 Jul 2023 06:41:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39618) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qFY31-0000ln-IW for 64395@debbugs.gnu.org; Sat, 01 Jul 2023 06:41:48 -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 1qFY2w-0000go-7t; Sat, 01 Jul 2023 06:41:42 -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=d783le5u44Y+I+zLvdvZ+CiomA7QLIeOkWi+BZnlMYU=; b=pgLdr+xbmIXGpbzMD9Fx ffMRJKLPrQ5g0lx5mZiFn/YWQBku5yOeyh9JEkfAC1ELdWMcWB1KCBI5FOzdzy3GzmRrgU+CgNREZ JFk9cVOwCABAKJqc8t5aplPOMfu9LNw3n+8ZJepqqTDqssZ99JfnTDauQ4PwszI/V3FgJR5SIc/6X 5bSCfqkScG+psFTXtolCvyI0vHwMxS/yoXfHqm8lS8Nj942rOgm5ZzY2/9cU2uA5hNtFO5wRxBoHj GzUg+Uyj3SvOfyC8r0HVp8i6YmSziRBivpTqinhu+PlExFcH+0dDdpzXqZh6/2cTKBYfGv10f8FHd 1E6PNb08Nw4/WA==; 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 1qFY2v-0004AI-Kz; Sat, 01 Jul 2023 06:41:42 -0400 In-Reply-To: (message from qijian gong on Sat, 1 Jul 2023 18:23:21 +0800) 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:264390 Archived-At: [Pleased use Reply All to reply, so that the bug tracker is CC'ed.] > From: qijian gong > Date: Sat, 1 Jul 2023 18:23:21 +0800 > > [image: emacs-modeline-bug64395.gif] > > Eli Zaretskii 于2023年7月1日周六 15:49写道: > > > > Cc: Gong Qijian > > > From: Gong Qijian > > > Date: Sat, 1 Jul 2023 14:27:56 +0800 > > > > > > The truncate happens when the mode line is of lenght > > > `(1+ (window-width))' and ends with CJK characters. > > > > > > Reproduce: > > > > Thanks, but please show the screenshots of the effect of the bug. I > > don't have access to terminals that can display CJK characters on the > > mode line, so full reproduction of the issue is impossible for me. > > Thanks, but I see no mode-line image on that screen shot. I only see the source of your reproduction recipe. I asked to see the effect of running the recipe.