From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#33829: 26.1; Unicode codepoint 177, PLUS-MINUS SIGN doesn't insert Date: Fri, 21 Dec 2018 22:15:09 +0200 Message-ID: <83k1k2bprm.fsf@gnu.org> References: <553a2d8e-aadf-43fc-b3da-bd1df0d784a2@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1545423252 22843 195.159.176.226 (21 Dec 2018 20:14:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 21 Dec 2018 20:14:12 +0000 (UTC) Cc: 33829@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 21 21:14:08 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gaRBP-0005p8-Nt for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2018 21:14:07 +0100 Original-Received: from localhost ([::1]:47695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gaRDW-0000E3-Dq for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Dec 2018 15:16:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35797) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gaRDN-0000CU-FV for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2018 15:16:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gaRDH-00048j-Ha for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2018 15:16:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54568) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gaRDG-00048J-O7 for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2018 15:16:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gaRDG-0007YC-Ij for bug-gnu-emacs@gnu.org; Fri, 21 Dec 2018 15:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Dec 2018 20:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33829 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33829-submit@debbugs.gnu.org id=B33829.154542333428986 (code B ref 33829); Fri, 21 Dec 2018 20:16:02 +0000 Original-Received: (at 33829) by debbugs.gnu.org; 21 Dec 2018 20:15:34 +0000 Original-Received: from localhost ([127.0.0.1]:58826 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gaRCo-0007XS-Fm for submit@debbugs.gnu.org; Fri, 21 Dec 2018 15:15:34 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53968) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gaRCm-0007XG-PL for 33829@debbugs.gnu.org; Fri, 21 Dec 2018 15:15:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gaRCe-0003jr-Im for 33829@debbugs.gnu.org; Fri, 21 Dec 2018 15:15:27 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gaRCe-0003jl-Fb; Fri, 21 Dec 2018 15:15:24 -0500 Original-Received: from [176.228.60.248] (port=2794 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gaRCe-0008SF-2u; Fri, 21 Dec 2018 15:15:24 -0500 In-reply-to: <553a2d8e-aadf-43fc-b3da-bd1df0d784a2@default> (message from Drew Adams on Fri, 21 Dec 2018 08:50:51 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153697 Archived-At: > Date: Fri, 21 Dec 2018 08:50:51 -0800 (PST) > From: Drew Adams > > See https://emacs.stackexchange.com/q/46713/105 > > emacs -Q > > (global-set-key (kbd "C-o") "±") > > Then try `C-o'. Instead of inserting the char you get `C-u 1-' in the > minibuffer. Emacs seems to be interpreting `C-o' as a partial numeric > prefix arg. No, it interprets ±, which is a single byte with the 8th bit set, as a meta character. (I wonder why you expected this to work even.) > But this works fine: > > (global-set-key (kbd "C-o") "☬") to insert ☬. Because ☬ doesn't fit in a single byte.