Subject: bug#30588: closed (Re: bug#30588: 26.0.90; Documentation error in docstring of `input-method-function')

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 24 Feb 2018 09:31:02 +0000

Your bug report

#30588: 26.0.90; Documentation error in docstring of `input-method-function'

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
30588: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30588
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#30588: 26.0.90; Documentation error in docstring of `input-method-function'
From: Eli Zaretskii <[email-masked]>
To: Adam Tack <[email-masked]>
Cc: [email-masked]
Date: Sat, 24 Feb 2018 11:31:05 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> From: Adam Tack <[email-masked]>
> 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.

Subject: 26.0.90; Documentation error in docstring of `input-method-function'
From: Adam Tack <[email-masked]>
To: [email-masked]
Date: Fri, 23 Feb 2018 20:43:43 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

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