From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Daniel Daboul Newsgroups: gmane.emacs.bugs Subject: bug#18756: 24.4; shell-script-mode does wrong indentation Date: Sat, 18 Oct 2014 21:49:37 +0300 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bea3de6b210bc0505b6f264 X-Trace: ger.gmane.org 1413658283 4202 80.91.229.3 (18 Oct 2014 18:51:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 18 Oct 2014 18:51:23 +0000 (UTC) Cc: 18756@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 18 20:51:16 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 1XfZ5w-00024V-5I for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2014 20:51:16 +0200 Original-Received: from localhost ([::1]:37463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfZ5v-0008BS-Rz for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Oct 2014 14:51:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39111) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfZ5n-0008BN-BA for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 14:51:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XfZ5i-0002A7-GI for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 14:51:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:34931) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XfZ5i-0002A1-Bj for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 14:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XfZ5i-0002Bp-0I for bug-gnu-emacs@gnu.org; Sat, 18 Oct 2014 14:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Daboul Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Oct 2014 18:51:01 +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.14136582108348 (code B ref 18756); Sat, 18 Oct 2014 18:51:01 +0000 Original-Received: (at 18756) by debbugs.gnu.org; 18 Oct 2014 18:50:10 +0000 Original-Received: from localhost ([127.0.0.1]:55262 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfZ4r-0002AZ-2H for submit@debbugs.gnu.org; Sat, 18 Oct 2014 14:50:09 -0400 Original-Received: from mail-wi0-f171.google.com ([209.85.212.171]:48283) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XfZ4l-00029r-L4 for 18756@debbugs.gnu.org; Sat, 18 Oct 2014 14:50:05 -0400 Original-Received: by mail-wi0-f171.google.com with SMTP id em10so4299093wid.10 for <18756@debbugs.gnu.org>; Sat, 18 Oct 2014 11:49:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:cc :content-type; bh=ox5lrui13qlnDiKggro4e9EsiweU3Lc+QHc1ioE06Mw=; b=CPHD+SZa7cBiOYEEsrkwrl6ffzyMAPpZcWiOa5BsbYVwnOdkJH329j6sd6QcGVylpk Qdi0eOOsZ/+nlDDSmf3yBW39RQJu9bK9CguwObxojsp3o/5vuijFRFTi0bmFX+P5lgOi IuiSqXbAxUrJ9cFLOgyHJqxlBBTjfadh5Vtu/MM7y+vyA2UfU2Ib25ObGFBJ3rfVf117 QdBu0ZzTpvTV6i+osf4T7+6eo21qXrcpjLwCF2e+rfdnzahXsCKf4G80CSwAUyF8wqqD 8WmSEkPh3xtoFIF90RLPhsUuDTBiosHT52N7tDIjzGlx+c/D9VdDJv/yv+Yw0dxWVYLU v1eQ== X-Received: by 10.194.81.6 with SMTP id v6mr19612034wjx.39.1413658197494; Sat, 18 Oct 2014 11:49:57 -0700 (PDT) Original-Received: by 10.217.91.70 with HTTP; Sat, 18 Oct 2014 11:49:37 -0700 (PDT) In-Reply-To: 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:94749 --047d7bea3de6b210bc0505b6f264 Content-Type: text/plain; charset=UTF-8 On Sat, Oct 18, 2014 at 1:35 AM, Glenn Morris wrote: > > I cannot reproduce this with `emacs -Q'. > > (Since you reported this twice, I will delete the other bug, #18755) > 1. Thank you for deleting the duplicate. I thought my first e-mail didn't make it. 2. I also used "src/emacs-24.4.1 -Q" or "src/emacs-24.4.1 -Q -nw", which makes no difference for this problem. 3. However, I get the buggy behavior only on "SUSE Linux Enterprise Server" version 10 and 11 (sles10, sles11). Today I compiled emacs on a "Debian testing" system, where I do not see the problem. 4. While trying more, I noticed that this is actually not a problem specific to the shell-mode. It similarly happens in fundamental mode (but again only on SUSE). So if I type in an empty buffer in "Fundamental" mode: 1234 ... I end up with this: (4 spaces)1 (1 tab)2 (1 tab,4 spaces)3 (2 tabs)4 5. Can someone suggest how to debug this further or find a local fix? With best regards, Daniel --047d7bea3de6b210bc0505b6f264 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On S= at, Oct 18, 2014 at 1:35 AM, Glenn Morris <rgm@gnu.org> wrote:
=

I cannot reproduce this with `emacs -Q'.

(Since you reported this twice, I will delete the other bug, #18755)

1. Thank you for de= leting the duplicate. I thought my first e-mail
didn't make it.
<= br>
2. I also used "src/emacs-24.4.1 -= Q" or
"src/emacs-24.4.1 -Q -nw", which makes no differenc= e for this problem.

3. However, I g= et the buggy behavior only on
"SUSE Linux Enterprise Server"= =C2=A0 version 10 and 11 (sles10, sles11).
Today I compiled emacs on a "Debian testing" system, where I = do
not see the problem.

4. While trying more, I noticed that this is actua= lly not a problem
specific to the shell= -mode. It similarly happens in fundamental mode
(but again only on SUSE). So if I type in an empty buffer in
"Fundamental" mode:
1<return>2<return>3<return>4<re= turn>

... I end up with this:
(4 spaces)1
(1 tab)2
(1 tab,4 spaces)3
<= /div>
(2 tabs)4

5. Can someone suggest how to debug= this further or find a local fix?

= With best regards, Daniel
--047d7bea3de6b210bc0505b6f264--