From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#30588: 26.0.90; Documentation error in docstring of `input-method-function' Date: Sat, 24 Feb 2018 11:31:05 +0200 Message-ID: <83po4u4tuu.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1519464550 5157 195.159.176.226 (24 Feb 2018 09:29:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 24 Feb 2018 09:29:10 +0000 (UTC) Cc: 30588-done@debbugs.gnu.org To: Adam Tack Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 24 10:29:05 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 1epW8f-0000sr-Pl for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Feb 2018 10:29:05 +0100 Original-Received: from localhost ([::1]:49138 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epWAi-0000VW-4V for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Feb 2018 04:31:12 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epWAc-0000TY-5t for bug-gnu-emacs@gnu.org; Sat, 24 Feb 2018 04:31:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epWAY-0001iS-SU for bug-gnu-emacs@gnu.org; Sat, 24 Feb 2018 04:31:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50277) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epWAY-0001iC-PZ for bug-gnu-emacs@gnu.org; Sat, 24 Feb 2018 04:31:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1epWAY-00019d-JK for bug-gnu-emacs@gnu.org; Sat, 24 Feb 2018 04:31:02 -0500 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Feb 2018 09:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 30588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 30588@debbugs.gnu.org, eliz@gnu.org, adam.tack.513@gmail.com Original-Received: via spool by 30588-done@debbugs.gnu.org id=D30588.15194646554421 (code D ref 30588); Sat, 24 Feb 2018 09:31:02 +0000 Original-Received: (at 30588-done) by debbugs.gnu.org; 24 Feb 2018 09:30:55 +0000 Original-Received: from localhost ([127.0.0.1]:58173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epWAR-00019E-Dx for submit@debbugs.gnu.org; Sat, 24 Feb 2018 04:30:55 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:53735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epWAP-000191-JR for 30588-done@debbugs.gnu.org; Sat, 24 Feb 2018 04:30:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epWAH-0001Id-5C for 30588-done@debbugs.gnu.org; Sat, 24 Feb 2018 04:30:48 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:33441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epWAH-0001IN-1I; Sat, 24 Feb 2018 04:30:45 -0500 Original-Received: from [176.228.60.248] (port=4581 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1epWAG-0005Xl-7Z; Sat, 24 Feb 2018 04:30:44 -0500 In-reply-to: (message from Adam Tack on Fri, 23 Feb 2018 20:43:43 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:143631 Archived-At: > From: Adam Tack > Date: Fri, 23 Feb 2018 20:43:43 +0000 > > 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, fixed.