From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: kbd vs read-key-sequence Date: Mon, 19 Mar 2007 01:14:56 -0400 Message-ID: References: <45E8657D.4080202@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: sea.gmane.org 1174281541 11090 80.91.229.12 (19 Mar 2007 05:19:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2007 05:19:01 +0000 (UTC) Cc: lekktu@gmail.com, jasonr@gnu.org, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 19 06:18:52 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 1HTAGi-0000zv-6M for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2007 06:18:52 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTAI8-0007j8-Qk for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2007 00:20:20 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HTAGV-0006D5-Rh for emacs-devel@gnu.org; Mon, 19 Mar 2007 01:18:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HTAGV-0006Bu-5b for emacs-devel@gnu.org; Mon, 19 Mar 2007 01:18:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HTAGU-0006Bf-U4 for emacs-devel@gnu.org; Mon, 19 Mar 2007 00:18:38 -0500 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HTAF4-0003nR-8E for emacs-devel@gnu.org; Mon, 19 Mar 2007 01:17:10 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1HTACu-0003R5-QG; Mon, 19 Mar 2007 01:14:56 -0400 In-reply-to: (message from Stefan Monnier on Mon, 12 Mar 2007 11:19:19 -0400) 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:68079 Archived-At: I guess "only ever use one and only one encoding". E.g. don't mix latin-1 and latin-9. Do you mean don't mix encodings in .emacs? Or do you mean only use one encoding for all the files you edit? The former sounds like a fine solution: we just have to recommend it in the manual. > Can you avoid this by specifying the coding-system explicitly in .emacs? > We could recommend that users do so. Yes, with -*- coding -*-. It should also work correctly as long as they *don't* specify the encoding via elisp code in their .emacs (with calls to set-language-environment, for example). That sounds like a practical recommendation. Can you (or someone) write it up for the Emacs manual, then ack?