From unknown Fri Jun 20 07:11:25 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#3372 <3372@debbugs.gnu.org> To: bug#3372 <3372@debbugs.gnu.org> Subject: Status: 23.0.94; Wrong input of umlauts in table mode Reply-To: bug#3372 <3372@debbugs.gnu.org> Date: Fri, 20 Jun 2025 14:11:25 +0000 retitle 3372 23.0.94; Wrong input of umlauts in table mode reassign 3372 emacs submitter 3372 uwe.siart@tum.de severity 3372 normal thanks From uwe.siart@tum.de Sun May 24 23:23:22 2009 Received: (at submit) by emacsbugs.donarmstrong.com; 25 May 2009 06:23:22 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4P6NHMo030065 for ; Sun, 24 May 2009 23:23:19 -0700 Received: from mail.gnu.org ([199.232.76.166]:44614 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M8Tae-0007ww-VM for emacs-pretest-bug@gnu.org; Mon, 25 May 2009 02:23:17 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M8Tab-0007P2-33 for emacs-pretest-bug@gnu.org; Mon, 25 May 2009 02:23:15 -0400 Received: from mailrelay2.lrz-muenchen.de ([129.187.254.102]:35817) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M8TaZ-0007KM-2D for emacs-pretest-bug@gnu.org; Mon, 25 May 2009 02:23:11 -0400 Received: from PEGASUS ([129.187.140.137] [129.187.140.137]) by mailout.lrz-muenchen.de with ESMTP for emacs-pretest-bug@gnu.org; Mon, 25 May 2009 08:22:40 +0200 Date: Mon, 25 May 2009 08:22:40 +0200 Message-Id: <87octhln0v.fsf@tum.de> From: Uwe Siart To: emacs-pretest-bug@gnu.org Subject: 23.0.94; Wrong input of umlauts in table mode Reply-to: uwe.siart@tum.de MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: Quoted-Printable X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 When I try to enter german umlauts (=E4,=F6,=FC) in table mode I get octal = sequences instead. Typing =BB=E4=AB results in display of =BB\344=AB etc. Everything = is fine when table mode is off. Regards Uwe In GNU Emacs 23.0.94.1 (i386-mingw-nt5.0.2195) of 2009-05-24 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.0.2195 configured using `configure --with-gcc (3.4)' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: DEU value of $XMODIFIERS: nil locale-coding-system: cp1252 default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: iswitchb-mode: t display-time-mode: t auto-insert-mode: t diff-auto-refine-mode: t delete-selection-mode: t pc-selection-mode: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x r b s e m =20 =20 C-c t r C-h m =20 C-x 1 C-x k M-x s u b m i t =20 =20 C-g C-h a b u g =20 =20 C-g q =20 C-x 1 M-x r e p o r Recent messages: Type C-x 1 to remove help window. =20 Quit Type C-x 1 to remove help window. =20 Quit line-move-visual: End of buffer line-move-visual: Beginning of buffer line-move-visual: End of buffer line-move-visual: Beginning of buffer [2 times] line-move-visual: End of buffer Making completion list... From handa@m17n.org Mon May 25 00:44:44 2009 Received: (at 3372) by emacsbugs.donarmstrong.com; 25 May 2009 07:44:44 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,FOURLA,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8,SPF_HELO_PASS autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from mx1.aist.go.jp (mx1.aist.go.jp [150.29.246.133]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4P7idox010424 for <3372@emacsbugs.donarmstrong.com>; Mon, 25 May 2009 00:44:41 -0700 Received: from rqsmtp1.aist.go.jp (rqsmtp1.aist.go.jp [150.29.254.115]) by mx1.aist.go.jp with ESMTP id n4P7ian1029357; Mon, 25 May 2009 16:44:36 +0900 (JST) env-from (handa@m17n.org) Received: from smtp1.aist.go.jp by rqsmtp1.aist.go.jp with ESMTP id n4P7iZLn014821; Mon, 25 May 2009 16:44:35 +0900 (JST) env-from (handa@m17n.org) Received: by smtp1.aist.go.jp with ESMTP id n4P7iZxS007506; Mon, 25 May 2009 16:44:35 +0900 (JST) env-from (handa@m17n.org) Received: from handa by etlken with local (Exim 4.69) (envelope-from ) id 1M8Url-0006ev-84; Mon, 25 May 2009 16:45:01 +0900 From: Kenichi Handa To: uwe.siart@tum.de, 3372@debbugs.gnu.org CC: Takaaki.Ota@am.sony.com In-reply-to: <87octhln0v.fsf@tum.de> (message from Uwe Siart on Mon, 25 May 2009 08:22:40 +0200) Subject: Re: bug#3372: 23.0.94; Wrong input of umlauts in table mode References: <87octhln0v.fsf@tum.de> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-Id: Date: Mon, 25 May 2009 16:45:01 +0900 In article <87octhln0v.fsf@tum.de>, Uwe Siart writes: > When I try to enter german umlauts (ä,ö,ü) in table mode I get octal sequences > instead. Typing »ä« results in display of »\344« etc. Everything is fine when > table mode is off. The attached patch will fix that bug. --- Kenichi Handa handa@m17n.org --- table.el.~1.39.~ 2009-01-09 13:19:13.000000000 +0900 +++ table.el 2009-05-25 16:43:03.000000000 +0900 @@ -3943,7 +3943,7 @@ (defun *table--cell-self-insert-command () "Table cell version of `self-insert-command'." (interactive "*") - (let ((char (table--unibyte-char-to-multibyte last-command-event))) + (let ((char last-command-event)) (if (eq buffer-undo-list t) nil (if (not (eq last-command this-command)) (setq table-cell-self-insert-command-count 0) @@ -4048,7 +4048,7 @@ (defun *table--cell-quoted-insert (arg) "Table cell version of `quoted-insert'." (interactive "*p") - (let ((char (table--unibyte-char-to-multibyte (read-quoted-char)))) + (let ((char (read-quoted-char))) (while (> arg 0) (table--cell-insert-char char nil) (setq arg (1- arg))))) @@ -4349,19 +4349,6 @@ (cdr (symbol-value (cdr prompt-history))))) (car (symbol-value (cdr prompt-history)))) -(defun table--unibyte-char-to-multibyte (char) - "Convert CHAR by `unibyte-char-to-multibyte' when possible and necessary." - ;; This part is take from `quoted-insert'. - ;; Assume character codes 0240 - 0377 stand for characters in some - ;; single-byte character set, and convert them to Emacs - ;; characters. - (if (and enable-multibyte-characters - (fboundp 'unibyte-char-to-multibyte) - (>= char ?\240) - (<= char ?\377)) - (unibyte-char-to-multibyte char) - char)) - (defun table--buffer-substring-and-trim (beg end) "Extract buffer substring and remove blanks from front and the rear of it." (save-excursion From cyd@stupidchicken.com Mon May 25 20:32:12 2009 Received: (at 3372-done) by emacsbugs.donarmstrong.com; 26 May 2009 03:32:12 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.4 required=4.0 tests=AWL,HAS_BUG_NUMBER, MURPHY_DRUGS_REL8 autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4Q3W9Lg008072 for <3372-done@emacsbugs.donarmstrong.com>; Mon, 25 May 2009 20:32:10 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 413DC57E21A; Mon, 25 May 2009 23:32:31 -0400 (EDT) From: Chong Yidong To: Kenichi Handa Cc: 3372-done@debbugs.gnu.org, uwe.siart@tum.de, Takaaki.Ota@am.sony.com Subject: Re: bug#3372: 23.0.94; Wrong input of umlauts in table mode Date: Mon, 25 May 2009 23:32:31 -0400 Message-ID: <874ov8cze8.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > In article <87octhln0v.fsf@tum.de>, Uwe Siart writes: > > > When I try to enter german umlauts (=C3=A4,=C3=B6,=C3=BC) in table mode= I get octal > > sequences > > instead. Typing =C2=BB=C3=A4=C2=AB results in display of =C2=BB\344=C2= =AB etc. Everything is > > fine when > > table mode is off. > > The attached patch will fix that bug. Thanks. This seems clearly correct, so I went ahead and checked it in. From unknown Fri Jun 20 07:11:25 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Tue, 23 Jun 2009 14:24:10 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator