GNU bug report logs - #80494
Buffer coding system tooltip

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Dani Moncayo <dmoncayo@HIDDEN>; Keywords: notabug; dated Thu, 26 Feb 2026 08:07:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Added tag(s) notabug. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 80494 <at> debbugs.gnu.org:


Received: (at 80494) by debbugs.gnu.org; 26 Feb 2026 09:25:36 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 26 04:25:36 2026
Received: from localhost ([127.0.0.1]:38822 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vvXcl-00062q-EM
	for submit <at> debbugs.gnu.org; Thu, 26 Feb 2026 04:25:35 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:59076)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>)
 id 1vvXci-00062J-Ez; Thu, 26 Feb 2026 04:25:32 -0500
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 <eliz@HIDDEN>)
 id 1vvXcb-0003Be-Dt; Thu, 26 Feb 2026 04:25:26 -0500
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=D+CEAA4Hx065umsBh28n6itn6O/WOVXI8CiPuwLRrz0=; b=nLXNxIG+a3L3
 VbG+CRyMSqGoNZa3bTajf8IVEdowOzNyAa2Tq/6Bu4R5di7Och8pwCgPGhtbVQozV0IHbnuMQAEZM
 JRg28pwW9s6m310AVqQUshfns9TY3UQMd07Oa0UkGIZShCp/A6RcDSgccaXXPRAtQY/clGZHi/9Wd
 o7B+vyS6Xb20NHEUZjLgr1l8DnsYl6XvarJBG+LUula87lO/mHaJhg0uJ+jn/HQYvsS3yTBENe6kJ
 M8hgmgX/s6r0B9cqs7NAK902030ZeEzTaXBoR/flcv7f3/VHF6Y6vzkAwWldMX1A6LYGQJpYip/fa
 wy0suGqP1WgI1mBzY4D0Lw==;
Date: Thu, 26 Feb 2026 11:24:54 +0200
Message-Id: <86h5r37t7d.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Dani Moncayo <dmoncayo@HIDDEN>
In-Reply-To: <CAH8Pv0j75geobBiCX+_j3JFaxwCDahtdmwpaAwWYXvC82mpv3A@HIDDEN>
 (message from Dani Moncayo on Thu, 26 Feb 2026 09:06:01 +0100)
Subject: Re: bug#80494: Buffer coding system tooltip
References: <CAH8Pv0j75geobBiCX+_j3JFaxwCDahtdmwpaAwWYXvC82mpv3A@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 80494
Cc: 80494 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 80494 notabug
thanks

> From: Dani Moncayo <dmoncayo@HIDDEN>
> Date: Thu, 26 Feb 2026 09:06:01 +0100
> 
> To reproduce, start emacs with -Q, evaluate:
>   (setq buffer-file-coding-system 'windows-1252)
> 
> and then place the mouse pointer over the coding-system indicator in
> the mode line.
> 
> After a second, a tooltip appears with this text:
> -----------
>    Buffer coding system (multi-byte): windows-1252
>    mouse-1: ...
>    mouse-3: ...
> -----------
> 
> It seems to me that the "multi-byte" remark is incorrect, since that
> coding system is single-byte.

This is a misunderstanding.  "Miltibyte" refers to the buffer, not to
the coding-system.  A multibyte buffer considers bytes as parts of
sequences representing characters, whereas a unibyte buffer considers
each byte as a raw byte that doesn't represent a character in some
human-readable language.  See the node "Unibyte Mode" in the Emacs
user manual for more details.

This is not a bug.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#80494; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 26 Feb 2026 08:06:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Feb 26 03:06:28 2026
Received: from localhost ([127.0.0.1]:38449 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1vvWOC-0005re-IK
	for submit <at> debbugs.gnu.org; Thu, 26 Feb 2026 03:06:28 -0500
Received: from lists.gnu.org ([2001:470:142::17]:38306)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <dmoncayo@HIDDEN>)
 id 1vvWOA-0005r4-0J
 for submit <at> debbugs.gnu.org; Thu, 26 Feb 2026 03:06:26 -0500
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 <dmoncayo@HIDDEN>)
 id 1vvWO3-0004Tp-V9
 for bug-gnu-emacs@HIDDEN; Thu, 26 Feb 2026 03:06:20 -0500
