From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tomasz =?UTF-8?Q?Zbro=C5=BCek?= Newsgroups: gmane.emacs.bugs Subject: bug#5235: 23.1; Unibyte keyboard input problem Date: Sun, 27 Dec 2009 14:30:47 +0100 Message-ID: <200912271430.47891.scianagoryczy@wp.pl> Reply-To: Tomasz =?UTF-8?Q?Zbro=C5=BCek?= , 5235@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1261921065 30408 80.91.229.12 (27 Dec 2009 13:37:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 27 Dec 2009 13:37:45 +0000 (UTC) To: Eli Zaretskii , 5235@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 27 14:37:37 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 1NOtJP-0007Ns-VW for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Dec 2009 14:37:36 +0100 Original-Received: from localhost ([127.0.0.1]:35280 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOtJP-0002eD-MP for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Dec 2009 08:37:35 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NOtJJ-0002au-Mk for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2009 08:37:29 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NOtJE-0002Rq-KD for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2009 08:37:28 -0500 Original-Received: from [199.232.76.173] (port=51597 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NOtJE-0002RZ-D0 for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2009 08:37:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45704) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NOtJE-0008Gi-4w for bug-gnu-emacs@gnu.org; Sun, 27 Dec 2009 08:37:24 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NOtE2-0005tD-Cc; Sun, 27 Dec 2009 08:32:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Tomasz =?UTF-8?Q?Zbro=C5=BCek?= , 5235@debbugs.gnu.org Resent-From: Tomasz =?UTF-8?Q?Zbro=C5=BCek?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Dec 2009 13:32: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.126192066522631 (code B ref 5235); Sun, 27 Dec 2009 13:32:02 +0000 Original-Received: (at 5235) by debbugs.gnu.org; 27 Dec 2009 13:31:05 +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 1NOtD6-0005sy-Sk for submit@debbugs.gnu.org; Sun, 27 Dec 2009 08:31:05 -0500 Original-Received: from mx3.wp.pl ([212.77.101.7]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NOtD5-0005sb-QG for 5235@emacsbugs.donarmstrong.com; Sun, 27 Dec 2009 08:31:04 -0500 Original-Received: (wp-smtpd smtp.wp.pl 16405 invoked from network); 27 Dec 2009 14:30:56 +0100 Original-Received: from host89251746.3s.pl (HELO [192.168.18.177]) (scianagoryczy@[89.25.174.6]) (envelope-sender ) by smtp.wp.pl (WP-SMTPD) with SMTP for ; 27 Dec 2009 14:30:56 +0100 User-Agent: KMail/1.9.10 Content-Disposition: inline X-WP-AV: skaner antywirusowy poczty Wirtualnej Polski S. A. X-WP-SPAM: NO 0000000 [YQNk] X-Spam-Score: -2.9 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -2.9 (--) Resent-Date: Sun, 27 Dec 2009 08:32: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:33784 Archived-At: Eli, it looks your patch works OK :D But... On the default polish environment setting (latin-2), when I have -*- coding: cp1250 -*- in my file and when I try to save file with your feature I get such a message in minibuffer: Selected encoding iso-latin-2-unix disagrees with windows-1250-unix specified by file contents. Really save (else edit coding cookies and try again)? (yes or no) when I press yes the coding is gibberish in saved file. If I use modify-coding-system-alist instead of "-*- coding:" result is the same, I mean gibberish but there is no question. But when I change a little bit language enviroment to: '(language-info-custom-alist (quote (("Polish" (coding-priority cp1250))))) then everything is OK and your patch works fine (no question when saving and coding is ok)! In this case I do not need to specify coding with "-*- coding:" or modify-coding-system-alist.