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#53477: 28.0.50; what-cursor-position Date: Sun, 23 Jan 2022 18:43:17 +0200 Message-ID: <83h79ul7x6.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="25262"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 53477@debbugs.gnu.org To: Devon Sean McCullough Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 23 17:44:17 2022 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 1nBfyT-0006JC-CR for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jan 2022 17:44:17 +0100 Original-Received: from localhost ([::1]:55406 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nBfyS-0001BG-Dp for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jan 2022 11:44:16 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52916) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBfyE-0001Am-5j for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 11:44:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48121) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nBfyD-0000vF-Sc for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 11:44:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nBfyD-00053o-QY for bug-gnu-emacs@gnu.org; Sun, 23 Jan 2022 11:44:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Jan 2022 16:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53477 X-GNU-PR-Package: emacs Original-Received: via spool by 53477-submit@debbugs.gnu.org id=B53477.164295622019353 (code B ref 53477); Sun, 23 Jan 2022 16:44:01 +0000 Original-Received: (at 53477) by debbugs.gnu.org; 23 Jan 2022 16:43:40 +0000 Original-Received: from localhost ([127.0.0.1]:41021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBfxs-000524-Dg for submit@debbugs.gnu.org; Sun, 23 Jan 2022 11:43:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52100) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nBfxq-00051Y-TG for 53477@debbugs.gnu.org; Sun, 23 Jan 2022 11:43:39 -0500 Original-Received: from [2001:470:142:3::e] (port=43448 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nBfxl-0000tL-8v; Sun, 23 Jan 2022 11:43:33 -0500 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=eWESy3BVlOJP/uywY9iaZNMIPJkbmaUS1zji0dOVJ6A=; b=odhsfpnKUCbrEKLpFhzj 8a7iQEYRKU39OOICzLzoSkXU33DOuR/+b/2F9SkfTnwEaHQgYFkOKjyw9VIeFNbHHAlNWDhNDbgbQ BTI7RPrYzyGdVWrcxq8dXDJRVkygVcS35gOZziWNVcFFdIN30BMvTf2G4Xtpkn5KRVlXk+VzgLplp MBeyuDNdlJyVVS4YWzNmO6klsn9qq4FvhrSIPZ99XSig3XmF910hWjV5rA1F5DBlQxpq5PpJ76J4m i9tHB7XTCUFm2LKLZc0BtGH8DS2Cs64I5HMNY6YB1We1aIHmWm1JVs3FVl2oZo/tEckEXs+6bqIXZ o3KsJopxqXxtkw==; Original-Received: from [87.69.77.57] (port=3576 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 1nBfxk-0007JI-Mg; Sun, 23 Jan 2022 11:43:33 -0500 In-Reply-To: (message from Devon Sean McCullough on Sun, 23 Jan 2022 11:08:12 -0500) 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" Xref: news.gmane.io gmane.emacs.bugs:224943 Archived-At: > Date: Sun, 23 Jan 2022 11:08:12 -0500 > From: Devon Sean McCullough > > (let ((debug-on-error t)) > (pop-to-buffer "bad-char") > (save-excursion > (insert #x1F62D)) > (what-cursor-position t)) > > ; often bombs instead - as does c-U c-X = but not c-X = > > 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(1) > what-cursor-position(t) > (let ((debug-on-error t)) (pop-to-buffer "bad-char") (save-excursion (insert 128557)) (what-cursor-position t)) > eval((let ((debug-on-error t)) (pop-to-buffer "bad-char") (save-excursion (insert 128557)) (what-cursor-position t)) nil) > elisp--eval-last-sexp(nil) > eval-last-sexp(nil) > funcall-interactively(eval-last-sexp nil) > call-interactively(eval-last-sexp nil nil) > command-execute(eval-last-sexp) I cannot reproduce this, and I don't see how this would be possible, since encoded-string-description is only ever called for the result of encode-coding-string, which must be a unibyte string. > In GNU Emacs 28.0.50 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95)) > of 2021-06-20 built on builder10-14.porkrind.org This seems to be a very old build of a development version; do you still see this in the current code?