From unknown Sun Jun 15 13:02:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33640: 27.0.50; Wrong column when prompt contains combining characters Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Dec 2018 00:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33640 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 33640@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.154405781817401 (code B ref -1); Thu, 06 Dec 2018 00:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 6 Dec 2018 00:56:58 +0000 Received: from localhost ([127.0.0.1]:34812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUhyI-0004WV-HV for submit@debbugs.gnu.org; Wed, 05 Dec 2018 19:56:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:33187) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUhyE-0004W1-6G for submit@debbugs.gnu.org; Wed, 05 Dec 2018 19:56:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUhy4-0003KA-S1 for submit@debbugs.gnu.org; Wed, 05 Dec 2018 19:56:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36566) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUhy0-0003CP-Lj for submit@debbugs.gnu.org; Wed, 05 Dec 2018 19:56:37 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUhxw-0003eC-Jx for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2018 19:56:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUhxn-0002pg-QZ for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2018 19:56:29 -0500 Received: from ladybird.maple.relay.mailchannels.net ([23.83.214.98]:1352) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gUhxn-0002js-20 for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2018 19:56:23 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 46233502A12 for ; Thu, 6 Dec 2018 00:56:19 +0000 (UTC) Received: from pdx1-sub0-mail-a54.g.dreamhost.com (unknown [100.96.29.126]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 0F982501E2B for ; Thu, 6 Dec 2018 00:56:19 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a54.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Thu, 06 Dec 2018 00:56:19 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Whistle-Harmony: 14f680bb7e009be2_1544057779139_2897077497 X-MC-Loop-Signature: 1544057779139:367322385 X-MC-Ingress-Time: 1544057779139 Received: from pdx1-sub0-mail-a54.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTP id CC08A8007F for ; Wed, 5 Dec 2018 16:56:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to :subject:date:message-id:mime-version:content-type; s= linkov.net; bh=rdKN47mUZPm+AHkQO7gBw1I7rV4=; b=XuTWyYrszsdT5reQD cLlwq9O8lRM9puAjoApGf36eatF/JWSjorpRkOBtkPdoFAwLvSSbtjm6FehoCIQQ 66ND7UrNKmZVukqeX2JuVzUomcW/bfp14yYpJPeZNwVVa4skB2FMJjTqj+GsU2bL bEysvsdXCdFZJBUukrL0vqeUaw= Received: from mail.jurta.org (m91-129-103-7.cust.tele2.ee [91.129.103.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a54.g.dreamhost.com (Postfix) with ESMTPSA id 6A3C880077 for ; Wed, 5 Dec 2018 16:56:11 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a54 From: Juri Linkov Organization: LINKOV.NET Date: Thu, 06 Dec 2018 01:05:24 +0200 Message-ID: <87k1knbmmj.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: 0 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrudefiedgvdekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvffuohffkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtfedrjeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrdejpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepsghughdqghhnuhdqvghmrggtshesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) Tags: patch If the minibuffer prompt contains combining characters in such cases when for example dired-do-async-shell-command is invoked on a file whose name contains COMBINING ACUTE ACCENT, then navigating the minibuffer history with M-n and M-p puts point at incorrect positions. This is because currently next-line-or-history-element and previous-line-or-history-element subtract the point's position from the column number that takes into account character composition. This patch uses only columns in calculations. Eli, do you think this fix should be installed to the emacs-26 branch? diff --git a/lisp/simple.el b/lisp/simple.el index e1922384f2..4c6ca0619a 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -2172,7 +2172,11 @@ next-line-or-history-element (prompt-end (minibuffer-prompt-end)) (old-column (unless (and (eolp) (> (point) prompt-end)) (if (= (line-number-at-pos) 1) - (max (- (current-column) (1- prompt-end)) 0) + (max (- (current-column) + (save-excursion + (goto-char (1- prompt-end)) + (current-column))) + 0) (current-column))))) (condition-case nil (with-no-warnings @@ -2191,7 +2195,10 @@ next-line-or-history-element (goto-char (point-max)) (when old-column (if (= (line-number-at-pos) 1) - (move-to-column (+ old-column (1- (minibuffer-prompt-end)))) + (move-to-column (+ old-column + (save-excursion + (goto-char (1- (minibuffer-prompt-end))) + (current-column)))) (move-to-column old-column))))))) (defun previous-line-or-history-element (&optional arg) @@ -2206,7 +2213,11 @@ previous-line-or-history-element (prompt-end (minibuffer-prompt-end)) (old-column (unless (and (eolp) (> (point) prompt-end)) (if (= (line-number-at-pos) 1) - (max (- (current-column) (1- prompt-end)) 0) + (max (- (current-column) + (save-excursion + (goto-char (1- prompt-end)) + (current-column))) + 0) (current-column))))) (condition-case nil (with-no-warnings @@ -2225,7 +2236,10 @@ previous-line-or-history-element (goto-char (minibuffer-prompt-end)) (if old-column (if (= (line-number-at-pos) 1) - (move-to-column (+ old-column (1- (minibuffer-prompt-end)))) + (move-to-column (+ old-column + (save-excursion + (goto-char (1- (minibuffer-prompt-end))) + (current-column)))) (move-to-column old-column)) ;; Put the cursor at the end of the visual line instead of the ;; logical line, so the next `previous-line-or-history-element' From unknown Sun Jun 15 13:02:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33640: 27.0.50; Wrong column when prompt contains combining characters Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Dec 2018 07:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33640 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Juri Linkov Cc: 33640@debbugs.gnu.org Received: via spool by 33640-submit@debbugs.gnu.org id=B33640.154407977919897 (code B ref 33640); Thu, 06 Dec 2018 07:03:02 +0000 Received: (at 33640) by debbugs.gnu.org; 6 Dec 2018 07:02:59 +0000 Received: from localhost ([127.0.0.1]:34892 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUngU-0005Ak-Gp for submit@debbugs.gnu.org; Thu, 06 Dec 2018 02:02:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUngP-0005AR-MM for 33640@debbugs.gnu.org; Thu, 06 Dec 2018 02:02:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUngF-0004l2-IP for 33640@debbugs.gnu.org; Thu, 06 Dec 2018 02:02:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUngF-0004kb-5c; Thu, 06 Dec 2018 02:02:39 -0500 Received: from [176.228.60.248] (port=2981 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gUngE-0000Mg-Oc; Thu, 06 Dec 2018 02:02:39 -0500 Date: Thu, 06 Dec 2018 09:02:37 +0200 Message-Id: <83pnuf6stu.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87k1knbmmj.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 06 Dec 2018 01:05:24 +0200) References: <87k1knbmmj.fsf@mail.linkov.net> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > From: Juri Linkov > Date: Thu, 06 Dec 2018 01:05:24 +0200 > > Eli, do you think this fix should be installed to the emacs-26 branch? Yes, but please also test it with file names that include double-width characters. You can find the list of such characters in characters.el (search for "East Asian Wide" there). The success criterion is that minibuffer navigation works with these characters not worse than C-n/C-p in "normal" buffers. Thanks. From unknown Sun Jun 15 13:02:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33640: 27.0.50; Wrong column when prompt contains combining characters Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Dec 2018 07:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33640 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: juri@linkov.net Cc: 33640@debbugs.gnu.org Received: via spool by 33640-submit@debbugs.gnu.org id=B33640.154408054921101 (code B ref 33640); Thu, 06 Dec 2018 07:16:01 +0000 Received: (at 33640) by debbugs.gnu.org; 6 Dec 2018 07:15:49 +0000 Received: from localhost ([127.0.0.1]:34901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUnsv-0005UA-6y for submit@debbugs.gnu.org; Thu, 06 Dec 2018 02:15:49 -0500 Received: from eggs.gnu.org ([208.118.235.92]:38424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gUnsp-0005Tk-Gp for 33640@debbugs.gnu.org; Thu, 06 Dec 2018 02:15:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gUnsb-0001qz-Qo for 33640@debbugs.gnu.org; Thu, 06 Dec 2018 02:15:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45032) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gUnsW-0001i6-5a; Thu, 06 Dec 2018 02:15:22 -0500 Received: from [176.228.60.248] (port=3806 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gUnsV-0007b3-Fw; Thu, 06 Dec 2018 02:15:20 -0500 Date: Thu, 06 Dec 2018 09:15:18 +0200 Message-Id: <83o99z6s8p.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <83pnuf6stu.fsf@gnu.org> (message from Eli Zaretskii on Thu, 06 Dec 2018 09:02:37 +0200) References: <87k1knbmmj.fsf@mail.linkov.net> <83pnuf6stu.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Thu, 06 Dec 2018 09:02:37 +0200 > From: Eli Zaretskii > Cc: 33640@debbugs.gnu.org > > The success criterion is that minibuffer navigation works with these > characters not worse than C-n/C-p in "normal" buffers. Just to explain this part a bit more: on GUI frames, double-width characters are not necessarily displayed at twice the width of other characters from the same font; their actual width in pixels varies with fonts. This could cause one-column shifts in either direction when using C-n/C-p across such characters. I'm saying that what you see in the minibuffer should be not worse than what you see in "normal" buffers for those characters. From unknown Sun Jun 15 13:02:42 2025 X-Loop: help-debbugs@gnu.org Subject: bug#33640: 27.0.50; Wrong column when prompt contains combining characters Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 06 Dec 2018 22:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33640 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: Eli Zaretskii Cc: 33640@debbugs.gnu.org Received: via spool by 33640-submit@debbugs.gnu.org id=B33640.154413555621732 (code B ref 33640); Thu, 06 Dec 2018 22:33:02 +0000 Received: (at 33640) by debbugs.gnu.org; 6 Dec 2018 22:32:36 +0000 Received: from localhost ([127.0.0.1]:36097 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gV2CA-0005eO-Ng for submit@debbugs.gnu.org; Thu, 06 Dec 2018 17:32:36 -0500 Received: from bisque.maple.relay.mailchannels.net ([23.83.214.18]:15742) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gV2C9-0005eA-82; Thu, 06 Dec 2018 17:32:34 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id A52FE124000; Thu, 6 Dec 2018 22:32:31 +0000 (UTC) Received: from pdx1-sub0-mail-a68.g.dreamhost.com (unknown [100.96.35.77]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5D45A123ECF; Thu, 6 Dec 2018 22:32:31 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Received: from pdx1-sub0-mail-a68.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.16.2); Thu, 06 Dec 2018 22:32:31 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Snatch-Ruddy: 64572720129493a3_1544135551510_1985129706 X-MC-Loop-Signature: 1544135551509:3462078150 X-MC-Ingress-Time: 1544135551509 Received: from pdx1-sub0-mail-a68.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTP id 10DED7FE3E; Thu, 6 Dec 2018 14:32:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=kwKtC5GfaSg+4ylQkGz1BW3gQn8=; b= oIHCQ1ZZapqrImD3xIWXsKOtIOw4bHdu9/sgSxoMdbs9uFRvsR8HJKPJM33t2Ky3 ES07OtQRTyjguTrFtPbex9BhMjDSwkwYZhYELATdCQ7p29jSEAtCDV+rOaTikMnT wuZTStXQmrKvSYuL19shBr92iv6IfeSjsYv78BrePmk= Received: from mail.jurta.org (m91-129-103-7.cust.tele2.ee [91.129.103.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a68.g.dreamhost.com (Postfix) with ESMTPSA id 73A847FE3D; Thu, 6 Dec 2018 14:32:28 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a68 From: Juri Linkov Organization: LINKOV.NET References: <87k1knbmmj.fsf@mail.linkov.net> <83pnuf6stu.fsf@gnu.org> Date: Fri, 07 Dec 2018 00:31:18 +0200 In-Reply-To: <83pnuf6stu.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 06 Dec 2018 09:02:37 +0200") Message-ID: <87pnue70eh.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedtkedrudefjedgudeiudcutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtfedrjeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrdejpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepvghlihiisehgnhhurdhorhhgnecuvehluhhsthgvrhfuihiivgeptd X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 33640 fixed close 33640 26.2 thanks >> Eli, do you think this fix should be installed to the emacs-26 branch? > > Yes, but please also test it with file names that include double-width > characters. You can find the list of such characters in > characters.el (search for "East Asian Wide" there). The success > criterion is that minibuffer navigation works with these characters > not worse than C-n/C-p in "normal" buffers. I tested also with double-width characters, and they work without problems before and after applying this patch. So I pushed it to the emacs-26 branch.