all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout
@ 2008-11-23 20:57   ` Ulrich Mueller
  2009-01-16 13:15     ` bug#1418: marked as done (23.0.60; Wrong character decoding in quail-insert-kbd-layout) Emacs bug Tracking System
  0 siblings, 1 reply; 6+ messages in thread
From: Ulrich Mueller @ 2008-11-23 20:57 UTC (permalink / raw)
  To: emacs-pretest-bug

Hi,

the displayed keyboard layout output by describe-input-method for the
"german" input method (but same problem for others, e.g. "french")
shows raw 8-bit characters:

     +--------------------------------------------------------------------+
     | 1! | 2" | 3\247| 4$ | 5% | 6& | 7/ | 8( | 9) | 0= |\337? | [{ | ]} |
     +--------------------------------------------------------------------+
       | qQ | wW | eE | rR | tT | zZ | uU | iI | oO | pP |\374\334| +* |
       +--------------------------------------------------------------------+
        | aA | sS | dD | fF | gG | hH | jJ | kK | lL |\366\326|\344\304| #^ |
        +-------------------------------------------------------------------+
          | yY | xX | cC | vV | bB | nN | mM | ,; | .: | -_ |
          +-------------------------------------------------+
		    +-----------------------------+
		    |          space bar          |
		    +-----------------------------+

Reproduce with:

   $ emacs -Q
   C-h I german RET

The following patch fixes the problem for me:

--- emacs-orig/lisp/international/quail.el	21 Nov 2008 20:40:16 -0000	1.167
+++ emacs/lisp/international/quail.el	23 Nov 2008 20:37:10 -0000
@@ -830,10 +830,6 @@
 	      (insert-char 32 (+ row (/ (- row 2) 2)))))
 	(setq lower (aref layout i)
 	      upper (aref layout (1+ i)))
-	(if (and (integerp lower) (>= lower 128) (< lower 256))
-	    (setq lower (unibyte-char-to-multibyte lower)))
-	(if (and (integerp upper) (>= upper 128) (< upper 256))
-	    (setq upper (unibyte-char-to-multibyte upper)))
 	(insert bar)
 	(if (= (if (stringp lower) (string-width lower) (char-width lower)) 1)
 	    (insert " "))

Ulrich






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout
@ 2009-01-16 12:46 Kenichi Handa
  2009-01-16 13:09 ` Chong Yidong
  2009-01-16 16:39 ` Stefan Monnier
  0 siblings, 2 replies; 6+ messages in thread
From: Kenichi Handa @ 2009-01-16 12:46 UTC (permalink / raw)
  To: emacs-devel; +Cc: ulm

Ulrich Mueller <ulm@kph.uni-mainz.de> wrote:
> the displayed keyboard layout output by describe-input-method for the
> "german" input method (but same problem for others, e.g. "french")
> shows raw 8-bit characters:

Thank you for finding this bug and providing the correct
patch.  I've just installed that patch.

By the way, are there anything I must do to the bug tracking
system when I fixed a specific bug?

---
Kenichi Handa
handa@m17n.org





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout
  2009-01-16 12:46 bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout Kenichi Handa
@ 2009-01-16 13:09 ` Chong Yidong
  2008-11-23 20:57   ` Ulrich Mueller
  2009-01-19  0:32   ` bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout Kenichi Handa
  2009-01-16 16:39 ` Stefan Monnier
  1 sibling, 2 replies; 6+ messages in thread
From: Chong Yidong @ 2009-01-16 13:09 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: 1418-done, ulm, emacs-devel

Kenichi Handa <handa@m17n.org> writes:

> Thank you for finding this bug and providing the correct
> patch.  I've just installed that patch.
>
> By the way, are there anything I must do to the bug tracking
> system when I fixed a specific bug?

When you send the email saying you fixed the bug, add a CC to
NNNN-done@emacsbugs.donarmstrong.com (I've just done that now).  This
closes the bug.  See admin/notes/bugtracker for more information about
using the bug tracker.




^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#1418: marked as done (23.0.60; Wrong character decoding in  quail-insert-kbd-layout)
  2008-11-23 20:57   ` Ulrich Mueller
@ 2009-01-16 13:15     ` Emacs bug Tracking System
  0 siblings, 0 replies; 6+ messages in thread
From: Emacs bug Tracking System @ 2009-01-16 13:15 UTC (permalink / raw)
  To: Chong Yidong

[-- Attachment #1: Type: text/plain, Size: 916 bytes --]


Your message dated Fri, 16 Jan 2009 08:09:47 -0500
with message-id <87y6xbe6sk.fsf@cyd.mit.edu>
and subject line Re: bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout
has caused the Emacs bug report #1418,
regarding 23.0.60; Wrong character decoding in quail-insert-kbd-layout
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
1418: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=1418
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 3972 bytes --]

From: Ulrich Mueller <ulm@kph.uni-mainz.de>
To: emacs-pretest-bug@gnu.org
Subject: 23.0.60; Wrong character decoding in quail-insert-kbd-layout
Date: Sun, 23 Nov 2008 21:57:10 +0100
Message-ID: <18729.50086.549469.456282@a1ihome1.kph.uni-mainz.de>

Hi,

the displayed keyboard layout output by describe-input-method for the
"german" input method (but same problem for others, e.g. "french")
shows raw 8-bit characters:

     +--------------------------------------------------------------------+
     | 1! | 2" | 3\247| 4$ | 5% | 6& | 7/ | 8( | 9) | 0= |\337? | [{ | ]} |
     +--------------------------------------------------------------------+
       | qQ | wW | eE | rR | tT | zZ | uU | iI | oO | pP |\374\334| +* |
       +--------------------------------------------------------------------+
        | aA | sS | dD | fF | gG | hH | jJ | kK | lL |\366\326|\344\304| #^ |
        +-------------------------------------------------------------------+
          | yY | xX | cC | vV | bB | nN | mM | ,; | .: | -_ |
          +-------------------------------------------------+
		    +-----------------------------+
		    |          space bar          |
		    +-----------------------------+

Reproduce with:

   $ emacs -Q
   C-h I german RET

The following patch fixes the problem for me:

--- emacs-orig/lisp/international/quail.el	21 Nov 2008 20:40:16 -0000	1.167
+++ emacs/lisp/international/quail.el	23 Nov 2008 20:37:10 -0000
@@ -830,10 +830,6 @@
 	      (insert-char 32 (+ row (/ (- row 2) 2)))))
 	(setq lower (aref layout i)
 	      upper (aref layout (1+ i)))
