emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Indentation in shell-script-mode in combination with global-font-lock-mo


From: Lute Kamstra
Subject: Indentation in shell-script-mode in combination with global-font-lock-mode.
Date: Thu, 31 Jul 2003 18:06:58 +0200

I start Emacs with

  emacs -q --no-site-file example.sh

to end up in shell-script-mode.

Lines terminated with an `\' are now indented as follows:

first \
    second

If I start font-locking by typing M-x global-font-lock-mode
indentation is like this:

first \
second

(Cf. Recent input below)

Strange, is it not?


  Lute.


In GNU Emacs 21.3.50.2 (i686-pc-linux-gnu, GNU/LessTif Version 1.2 Release 
0.93.18)
 of 2003-07-31 on occarina.pna.cwi.nl
configured using `configure '--enable-maintainer-mode' '--with-x-toolkit=motif' 
'CFLAGS=-g''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: C
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Recent input:
f i r s t SPC \ <return> s e c o n d <tab> C-x u M-x 
g l o b a l - f o n t - l o c k - m o d e <return> 
<tab> M-x r e p o r t - e m a c s - b u g <return>

Recent messages:
(New file)
Loading sh-script...done
Setting up indent for shell type bash
Loading regexp-opt...done
setting up indent stuff
Indentation variable are now local.
Indentation setup for shell type bash
Undo!
Loading font-lock...done
Loading emacsbug...done




reply via email to

[Prev in Thread] Current Thread [Next in Thread]