From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: coding systems and input methods are non-intuitive stuff Date: Tue, 30 Jan 2007 01:17:48 -0700 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1170145091 5420 80.91.229.12 (30 Jan 2007 08:18:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2007 08:18:11 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 30 09:18:06 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HBoBp-0002Qz-W5 for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 09:18:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBoBp-0005GM-BH for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 03:18:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HBoBf-0005Ez-9W for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:17:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HBoBe-0005DY-Cd for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:17:54 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBoBe-0005DM-6N for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:17:54 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HBoBd-0004qe-Lw for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:17:54 -0500 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HBoBW-0006PQ-34 for emacs-devel@gnu.org; Tue, 30 Jan 2007 09:17:46 +0100 Original-Received: from c-24-9-156-178.hsd1.co.comcast.net ([24.9.156.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Jan 2007 09:17:46 +0100 Original-Received: from kevin.d.rodgers by c-24-9-156-178.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 30 Jan 2007 09:17:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c-24-9-156-178.hsd1.co.comcast.net User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207) In-Reply-To: X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:65610 Archived-At: Juanma Barranquero wrote: > C-x b *scratch* RET > C-x RET f latin-1 RET ; buffer coding system = latin-1 > C-u C-\ romanian-prefix RET ; input method: romanian-prefix > ,s ; character: ş (2362, #o4472, #x93a, > ; U+015F) > M-x quail-show-key RET ; To input `ş', type ",s" > > C-x RET f utf-8 RET ; buffer coding system = utf-8 > ; input method: the same as before > ,s ; character: ş (331903, #o1210177, > ; #x5107f, U+015F) > M-x quail-show-key RET ; ş can't be input by the current > ; input method > > Now, I understand that the buffer code for these characters is not the > same... but it is quite weird nonetheless to input a character with > the current input method, and afterwards be told that it "can't be > input by the current input method". The thing that confuses me is that the ISO 8859-1 character set (which is what the latin-1 coding system encodes, right?) only contains U+0000 - U+00FF. So how does U+015F get inserted into a latin-1 buffer? -- Kevin Rodgers Denver, Colorado, USA