From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8122: 23.2.94; (prefer-coding-system 'utf-8) changes indentation behavior for emacsclient Date: Sat, 26 Feb 2011 14:56:37 -0500 Message-ID: References: <20110226143116.GB6286@srevilak.net> <83y652oikf.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1298750828 11745 80.91.229.12 (26 Feb 2011 20:07:08 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Feb 2011 20:07:08 +0000 (UTC) Cc: 8122@debbugs.gnu.org, Steve Revilak To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 26 21:07:03 2011 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.69) (envelope-from ) id 1PtQPu-0006KS-TS for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Feb 2011 21:07:03 +0100 Original-Received: from localhost ([127.0.0.1]:47915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtQPu-000212-34 for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Feb 2011 15:07:02 -0500 Original-Received: from [140.186.70.92] (port=35904 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtQPi-0001xI-Ca for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2011 15:06:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtQPd-00053G-M8 for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2011 15:06:50 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtQPd-00053C-JH for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2011 15:06:45 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PtQGD-0003xA-Qt; Sat, 26 Feb 2011 14:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Feb 2011 19:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8122 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 8122-submit@debbugs.gnu.org id=B8122.129875020715174 (code B ref 8122); Sat, 26 Feb 2011 19:57:01 +0000 Original-Received: (at 8122) by debbugs.gnu.org; 26 Feb 2011 19:56:47 +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 1PtQFy-0003wh-2V for submit@debbugs.gnu.org; Sat, 26 Feb 2011 14:56:46 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtQFv-0003wU-D9 for 8122@debbugs.gnu.org; Sat, 26 Feb 2011 14:56:44 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEACfpaE1FpZIs/2dsb2JhbACmRXW7FIVhBIUQj18 X-IronPort-AV: E=Sophos;i="4.62,232,1297054800"; d="scan'208";a="93668567" Original-Received: from 69-165-146-44.dsl.teksavvy.com (HELO ceviche.home) ([69.165.146.44]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 26 Feb 2011 14:56:37 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 885BA660D6; Sat, 26 Feb 2011 14:56:37 -0500 (EST) In-Reply-To: <83y652oikf.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 26 Feb 2011 18:40:32 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 26 Feb 2011 14:57:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 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:44395 Archived-At: > I propose the following change to fix this: Sounds right, thank you, Stefan > --- lisp/international/mule-cmds.el~0 2011-01-08 12:45:14.000000000 -0500 > +++ lisp/international/mule-cmds.el 2011-02-26 11:32:22.483284753 -0500 > @@ -368,7 +368,8 @@ > (coding-system-get coding-system 'ascii-compatible-p))) > (setq default-file-name-coding-system coding-system))) > (setq default-terminal-coding-system coding-system) > - (setq default-keyboard-coding-system coding-system) > + (setq default-keyboard-coding-system > + (coding-system-change-eol-conversion coding-system 'unix)) > ;; Preserve eol-type from existing default-process-coding-systems. > ;; On non-unix-like systems in particular, these may have been set > ;; carefully by the user, or by the startup code, to deal with the