From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii 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 17:37:49 +0200 Message-ID: <8362s6q01e.fsf@gnu.org> References: <20110226143116.GB6286@srevilak.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1298737254 13038 80.91.229.12 (26 Feb 2011 16:20:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 26 Feb 2011 16:20:54 +0000 (UTC) Cc: 8122@debbugs.gnu.org To: Steve Revilak Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 26 17:20:46 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 1PtMsv-00055t-CC for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Feb 2011 17:20:45 +0100 Original-Received: from localhost ([127.0.0.1]:53327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtMsu-0004Ne-Ne for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Feb 2011 11:20:44 -0500 Original-Received: from [140.186.70.92] (port=48727 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PtMfS-0006H8-TP for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2011 11:06:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PtMfR-0003Su-RT for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2011 11:06:50 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PtMfR-0003Sq-OV for bug-gnu-emacs@gnu.org; Sat, 26 Feb 2011 11:06:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PtMDc-0006de-A6; Sat, 26 Feb 2011 10:38:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii 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 15:38:04 +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.129873468025502 (code B ref 8122); Sat, 26 Feb 2011 15:38:04 +0000 Original-Received: (at 8122) by debbugs.gnu.org; 26 Feb 2011 15:38:00 +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 1PtMDW-0006dH-KD for submit@debbugs.gnu.org; Sat, 26 Feb 2011 10:37:58 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PtMDS-0006cv-UI for 8122@debbugs.gnu.org; Sat, 26 Feb 2011 10:37:56 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LH800500E2MQJ00@a-mtaout23.012.net.il> for 8122@debbugs.gnu.org; Sat, 26 Feb 2011 17:37:45 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.53.157]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LH8005MEE2V91C0@a-mtaout23.012.net.il>; Sat, 26 Feb 2011 17:37:45 +0200 (IST) In-reply-to: <20110226143116.GB6286@srevilak.net> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 26 Feb 2011 10:38:04 -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:44391 Archived-At: > Date: Sat, 26 Feb 2011 09:31:16 -0500 > From: Steve Revilak > Cc: > > (3) In the buffer for a.txt, type the lines that appear below. Do not > press return after typing "ccc" > > aaa > bbb > > ccc > > (4) With point at the end of line "ccc", press RETURN. If "ccc" > appeared in line 5 of the buffer, then the cursor will appear at > line 6, column 2. > > Expected behavior: after pressing RETURN, the cursor should have > appeared line line 6, column 0. This happens because RET is somehow perceived as C-j, which invokes newline-and-indent, and not as RET that runs newline. Try "C-h c RET" and see what it says. I have no idea how prefer-coding-system is able to modify the way RET is interpreted by Emacs.