From unknown Fri Sep 05 11:52:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#30588 <30588@debbugs.gnu.org> To: bug#30588 <30588@debbugs.gnu.org> Subject: Status: 26.0.90; Documentation error in docstring of `input-method-function' Reply-To: bug#30588 <30588@debbugs.gnu.org> Date: Fri, 05 Sep 2025 18:52:05 +0000 retitle 30588 26.0.90; Documentation error in docstring of `input-method-fu= nction' reassign 30588 emacs submitter 30588 Adam Tack severity 30588 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 23 15:44:03 2018 Received: (at submit) by debbugs.gnu.org; 23 Feb 2018 20:44:03 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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) MIME-Version: 1.0 Received: by 10.28.85.131 with HTTP; Fri, 23 Feb 2018 12:43:43 -0800 (PST) From: Adam Tack Date: Fri, 23 Feb 2018 20:43:43 +0000 Message-ID: Subject: 26.0.90; Documentation error in docstring of `input-method-function' To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 24 04:30:55 2018 Received: (at 30588-done) by debbugs.gnu.org; 24 Feb 2018 09:30:55 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 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 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 Date: Sat, 24 Feb 2018 11:31:05 +0200 Message-Id: <83po4u4tuu.fsf@gnu.org> From: Eli Zaretskii To: Adam Tack In-reply-to: (message from Adam Tack on Fri, 23 Feb 2018 20:43:43 +0000) Subject: Re: bug#30588: 26.0.90; Documentation error in docstring of `input-method-function' References: MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 30588-done Cc: 30588-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) > 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. From unknown Fri Sep 05 11:52:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 24 Mar 2018 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator