GNU bug report logs - #18756
24.4; shell-script-mode does wrong indentation

Previous Next

Package: emacs;

Reported by: Daniel Daboul <danieldaboul <at> gmail.com>

Date: Fri, 17 Oct 2014 19:56:02 UTC

Severity: normal

Tags: confirmed

Found in version 24.4

Fixed in version 24.5

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Daniel Daboul <danieldaboul <at> gmail.com>
Cc: 18756 <at> debbugs.gnu.org
Subject: bug#18756: 24.4; shell-script-mode does wrong indentation
Date: Sat, 18 Oct 2014 21:49:37 +0300
[Message part 1 (text/plain, inline)]
On Sat, Oct 18, 2014 at 1:35 AM, Glenn Morris <rgm <at> 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 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:
1<return>2<return>3<return>4<return>

... 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
[Message part 2 (text/html, inline)]

This bug report was last modified 10 years and 138 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.