From: Adam Tack <adam.tack.513@gmail.com>
To: 30588@debbugs.gnu.org
Subject: bug#30588: 26.0.90; Documentation error in docstring of `input-method-function'
Date: Fri, 23 Feb 2018 20:43:43 +0000 [thread overview]
Message-ID: <CAA+VxxEKYKUzRS8Li=t=4CURgEJJ4bavuZfHD4G3_nnUCw+Nzw@mail.gmail.com> (raw)
The listed range of "printing characters" appears to be out of date.
Currently the docstring of `input-method-function'
(src/keyboard.c:11739
http://git.savannah.gnu.org/cgit/emacs.git/tree/src/keyboard.c?id=15863145cb8468b18b620d9dd82f90eaf4775d25#n11736
)
says that:
It’s called with one argument, a printing character that was just read.
(That means a character with code 040...0176.)
As can be seen at src/keyboard.c:2977 (with context:
http://git.savannah.gnu.org/cgit/emacs.git/tree/src/keyboard.c?id=15863145cb8468b18b620d9dd82f90eaf4775d25#n2969
) this is no longer the case (since
8d76911517ef7cefc7939845e920145ef89282f7) — the character can also be
in the range 0200...0377, so the docstring should probably say:
It’s called with one argument, a printing character that was just read.
(That means a character with code 040...0176 or 0200...0377.)
Thanks!
Adam
next reply other threads:[~2018-02-23 20:43 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-23 20:43 Adam Tack [this message]
2018-02-24 9:31 ` bug#30588: 26.0.90; Documentation error in docstring of `input-method-function' 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAA+VxxEKYKUzRS8Li=t=4CURgEJJ4bavuZfHD4G3_nnUCw+Nzw@mail.gmail.com' \
--to=adam.tack.513@gmail.com \
--cc=30588@debbugs.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).