From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp' Date: Tue, 11 Sep 2018 08:30:56 -0700 (PDT) Message-ID: <4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default> 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> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1536679902 7454 195.159.176.226 (11 Sep 2018 15:31:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2018 15:31:42 +0000 (UTC) Cc: 32562@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 11 17:31:37 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fzkdd-0001pO-CC for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Sep 2018 17:31:37 +0200 Original-Received: from localhost ([::1]:58242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzkfj-0005fO-U0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 Sep 2018 11:33:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52597) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzkeG-0004H5-Jd for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2018 11:32:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzke9-00019e-Jb for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2018 11:32:13 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:32981) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzke4-00013H-4C for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2018 11:32:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fzke1-0004v4-SI for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2018 11:32:03 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 32562-submit@debbugs.gnu.org id=B32562.153667987218837 (code B ref 32562); Tue, 11 Sep 2018 15:32:01 +0000 Original-Received: (at 32562) by debbugs.gnu.org; 11 Sep 2018 15:31:12 +0000 Original-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 Original-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 Original-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== Original-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 Original-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 Original-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 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)] 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150222 Archived-At: > 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.