From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 28 16:39:36 2018 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'' From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 28 16:51:33 2018 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: Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' To: Drew Adams Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 32562 Cc: 32562@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: -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 debbugs-submit-bounces@debbugs.gnu.org Tue Aug 28 17:24:46 2018 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 To: Noam Postavsky Subject: RE: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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: -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 debbugs-submit-bounces@debbugs.gnu.org Tue Aug 28 18:27:49 2018 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 To: Drew Adams Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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: -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 debbugs-submit-bounces@debbugs.gnu.org Mon Sep 10 05:56:44 2018 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 To: Drew Adams In-reply-to: <3cce8b54-2e85-49a2-84d8-386ded864148@default> (message from Drew Adams on Tue, 28 Aug 2018 13:39:20 -0700 (PDT)) Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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 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 debbugs-submit-bounces@debbugs.gnu.org Mon Sep 10 06:01:15 2018 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. From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 10 09:43:17 2018 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 To: Eli Zaretskii , Drew Adams Subject: RE: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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: -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 debbugs-submit-bounces@debbugs.gnu.org Mon Sep 10 10:04:17 2018 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 To: Drew Adams In-reply-to: <5f51bd06-84dd-47f5-a7da-b0c5814a274c@default> (message from Drew Adams on Mon, 10 Sep 2018 06:43:07 -0700 (PDT)) Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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: 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 debbugs-submit-bounces@debbugs.gnu.org Mon Sep 10 10:29:58 2018 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 To: Drew Adams Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: Eli Zaretskii , 32562@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: -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 debbugs-submit-bounces@debbugs.gnu.org Mon Sep 10 10:57:23 2018 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 To: Eli Zaretskii , Drew Adams Subject: RE: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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: -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 debbugs-submit-bounces@debbugs.gnu.org Mon Sep 10 11:01:50 2018 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 To: Andreas Schwab Subject: RE: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: Eli Zaretskii , 32562@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: -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 debbugs-submit-bounces@debbugs.gnu.org Mon Sep 10 13:23:02 2018 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 To: Drew Adams In-reply-to: <3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default> (message from Drew Adams on Mon, 10 Sep 2018 08:01:40 -0700 (PDT)) Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: schwab@suse.de, 32562@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: 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 debbugs-submit-bounces@debbugs.gnu.org Mon Sep 10 15:48:34 2018 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 To: Eli Zaretskii , Drew Adams Subject: RE: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: schwab@suse.de, 32562@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: -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 debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 03:57:36 2018 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 To: Drew Adams In-reply-to: <4df2c3ce-9dcb-483c-b733-f91f54f33bce@default> (message from Drew Adams on Mon, 10 Sep 2018 12:48:22 -0700 (PDT)) Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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: 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 debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 11:31:12 2018 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 To: Eli Zaretskii Subject: RE: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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: -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 debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 13:07:31 2018 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 To: Drew Adams In-reply-to: <4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default> (message from Drew Adams on Tue, 11 Sep 2018 08:30:56 -0700 (PDT)) Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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, 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 debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 13:22:34 2018 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 To: Eli Zaretskii , Drew Adams Subject: RE: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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: -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 debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 14:34:43 2018 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 To: Drew Adams In-reply-to: (message from Drew Adams on Tue, 11 Sep 2018 10:22:21 -0700 (PDT)) Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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, 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 debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 14:58:41 2018 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 To: Eli Zaretskii , Drew Adams Subject: RE: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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: -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 debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 15:03:48 2018 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 To: Drew Adams In-reply-to: (message from Drew Adams on Tue, 11 Sep 2018 11:58:31 -0700 (PDT)) Subject: Re: bug#32562: 26; `read-char(-exclusive)' and `characterp' 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-Debbugs-Envelope-To: 32562 Cc: 32562@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, 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. From unknown Mon Aug 11 18:16:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 Oct 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator