From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#5235: 23.1; Unibyte keyboard input problem Date: Sat, 26 Dec 2009 16:30:41 +0200 Message-ID: <83637t6c4u.fsf@gnu.org> References: <200912162217.14991.scianagoryczy@wp.pl> <200912251203.29628.scianagoryczy@wp.pl> <4B34A0BE.5060406@gnu.org> <200912261345.53729.scianagoryczy@wp.pl> Reply-To: Eli Zaretskii , 5235@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1261838259 31113 80.91.229.12 (26 Dec 2009 14:37:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Dec 2009 14:37:39 +0000 (UTC) Cc: 5235@emacsbugs.donarmstrong.com To: Tomasz =?UTF-8?Q?Zbro=C5=BCek?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 26 15:37:32 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NOXlr-0003df-46 for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Dec 2009 15:37:31 +0100 Original-Received: from localhost ([127.0.0.1]:59557 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOXlr-0000UL-4P for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Dec 2009 09:37:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NOXln-0000UG-3s for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2009 09:37:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NOXlh-0000Tg-Cm for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2009 09:37:25 -0500 Original-Received: from [199.232.76.173] (port=43722 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOXlh-0000Td-75 for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2009 09:37:21 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58975) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NOXlg-0002RO-Rb for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2009 09:37:20 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NOXde-0002dv-EC; Sat, 26 Dec 2009 09:29:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Eli Zaretskii , 5235@debbugs.gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Dec 2009 14:29:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5235 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5235-submit@debbugs.gnu.org id=B5235.126183771010153 (code B ref 5235); Sat, 26 Dec 2009 14:29:02 +0000 Original-Received: (at 5235) by debbugs.gnu.org; 26 Dec 2009 14:28:30 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NOXd8-0002di-4h for submit@debbugs.gnu.org; Sat, 26 Dec 2009 09:28:30 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NOXd5-0002dY-QU for 5235@emacsbugs.donarmstrong.com; Sat, 26 Dec 2009 09:28:28 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KV900G00K446400@a-mtaout22.012.net.il> for 5235@emacsbugs.donarmstrong.com; Sat, 26 Dec 2009 16:28:21 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.236.58]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KV900A0HK78DIR0@a-mtaout22.012.net.il>; Sat, 26 Dec 2009 16:28:21 +0200 (IST) In-reply-to: <200912261345.53729.scianagoryczy@wp.pl> X-012-Sender: halo1@inter.net.il X-Spam-Score: -1.7 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -1.8 (-) Resent-Date: Sat, 26 Dec 2009 09:29:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33773 Archived-At: > From: Tomasz Zbro=C5=BCek > Date: Sat, 26 Dec 2009 13:45:53 +0100 > Cc: Stefan Monnier , > 5235@emacsbugs.donarmstrong.com, > Eli Zaretskii >=20 > encode \210 char (originally cp852) to cp1250 (because cp1250 is my= codepage=20 > to save, but of course after saving this char in the file should be= cp852=20 > coded and it will be when I force cp1250 - this is ok) >=20 > I can't find any way to force emacs not to prompt me with codepage = selection,=20 > I understand emacs treats it like an error (in his opinion \210 cha= r is=20 > wrong) but I would like to set somehow that cp1250 is safe, > "-*- coding: cp1250 -*-" or modify-coding-system-alist function is = not=20 > solution >=20 > my only question is: how to configure emacs to omit this codepage s= election in=20 > such situation?=20 Does it help to evaluate the expression below? (aset latin-extra-code-table ?\210 t) Please do that _before_ visiting files which have the \210 character. Then try to save such a file and see if this helps. The above only handles the \210 character, so please don't try to use any other characters whose code is between 128 and 160. If this works, it is trivial to cover the entire range, of course. If the above does not help with cp1250, please try the same with latin-2 instead (you will have to modify the `coding:' cookie for thi= s to work).