From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: kbd vs read-key-sequence Date: Tue, 27 Mar 2007 20:57:29 -0400 Message-ID: References: <45E8657D.4080202@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1175043466 22110 80.91.229.12 (28 Mar 2007 00:57:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Mar 2007 00:57:46 +0000 (UTC) Cc: lekktu@gmail.com, jasonr@gnu.org, emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Mar 28 02:57:39 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 1HWMTr-0007lY-7j for ged-emacs-devel@m.gmane.org; Wed, 28 Mar 2007 02:57:39 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWMWG-0005Uk-G1 for ged-emacs-devel@m.gmane.org; Tue, 27 Mar 2007 20:00:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HWMWC-0005RM-GI for emacs-devel@gnu.org; Tue, 27 Mar 2007 21:00:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HWMWB-0005Nf-4p for emacs-devel@gnu.org; Tue, 27 Mar 2007 21:00:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWMWA-0005NO-Sg for emacs-devel@gnu.org; Tue, 27 Mar 2007 20:00:02 -0500 Original-Received: from tomts20.bellnexxia.net ([209.226.175.74] helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HWMTj-0007ER-F8; Tue, 27 Mar 2007 20:57:31 -0400 Original-Received: from pastel.home ([70.55.83.113]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20070328005730.XUAF1637.tomts20-srv.bellnexxia.net@pastel.home>; Tue, 27 Mar 2007 20:57:30 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id E09A5812C; Tue, 27 Mar 2007 20:57:29 -0400 (EDT) In-Reply-To: (Richard Stallman's message of "Mon\, 26 Mar 2007 19\:14\:21 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Solaris 8 (1) 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:68690 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? No. Not just in .emacs. > Or do you mean only use one encoding for all the files you edit? And not only that: also for keyboard-coding-system, locale-coding-system, ... >> 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? I have no idea where to put such a thing. Stefan