all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 32562@debbugs.gnu.org
Subject: bug#32562: 26; `read-char(-exclusive)' and `characterp'
Date: Tue, 11 Sep 2018 08:30:56 -0700 (PDT)	[thread overview]
Message-ID: <4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default> (raw)
In-Reply-To: <831sa0o49d.fsf@gnu.org>

> The changes I made can be seen here:
> 
>   https://urldefense.proofpoint.com/v2/url?u=http-
> 3A__git.savannah.gnu.org_cgit_emacs.git_commit_-3Fh-3Demacs-2D26-26id-
> 3D5cf282d65f10f59f7efa63359dfd2b2e124943da&d=DwIBAg&c=RoP1YumCXCg
> aWHvlZYR8PZh8Bv7qIrMUB65eapI_JnE&r=kI3P6ljGv6CTHIKju0jqInF6AOwMCYR
> DQUmqX22rJ98&m=jioWGqzV72URRu3VKa5ldIhRy-
> eUITHjY2CjCiAMVEw&s=gVdGs2AlmqeIsl7dbZM0_9ulTQ_PPe0vAnT5MUx8AN
> M&e=

Thanks, that helps.

> Please read them (in their context of surrounding manual text, of
> course), and then see if something is still unclear.  

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?
> 
> 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.





  reply	other threads:[~2018-09-11 15:30 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <<<3cce8b54-2e85-49a2-84d8-386ded864148@default>
     [not found] ` <<<83d0tlpteu.fsf@gnu.org>
     [not found]   ` <<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>
     [not found]     ` <<83r2i1o3dr.fsf@gnu.org>
2018-09-10 14:57       ` bug#32562: 26; `read-char(-exclusive)' and `characterp' Drew Adams
     [not found]     ` <<mvmtvmxctnm.fsf@suse.de>
     [not found]       ` <<3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default>
     [not found]         ` <<83k1ntnu6l.fsf@gnu.org>
2018-09-10 19:48           ` Drew Adams
2018-09-11  7:57             ` Eli Zaretskii
2018-09-11 15:30               ` Drew Adams [this message]
2018-09-11 17:07                 ` Eli Zaretskii
     [not found]   ` <<<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>
     [not found]     ` <<<mvmtvmxctnm.fsf@suse.de>
     [not found]       ` <<<3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default>
     [not found]         ` <<<83k1ntnu6l.fsf@gnu.org>
     [not found]           ` <<4df2c3ce-9dcb-483c-b733-f91f54f33bce@default>
     [not found]             ` <<831sa0o49d.fsf@gnu.org>
     [not found]               ` <<4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default>
     [not found]                 ` <<83in3cm08g.fsf@gnu.org>
2018-09-11 17:22                   ` Drew Adams
2018-09-11 18:34                     ` Eli Zaretskii
     [not found] <<<<3cce8b54-2e85-49a2-84d8-386ded864148@default>
     [not found] ` <<<<83d0tlpteu.fsf@gnu.org>
     [not found]   ` <<<<5f51bd06-84dd-47f5-a7da-b0c5814a274c@default>
     [not found]     ` <<<<mvmtvmxctnm.fsf@suse.de>
     [not found]       ` <<<<3d6fb22f-de5a-4cce-bf49-023f2fc8388f@default>
     [not found]         ` <<<<83k1ntnu6l.fsf@gnu.org>
     [not found]           ` <<<4df2c3ce-9dcb-483c-b733-f91f54f33bce@default>
     [not found]             ` <<<831sa0o49d.fsf@gnu.org>
     [not found]               ` <<<4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default>
     [not found]                 ` <<<83in3cm08g.fsf@gnu.org>
     [not found]                   ` <<eedf9125-6ece-44cb-a01b-b8da3d707e8c@default>
     [not found]                     ` <<83ftyfnarp.fsf@gnu.org>
2018-09-11 18:58                       ` Drew Adams
2018-09-11 19:03                         ` Eli Zaretskii
     [not found] <<3cce8b54-2e85-49a2-84d8-386ded864148@default>
     [not found] ` <<83d0tlpteu.fsf@gnu.org>
2018-09-10 13:43   ` Drew Adams
2018-09-10 14:04     ` Eli Zaretskii
2018-09-10 14:29     ` Andreas Schwab
2018-09-10 15:01       ` Drew Adams
2018-09-10 17:22         ` Eli Zaretskii
2018-08-28 20:39 Drew Adams
2018-08-28 20:51 ` Noam Postavsky
2018-08-28 21:24   ` Drew Adams
2018-08-28 22:27     ` Noam Postavsky
2018-09-10 10:01     ` Eli Zaretskii
2018-09-10  9:56 ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4d4aa5cd-964c-41c5-ae72-24769afb0bd0@default \
    --to=drew.adams@oracle.com \
    --cc=32562@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.