Received: from mail-dy1-x132e.google.com ([2607:f8b0:4864:20::132e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <dmoncayo@HIDDEN>)
 id 1vvWO2-0006c0-Gz
 for bug-gnu-emacs@HIDDEN; Thu, 26 Feb 2026 03:06:19 -0500
Received: by mail-dy1-x132e.google.com with SMTP id
 5a478bee46e88-2b4520f6b32so687742eec.0
 for <bug-gnu-emacs@HIDDEN>; Thu, 26 Feb 2026 00:06:16 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; t=1772093174; cv=none;
 d=google.com; s=arc-20240605;
 b=gFw2HAAWkJHatLBPwEdruqQvXlhk9re/xlCi6cgYIrSitPfWIzwW8nt8AqrWuOe9X6
 xqgr6Z8hHfY+vaL4USGoCg5saxrXGammDckaOnNQV0HRoZJ7ULDeVzbqmrmplpJzRKzC
 51c6MOGwTMgp0Mc+QE1DO52+m4lx9XvHZzC3C4nbnTxytukCIkodmNdV3tyHJCbT5zdL
 dsLrQo8Yx5Uew3st+b5xwm7csl/mV0Oz7XxaszEWTd4sNConWj5T7m4Y9rUIw1mRxCQ9
 05zTboMrGDzypon5SQMvNIQyN3kuXfcZNbWgKj9YTU+z6gzb4RfDMuonqnL8wjwo60kA
 wauA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
 s=arc-20240605; 
 h=to:subject:message-id:date:from:mime-version:dkim-signature;
 bh=s+PqqmtApSZvP1uy8Z7fGvBqru3n6uChPzn6ZcsKIGI=;
 fh=qumuhb47/7InWUCeighu5Dvi8wtKE/4wZ2LwvEyFOXI=;
 b=NUjGLonEYusYAJg0kj91n4y1R+n5O60huZ8TRGb0biwRi8qGUaHu88aHTLmZW7qF5c
 T/OAinpUe/IaqGk+xYIfcEHQu3xRvu3PN5IwRQTaaohhkwpFOP1NFahQ2HRg4OS+wwTN
 Q54oAz+Dw38HH2A0acRSFASbOvBDVuQrQf3mR8E5wT7VGxiP6mYaUUWuYr0CSCM++sbh
 3AnEa11lZ6gHO2Z7Gu+dhgu3PrGU7tAqB0264lOS4PONRzw5x/9Ohm7Y/XqlzEu7SXAK
 +Uj/7tSWBDiMCYNbN0kxFd2ZGZDpL9E1OjE2kkP6aWlXNneHES1W+m5p0hfJTNPaTZ/4
 gBMQ==; darn=gnu.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1772093174; x=1772697974; darn=gnu.org;
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=s+PqqmtApSZvP1uy8Z7fGvBqru3n6uChPzn6ZcsKIGI=;
 b=PS2B985anYaCGQRag5b60jFDEjXiG4AV+GRXUmNrdqd08quXW4aoEx49w80qjtv96O
 Hyk2FVYpHusf7OS45Ojpic99KHEdxfezkgzOAS6XAYxy1HT6GE8kD9ynXGK3gdb3xxPq
 BJJkDy3uDGqj/MCoXzuCofxXaxWCjOj8iZtDNS/FX3AoBNKulu4KfpwkcxUSDVYl9RTg
 82NfOxOn1dJbGll33/nx1K2q8U+HfsG+tu0sDgLnqb/S4WZU9dTiSNzGJNAc3KKjPiEg
 tuB+qUFkm9jUA/GAqKAhKDx8Zv/q+G1EsAZAa6aF3kum+00YW74U+fvIDOJFMkJpYd//
 5A7g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1772093174; x=1772697974;
 h=to:subject:message-id:date:from:mime-version:x-gm-gg
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=s+PqqmtApSZvP1uy8Z7fGvBqru3n6uChPzn6ZcsKIGI=;
 b=FgwCNjsH5e0SurZJn4A0KZRf0nRzm2LK9QIV9HNl8o67daRC49rKOOtFP4K8GEOlpo
 dfpME1YJQC8+5whwsCfTENSa1yw5F3NgYGBwzdn5fdoHOi9SB0nDhfMJJwuULTQx5QGF
 AGEPPsdbcn+7s5ZHDVPl0rfx6SoEUClPd3O1WcSF6eW+t7T/H5E8dbP7sw7XLq8r9OsJ
 TJphYFxmhs/OUrwbq5LtarRD9ycw39eDcA0BmhfDcMsusDKTijpvhwWDTQUcIx8Oy3Wj
 nx4TGiAKHP1XldyaPCriDEGsjVWF6zWFSN3IsSbmQPv4MWk1PBCCG5DoNZTYExhINS9k
 Tfqw==
X-Gm-Message-State: AOJu0YwFuITl+d+gnim2UhcpU1V+PLe1tKWa0h6Pe2WMZmAuVy6RV1aL
 j0NlNUwZLFeN1alZ915jHy0oMv3M/OZhaB9OWlUcU5RevT9skX/jjvaIuticAsjMC5xNOAiIUO4
 MPROVKBGj2rUhcMcPpk5C7rLbtMfZBsLdHYRP
X-Gm-Gg: ATEYQzybnXX73JGiIMXM1LTwXnEtE2nL6ipMXgS9d5cyMFsNesDdg/YFnR5yY/lFZZ/
 4oLLGkVyFZf1VLgQEHCJcuGEav/TWMcrYTWGVFh0TjecCwWpYj8kLqBedShVZ+3KPfErWgzjp3o
 bZ8mkIRMe3MCo2oWSrRUKO3qbFTwSZdYohnSo9i1PO/0j2NCZ/ZfOWP0XTJx4CzxCNZDIHip6PP
 7axuUHE8ZbvuMA/UhvD5NfxlXY0AYApIHVzbsXkF6srcl+h+Dkd4jLRbbeJZw39WEZgJWjBBWxV
 e6F+QpM8
X-Received: by 2002:a05:693c:3018:b0:2b7:fdb6:ccf6 with SMTP id
 5a478bee46e88-2bdd2f316c0mr558849eec.14.1772093173936; Thu, 26 Feb 2026
 00:06:13 -0800 (PST)
MIME-Version: 1.0
From: Dani Moncayo <dmoncayo@HIDDEN>
Date: Thu, 26 Feb 2026 09:06:01 +0100
X-Gm-Features: AaiRm51mkVco_d7BaxA8XWV2s4qx8ipQBZ_t0NnRtnd1n5O7pfItNfCpvstLibA
Message-ID: <CAH8Pv0j75geobBiCX+_j3JFaxwCDahtdmwpaAwWYXvC82mpv3A@HIDDEN>
Subject: Buffer coding system tooltip
To: bug-gnu-emacs <bug-gnu-emacs@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2607:f8b0:4864:20::132e;
 envelope-from=dmoncayo@HIDDEN; helo=mail-dy1-x132e.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  To reproduce, start emacs with -Q,
 evaluate: (setq buffer-file-coding-system
 'windows-1252) and then place the mouse pointer over the coding-system
 indicator
 in the mode line. After a second, a tooltip appears with this text: Buffer
 coding system (multi-byte): windows-1252 mouse-1: ... mouse-3: ... 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 1.0 FORGED_GMAIL_RCVD      'From' gmail.com does not match 'Received'
 headers
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (dmoncayo[at]gmail.com)
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

To reproduce, start emacs with -Q, evaluate:
  (setq buffer-file-coding-system 'windows-1252)

and then place the mouse pointer over the coding-system indicator in
the mode line.

After a second, a tooltip appears with this text:
-----------
   Buffer coding system (multi-byte): windows-1252
   mouse-1: ...
   mouse-3: ...
-----------

It seems to me that the "multi-byte" remark is incorrect, since that
coding system is single-byte.

-- 
Dani Moncayo




Acknowledgement sent to Dani Moncayo <dmoncayo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#80494; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 26 Feb 2026 09:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.