From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Adam Tack Newsgroups: gmane.emacs.bugs Subject: bug#30588: 26.0.90; Documentation error in docstring of `input-method-function' Date: Fri, 23 Feb 2018 20:43:43 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1519418588 4531 195.159.176.226 (23 Feb 2018 20:43:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 23 Feb 2018 20:43:08 +0000 (UTC) To: 30588@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 23 21:43:04 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 1epKBM-0000XT-3Y for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Feb 2018 21:43:04 +0100 Original-Received: from localhost ([::1]:47079 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epKDM-00073x-Qc for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Feb 2018 15:45:08 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46035) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epKDG-00073c-Sf for bug-gnu-emacs@gnu.org; Fri, 23 Feb 2018 15:45:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epKDG-0005DL-0c for bug-gnu-emacs@gnu.org; Fri, 23 Feb 2018 15:45:02 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:50108) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epKDF-0005DB-TU for bug-gnu-emacs@gnu.org; Fri, 23 Feb 2018 15:45:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1epKDF-0000bj-NF for bug-gnu-emacs@gnu.org; Fri, 23 Feb 2018 15:45:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Adam Tack Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Feb 2018 20:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30588 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15194186432248 (code B ref -1); Fri, 23 Feb 2018 20:45:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Feb 2018 20:44:03 +0000 Original-Received: from localhost ([127.0.0.1]:58005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epKCI-0000aC-V3 for submit@debbugs.gnu.org; Fri, 23 Feb 2018 15:44:03 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1epKCH-0000Zc-E7 for submit@debbugs.gnu.org; Fri, 23 Feb 2018 15:44:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epKC8-00033G-NO for submit@debbugs.gnu.org; Fri, 23 Feb 2018 15:43:56 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48619) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1epKC8-00032V-GJ for submit@debbugs.gnu.org; Fri, 23 Feb 2018 15:43:52 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45420) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1epKC5-0006kY-7Z for bug-gnu-emacs@gnu.org; Fri, 23 Feb 2018 15:43:52 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1epKC2-0002tj-Am for bug-gnu-emacs@gnu.org; Fri, 23 Feb 2018 15:43:49 -0500 Original-Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:32925) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1epKC1-0002rB-RG for bug-gnu-emacs@gnu.org; Fri, 23 Feb 2018 15:43:46 -0500 Original-Received: by mail-wm0-x22d.google.com with SMTP id s206so8468625wme.0 for ; Fri, 23 Feb 2018 12:43:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=UbBSL6p3YeixuGis2rkOYfQOYoOmwuWQzDO1PY6jvuY=; b=lr1GJqvUngmyWWxT3ZpHAL5KGrnUtLXf4Pjm1hlgfAX9nZYaR5BqB8Lvnp7Ao4DAK/ 1DY2dDVo4bgq2Tpux960SVlibcTcmM16dP6YbAGh0DuHNKmg6Sfggh5Wj4nYROJZ8sEd ivrlXPnFRmW21LAFGi2loMSY7TbMqzglrDmD8zZZpu5pCMHP/LxMWCihMAv7IuAhNKOZ vH6CrMZGcq5L5XcJdsM1YrScKH84rHLA7Kuoky4xQiwt6RF7quTHYn7NADFmE4VY2lf0 DvwUYlNEERliUIQsqcCHZM1vvkhkY4ejh0VJXSMGgrfBabKh+TvwA3TzoGWPCk1GVzKg f5Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=UbBSL6p3YeixuGis2rkOYfQOYoOmwuWQzDO1PY6jvuY=; b=eJK5KqGP0Itr92d42kKWEOcEStAQB46bL1gRDuIzuhFPYIqb6tPEfjB8kJv7YRsRsG +k2ifnB636jxjFkynYcz0ohe2HH21AI68y4HAILD+d/iOwsqPH+w5TEIojedHczVlsX1 ZR9fl+PCF8VgnTrBXGyYCN0tgdzV7Jc+kxx4Y9rjHptSzpXspTAHtPfQ9UrR3Fd4MJH3 Kkb5b1tXKuPdrp00+HXmJIGWgLrMkxjX/ltdisJKkfEYNsiPojTKj61d0svTOVnnF0PI Fcuf6LmjWEbDNfo+pCQs9bcus4LYMJZ/3brs8RT8n1fyXxtR/wUsNmlrgLN7fpcB6Xk9 KeTw== X-Gm-Message-State: APf1xPDU/8ptuzLlF+0M8f+EGBSpCcKAZmD858WwQgXOncBKEU3et90h FFVStEMozYULSj/hfc1/CZId8LKywPiDk6OH2xE= X-Google-Smtp-Source: AG47ELvKWljizTUKWlWbEbJNA3LottUb0L2MjoaPKY++1E7RU9exlje5B+l1KYw/0gR6bRtgAgmI/ICzktEW4ryrwKc= X-Received: by 10.28.37.5 with SMTP id l5mr2569430wml.127.1519418624204; Fri, 23 Feb 2018 12:43:44 -0800 (PST) Original-Received: by 10.28.85.131 with HTTP; Fri, 23 Feb 2018 12:43:43 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:143630 Archived-At: 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=3D1586314= 5cb8468b18b620d9dd82f90eaf4775d25#n11736 ) says that: It=E2=80=99s called with one argument, a printing character that was just r= ead. (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=3D1586314= 5cb8468b18b620d9dd82f90eaf4775d25#n2969 ) this is no longer the case (since 8d76911517ef7cefc7939845e920145ef89282f7) =E2=80=94 the character can also = be in the range 0200...0377, so the docstring should probably say: It=E2=80=99s called with one argument, a printing character that was just r= ead. (That means a character with code 040...0176 or 0200...0377.) Thanks! Adam