From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Date: Tue, 28 Aug 2018 16:51:24 -0400 Message-ID: References: <3cce8b54-2e85-49a2-84d8-386ded864148@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1535489979 20020 195.159.176.226 (28 Aug 2018 20:59:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 28 Aug 2018 20:59:39 +0000 (UTC) Cc: 32562@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 28 22:59:35 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 1ful5K-000549-Pc for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Aug 2018 22:59:35 +0200 Original-Received: from localhost ([::1]:40013 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ful7Q-0003cL-Mv for geb-bug-gnu-emacs@m.gmane.org; Tue, 28 Aug 2018 17:01:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34577) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ful78-0003X6-Qy for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 17:01:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fuky2-0005vM-IK for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:52:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59255) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fuky2-0005vI-DX for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fuky2-00027U-B8 for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Aug 2018 20:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32562 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.15354894938106 (code B ref 32562); Tue, 28 Aug 2018 20:52:02 +0000 Original-Received: (at 32562) by debbugs.gnu.org; 28 Aug 2018 20:51:33 +0000 Original-Received: from localhost ([127.0.0.1]:36040 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fukxZ-00026a-6u for submit@debbugs.gnu.org; Tue, 28 Aug 2018 16:51:33 -0400 Original-Received: from mail-oi0-f44.google.com ([209.85.218.44]:38439) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fukxX-000269-9f for 32562@debbugs.gnu.org; Tue, 28 Aug 2018 16:51:31 -0400 Original-Received: by mail-oi0-f44.google.com with SMTP id x197-v6so5369121oix.5 for <32562@debbugs.gnu.org>; Tue, 28 Aug 2018 13:51:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=uJNHWyroO1Ur8XDbzQ6ePJVELbmD4ii8HcdEkXOEt7U=; b=bAQf1OJm7vkIaIW2CZLdDP1A1KNLLPgdGm5weYdDQqWMHod8LnIdajF9ig9HrDGKZW wfG5pjcsW7eX4EY8OiReFFRZ1SF9Bf33qXGAvTq2Z0ea4m6OwoL/lQF3YBwaGeYJxTh/ jEeanS58fNb0ybXAruGmhHSp1ucJZHBKXqqvuN3ClZG6M1Raul10TyY3lQysTxh80cVS g0fimX6s5AJwYa69I3DjdNpj58EGIT7RDQC6mVMoXDfglSU/W1BX3s4KuAeLF1I9ynpf Ot0lWv/DQ2ysUF1ETZtNsSS0e2/4Y4UIh4vNHkRNOTIEfRu4e1thxZVMv2nqknpiMLA2 E6nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=uJNHWyroO1Ur8XDbzQ6ePJVELbmD4ii8HcdEkXOEt7U=; b=SdBK5S29kgeleb0a2GrmQZcqlFyw+vJMAjM7hshRgFQBfhkRCoy16ihlNjwWFej+z4 9GyrOWxc0Iiz9CHm8WWj04QNIp+HeCqDEVRN7PZMTqFnu1TkN1dL9/s/ZTO4HM1tyZTz KPHVWECQW6VeJO/16Y/QNV3MzhUvNQFUjO8kZ76iC7Vejm50CaYGVk6/X7CGhh4Q4zL/ iYf0T4Enbr0Kj+Hc+U4J3kloP/NeQiLeMl0+RM4nQmFjPfjVNvJ8AAk1G1LJ4e4MYQa2 UFZq5hnkAUdnBWGiflz1PykWrJlnpHQU4D0CZxmyTpBt7EVGiiozMX5yaMULyfp1g1YP YoZQ== X-Gm-Message-State: APzg51BK+OcRom4/++ht0wP3nvVrX0lGO5erx111Q12eXm3tSUMBciXn jisvKfvXJYAQVjmXn2agC4NNQP5Kk8Lj6ByZTQs= X-Google-Smtp-Source: ANB0VdaXDOWcyk8ECg128O7i4kYdbV9VbEq7KHlQHaDN4+ixBrALpaSWUD25NfzRa0zFW0IzS6NDZWe+r+FRttRh5tY= X-Received: by 2002:aca:c2c1:: with SMTP id s184-v6mr2434188oif.117.1535489485628; Tue, 28 Aug 2018 13:51:25 -0700 (PDT) Original-Received: by 2002:a9d:2683:0:0:0:0:0 with HTTP; Tue, 28 Aug 2018 13:51:24 -0700 (PDT) In-Reply-To: <3cce8b54-2e85-49a2-84d8-386ded864148@default> 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:149811 Archived-At: forcemerge 13599 32562 quit On 28 August 2018 at 16:39, Drew Adams wrote: > Something seems wrong. The doc for `read-char(-exclusive)' talks about > reading a character. For `read-char' it says that it raises an error for > a non-char event. And for `read-char-exclusive' it says that it ignores > non-char events that it reads. > > But they both seem to read the event from `M-:' and return its value > (a number). And it is not a character, according to `characterp'. This is bug#13599/1042