-	(if (and (integerp lower) (>= lower 128) (< lower 256))
-	    (setq lower (unibyte-char-to-multibyte lower)))
-	(if (and (integerp upper) (>= upper 128) (< upper 256))
-	    (setq upper (unibyte-char-to-multibyte upper)))
 	(insert bar)
 	(if (= (if (stringp lower) (string-width lower) (char-width lower)) 1)
 	    (insert " "))

Ulrich



[-- Attachment #3: Type: message/rfc822, Size: 1855 bytes --]

From: Chong Yidong <cyd@stupidchicken.com>
To: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org, ulm@kph.uni-mainz.de, 1418-done@emacsbugs.donarmstrong.com
Subject: Re: bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout
Date: Fri, 16 Jan 2009 08:09:47 -0500
Message-ID: <87y6xbe6sk.fsf@cyd.mit.edu>

Kenichi Handa <handa@m17n.org> writes:

> Thank you for finding this bug and providing the correct
> patch.  I've just installed that patch.
>
> By the way, are there anything I must do to the bug tracking
> system when I fixed a specific bug?

When you send the email saying you fixed the bug, add a CC to
NNNN-done@emacsbugs.donarmstrong.com (I've just done that now).  This
closes the bug.  See admin/notes/bugtracker for more information about
using the bug tracker.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout
  2009-01-16 12:46 bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout Kenichi Handa
  2009-01-16 13:09 ` Chong Yidong
@ 2009-01-16 16:39 ` Stefan Monnier
  1 sibling, 0 replies; 6+ messages in thread
From: Stefan Monnier @ 2009-01-16 16:39 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: ulm, emacs-devel

>> the displayed keyboard layout output by describe-input-method for the
>> "german" input method (but same problem for others, e.g. "french")
>> shows raw 8-bit characters:

> Thank you for finding this bug and providing the correct
> patch.  I've just installed that patch.

> By the way, are there anything I must do to the bug tracking
> system when I fixed a specific bug?

If the bug was tracked in the bug-tracker, then you should reply to
<bugnb>-done@emacsbugs.donarmstrong.com.  Also you can include
"bug#<bugnb>" in the commit (and ChangeLog) message for cross-reference.


        Stefan





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout
  2009-01-16 13:09 ` Chong Yidong
  2008-11-23 20:57   ` Ulrich Mueller
@ 2009-01-19  0:32   ` Kenichi Handa
  1 sibling, 0 replies; 6+ messages in thread
From: Kenichi Handa @ 2009-01-19  0:32 UTC (permalink / raw)
  To: Chong Yidong; +Cc: ulm, 1418-done, emacs-devel

In article <87y6xbe6sk.fsf@cyd.mit.edu>, Chong Yidong <cyd@stupidchicken.com> writes:

> Kenichi Handa <handa@m17n.org> writes:
> > Thank you for finding this bug and providing the correct
> > patch.  I've just installed that patch.
> >
> > By the way, are there anything I must do to the bug tracking
> > system when I fixed a specific bug?

> When you send the email saying you fixed the bug, add a CC to
> NNNN-done@emacsbugs.donarmstrong.com (I've just done that now).  This
> closes the bug.  See admin/notes/bugtracker for more information about
> using the bug tracker.

I see, thank you.

---
Kenichi Handa
handa@m17n.org




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2009-01-19  0:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-16 12:46 bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout Kenichi Handa
2009-01-16 13:09 ` Chong Yidong
2008-11-23 20:57   ` Ulrich Mueller
2009-01-16 13:15     ` bug#1418: marked as done (23.0.60; Wrong character decoding in quail-insert-kbd-layout) Emacs bug Tracking System
2009-01-19  0:32   ` bug#1418: 23.0.60; Wrong character decoding in quail-insert-kbd-layout Kenichi Handa
2009-01-16 16:39 ` Stefan Monnier

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.