From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40702: 28.0.50; (what-cursor-position) barfs on non-ASCII char Date: Sun, 19 Apr 2020 19:50:10 +0300 Message-ID: <83ftczifnh.fsf@gnu.org> References: <87r1wktrg4.fsf@shorty.i-did-not-set--mail-host-address--so-tickle-me> <87lfms5ul0.fsf@gmail.com> <87pnc4tox6.fsf@secretsauce.net> <878sir6333.fsf@gmail.com> <83k12bijpl.fsf@gnu.org> <871roj5u0q.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="47196"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dima@secretsauce.net, 40702@debbugs.gnu.org, monnier@iro.umontreal.ca To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 19 18:51:13 2020 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 1jQDA1-000CAe-36 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Apr 2020 18:51:13 +0200 Original-Received: from localhost ([::1]:44252 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQDA0-0001ZK-6I for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 19 Apr 2020 12:51:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45946 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQD9q-0001Z0-O3 for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 12:51:02 -0400 Original-Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQD9q-0006bG-9z for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 12:51:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34244) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1jQD9p-0006b2-Th for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 12:51:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jQD9p-0002ja-RU for bug-gnu-emacs@gnu.org; Sun, 19 Apr 2020 12:51: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: Sun, 19 Apr 2020 16:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40702 X-GNU-PR-Package: emacs Original-Received: via spool by 40702-submit@debbugs.gnu.org id=B40702.158731502510461 (code B ref 40702); Sun, 19 Apr 2020 16:51:01 +0000 Original-Received: (at 40702) by debbugs.gnu.org; 19 Apr 2020 16:50:25 +0000 Original-Received: from localhost ([127.0.0.1]:45790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQD9E-0002if-UJ for submit@debbugs.gnu.org; Sun, 19 Apr 2020 12:50:25 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42824 helo=eggs1p.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jQD9D-0002iT-Ir for 40702@debbugs.gnu.org; Sun, 19 Apr 2020 12:50:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:53670) by eggs1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQD97-0005Jh-Vs; Sun, 19 Apr 2020 12:50:18 -0400 Original-Received: from [176.228.60.248] (port=3355 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jQD96-0001VI-W9; Sun, 19 Apr 2020 12:50:17 -0400 In-Reply-To: <871roj5u0q.fsf@gmail.com> (message from =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= on Sun, 19 Apr 2020 18:18:13 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:178655 Archived-At: > From: Štěpán Němec > Cc: dima@secretsauce.net, 40702@debbugs.gnu.org, Stefan Monnier > > Date: Sun, 19 Apr 2020 18:18:13 +0200 > > > Debugger entered--Lisp error: (cl-assertion-failed ((not (multibyte-string-p str)) nil)) > > cl--assertion-failed((not (multibyte-string-p str))) > > encoded-string-description(#("é" 0 1 (charset unicode)) nil) > > describe-char(146) > > what-cursor-position((4)) > > funcall-interactively(what-cursor-position (4)) > > call-interactively(what-cursor-position nil nil) > > command-execute(what-cursor-position) > > Thanks. I was looking at all the wrong places. The problem was simply > introduced by the addition of the assert in > > 2019-05-28T20:59:35-04:00!monnier@iro.umontreal.ca > 146486f8a6 (* mule-cmds.el (encoded-string-description): Require unibyte string as input) > https://git.sv.gnu.org/cgit/emacs.git/commit/?id=146486f8a6 > > Removing the assertion reverts to the Emacs 26 behaviour. > > Unfortunately there is no explanation regarding the change. Maybe Stefan > could provide some insight? Could the discussion below provide such an explanation? https://lists.gnu.org/archive/html/emacs-devel/2019-05/msg00949.html