From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Aug 2018 20:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 32562 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 32562@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15354887766881 (code B ref -1); Tue, 28 Aug 2018 20:40:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Aug 2018 20:39:36 +0000 Received: from localhost ([127.0.0.1]:36020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fukm0-0001mv-43 for submit@debbugs.gnu.org; Tue, 28 Aug 2018 16:39:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fukly-0001mi-B3 for submit@debbugs.gnu.org; Tue, 28 Aug 2018 16:39:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fukls-0002yB-DV for submit@debbugs.gnu.org; Tue, 28 Aug 2018 16:39:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fukls-0002y7-93 for submit@debbugs.gnu.org; Tue, 28 Aug 2018 16:39:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuklr-0002vC-BY for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:39:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fuklo-0002vm-4t for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:39:27 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:34522) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fukln-0002v0-P9 for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:39:24 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w7SKd069188380 for ; Tue, 28 Aug 2018 20:39:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=pjPSTYOv6bXaQaKQEZxgF6vZqyObxxXkr5FWePoqukk=; b=UFgxa0YB8+OvMgcdRn/9V57NQ1zAL1hS0aedL3g7efWKDQwj+hYBq07pkaq5brNhEIo0 HFuLGx/ShzbvEMp+2e4i3Mw4+jb28VN9xeHiEvUbWgHMmKl/6a8d2ef7iI0n0Se2Q+h3 yFAAHrIhjBNU+m1tHx4I9qaUU5OHKt2wkn3fSMsFdy//UzU55rcIDq7eELB710SR+MiP aahh+fRUkcD8fv82ihOU0rbw8S/LHKbRpG4TZy7yDWAm3LyOXtqWteyxVgzu8vuO6IPP zjvkFxRCIsjibmw5WGMAu7ICeoIqr+23Hg7bN+I4BKit6vBfXDIT83tYUsblAfc4ykRB Sg== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2120.oracle.com with ESMTP id 2m2y2pe81u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 28 Aug 2018 20:39:22 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w7SKdLfS018669 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 28 Aug 2018 20:39:21 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w7SKdL6b017757 for ; Tue, 28 Aug 2018 20:39:21 GMT MIME-Version: 1.0 Message-ID: <3cce8b54-2e85-49a2-84d8-386ded864148@default> Date: Tue, 28 Aug 2018 13:39:20 -0700 (PDT) From: Drew Adams X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4732.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8999 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808280200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Perhaps there is no bug here, other than incomplete or insufficiently clear doc. Dunno. emacs -Q M-: (setq foo (read-char "Char: ")) M-: shows: 134217786 (#o1000000072, #x800003a), a number too large to be `characterp'. And M-: (characterp foo) ; returns nil. Same thing for `read-char-exclusive'. 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'. I'm confused. Please consider fixing this, at least by clarifying the doc. Why should a function that reads a character, and either ignores a non-char or raises an error for a non-char, return a non-character? And what function reads a `characterp' character, either ignoring anything else or raising an error for anything else? In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30 Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea Windowing system distributor `Microsoft Corp.', version 10.0.16299 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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: To: Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.15354894938106 (code B ref 32562); Tue, 28 Aug 2018 20:52:02 +0000 Received: (at 32562) by debbugs.gnu.org; 28 Aug 2018 20:51:33 +0000 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 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 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) MIME-Version: 1.0 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> References: <3cce8b54-2e85-49a2-84d8-386ded864148@default> From: Noam Postavsky Date: Tue, 28 Aug 2018 16:51:24 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Aug 2018 21:25: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: To: Noam Postavsky Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.153549148618867 (code B ref 32562); Tue, 28 Aug 2018 21:25:02 +0000 Received: (at 32562) by debbugs.gnu.org; 28 Aug 2018 21:24:46 +0000 Received: from localhost ([127.0.0.1]:36056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fulTi-0004uF-Ai for submit@debbugs.gnu.org; Tue, 28 Aug 2018 17:24:46 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:47508) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fulTg-0004u2-GL for 32562@debbugs.gnu.org; Tue, 28 Aug 2018 17:24:44 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w7SLO2AO196405; Tue, 28 Aug 2018 21:24:38 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=HdQ0AvOYGaUfJzISMwKIxvxqYrG4zX+ma5PZxERlg08=; b=P/uhp6Hioy/2lHVdVfOyDxKvSTa2p/VDjbED6OGnoABfxJ7bHOLtOtMXXTlGHEXpX8V0 SFuegv05yjsXBCIpSrl7WzFCvd8W1qO2B4XeX+sm4VPcgWZJtGrofM5m71VLLMSVezs8 i6FramfBTn1pfODRiW6o7O6Z/fsj9UtvpebzM2WZFWj24GwgEm8UOG5sSXY3sMO6wO+T ycsHbbOSs+cHDzx8tGwu8qFO2wMvBft8DMba2V3/Wo6UtirsUNKI3irm7P09emEc1hSe y+QGcisXkOP1gS2nADZ0d7QtcpWZ19OqhU5xxA6OnKC/f1D6/LGXEj+IT/T6kvBY3WA9 TA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2m2xhtpf4a-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Aug 2018 21:24:38 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w7SLObVO002958 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 28 Aug 2018 21:24:37 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w7SLObD5015197; Tue, 28 Aug 2018 21:24:37 GMT MIME-Version: 1.0 Message-ID: <563c0c84-c4dd-4672-a009-df90bef6d6a3@default> Date: Tue, 28 Aug 2018 14:24:36 -0700 (PDT) From: Drew Adams References: <3cce8b54-2e85-49a2-84d8-386ded864148@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4732.0 (x86)] Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8999 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808280207 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > forcemerge 13599 32562 > quit >=20 > > Something seems wrong. The doc for `read-char(-exclusive)' talks about > > reading a character. For `read-char' it says that it raises an error fo= r > > a non-char event. And for `read-char-exclusive' it says that it ignore= s > > 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'. >=20 > This is bug#13599/1042 Hm. Maybe it is. But is `read-char' necessarily about chars that satisfy `c= haracterp'? I would think so, but maybe not. And there are other "character" functions,= which accept chars as args - `text-char-description', for example. (That's= what I was passing the result of `read-char' to.)=20 The doc string of `text-char-description' says "file-character CHARACTER". = What's a "file character"? A character that can appear in a file name? Same= thing as what `max-char' should recognize? Same thing as what `read-char' = should consider a char? The Elisp manual (node Describing Characters) says = it is "characters that appear in text=E2=80=94like =E2=80=98single-key-desc= ription=E2=80=99, except that..." It says nothing about "file characters". = The doc is not too clear. This stuff is not clear more generally, I think - beyond the max value of `= max-char'. Do we have or want to have different kinds of "characters" retur= ned from or passed as args to different "character" functions? Why (or why = not)? Wrt my original problem: taking a value of `M-:' from `read-char' and passi= ng it to `text-char-description', Emacs has a regression of sorts. Older Em= acs versions "work", whereas recent versions raise an error. E.g. Emacs 20 = `read-char' returns -134217670, and passing that to `text-char-description'= gives "\272". Whatever `read-char' can read, it seems, `text-char-descript= ion' can describe (perhaps imperfectly?). I think that "the bug" is not so clear cut as just adjusting `max-char'. I = think the behavior of several functions that expect or return chars might d= eserve adjustment, and the doc might deserve some clarification/fixes. We m= ight need to decide what the right behaviors are first. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Aug 2018 22:28:01 +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: To: Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.153549526924711 (code B ref 32562); Tue, 28 Aug 2018 22:28:01 +0000 Received: (at 32562) by debbugs.gnu.org; 28 Aug 2018 22:27:49 +0000 Received: from localhost ([127.0.0.1]:36119 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fumSi-0006QV-Qx for submit@debbugs.gnu.org; Tue, 28 Aug 2018 18:27:48 -0400 Received: from mail-it0-f43.google.com ([209.85.214.43]:38446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fumSh-0006QI-RQ for 32562@debbugs.gnu.org; Tue, 28 Aug 2018 18:27:48 -0400 Received: by mail-it0-f43.google.com with SMTP id p129-v6so4671453ite.3 for <32562@debbugs.gnu.org>; Tue, 28 Aug 2018 15:27:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=WvWnkywzZF+kZ3japjItl1Wai5mvctrWoINvkq3bZlM=; b=J9mY5/DGJOHChi/4uyx9J7AEHEZUgQo8kZ2rpvZYyObHBXg/UVHRBU9SyMxrY9EyGE 5Q5prFv3vx1V4giN0gZQOMEz9HMYEiQb4y3z78DijVPCGCQV81pblz/kjvwGVSGX9+i5 slWD2LG0ojG0T21XqA3jLG4XbRpyL6DeIaMHaH+vXLkaGsjMpWtUsqnweKSEsAMfrZEh PysxJx9jGEqdxUMFS0+YnuxhZKCHPwYqwSDdTj/GuX74bNQEVMZKZVSrEYy1rqhpdbfb fCnvM1q+cyHVHmgVCJXDD4qw2qRBJHsfSnBam2qhIvm61jfZ9LNjqmWRuveF1piGShjU 0iTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=WvWnkywzZF+kZ3japjItl1Wai5mvctrWoINvkq3bZlM=; b=VOpUx/KM3vXME/d3GdQTocjszYkp1mr6yikEIOiWJTvr5g+9fb8IPOP46yWLiCajEV uCX8Ot4a28OYHNWgzla6pnZc0lgtWa0FFwigAsTvHtT7OmxRn1hqXD+AaLpMgJIYThtC kp5ML57rB4Y8oQN5RznHcdZBeugGZvPMGEcVLDa1iF4zTvDXzGPzqghrU3iOJYf3QSXm X/EAfM1c7R52t9HpnR0Rt5fT0ApakBQvXcLkkw2c+U7WJjHXHW+LQMHbIYIAmBSokAzt npc1J2q5Qj6UjdoQEtXakZbyutfXvQ6MuNGTxtMeEA8mn+shBE01NOZi+b5A9ERaeP1G DdRg== X-Gm-Message-State: APzg51DJ4YFf0o2Xdfvlw0c8TsPo9lHVJgYLMvufY7/RrH3hWxTLFaQk 7dOdDeOCffLW3sQJOVs7f5ZIQNKp X-Google-Smtp-Source: ANB0VdZpA/HA5cKRjWVXXIe+Kw46FKwbve9liDq4ckmtON86lAFlmshrkiQU0h12ScgPJJt9Rj3PBw== X-Received: by 2002:a02:85a3:: with SMTP id d32-v6mr3162241jai.119.1535495261955; Tue, 28 Aug 2018 15:27:41 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id e25-v6sm943813iom.19.2018.08.28.15.27.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 28 Aug 2018 15:27:41 -0700 (PDT) From: Noam Postavsky References: <3cce8b54-2e85-49a2-84d8-386ded864148@default> <563c0c84-c4dd-4672-a009-df90bef6d6a3@default> Date: Tue, 28 Aug 2018 18:27:40 -0400 In-Reply-To: <563c0c84-c4dd-4672-a009-df90bef6d6a3@default> (Drew Adams's message of "Tue, 28 Aug 2018 14:24:36 -0700 (PDT)") Message-ID: <87in3ut9cz.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Drew Adams writes: > I think that "the bug" is not so clear cut as just adjusting > `max-char'. No, of course not. It's discussed at length Bug#13599. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Sep 2018 09:57: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: To: Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.15365734046393 (code B ref 32562); Mon, 10 Sep 2018 09:57:02 +0000 Received: (at 32562) by debbugs.gnu.org; 10 Sep 2018 09:56:44 +0000 Received: from localhost ([127.0.0.1]:51758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzIw0-0001f3-4P for submit@debbugs.gnu.org; Mon, 10 Sep 2018 05:56:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzIvy-0001er-SN for 32562@debbugs.gnu.org; Mon, 10 Sep 2018 05:56:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzIvq-0001vF-HW for 32562@debbugs.gnu.org; Mon, 10 Sep 2018 05:56:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzIvq-0001v7-Dl; Mon, 10 Sep 2018 05:56:34 -0400 Received: from [176.228.60.248] (port=3977 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzIvq-000571-0r; Mon, 10 Sep 2018 05:56:34 -0400 Date: Mon, 10 Sep 2018 12:56:41 +0300 Message-Id: <83d0tlpteu.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <3cce8b54-2e85-49a2-84d8-386ded864148@default> (message from Drew Adams on Tue, 28 Aug 2018 13:39:20 -0700 (PDT)) References: <3cce8b54-2e85-49a2-84d8-386ded864148@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Tue, 28 Aug 2018 13:39:20 -0700 (PDT) > From: Drew Adams > > Perhaps there is no bug here, other than incomplete or insufficiently > clear doc. Dunno. It's a documentation bug. > emacs -Q > M-: (setq foo (read-char "Char: ")) > M-: > > shows: 134217786 (#o1000000072, #x800003a), a number too large > to be `characterp'. And M-: (characterp foo) ; returns nil. > > Same thing for `read-char-exclusive'. > > 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'. What the documentation failed to make clear is that the value returned by these functions is an _event_, not a character. For ASCII characters, the event and the character are identical, but modifier bits that cannot be resolved to yield an ASCII character are left in the returned value, and that makes the value not a valid character code. I have now clarified this subtle point in the documentation (on the emacs-26 branch). > And what function reads a `characterp' character, either ignoring > anything else or raising an error for anything else? What do you mean by "reading a 'characterp'"? E.g., if the user types C-% or M-a, what 'characterp' code would you expect to see? Also, does "reading a 'characterp'" include supporting input methods, if any? From unknown Fri Aug 15 19:29:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Drew Adams Subject: bug#32562: closed (Re: bug#32562: 26; `read-char(-exclusive)' and `characterp') Message-ID: References: <83bm95pt7c.fsf@gnu.org> <3cce8b54-2e85-49a2-84d8-386ded864148@default> X-Gnu-PR-Message: they-closed 32562 X-Gnu-PR-Package: emacs Reply-To: 32562@debbugs.gnu.org Date: Mon, 10 Sep 2018 10:02:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1536573722-6961-1" This is a multi-part message in MIME format... ------------=_1536573722-6961-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32562: 26; `read-char(-exclusive)' and `characterp' which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 32562@debbugs.gnu.org. --=20 32562: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32562 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1536573722-6961-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32562-done) by debbugs.gnu.org; 10 Sep 2018 10:01:15 +0000 Received: from localhost ([127.0.0.1]:51762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzJ0L-0001nB-NR for submit@debbugs.gnu.org; Mon, 10 Sep 2018 06:01:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzJ0J-0001mx-W2 for 32562-done@debbugs.gnu.org; Mon, 10 Sep 2018 06:01:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzJ0B-0004ZS-NK for 32562-done@debbugs.gnu.org; Mon, 10 Sep 2018 06:01:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzJ0B-0004ZM-Jc; Mon, 10 Sep 2018 06:01:03 -0400 Received: from [176.228.60.248] (port=4263 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzJ0B-0005tn-7N; Mon, 10 Sep 2018 06:01:03 -0400 Date: Mon, 10 Sep 2018 13:01:11 +0300 Message-Id: <83bm95pt7c.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <563c0c84-c4dd-4672-a009-df90bef6d6a3@default> (message from Drew Adams on Tue, 28 Aug 2018 14:24:36 -0700 (PDT)) Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' References: <3cce8b54-2e85-49a2-84d8-386ded864148@default> <563c0c84-c4dd-4672-a009-df90bef6d6a3@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32562-done Cc: npostavs@gmail.com, 32562-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Tue, 28 Aug 2018 14:24:36 -0700 (PDT) > From: Drew Adams > Cc: 32562@debbugs.gnu.org > > is `read-char' necessarily about chars that satisfy `characterp'? No. It returns a character event, not a character. > The doc string of `text-char-description' says "file-character CHARACTER". What's a "file character"? A character that can appear in a file name? No, text-char-description accepts only valid character codes, those which satisfy the 'characterp' test. This is unlike single-key-description, which accepts _events_, and thus will happily process character input events that are not valid character codes, i.e. fail the 'characterp' test. I've now made that clear in the respective doc strings. > This stuff is not clear more generally, I think - beyond the max value of `max-char'. Do we have or want to have different kinds of "characters" returned from or passed as args to different "character" functions? Why (or why not)? The basic difference is between a character code and a character input event. > Wrt my original problem: taking a value of `M-:' from `read-char' and passing it to `text-char-description', Emacs has a regression of sorts. Older Emacs versions "work", whereas recent versions raise an error. E.g. Emacs 20 `read-char' returns -134217670, and passing that to `text-char-description' gives "\272". Whatever `read-char' can read, it seems, `text-char-description' can describe (perhaps imperfectly?). It's not a regression: text-char-description wants a valid character code. I'm closing this bug, as I think this is a documentation issue which is now fixed. Thanks. ------------=_1536573722-6961-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 28 Aug 2018 20:39:36 +0000 Received: from localhost ([127.0.0.1]:36020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fukm0-0001mv-43 for submit@debbugs.gnu.org; Tue, 28 Aug 2018 16:39:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60365) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fukly-0001mi-B3 for submit@debbugs.gnu.org; Tue, 28 Aug 2018 16:39:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fukls-0002yB-DV for submit@debbugs.gnu.org; Tue, 28 Aug 2018 16:39:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38680) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fukls-0002y7-93 for submit@debbugs.gnu.org; Tue, 28 Aug 2018 16:39:28 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53108) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fuklr-0002vC-BY for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:39:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fuklo-0002vm-4t for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:39:27 -0400 Received: from aserp2120.oracle.com ([141.146.126.78]:34522) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fukln-0002v0-P9 for bug-gnu-emacs@gnu.org; Tue, 28 Aug 2018 16:39:24 -0400 Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w7SKd069188380 for ; Tue, 28 Aug 2018 20:39:22 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=pjPSTYOv6bXaQaKQEZxgF6vZqyObxxXkr5FWePoqukk=; b=UFgxa0YB8+OvMgcdRn/9V57NQ1zAL1hS0aedL3g7efWKDQwj+hYBq07pkaq5brNhEIo0 HFuLGx/ShzbvEMp+2e4i3Mw4+jb28VN9xeHiEvUbWgHMmKl/6a8d2ef7iI0n0Se2Q+h3 yFAAHrIhjBNU+m1tHx4I9qaUU5OHKt2wkn3fSMsFdy//UzU55rcIDq7eELB710SR+MiP aahh+fRUkcD8fv82ihOU0rbw8S/LHKbRpG4TZy7yDWAm3LyOXtqWteyxVgzu8vuO6IPP zjvkFxRCIsjibmw5WGMAu7ICeoIqr+23Hg7bN+I4BKit6vBfXDIT83tYUsblAfc4ykRB Sg== Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by aserp2120.oracle.com with ESMTP id 2m2y2pe81u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 28 Aug 2018 20:39:22 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w7SKdLfS018669 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 28 Aug 2018 20:39:21 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w7SKdL6b017757 for ; Tue, 28 Aug 2018 20:39:21 GMT MIME-Version: 1.0 Message-ID: <3cce8b54-2e85-49a2-84d8-386ded864148@default> Date: Tue, 28 Aug 2018 13:39:20 -0700 (PDT) From: Drew Adams To: bug-gnu-emacs@gnu.org Subject: 26; `read-char(-exclusive)' and `characterp' X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4732.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8999 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=1 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1808280200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Perhaps there is no bug here, other than incomplete or insufficiently clear doc. Dunno. emacs -Q M-: (setq foo (read-char "Char: ")) M-: shows: 134217786 (#o1000000072, #x800003a), a number too large to be `characterp'. And M-: (characterp foo) ; returns nil. Same thing for `read-char-exclusive'. 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'. I'm confused. Please consider fixing this, at least by clarifying the doc. Why should a function that reads a character, and either ignores a non-char or raises an error for a non-char, return a non-character? And what function reads a `characterp' character, either ignoring anything else or raising an error for anything else? In GNU Emacs 26.1 (build 1, x86_64-w64-mingw32) of 2018-05-30 Repository revision: 07f8f9bc5a51f5aa94eb099f3e15fbe0c20ea1ea Windowing system distributor `Microsoft Corp.', version 10.0.16299 Configured using: `configure --without-dbus --host=3Dx86_64-w64-mingw32 --without-compress-install 'CFLAGS=3D-O2 -static -g3'' ------------=_1536573722-6961-1-- From unknown Fri Aug 15 19:29:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Markus Triska Subject: bug#1042: closed (Re: bug#32562: 26; `read-char(-exclusive)' and `characterp') Message-ID: References: <83bm95pt7c.fsf@gnu.org> <20080928050936.D9027B0F76E@mt-computer.local> X-Gnu-PR-Message: they-closed 1042 X-Gnu-PR-Package: emacs Reply-To: 1042@debbugs.gnu.org Date: Mon, 10 Sep 2018 10:02:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1536573723-6961-3" This is a multi-part message in MIME format... ------------=_1536573723-6961-3 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32562: 23.0.60; read-char can evaluate to non-character which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 1042@debbugs.gnu.org. --=20 32562: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32562 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1536573723-6961-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32562-done) by debbugs.gnu.org; 10 Sep 2018 10:01:15 +0000 Received: from localhost ([127.0.0.1]:51762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzJ0L-0001nB-NR for submit@debbugs.gnu.org; Mon, 10 Sep 2018 06:01:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzJ0J-0001mx-W2 for 32562-done@debbugs.gnu.org; Mon, 10 Sep 2018 06:01:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzJ0B-0004ZS-NK for 32562-done@debbugs.gnu.org; Mon, 10 Sep 2018 06:01:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzJ0B-0004ZM-Jc; Mon, 10 Sep 2018 06:01:03 -0400 Received: from [176.228.60.248] (port=4263 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzJ0B-0005tn-7N; Mon, 10 Sep 2018 06:01:03 -0400 Date: Mon, 10 Sep 2018 13:01:11 +0300 Message-Id: <83bm95pt7c.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <563c0c84-c4dd-4672-a009-df90bef6d6a3@default> (message from Drew Adams on Tue, 28 Aug 2018 14:24:36 -0700 (PDT)) Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' References: <3cce8b54-2e85-49a2-84d8-386ded864148@default> <563c0c84-c4dd-4672-a009-df90bef6d6a3@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32562-done Cc: npostavs@gmail.com, 32562-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Tue, 28 Aug 2018 14:24:36 -0700 (PDT) > From: Drew Adams > Cc: 32562@debbugs.gnu.org > > is `read-char' necessarily about chars that satisfy `characterp'? No. It returns a character event, not a character. > The doc string of `text-char-description' says "file-character CHARACTER". What's a "file character"? A character that can appear in a file name? No, text-char-description accepts only valid character codes, those which satisfy the 'characterp' test. This is unlike single-key-description, which accepts _events_, and thus will happily process character input events that are not valid character codes, i.e. fail the 'characterp' test. I've now made that clear in the respective doc strings. > This stuff is not clear more generally, I think - beyond the max value of `max-char'. Do we have or want to have different kinds of "characters" returned from or passed as args to different "character" functions? Why (or why not)? The basic difference is between a character code and a character input event. > Wrt my original problem: taking a value of `M-:' from `read-char' and passing it to `text-char-description', Emacs has a regression of sorts. Older Emacs versions "work", whereas recent versions raise an error. E.g. Emacs 20 `read-char' returns -134217670, and passing that to `text-char-description' gives "\272". Whatever `read-char' can read, it seems, `text-char-description' can describe (perhaps imperfectly?). It's not a regression: text-char-description wants a valid character code. I'm closing this bug, as I think this is a documentation issue which is now fixed. Thanks. ------------=_1536573723-6961-3 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From triska@gmx.at Sat Sep 27 22:09:48 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.2 required=4.0 tests=AWL,BAYES_00,FOURLA,NUMONLY, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 28 Sep 2008 05:09:49 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8S59j3b030294 for ; Sat, 27 Sep 2008 22:09:46 -0700 Received: from mx10.gnu.org ([199.232.76.166]:35911) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KjoVL-0003rk-EB for emacs-pretest-bug@gnu.org; Sun, 28 Sep 2008 01:07:35 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KjoXP-0007jB-PN for emacs-pretest-bug@gnu.org; Sun, 28 Sep 2008 01:09:44 -0400 Received: from mail.gmx.net ([213.165.64.20]:60244) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KjoXP-0007in-9f for emacs-pretest-bug@gnu.org; Sun, 28 Sep 2008 01:09:43 -0400 Received: (qmail invoked by alias); 28 Sep 2008 05:09:40 -0000 Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp008) with SMTP; 28 Sep 2008 07:09:40 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX1/oVt4sg0Xokr9tgAUrGf0yyAjD4zwN1PJDozdv/5 ofETEjl5/++0pX Received: by mt-computer.local (Postfix, from userid 502) id D9027B0F76E; Sun, 28 Sep 2008 07:09:36 +0200 (CEST) From: Markus Triska To: emacs-pretest-bug@gnu.org Subject: 23.0.60; read-char can evaluate to non-character Message-Id: <20080928050936.D9027B0F76E@mt-computer.local> Date: Sun, 28 Sep 2008 07:09:36 +0200 (CEST) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.55 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) In "$ emacs -Q", when I evaluate: (read-char) and press C-0, I get: 67108912 However, (characterp 67108912) is nil, and (char-to-string 67108912) throws an error. Thus I expect an error also from read-char in this case. Besides, in `char-resolve-modifers', "modifiers" is misspelled. In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9) of 2008-09-24 on mt-computer.local Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t ------------=_1536573723-6961-3-- From unknown Fri Aug 15 19:29:45 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Magnar Sveen Subject: bug#13599: closed (Re: bug#32562: 26; `read-char(-exclusive)' and `characterp') Message-ID: References: <83bm95pt7c.fsf@gnu.org> X-Gnu-PR-Message: they-closed 13599 X-Gnu-PR-Package: emacs Reply-To: 13599@debbugs.gnu.org Date: Mon, 10 Sep 2018 10:02:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1536573723-6961-5" This is a multi-part message in MIME format... ------------=_1536573723-6961-5 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #32562: 24.2; (max-char) is too low (and hard to change) which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 13599@debbugs.gnu.org. --=20 32562: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D32562 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1536573723-6961-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 32562-done) by debbugs.gnu.org; 10 Sep 2018 10:01:15 +0000 Received: from localhost ([127.0.0.1]:51762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzJ0L-0001nB-NR for submit@debbugs.gnu.org; Mon, 10 Sep 2018 06:01:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:46277) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzJ0J-0001mx-W2 for 32562-done@debbugs.gnu.org; Mon, 10 Sep 2018 06:01:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzJ0B-0004ZS-NK for 32562-done@debbugs.gnu.org; Mon, 10 Sep 2018 06:01:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34019) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzJ0B-0004ZM-Jc; Mon, 10 Sep 2018 06:01:03 -0400 Received: from [176.228.60.248] (port=4263 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzJ0B-0005tn-7N; Mon, 10 Sep 2018 06:01:03 -0400 Date: Mon, 10 Sep 2018 13:01:11 +0300 Message-Id: <83bm95pt7c.fsf@gnu.org> From: Eli Zaretskii To: Drew Adams In-reply-to: <563c0c84-c4dd-4672-a009-df90bef6d6a3@default> (message from Drew Adams on Tue, 28 Aug 2018 14:24:36 -0700 (PDT)) Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' References: <3cce8b54-2e85-49a2-84d8-386ded864148@default> <563c0c84-c4dd-4672-a009-df90bef6d6a3@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 32562-done Cc: npostavs@gmail.com, 32562-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Tue, 28 Aug 2018 14:24:36 -0700 (PDT) > From: Drew Adams > Cc: 32562@debbugs.gnu.org > > is `read-char' necessarily about chars that satisfy `characterp'? No. It returns a character event, not a character. > The doc string of `text-char-description' says "file-character CHARACTER". What's a "file character"? A character that can appear in a file name? No, text-char-description accepts only valid character codes, those which satisfy the 'characterp' test. This is unlike single-key-description, which accepts _events_, and thus will happily process character input events that are not valid character codes, i.e. fail the 'characterp' test. I've now made that clear in the respective doc strings. > This stuff is not clear more generally, I think - beyond the max value of `max-char'. Do we have or want to have different kinds of "characters" returned from or passed as args to different "character" functions? Why (or why not)? The basic difference is between a character code and a character input event. > Wrt my original problem: taking a value of `M-:' from `read-char' and passing it to `text-char-description', Emacs has a regression of sorts. Older Emacs versions "work", whereas recent versions raise an error. E.g. Emacs 20 `read-char' returns -134217670, and passing that to `text-char-description' gives "\272". Whatever `read-char' can read, it seems, `text-char-description' can describe (perhaps imperfectly?). It's not a regression: text-char-description wants a valid character code. I'm closing this bug, as I think this is a documentation issue which is now fixed. Thanks. ------------=_1536573723-6961-5 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 31 Jan 2013 18:43:28 +0000 Received: from localhost ([127.0.0.1]:57962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0z6d-0005kL-C1 for submit@debbugs.gnu.org; Thu, 31 Jan 2013 13:43:28 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44626) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1U0z6a-0005kD-7j for submit@debbugs.gnu.org; Thu, 31 Jan 2013 13:43:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0z5r-0004ed-0Z for submit@debbugs.gnu.org; Thu, 31 Jan 2013 13:42:40 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:34960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0z5q-0004eZ-TW for submit@debbugs.gnu.org; Thu, 31 Jan 2013 13:42:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:55974) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0z5p-0005eM-0l for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2013 13:42:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U0z5m-0004dw-T9 for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2013 13:42:36 -0500 Received: from mail-lb0-f172.google.com ([209.85.217.172]:32857) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U0z5m-0004dV-FP for bug-gnu-emacs@gnu.org; Thu, 31 Jan 2013 13:42:34 -0500 Received: by mail-lb0-f172.google.com with SMTP id n8so3740301lbj.17 for ; Thu, 31 Jan 2013 10:42:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:from:to:subject:date:message-id:mime-version :content-type; bh=/YFLDN2US3QATjCcCi2d9KZNOCIbhh3PwPc40gm6hvQ=; b=Ob4lbx4F1TnLKHL3ZSsY52zPO4JkR20v8EZzKqhJE4wJ7Xggyj6UY8RX31S+rXVxgz mcoZgCjLwrkz0fLDrVIx1mIeBgEPBrUOXVDHwXl8exGFGfwiSpYaDIQ8EQUlYlJkXd44 tqphXmIj0NZLE+T1RGb+BlM607/8aqBEAEe1umHi2LFmBjTQNn+Rg/hjGldYrII2OzMB Q/fZjip/e09pb9VlLTPA0PgmqsYsbxIky6Pp6OkCdPfyH4BFfvnmXUGAwp0XxtyuUtx0 QkVqqCqExABP6IOtNce4/SuBv/YogNA+07PK1lFYGBJq/22YOIpzYYhc89fc+EFx5wMz gjdw== X-Received: by 10.152.136.20 with SMTP id pw20mr8714545lab.16.1359657752923; Thu, 31 Jan 2013 10:42:32 -0800 (PST) Received: from localhost (45-8-11.connect.netcom.no. [176.11.8.45]) by mx.google.com with ESMTPS id n2sm1783329lbc.5.2013.01.31.10.42.29 (version=TLSv1 cipher=RC4-SHA bits=128/128); Thu, 31 Jan 2013 10:42:30 -0800 (PST) From: Magnar Sveen To: bug-gnu-emacs@gnu.org Subject: 24.2; (max-char) is too low (and hard to change) Date: Thu, 31 Jan 2013 19:42:27 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Due to my weird norwegian keyboard, I'm trying to map my s-8 to [. Doing a M-: (read-char) s-8 gives me the key value of 8388664. Following that up with (keyboard-translate 8388664 ?\[) does not work, since it fails the (characterp) test. Turns out that (max-char) is a C function that returns the highest allowed keycode. On my Emacs, that is 4194303. Since (max-char) is a function and not a variable, and a C function at that (not advisable when called from another C function (characterp)) - I am left without options to rectify it. Or maybe I could use a hex editor. :-) So, is this a bug? Is it weird that max-char is a function? In C? Ought 4194303 chars be enough for anybody? That's up to you guys to decide. Kind regards, Magnar Sveen In GNU Emacs 24.2.1 (x86_64-apple-darwin10.8.0, NS apple-appkit-1038.36) of 2012-09-04 on fi-bp-202.local Windowing system distributor `Apple', version 10.3.1038 Configured using: `configure '--prefix=/usr/local/Cellar/emacs/24.2' '--without-dbus' '--enable-locallisppath=/usr/local/share/emacs/site-lisp' '--infodir=/usr/local/Cellar/emacs/24.2/share/info/emacs' '--with-ns' '--disable-ns-self-contained' 'CC=/usr/bin/gcc-4.2' 'CFLAGS=-Os -w -pipe -march=core2 -msse4 -mmacosx-version-min=10.6' 'LDFLAGS=-L/usr/local/lib'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: utf-8 default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: diff-auto-refine-mode: t shell-dirtrack-mode: t elisp-slime-nav-mode: t hardcore-mode: t show-paren-mode: t global-hl-line-mode: t ido-ubiquitous-mode: t eproject-mode: t paredit-mode: t persp-mode: t yas/global-mode: t yas/minor-mode: t global-undo-tree-mode: t undo-tree-mode: t global-subword-mode: t subword-mode: t recentf-mode: t delete-selection-mode: t global-auto-revert-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: c s-8 C-y C-x C-e s-8 C-_ C-a M-f - u n C-d C-e C-b C-w C-_ C-e C-x C-e s-8 s-8 C-_ C-_ C-_ C-_ C-_ C-e C-x C-e s-8 C-q s-8 C-_ C-_ M-_ M-_ M-_ M-_ C-d C-d C-d C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-u C-n C-p C-p C-p C-p u n C-e C-x C-e C-a C-k C-b C-x C-e q s-8 s-8 C-q s-8 f r e a d - c h a r M-: ( r e a d - c h a r ) s-8 k C-q C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-q s-8 M-: s-8 C-n C-n C-n C-n C-n C-x b C-x C-e q M-: s-8 C-x C-e C-n C-n C-n C-n f c h a r a c t e r p M-: ( m a x - x h a r c h a r ) M-: C-g f m a x - c h a r C-g q f c h a r a c t e r p C-n C-n C-n C-n C-a M-w C-g q M-x e m a c s - r e b p o r e p o r t Recent messages: 4194303 (#o17777777, #x3fffff) Quit windmove-do-window-select: No window right from selected window mouse-2, RET: find function's definition Quit Type "q" in help window to restore its previous buffer. mouse-2, RET: find function's definition Copied to end of line mouse-2, RET: find function's definition Quit Load-path shadows: /Users/fimasvee/.emacs.d/elpa/hardcore-mode-1.0.0/hardcore-mode hides /Users/fimasvee/.emacs.d/site-lisp/hardcore-mode/hardcore-mode /Users/fimasvee/.emacs.d/site-lisp/fill-column-indicator/fill-column-indicator hides /Users/fimasvee/.emacs.d/site-lisp/fill-column-indicator ~/.emacs.d/users/fimasvee/init hides ~/.emacs.d/init /Users/fimasvee/.emacs.d/elpa/magit-20130109.2027/rebase-mode hides /usr/local/share/emacs/site-lisp/rebase-mode /Users/fimasvee/.emacs.d/site-lisp/delsel/delsel hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/delsel ~/.emacs.d/custom hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/custom /usr/local/share/emacs/site-lisp/trampver hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/trampver /usr/local/share/emacs/site-lisp/tramp hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp /usr/local/share/emacs/site-lisp/tramp-uu hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-uu /usr/local/share/emacs/site-lisp/tramp-smb hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-smb /usr/local/share/emacs/site-lisp/tramp-sh hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-sh /usr/local/share/emacs/site-lisp/tramp-loaddefs hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-loaddefs /usr/local/share/emacs/site-lisp/tramp-gw hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-gw /usr/local/share/emacs/site-lisp/tramp-ftp hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-ftp /usr/local/share/emacs/site-lisp/tramp-compat hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-compat /usr/local/share/emacs/site-lisp/tramp-cmds hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-cmds /usr/local/share/emacs/site-lisp/tramp-cache hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/net/tramp-cache /Users/fimasvee/.emacs.d/elpa/magit-20130109.2027/.dir-locals hides /usr/local/Cellar/emacs/24.2/share/emacs/24.2/lisp/gnus/.dir-locals Features: (shadow sort mail-extr emacsbug debug dired-aux git-commit-mode rx php-mode flymake cc-langs setup-magit magit-svn magit-bisect magit-key-mode magit diff-mode log-edit pcvs-util add-log mule-util zencoding-mode rename-sgml-tag crappy-jsp-mode js-mode-expansions js json cc-mode-expansions cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs jsp-expansions html-mode-expansions tagedit sgml-mode hippie-exp css-mode-expansions css-mode misearch multi-isearch tabify conf-mode newcomment org-wl org-w3m org-vm org-rmail org-mhe org-mew org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks find-func org-agenda org-info org-gnus org-docview org-bibtex bibtex org-bbdb network-stream starttls tls vc-git adventur-mode alternatives-mode adv-refill refill adv-indentation adv-keybindings adv-defuns adv-refactorings adv-new-number adv-named-rooms adv-search adv-enter adv-tab adv-escape adv-dash adv-jump-candidate adv-syntax-highlighting adv-intelli nrepl arc-mode archive-mode setup-clojure-mode clj-refactor clojure-mode-expansions clojure-mode inf-lisp tramp tramp-compat tramp-loaddefs setup-shell shell-command shell adv-utils adv-regexes regex-dsl unsafep elisp-slime-nav etags oppdrag-mode my-defuns hardcore-mode server setup-mu4e mu4e mu4e-speedbar speedbar sb-image ezimage dframe mu4e-main mu4e-view epa epg epg-config browse-url longlines mu4e-headers mu4e-compose mu4e-actions org-capture org-mks setup-org org-mode-expansions org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete pcomplete org-list org-faces org-compat org-entities org-macs noutline outline cal-menu calendar cal-loaddefs rfc2368 smtpmail auth-source gnus-util password-cache sendmail mu4e-mark mu4e-message html2text mu4e-proc mu4e-utils doc-view jka-compr image-mode setup-dired dired-details dired mu4e-about mu4e-vars message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader mu4e-meta diminish mac my-misc appearance zoom-frm frame-cmds frame-fns avoid paren hl-line key-bindings windmove smex setup-ido ido-ubiquitous ido browse-kill-ring fill-column-indicator multifiles change-inner smart-forward wgrep setup-rgrep grep compile comint ansi-color eproject esh-var esh-io esh-cmd esh-ext esh-proc esh-arg eldoc esh-groups eshell esh-module esh-mode esh-util ace-jump-mode jump-char multiple-cursors mc-insert-numbers rectangular-region-mode mc-mark-more thingatpt mc-cycle-cursors mc-edit-lines multiple-cursors-core rect inline-string-rectangle mark-more-like-this mark-multiple expand-region text-mode-expansions expand-region-custom expand-region-core file-defuns imenu mode-mappings setup-paredit s dash regexp-opt paredit setup-html-mode setup-ffip find-file-in-project setup-perspective perspective setup-yasnippet buster-snippets buster-snippet-helpers yasnippet dropdown-list derived help-mode view assoc setup-hippie exec-path-from-shell sane-defaults uniquify undo-tree edmacro kmacro diff cl smooth-scrolling warnings advice help-fns advice-preload subword winner ring recentf tree-widget wid-edit easymenu delsel easy-mmode autorevert setup-package elisp-slime-nav-autoloads es-lib-autoloads exec-path-from-shell-autoloads gist-autoloads gh-autoloads eieio byte-opt bytecomp byte-compile cconv macroexp git-commit-mode-autoloads gitconfig-mode-autoloads gitignore-mode-autoloads goto-last-change-autoloads hardcore-mode-autoloads htmlize-autoloads logito-autoloads magit-autoloads move-text-autoloads nrepl-autoloads clojure-mode-autoloads paredit-autoloads pcache-autoloads finder-inf popwin-autoloads slime-js-autoloads slime-repl-autoloads slime-autoloads package tabulated-list saveplace time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) ------------=_1536573723-6961-5-- From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Sep 2018 13:44: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: To: Eli Zaretskii , Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.15365869974640 (code B ref 32562); Mon, 10 Sep 2018 13:44:02 +0000 Received: (at 32562) by debbugs.gnu.org; 10 Sep 2018 13:43:17 +0000 Received: from localhost ([127.0.0.1]:51915 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzMTF-0001Cm-IP for submit@debbugs.gnu.org; Mon, 10 Sep 2018 09:43:17 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:49638) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzMTE-0001CW-6X for 32562@debbugs.gnu.org; Mon, 10 Sep 2018 09:43:16 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8ADXwFk093265; Mon, 10 Sep 2018 13:43:10 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=8pxO6BT4uA2xOUP70qYSF9slzfGyu/9LDAh3AaF6NBQ=; b=un1zen5aa+je4nez0ULBBV13kt2k3UKzVXbm8rGU9A31H/SgXiosmXbsgEXDRy/xkDu/ eihVBAhK42ojcCIiB4dI/8muOWelwmFlQ5ZlNiR67RCujPtMqqeAYvnVYvm/uV+UFEPZ gRVrEJ3oRLNq5X9t4E/3vgHULq0wQZBucql5Lpcsa2J4eE8aBX8z5yaoaX3e/hb4t82O 8WLZzpD9bXWWHsX7hIaJFjq0lZO7oqO+KXtC6bJMwdbNNVaxkPeHxAX1dl/zQYGHb7cj UpcMHe5fnlN37IUHTX8V2lziY4MEWUTMDLHe6xD+RNzpzurR1ZznXXtpCdg/39z8Yfte DA== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2mc72qe1jt-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Sep 2018 13:43:10 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w8ADh845019723 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Sep 2018 13:43:09 GMT Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w8ADh75S010245; Mon, 10 Sep 2018 13:43:08 GMT MIME-Version: 1.0 Message-ID: <5f51bd06-84dd-47f5-a7da-b0c5814a274c@default> Date: Mon, 10 Sep 2018 06:43:07 -0700 (PDT) From: Drew Adams References: <<3cce8b54-2e85-49a2-84d8-386ded864148@default>> <<83d0tlpteu.fsf@gnu.org>> In-Reply-To: <<83d0tlpteu.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9011 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809100140 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > Perhaps there is no bug here, other than incomplete or insufficiently > > clear doc. Dunno. >=20 > It's a documentation bug. > > > 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'. >=20 > What the documentation failed to make clear is that the value returned > by these functions is an _event_, not a character. For ASCII > characters, the event and the character are identical, but modifier > bits that cannot be resolved to yield an ASCII character are left in > the returned value, and that makes the value not a valid character > code. >=20 > I have now clarified this subtle point in the documentation (on the > emacs-26 branch). Thank you. > > And what function reads a `characterp' character, either ignoring > > anything else or raising an error for anything else? >=20 > What do you mean by "reading a 'characterp'"? I said "reads a `characterp' character", meaning reads an event that satisfies `characterp'. Apparently the functions whose names or doc suggests that they read a character do not necessarily return something that satisfies `characterp'. > E.g., if the user types > C-% or M-a, what 'characterp' code would you expect to see? I was asking for a function that insists on getting an event that satisfies `characterp', i.e., that keeps reading events until it does. > Also, does "reading a 'characterp'" include supporting input methods, if > any? Sorry, can't answer that. I know nothing about input methods. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Sep 2018 14:05: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: To: Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.15365882577051 (code B ref 32562); Mon, 10 Sep 2018 14:05:02 +0000 Received: (at 32562) by debbugs.gnu.org; 10 Sep 2018 14:04:17 +0000 Received: from localhost ([127.0.0.1]:52472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzMnY-0001pf-S4 for submit@debbugs.gnu.org; Mon, 10 Sep 2018 10:04:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40200) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzMnX-0001pT-9R for 32562@debbugs.gnu.org; Mon, 10 Sep 2018 10:04:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzMnQ-0005Yc-RW for 32562@debbugs.gnu.org; Mon, 10 Sep 2018 10:04:10 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40094) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzMnQ-0005YV-NA; Mon, 10 Sep 2018 10:04:08 -0400 Received: from [176.228.60.248] (port=3503 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzMnQ-0005Gk-AW; Mon, 10 Sep 2018 10:04:08 -0400 Date: Mon, 10 Sep 2018 17:04:16 +0300 Message-Id: <83r2i1o3dr.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <5f51bd06-84dd-47f5-a7da-b0c5814a274c@default> (message from Drew Adams on Mon, 10 Sep 2018 06:43:07 -0700 (PDT)) References: <<3cce8b54-2e85-49a2-84d8-386ded864148@default>> <<83d0tlpteu.fsf@gnu.org>> <5f51bd06-84dd-47f5-a7da-b0c5814a274c@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Mon, 10 Sep 2018 06:43:07 -0700 (PDT) > From: Drew Adams > Cc: 32562@debbugs.gnu.org > > I was asking for a function that insists on getting an event that > satisfies `characterp', i.e., that keeps reading events until it does. Not sure we have such a beast, but wouldn't calling read-char in a loop until you get something that passes the 'characterp' test do? From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Andreas Schwab Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Sep 2018 14:30:01 +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: To: Drew Adams Cc: Eli Zaretskii , 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.15365897989610 (code B ref 32562); Mon, 10 Sep 2018 14:30:01 +0000 Received: (at 32562) by debbugs.gnu.org; 10 Sep 2018 14:29:58 +0000 Received: from localhost ([127.0.0.1]:52513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzNCP-0002Uw-U4 for submit@debbugs.gnu.org; Mon, 10 Sep 2018 10:29:58 -0400 Received: from mx2.suse.de ([195.135.220.15]:39612 helo=mx1.suse.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzNCO-0002Uc-4s for 32562@debbugs.gnu.org; Mon, 10 Sep 2018 10:29:56 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id C5E9EAD83; Mon, 10 Sep 2018 14:29:49 +0000 (UTC) From: Andreas Schwab References: <3cce8b54-2e85-49a2-84d8-386ded864148@default>> <83d0tlpteu.fsf@gnu.org>> <5f51bd06-84dd-47f5-a7da-b0c5814a274c@default> X-Yow: I have nostalgia for the late Sixties! In 1969 I left my laundry with a hippie!! During an unauthorized Tupperware party it was chopped & diced! Date: Mon, 10 Sep 2018 16:29:49 +0200 In-Reply-To: <5f51bd06-84dd-47f5-a7da-b0c5814a274c@default> (Drew Adams's message of "Mon, 10 Sep 2018 06:43:07 -0700 (PDT)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) On Sep 10 2018, Drew Adams wrote: > I said "reads a `characterp' character", meaning reads an event > that satisfies `characterp'. Apparently the functions whose names > or doc suggests that they read a character do not necessarily > return something that satisfies `characterp'. A character with modifiers doesn't satisfy characterp, but it is still a character (which read-char can return). Andreas. -- Andreas Schwab, SUSE Labs, schwab@suse.de GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7 "And now for something completely different." From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Sep 2018 14:58: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: To: Eli Zaretskii , Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.153659144312282 (code B ref 32562); Mon, 10 Sep 2018 14:58:02 +0000 Received: (at 32562) by debbugs.gnu.org; 10 Sep 2018 14:57:23 +0000 Received: from localhost ([127.0.0.1]:52557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzNcx-0003C2-7L for submit@debbugs.gnu.org; Mon, 10 Sep 2018 10:57:23 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:34476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzNcw-0003Bp-9N for 32562@debbugs.gnu.org; Mon, 10 Sep 2018 10:57:22 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8AEXm8P148723; Mon, 10 Sep 2018 14:57:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=ojBXC6cSU2CKaRYj/hyQS/YEhGPErP2zEKEsBlZfHEY=; b=5gyAyoD85/+wv1p8XTp3kBjnL/+iqmu5FIzAZKLXLjtYbGyLxdGjTIdJqjh/Tnc8DsDp b7FA6jA7jbRPRSkwmkRCi5FZpVVy6DeqoSV4VXV+r0V0vs10Tq0vbjOt6DMpCtHexNtd mrmC/hacL+F21Fc0+IY2NIPiYTXmWoG69y92mojs5BHSK4E7BprZk5CkTkLk9D/asLCf rN230Tcgxib/KEoPE9nkXNwBp+FKWvKqGtMDCbRZRJIb7IJeb8jY6Y/sqWs414y533j0 YtDPK2dF07IBwvJPRVamESIwQtQ65Sfi5IFpQA3wxLyWHbFggGVOJAK5pUG6r3qKP6xK Yw== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2120.oracle.com with ESMTP id 2mc72qegka-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Sep 2018 14:57:16 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w8AEvE69002897 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Sep 2018 14:57:15 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w8AEvERC021216; Mon, 10 Sep 2018 14:57:14 GMT MIME-Version: 1.0 Message-ID: Date: Mon, 10 Sep 2018 07:57:13 -0700 (PDT) From: Drew Adams References: <<<3cce8b54-2e85-49a2-84d8-386ded864148@default>>> <<<83d0tlpteu.fsf@gnu.org>>> <<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>> <<83r2i1o3dr.fsf@gnu.org>> In-Reply-To: <<83r2i1o3dr.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9011 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=953 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809100150 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > I was asking for a function that insists on getting an event that > > satisfies `characterp', i.e., that keeps reading events until it does. >=20 > Not sure we have such a beast, but wouldn't calling read-char in a > loop until you get something that passes the 'characterp' test do? I think that's what I'm doing now, but I don't recall now just which code I was using this for. ;-) If the doc has been clarified that's a help. Thx. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Sep 2018 15:02: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: To: Andreas Schwab Cc: Eli Zaretskii , 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.153659171012836 (code B ref 32562); Mon, 10 Sep 2018 15:02:02 +0000 Received: (at 32562) by debbugs.gnu.org; 10 Sep 2018 15:01:50 +0000 Received: from localhost ([127.0.0.1]:52574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzNhG-0003Kx-KI for submit@debbugs.gnu.org; Mon, 10 Sep 2018 11:01:50 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:38808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzNhE-0003Kg-LM for 32562@debbugs.gnu.org; Mon, 10 Sep 2018 11:01:48 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8AExnx9193329; Mon, 10 Sep 2018 15:01:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=gp/jo7CfqGPG3yN8JRshFUFLolH8anka5k+EjY5cuTA=; b=Pd4LvtiOoTJMg5PoIxBiQ1+bmwS7wwOMAEjDljhpP2dt7k41zWHmBq/kx8vTfiFNqLye ILL+NH1W/YrB05bIrL+xX2BGVoxYMK5GzyXTiuH0yhHlSNMKWjZNn0qH8M2NeWC4Gs8q j0ZHDy0qFuBMzDQJLyYIXF4PimAhQ5GxvqbiKex2pEIZTATsw8XL7E76exZEMhSuozXw tGwRQ2MjSe/WjCdgKx04Rain5wxxi6gXJznj5h+f8t6pei7MIgewA0UdnznPeMaa5zXH 7Yh5KnzjXooxMC8hTOYyLQ5tLceti8gR5Z4Mwt9xM6CE5gmBSj6+i1HvFlXWLT6kuGgR bQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2130.oracle.com with ESMTP id 2mc5ut6ny9-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Sep 2018 15:01:43 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w8AF1fk8013785 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Sep 2018 15:01:42 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w8AF1eOn024465; Mon, 10 Sep 2018 15:01:41 GMT MIME-Version: 1.0 Message-ID: <3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default> Date: Mon, 10 Sep 2018 08:01:40 -0700 (PDT) From: Drew Adams References: <3cce8b54-2e85-49a2-84d8-386ded864148@default>> <83d0tlpteu.fsf@gnu.org>> <5f51bd06-84dd-47f5-a7da-b0c5814a274c@default> In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9011 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=747 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809100152 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > I said "reads a `characterp' character", meaning reads an event > > that satisfies `characterp'. Apparently the functions whose names > > or doc suggests that they read a character do not necessarily > > return something that satisfies `characterp'. >=20 > A character with modifiers doesn't satisfy characterp, but it is still a > character (which read-char can return). Yes, well, that's what I found a bit confusing wrt the doc and function names. It wasn't (isn't?) too clear just what we mean by "character", in that case. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Sep 2018 17:24: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: To: Drew Adams Cc: schwab@suse.de, 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.153660018212940 (code B ref 32562); Mon, 10 Sep 2018 17:24:02 +0000 Received: (at 32562) by debbugs.gnu.org; 10 Sep 2018 17:23:02 +0000 Received: from localhost ([127.0.0.1]:35702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzPtt-0003MY-L8 for submit@debbugs.gnu.org; Mon, 10 Sep 2018 13:23:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53941) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzPts-0003M5-5h for 32562@debbugs.gnu.org; Mon, 10 Sep 2018 13:23:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzPtj-0002Da-B8 for 32562@debbugs.gnu.org; Mon, 10 Sep 2018 13:22:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45169) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzPtj-0002CN-4P; Mon, 10 Sep 2018 13:22:51 -0400 Received: from [176.228.60.248] (port=3876 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzPti-0000dq-8Y; Mon, 10 Sep 2018 13:22:51 -0400 Date: Mon, 10 Sep 2018 20:22:58 +0300 Message-Id: <83k1ntnu6l.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default> (message from Drew Adams on Mon, 10 Sep 2018 08:01:40 -0700 (PDT)) References: <3cce8b54-2e85-49a2-84d8-386ded864148@default>> <83d0tlpteu.fsf@gnu.org>> <5f51bd06-84dd-47f5-a7da-b0c5814a274c@default> <3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Mon, 10 Sep 2018 08:01:40 -0700 (PDT) > From: Drew Adams > Cc: Eli Zaretskii , 32562@debbugs.gnu.org > > > A character with modifiers doesn't satisfy characterp, but it is still a > > character (which read-char can return). > > Yes, well, that's what I found a bit confusing wrt the > doc and function names. It wasn't (isn't?) too clear > just what we mean by "character", in that case. I made the documentation say "character event" where it matters. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Sep 2018 19:49:01 +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: To: Eli Zaretskii , Drew Adams Cc: schwab@suse.de, 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.15366089142677 (code B ref 32562); Mon, 10 Sep 2018 19:49:01 +0000 Received: (at 32562) by debbugs.gnu.org; 10 Sep 2018 19:48:34 +0000 Received: from localhost ([127.0.0.1]:35795 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzSAj-0000h7-Ng for submit@debbugs.gnu.org; Mon, 10 Sep 2018 15:48:33 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:51114) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzSAh-0000gt-Ka for 32562@debbugs.gnu.org; Mon, 10 Sep 2018 15:48:32 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8AJi1Lx026015; Mon, 10 Sep 2018 19:48:25 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=jzDQaV4M8yzXZ5DVJVXNnKZ0UlwR5r96C0LTIk7BDmo=; b=LCL0J/QqDUuiLMbVTDkhreTJivi/WzRje2MgqftAsYHNdSkf230KHh1NPjpIVu6MabV3 F3hAPrWVoHPZbeWCj1OwCfakUVnIPiOQfLic5s+EgImqSHfz0gzpOJEIuxH4s2dpTU3m 3z/XNawkgqARrPLcKmFYgVFdxqKlkDMUs+3tLCf63QLgHF+BmZzrCC2Hg+dZrIvPjLT7 p4C4RaWRV48FM6JqCGATGCvukWOj4PVkck/LMH/W1fifc27Zp4nTLQuKVypssN85OGIj 3VVmygvGffBZvz61CzZ1N24w5ECQBHGTn71Mpx5koji5J2GJjo6aoTrhtf9/VhOxbZga fQ== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp2120.oracle.com with ESMTP id 2mc72qg2a1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Sep 2018 19:48:25 +0000 Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w8AJmNMv028845 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 10 Sep 2018 19:48:24 GMT Received: from abhmp0019.oracle.com (abhmp0019.oracle.com [141.146.116.25]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id w8AJmMca016479; Mon, 10 Sep 2018 19:48:23 GMT MIME-Version: 1.0 Message-ID: <4df2c3ce-9dcb-483c-b733-f91f54f33bce@default> Date: Mon, 10 Sep 2018 12:48:22 -0700 (PDT) From: Drew Adams References: <<3cce8b54-2e85-49a2-84d8-386ded864148@default>>> <<83d0tlpteu.fsf@gnu.org>>> <<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>> <> <<3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default>> <<83k1ntnu6l.fsf@gnu.org>> In-Reply-To: <<83k1ntnu6l.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9012 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809100194 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > > A character with modifiers doesn't satisfy characterp, but it is stil= l a > > > character (which read-char can return). > > > > Yes, well, that's what I found a bit confusing wrt the > > doc and function names. It wasn't (isn't?) too clear > > just what we mean by "character", in that case. >=20 > I made the documentation say "character event" where it matters. I imagine that you made it clearer (I don't have the new doc). But see what I replied to Andreas. It seems like we talk in some places about reading a character even if what gets read might not be `characterp'. "Character event" doesn't clarify that, for me. Seems like the doc (but I don't have time now to search it) doesn't distinguish "character" meaning something that is `characterp' from other meanings of it (not sure what those are, but apparently `read-char' can return such things). It's not clear to me, at least. Why isn't `chararcterp' necessary and sufficient for testing whether something is a character? From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Sep 2018 07:58:01 +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: To: Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.153665265721873 (code B ref 32562); Tue, 11 Sep 2018 07:58:01 +0000 Received: (at 32562) by debbugs.gnu.org; 11 Sep 2018 07:57:37 +0000 Received: from localhost ([127.0.0.1]:36114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzdYG-0005gi-KL for submit@debbugs.gnu.org; Tue, 11 Sep 2018 03:57:36 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37273) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzdYE-0005gW-Ri for 32562@debbugs.gnu.org; Tue, 11 Sep 2018 03:57:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzdY6-0005Zm-3j for 32562@debbugs.gnu.org; Tue, 11 Sep 2018 03:57:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33981) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzdY5-0005Za-Vx; Tue, 11 Sep 2018 03:57:26 -0400 Received: from [176.228.60.248] (port=2394 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzdY5-00014T-JN; Tue, 11 Sep 2018 03:57:25 -0400 Date: Tue, 11 Sep 2018 10:57:34 +0300 Message-Id: <831sa0o49d.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <4df2c3ce-9dcb-483c-b733-f91f54f33bce@default> (message from Drew Adams on Mon, 10 Sep 2018 12:48:22 -0700 (PDT)) References: <<3cce8b54-2e85-49a2-84d8-386ded864148@default>>> <<83d0tlpteu.fsf@gnu.org>>> <<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>> <> <<3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default>> <<83k1ntnu6l.fsf@gnu.org>> <4df2c3ce-9dcb-483c-b733-f91f54f33bce@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Mon, 10 Sep 2018 12:48:22 -0700 (PDT) > From: Drew Adams > Cc: schwab@suse.de, 32562@debbugs.gnu.org > > > > > A character with modifiers doesn't satisfy characterp, but it is still a > > > > character (which read-char can return). > > > > > > Yes, well, that's what I found a bit confusing wrt the > > > doc and function names. It wasn't (isn't?) too clear > > > just what we mean by "character", in that case. > > > > I made the documentation say "character event" where it matters. > > I imagine that you made it clearer (I don't have the new doc). I hope so. > But see what I replied to Andreas. It seems like we talk in some > places about reading a character even if what gets read might > not be `characterp'. "Character event" doesn't clarify that, for me. > > Seems like the doc (but I don't have time now to search it) > doesn't distinguish "character" meaning something that is > `characterp' from other meanings of it (not sure what those > are, but apparently `read-char' can return such things). The changes I made can be seen here: http://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-26&id=5cf282d65f10f59f7efa63359dfd2b2e124943da Please read them (in their context of surrounding manual text, of course), and then see if something is still unclear. Otherwise, this discussion is too theoretical to be useful. > It's not clear to me, at least. Why isn't `chararcterp' necessary > and sufficient for testing whether something is a character? It is. But it is not sufficient for testing whether something is a character input event, because an input event can include modifiers, and valid character codepoints don't include modifiers. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Sep 2018 15:32:01 +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: To: Eli Zaretskii Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.153667987218837 (code B ref 32562); Tue, 11 Sep 2018 15:32:01 +0000 Received: (at 32562) by debbugs.gnu.org; 11 Sep 2018 15:31:12 +0000 Received: from localhost ([127.0.0.1]:37239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzkdD-0004tl-Iy for submit@debbugs.gnu.org; Tue, 11 Sep 2018 11:31:11 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:33940) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzkdB-0004tW-IT for 32562@debbugs.gnu.org; Tue, 11 Sep 2018 11:31:10 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8BFNlE3177038; Tue, 11 Sep 2018 15:31:03 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=FUCbT9FqumSeeU6yB2YvQaTWyggFnbmPtwNoKpoWsHk=; b=aBJ9bexjyrTbEhmc3m0cPgSaazp0UmBTdsT2vlumQoa7im8C/z4oeANlTe+JnuK+0nnP /AWG2UbqoGvmIKv1V1bBD0AGJ+v5Z+9X9eh21anebWtdxI2T6TyH5u7/VgFU/WgdSifa RCYt6nFUKqzsl9e0/CDq4JQZu12zO+BV274V/W+RLY+9fejrEG8jbT+r7vYA5wEbfV5y dzwtd5BhMwd0/NYnQ+/BjzCOT/zrWsfbR8EQj4UA6cmMaSjU+1zbHxvz6D7/3r8fBlIr wN1U6UoztKXBXlDRubfpalg1gw9UNcJDGgeu+payInsKWQGto3B+sYkvBBc+qmF5CM9L YQ== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2mc72qmxrh-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 11 Sep 2018 15:31:03 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w8BFUvZ3002260 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 11 Sep 2018 15:30:57 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w8BFUuKK020704; Tue, 11 Sep 2018 15:30:57 GMT MIME-Version: 1.0 Message-ID: <4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default> Date: Tue, 11 Sep 2018 08:30:56 -0700 (PDT) From: Drew Adams References: <<3cce8b54-2e85-49a2-84d8-386ded864148@default>>> <<83d0tlpteu.fsf@gnu.org>>> <<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>> <> <<3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default>> <<83k1ntnu6l.fsf@gnu.org>> <4df2c3ce-9dcb-483c-b733-f91f54f33bce@default> <831sa0o49d.fsf@gnu.org> In-Reply-To: <831sa0o49d.fsf@gnu.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9013 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809110155 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > The changes I made can be seen here: >=20 > https://urldefense.proofpoint.com/v2/url?u=3Dhttp- > 3A__git.savannah.gnu.org_cgit_emacs.git_commit_-3Fh-3Demacs-2D26-26id- > 3D5cf282d65f10f59f7efa63359dfd2b2e124943da&d=3DDwIBAg&c=3DRoP1YumCXCg > aWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=3DkI3P6ljGv6CTHIKju0jqInF6AOwMCYR > DQUmqX22rJ98&m=3DjioWGqzV72URRu3VKa5ldIhRy- > eUITHjY2CjCiAMVEw&s=3DgVdGs2AlmqeIsl7dbZM0_9ulTQ_PPe0vAnT5MUx8AN > M&e=3D Thanks, that helps. > Please read them (in their context of surrounding manual text, of > course), and then see if something is still unclear. =20 I can't easily read them in the context of the surrounding material, but I read the diff, at least. I see "character event" referred to but not explicitly defined, as such. The inline explanation is clear enough, I think. Why not treat the first occurrence of "character event" as a defined term (however that's done in texinfo, so that it ends up in Info quoted, as "character event"), and create an index entry for it (plus an entry "event, character")? (Perhaps you did that; I can't tell.) I think this might be the right occurrence to treat as defining "character event": +keys, and function keys. Ordinary keys correspond to (possibly +modified) characters; the events they generate are represented in Lisp +as characters. The event type of a character event is the character ^^^^^^^^^^^^^^^ +itself (an integer), which might have some modifier bits set; see > > It's not clear to me, at least. Why isn't `chararcterp' necessary > > and sufficient for testing whether something is a character? >=20 > It is. But it is not sufficient for testing whether something is a > character input event, because an input event can include modifiers, > and valid character codepoints don't include modifiers. Got it. Thx. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Sep 2018 17:08:01 +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: To: Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.15366856513522 (code B ref 32562); Tue, 11 Sep 2018 17:08:01 +0000 Received: (at 32562) by debbugs.gnu.org; 11 Sep 2018 17:07:31 +0000 Received: from localhost ([127.0.0.1]:37315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzm8R-0000uk-6Z for submit@debbugs.gnu.org; Tue, 11 Sep 2018 13:07:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35609) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzm8Q-0000uY-3S for 32562@debbugs.gnu.org; Tue, 11 Sep 2018 13:07:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzm8H-0005PQ-S0 for 32562@debbugs.gnu.org; Tue, 11 Sep 2018 13:07:25 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44529) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzm8H-0005PJ-NO; Tue, 11 Sep 2018 13:07:21 -0400 Received: from [176.228.60.248] (port=1590 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fzm8G-0005iC-Su; Tue, 11 Sep 2018 13:07:21 -0400 Date: Tue, 11 Sep 2018 20:07:27 +0300 Message-Id: <83in3cm08g.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default> (message from Drew Adams on Tue, 11 Sep 2018 08:30:56 -0700 (PDT)) References: <<3cce8b54-2e85-49a2-84d8-386ded864148@default>>> <<83d0tlpteu.fsf@gnu.org>>> <<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>> <> <<3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default>> <<83k1ntnu6l.fsf@gnu.org>> <4df2c3ce-9dcb-483c-b733-f91f54f33bce@default> <831sa0o49d.fsf@gnu.org> <4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Tue, 11 Sep 2018 08:30:56 -0700 (PDT) > From: Drew Adams > Cc: 32562@debbugs.gnu.org > > I can't easily read them in the context of the surrounding material, > but I read the diff, at least. The context is given by the corresponding *.texi files. > I see "character event" referred to but not explicitly defined, as > such. The inline explanation is clear enough, I think. Why not > treat the first occurrence of "character event" as a defined term > (however that's done in texinfo, so that it ends up in Info quoted, > as "character event"), and create an index entry for it (plus an > entry "event, character")? (Perhaps you did that; I can't tell.) > > I think this might be the right occurrence to treat as defining > "character event": > > +keys, and function keys. Ordinary keys correspond to (possibly > +modified) characters; the events they generate are represented in Lisp > +as characters. The event type of a character event is the character > ^^^^^^^^^^^^^^^ > +itself (an integer), which might have some modifier bits set; see That's the definition you wanted, right there: it says that events can represent characters, and then talks about "character events" thus defined. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Sep 2018 17:23: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: To: Eli Zaretskii , Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.15366865544972 (code B ref 32562); Tue, 11 Sep 2018 17:23:02 +0000 Received: (at 32562) by debbugs.gnu.org; 11 Sep 2018 17:22:34 +0000 Received: from localhost ([127.0.0.1]:37330 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzmMz-0001I8-Qq for submit@debbugs.gnu.org; Tue, 11 Sep 2018 13:22:34 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:57452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzmMw-0001Hs-JW for 32562@debbugs.gnu.org; Tue, 11 Sep 2018 13:22:32 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8BHIkIi083985; Tue, 11 Sep 2018 17:22:24 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=W7kE+BgURPu9LSbW8w3Kzm7iNpo7HVdBxyQhksYBzQk=; b=ucapuvD+FfjF3Lmxx0q126DgLSkEuZw/DOHTUuuh2zAXh+fQW3jvLg+96hhJXl9xOgCO EEfLV8LsqJrCnp83PM0qt+g6fNjpJvyZoP/l7aR81bzb8aiESNeY/6F8gALf5TcxMnRl KsbnRyBTYWFgklHpyeGwuIJPW92JHNQru/VDL+9h3BPRu/cxm9qJ8DyYm+guMjqhTaXL weaLnUXCBrnFxzrhUZdMi12nZVkDVxbqwABoCmelqN4XFvDMXAxMZIDb1Dffs2FerVsM nsXMD4rh85inF2Wjc7KslyeSJJaun4txEVv2RtKYsJV2CR6aNiUfXuXABhfJWhhxZMjO 5A== Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by userp2120.oracle.com with ESMTP id 2mc72qnkdd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 11 Sep 2018 17:22:23 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id w8BHMM88024471 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 11 Sep 2018 17:22:23 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w8BHMMar027105; Tue, 11 Sep 2018 17:22:22 GMT MIME-Version: 1.0 Message-ID: Date: Tue, 11 Sep 2018 10:22:21 -0700 (PDT) From: Drew Adams References: <<<3cce8b54-2e85-49a2-84d8-386ded864148@default>>>> <<<83d0tlpteu.fsf@gnu.org>>>> <<<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>>> <<>> <<<3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default>>> <<<83k1ntnu6l.fsf@gnu.org>>> <<4df2c3ce-9dcb-483c-b733-f91f54f33bce@default>> <<831sa0o49d.fsf@gnu.org>> <<4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default>> <<83in3cm08g.fsf@gnu.org>> In-Reply-To: <<83in3cm08g.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9013 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=867 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809110172 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > I think this might be the right occurrence to treat as defining > > "character event": > > > > +keys, and function keys. Ordinary keys correspond to (possibly > > +modified) characters; the events they generate are represented in Lisp > > +as characters. The event type of a character event is the character > > ^^^^^^^^^^^^^^^ > > +itself (an integer), which might have some modifier bits set; see >=20 > That's the definition you wanted, right there: it says that events can > represent characters, and then talks about "character events" thus > defined. Thats what I said: 'I think this might be the right occurrence to treat as = defining "character event"'. I was asking that that defining occurrence get= double quotes and index entries, to make clear that it is a term definitio= n. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Sep 2018 18:35:01 +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: To: Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.153669088311919 (code B ref 32562); Tue, 11 Sep 2018 18:35:01 +0000 Received: (at 32562) by debbugs.gnu.org; 11 Sep 2018 18:34:43 +0000 Received: from localhost ([127.0.0.1]:37351 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fznUp-00036B-23 for submit@debbugs.gnu.org; Tue, 11 Sep 2018 14:34:43 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37893) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fznUm-00035w-6G for 32562@debbugs.gnu.org; Tue, 11 Sep 2018 14:34:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fznUc-00007l-Jj for 32562@debbugs.gnu.org; Tue, 11 Sep 2018 14:34:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:46933) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fznUc-00007d-Eo; Tue, 11 Sep 2018 14:34:30 -0400 Received: from [176.228.60.248] (port=3312 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fznUb-000843-0f; Tue, 11 Sep 2018 14:34:30 -0400 Date: Tue, 11 Sep 2018 21:34:34 +0300 Message-Id: <83ftyfnarp.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Drew Adams on Tue, 11 Sep 2018 10:22:21 -0700 (PDT)) References: <<<3cce8b54-2e85-49a2-84d8-386ded864148@default>>>> <<<83d0tlpteu.fsf@gnu.org>>>> <<<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>>> <<>> <<<3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default>>> <<<83k1ntnu6l.fsf@gnu.org>>> <<4df2c3ce-9dcb-483c-b733-f91f54f33bce@default>> <<831sa0o49d.fsf@gnu.org>> <<4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default>> <<83in3cm08g.fsf@gnu.org>> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Tue, 11 Sep 2018 10:22:21 -0700 (PDT) > From: Drew Adams > Cc: 32562@debbugs.gnu.org > > Thats what I said: 'I think this might be the right occurrence to treat as defining "character event"'. I was asking that that defining occurrence get double quotes and index entries, to make clear that it is a term definition. Added. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Sep 2018 18:59: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: To: Eli Zaretskii , Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.153669232114105 (code B ref 32562); Tue, 11 Sep 2018 18:59:02 +0000 Received: (at 32562) by debbugs.gnu.org; 11 Sep 2018 18:58:41 +0000 Received: from localhost ([127.0.0.1]:37358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzns1-0003fM-2l for submit@debbugs.gnu.org; Tue, 11 Sep 2018 14:58:41 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:55594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzns0-0003fB-0c for 32562@debbugs.gnu.org; Tue, 11 Sep 2018 14:58:40 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w8BIvudP165554; Tue, 11 Sep 2018 18:58:34 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2018-07-02; bh=4pnss3jGOtmBBgi3nGMyp8heQFJtBr+IK4CM46p175M=; b=KUxUrG8vOFgVyEj1rY0zduYzVXYiCBArXZCczjwM+qV5A8JXeG6lAZQuthgmBWi30re+ xk7lfmUEXeEgpOHD4SZ9HevdrNTr7bjRrH7Eqti476EEyykaEZesy/Mt/PtcZBcwwjY9 Ekx3oBbXiZluGB1zmVfubkbCSYblPY/WG4z0bYMbv4usRjj5LuKYvyIlSqjsPn8ETc96 Tn20mVUDrO0wdM+BeJR5R1P+lR+4dRkyoAnjbXBQxAyH7SlQYLwxYA78f2mxjHnp/YJQ XROF5FBVzbz1EZ3w9l6dXZ7mkUGy5uJIb0Ls3ND04QzLkf2sa4ypMQaEA9Z0HpDKKUvP QA== Received: from userv0021.oracle.com (userv0021.oracle.com [156.151.31.71]) by userp2120.oracle.com with ESMTP id 2mc72qp1vb-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 11 Sep 2018 18:58:34 +0000 Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w8BIwW3i025803 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 11 Sep 2018 18:58:33 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w8BIwWpr020113; Tue, 11 Sep 2018 18:58:32 GMT MIME-Version: 1.0 Message-ID: Date: Tue, 11 Sep 2018 11:58:31 -0700 (PDT) From: Drew Adams References: <<<<3cce8b54-2e85-49a2-84d8-386ded864148@default>>>>> <<<<83d0tlpteu.fsf@gnu.org>>>>> <<<<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>>>> <<<>>> <<<<3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default>>>> <<<<83k1ntnu6l.fsf@gnu.org>>>> <<<4df2c3ce-9dcb-483c-b733-f91f54f33bce@default>>> <<<831sa0o49d.fsf@gnu.org>>> <<<4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default>>> <<<83in3cm08g.fsf@gnu.org>>> <> <<83ftyfnarp.fsf@gnu.org>> In-Reply-To: <<83ftyfnarp.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4735.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=9013 signatures=668708 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809110187 X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > > Thats what I said: 'I think this might be the right occurrence to treat= as > defining "character event"'. I was asking that that defining occurrence g= et > double quotes and index entries, to make clear that it is a term definiti= on. >=20 > Added. Thanks. Feel free to close this bug. I didn't close it, as I don't know if = you intended to do something more for it. From unknown Fri Aug 15 19:29:45 2025 X-Loop: help-debbugs@gnu.org Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 11 Sep 2018 19:04: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: To: Drew Adams Cc: 32562@debbugs.gnu.org Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.153669262914694 (code B ref 32562); Tue, 11 Sep 2018 19:04:02 +0000 Received: (at 32562) by debbugs.gnu.org; 11 Sep 2018 19:03:49 +0000 Received: from localhost ([127.0.0.1]:37362 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fznwy-0003ow-MF for submit@debbugs.gnu.org; Tue, 11 Sep 2018 15:03:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45235) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fznwx-0003oi-Bw for 32562@debbugs.gnu.org; Tue, 11 Sep 2018 15:03:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fznwn-0008JN-OS for 32562@debbugs.gnu.org; Tue, 11 Sep 2018 15:03:42 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fznwn-0008JF-LC; Tue, 11 Sep 2018 15:03:37 -0400 Received: from [176.228.60.248] (port=1137 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fznwm-0000I4-Qy; Tue, 11 Sep 2018 15:03:37 -0400 Date: Tue, 11 Sep 2018 22:03:44 +0300 Message-Id: <83d0tjn9f3.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Drew Adams on Tue, 11 Sep 2018 11:58:31 -0700 (PDT)) References: <<<<3cce8b54-2e85-49a2-84d8-386ded864148@default>>>>> <<<<83d0tlpteu.fsf@gnu.org>>>>> <<<<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>>>> <<<>>> <<<<3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default>>>> <<<<83k1ntnu6l.fsf@gnu.org>>>> <<<4df2c3ce-9dcb-483c-b733-f91f54f33bce@default>>> <<<831sa0o49d.fsf@gnu.org>>> <<<4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default>>> <<<83in3cm08g.fsf@gnu.org>>> <> <<83ftyfnarp.fsf@gnu.org>> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Tue, 11 Sep 2018 11:58:31 -0700 (PDT) > From: Drew Adams > Cc: 32562@debbugs.gnu.org > > Feel free to close this bug. I already did.