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#56337: 28.1; Incorrect output by C-u C-x = Date: Fri, 01 Jul 2022 17:18:44 +0300 Message-ID: <83a69sex17.fsf@gnu.org> References: <12274.1656683089@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13225"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56337-done@debbugs.gnu.org To: Ikumi Keita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 01 16:19:29 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 1o7HUW-0003ED-P4 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 16:19:28 +0200 Original-Received: from localhost ([::1]:47172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7HUU-0002hT-7k for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 10:19:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40956) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7HU6-0002en-VP for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 10:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44901) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7HU6-0000WU-MZ for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 10:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7HU6-0001yl-ET for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 10:19:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Fri, 01 Jul 2022 14:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 56337 X-GNU-PR-Package: emacs Mail-Followup-To: 56337@debbugs.gnu.org, eliz@gnu.org, ikumi@ikumi.que.jp Original-Received: via spool by 56337-done@debbugs.gnu.org id=D56337.16566851277573 (code D ref 56337); Fri, 01 Jul 2022 14:19:02 +0000 Original-Received: (at 56337-done) by debbugs.gnu.org; 1 Jul 2022 14:18:47 +0000 Original-Received: from localhost ([127.0.0.1]:38797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7HTr-0001y5-2T for submit@debbugs.gnu.org; Fri, 01 Jul 2022 10:18:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7HTl-0001xf-6s for 56337-done@debbugs.gnu.org; Fri, 01 Jul 2022 10:18:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47308) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7HTe-0000Ty-9D; Fri, 01 Jul 2022 10:18:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TPYwxxTSSeX3aiOh83NtTw6zssW6kl0vcqDdgMrNVsU=; b=rilgHywcI6x8 ptIsJthVVKLKHosqNLq5CC0Fxwrn4KkQTJBG3itWRCh5CJHiBtGqM3nhuOFB1WdWXKpuuFgahgf5T 6UiREobeXXADoItcMA1Mqk9PaKyzCSlxoQNEQdyfI5m178VZIYmTWRS9Z8cAojwdGBjP0oSKqVjpV c3jV/fNIUVcBghJN+NMewVpflFsSAoJJ/Bq1zRJLBLvyyl0CcQuD9mrWEUtNDmnxJFDIbxagEKKB5 SX4Ii5P1EvZNEVr1J4BB3oRaYRERXC/FroK2FtBd5HEiqkDcxoJLIOeurzZaOKFbwaBr/Wn4ayVFD 4QKdO7rp3EZ2ys11YgLyww==; Original-Received: from [87.69.77.57] (port=2076 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 1o7HTd-0002gr-PG; Fri, 01 Jul 2022 10:18:34 -0400 In-Reply-To: <12274.1656683089@localhost> (message from Ikumi Keita on Fri, 01 Jul 2022 22:44:49 +0900) 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:235813 Archived-At: > From: Ikumi Keita > Date: Fri, 01 Jul 2022 22:44:49 +0900 > > The command `what-cursor-position' reports that SPC has `nobreak-space' > face, which isn't true. > > [How to reporoduce] > 1. emacs -Q > 2. Type SPC C-b C-u C-x = > 3. In *Help* buffer, there is a line saying > hardcoded face: nobreak-space > > I think this is a bug. SPC actually has no particular face; > `nobreak-space' face has underline (at least on my display), but the SPC > is displayed without underline. > > Here is the responsible code in descr-text.el: > ---------------------------------------------------------------------- > (defun describe-char (pos &optional buffer) > [...] > ((and nobreak-char-display char > (eq (get-char-code-property char 'general-category) 'Zs)) > 'nobreak-space) > ---------------------------------------------------------------------- > This conditional should exclude the case that `char' is ASCII space. Thanks, fixed for Emacs 28.2.