From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: coding systems and input methods are non-intuitive stuff Date: Tue, 30 Jan 2007 09:38:07 +0100 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: 7bit X-Trace: sea.gmane.org 1170146310 9144 80.91.229.12 (30 Jan 2007 08:38:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 30 Jan 2007 08:38:30 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Kevin Rodgers" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 30 09:38:22 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 1HBoVR-0004xd-G2 for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 09:38:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBoVQ-0003gv-TG for ged-emacs-devel@m.gmane.org; Tue, 30 Jan 2007 03:38:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HBoVH-0003gq-FQ for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:38:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HBoVF-0003ge-3p for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:38:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HBoVE-0003gb-TB for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:38:08 -0500 Original-Received: from wr-out-0506.google.com ([64.233.184.232]) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HBoVE-00011I-Jh for emacs-devel@gnu.org; Tue, 30 Jan 2007 03:38:08 -0500 Original-Received: by wr-out-0506.google.com with SMTP id i22so1156837wra for ; Tue, 30 Jan 2007 00:38:08 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QyvdzccvRuOoQfq6rTDT/AHUP7iLQXduDGbaN317axBEzzLe+i5fVlYBU8McbqUbrA1uMmHAyezKSXyJNT4RjWFc1OvxeL6Ned7bWRMcPGPNozGcwqlkFtKVIFbDm1H1rAQIuKLT5H9TbTufnsDugeazG5kEb5squ1UxJks56CU= Original-Received: by 10.114.93.1 with SMTP id q1mr17781wab.1170146287654; Tue, 30 Jan 2007 00:38:07 -0800 (PST) Original-Received: by 10.115.93.4 with HTTP; Tue, 30 Jan 2007 00:38:07 -0800 (PST) In-Reply-To: Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) 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:65612 Archived-At: On 1/30/07, Kevin Rodgers wrote: > So how does U+015F get inserted into a latin-1 buffer? C-x RET f is `set-buffer-file-coding-system'. In other words, it will apply when I try to save the buffer; and then possibly I'll get a message saying that the buffer's contents cannot be saved with that coding system. But that is irrelevant. There's nothing wrong with ;; insert whatever stuff ;; set buffer coding system 1 ;; insert stuff not representable in coding system 1 ;; set buffer coding system 2 ;; save the file There's no requirement that the contents of a buffer *must* be writable with the current buffer coding system, unless and until I try to save it... But that's a digression. What I'm interested in knowing is whether being able to do ;; insert a char with the current input method ;; M-x quail-show-key => "X can't be input with the current input method" (as in my previous example) is a bug or a "feature" of the buffer-coding-system / input method interaction. /L/e/k/t/u