unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* indent problem with tcsh script
@ 2005-11-03 21:42 Olive
  2005-11-03 22:25 ` Peter Dyballa
  0 siblings, 1 reply; 2+ messages in thread
From: Olive @ 2005-11-03 21:42 UTC (permalink / raw)


I use emacs 21.3. When I edit a tcsh script; the 
indent-according-to-mode command does not work properly: it shift the 
current line by a few spaces regardless of the position of this first line.
This happens either if I type the TAB key (which sould run the 
indent-according-to-mode; the value of tab-always-indent is set to t) or 
if I type manually M-x indent-according-to-mode.
If I edit a bash script, everything works as expected.

Is this a known bug, are there any workaround or does I miss something?

Olive

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: indent problem with tcsh script
  2005-11-03 21:42 indent problem with tcsh script Olive
@ 2005-11-03 22:25 ` Peter Dyballa
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Dyballa @ 2005-11-03 22:25 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 03.11.2005 um 22:42 schrieb Olive:

> I use emacs 21.3. When I edit a tcsh script; the 
> indent-according-to-mode command does not work properly: it shift the 
> current line by a few spaces regardless of the position of this first 
> line.
>

If you'd look into *Messages* or the mini-buffer you'd see:

	Loading sh-script...done
	No indentation for this shell type.

--
Greetings

   Pete

The box said "Use Windows 95 or better," so I got a Macintosh

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-11-03 22:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-03 21:42 indent problem with tcsh script Olive
2005-11-03 22:25 ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).