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#18756: 24.4; shell-script-mode does wrong indentation Date: Mon, 20 Oct 2014 18:20:26 +0300 Message-ID: <83zjcqbwed.fsf@gnu.org> References: <7kr3y3b8xl.fsf@fencepost.gnu.org> <87egu2zvad.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1413818484 14801 80.91.229.3 (20 Oct 2014 15:21:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2014 15:21:24 +0000 (UTC) Cc: 18756@debbugs.gnu.org To: Alexis , Daniel Daboul Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 17:21:17 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XgElo-0008V2-W6 for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 17:21:17 +0200 Original-Received: from localhost ([::1]:45464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgElo-0000oA-Ce for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Oct 2014 11:21:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57568) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgElg-0000nL-HP for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:21:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XgEla-0004wW-Ll for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:21:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XgEla-0004wS-IE for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XgEla-0005yQ-42 for bug-gnu-emacs@gnu.org; Mon, 20 Oct 2014 11:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Oct 2014 15:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18756 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 18756-submit@debbugs.gnu.org id=B18756.141381844622930 (code B ref 18756); Mon, 20 Oct 2014 15:21:02 +0000 Original-Received: (at 18756) by debbugs.gnu.org; 20 Oct 2014 15:20:46 +0000 Original-Received: from localhost ([127.0.0.1]:57404 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgElJ-0005xm-EL for submit@debbugs.gnu.org; Mon, 20 Oct 2014 11:20:45 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:56224) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XgElG-0005xS-4f for 18756@debbugs.gnu.org; Mon, 20 Oct 2014 11:20:44 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NDR005000RRGF00@mtaout24.012.net.il> for 18756@debbugs.gnu.org; Mon, 20 Oct 2014 18:14:00 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NDR0018Z0ZC8350@mtaout24.012.net.il>; Mon, 20 Oct 2014 18:14:00 +0300 (IDT) In-reply-to: <87egu2zvad.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:94824 > Resent-Sender: help-debbugs@gnu.org > From: Alexis > Date: Tue, 21 Oct 2014 00:59:08 +1100 > > Superficially, it looks like return/enter is only sending a line feed, > not a line feed + carriage return This doesn't seem to explain what the OP describes as happening both in GUI and TTY sessions: in the former case, we don't send any CR or LF characters to the screen to position the cursor, we do that via Xlib functions. Daniel, is it true that the problem exists in both GUI and text-mode sessions?