unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#8086: shell-script mode doesn't indent properly for the 'select' statement
@ 2011-02-20  5:56 ` jidanni
  2011-07-15 23:20   ` Glenn Morris
  2011-07-15 23:35   ` bug#8086: closed (Re: bug#8086: shell-script mode doesn't indent properly for the 'select' statement) jidanni
  0 siblings, 2 replies; 3+ messages in thread
From: jidanni @ 2011-02-20  5:56 UTC (permalink / raw)
  To: 8086

shell-script mode doesn't indent properly for the 'select' statement
Maybe it has never heard of it, among other things.

select kernel
do
aptitude purge $kernel #not indented by TAB but should be
break
done

for i
do
    bla
done





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

* bug#8086: shell-script mode doesn't indent properly for the 'select' statement
  2011-02-20  5:56 ` bug#8086: shell-script mode doesn't indent properly for the 'select' statement jidanni
@ 2011-07-15 23:20   ` Glenn Morris
  2011-07-15 23:35   ` bug#8086: closed (Re: bug#8086: shell-script mode doesn't indent properly for the 'select' statement) jidanni
  1 sibling, 0 replies; 3+ messages in thread
From: Glenn Morris @ 2011-07-15 23:20 UTC (permalink / raw)
  To: 8086-done

jidanni@jidanni.org wrote:

> select kernel
> do
> aptitude purge $kernel #not indented by TAB but should be
> break
> done

Works for me in every release from at least 22.1.

emacs -Q -f sh-mode

which uses "Shell-script[bash]".

Perhaps the complaint is that it is not recognized in "sh" (as opposed
to "bash") mode? If so, I tried /bin/sh on Solaris and it did not accept
this syntax. So it does not seem appropriate for sh-mode to recognize
this for "sh".






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

* bug#8086: closed (Re: bug#8086: shell-script mode doesn't indent properly for the 'select' statement)
  2011-02-20  5:56 ` bug#8086: shell-script mode doesn't indent properly for the 'select' statement jidanni
  2011-07-15 23:20   ` Glenn Morris
@ 2011-07-15 23:35   ` jidanni
  1 sibling, 0 replies; 3+ messages in thread
From: jidanni @ 2011-07-15 23:35 UTC (permalink / raw)
  To: 8086

> emacs -Q -f sh-mode
Which turns on bash mode. So maybe this isn't a problem anymore.





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

end of thread, other threads:[~2011-07-15 23:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <handler.8086.D8086.131077201523296.notifdone@debbugs.gnu.org>
2011-02-20  5:56 ` bug#8086: shell-script mode doesn't indent properly for the 'select' statement jidanni
2011-07-15 23:20   ` Glenn Morris
2011-07-15 23:35   ` bug#8086: closed (Re: bug#8086: shell-script mode doesn't indent properly for the 'select' statement) jidanni

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).