GNU bug report logs - #23559
25.0.93; Wrong type argument on C-u C-x = with Czech input method

Previous Next

Package: emacs;

Reported by: Milan Zamazal <pdm <at> zamazal.org>

Date: Mon, 16 May 2016 19:18:02 UTC

Severity: normal

Found in version 25.0.93

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#23559: closed (25.0.93; Wrong type argument on C-u C-x = with
 Czech input method)
Date: Thu, 19 May 2016 20:01:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 19 May 2016 23:00:34 +0300
with message-id <83y47595st.fsf <at> gnu.org>
and subject line Re: bug#23559: 25.0.93; Wrong type argument on C-u C-x = with Czech input method
has caused the debbugs.gnu.org bug report #23559,
regarding 25.0.93; Wrong type argument on C-u C-x = with Czech input method
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
23559: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=23559
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Milan Zamazal <pdm <at> zamazal.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.0.93; Wrong type argument on C-u C-x = with Czech input method
Date: Thu, 12 May 2016 21:35:55 +0200
When I press `C-u C-x =' with a Czech input method enabled, I get the
following error:

  quail-gen-decode-map: Wrong type argument: characterp, kp-add

How to reproduce the bug:

- Start Emacs, e.g.: emacs -Q
- Select Czech input method: C-x RET C-\ czech RET
- Make sure you are on some character in the buffer, e.g. go to the
  beginning of *scratch* buffer with the semicolon character.
- Run what-cursor-position with a prefix argument: C-u C-x =
- You should receive the error above.

The bug is also present in Emacs 24.5.



[Message part 3 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: Milan Zamazal <pdm <at> zamazal.org>
Cc: 23559-done <at> debbugs.gnu.org
Subject: Re: bug#23559: 25.0.93;
 Wrong type argument on C-u C-x = with Czech input method
Date: Thu, 19 May 2016 23:00:34 +0300
> From: Milan Zamazal <pdm <at> zamazal.org>
> Cc: 23559 <at> debbugs.gnu.org
> Date: Thu, 19 May 2016 20:50:33 +0200
> 
> >>>>> "EZ" == Eli Zaretskii <eliz <at> gnu.org> writes:
> 
>     EZ> Do you (or someone else) understand why Czech and Slovak input
>     EZ> methods include kp-* keys in the input method definitions?
> 
> The reason is that those input methods replace digit keys at the main
> part of the keyboard with Czech and Slovak characters.  But the keys at
> the numeric keypad should of course still produce digits and not Czech
> and Slovak characters.
> 
> IIRC at the time those input methods were introduced, quail definitions
> like
> 
>   ("1" ?+)
> 
> caused both the `1' and kp-1 keys to produce `+' and adding
> 
>   ([kp-1] ?1)
> 
> was necessary to keep kp-1 producing `1' and not `+'.

I see, thanks.

> If this is no longer necessary then those bindings can be simply
> removed.

They don't seem to be necessary, so I removed them, and I'm marking
the bug done.

Thanks.


This bug report was last modified 9 years and 7 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.