all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* mode for editing installscript
@ 2004-12-17 13:53 John Russell
  2004-12-20 15:33 ` John Russell
  0 siblings, 1 reply; 2+ messages in thread
From: John Russell @ 2004-12-17 13:53 UTC (permalink / raw)


I have to edit InstallScript code which is the languange used by InstallShield.
I would like to use emacs but I can't find a good mode for it.  I use C-mode
by default which does OK with some syntax highlighting but the indentation
is all wrong because of the installscript language sturcture.

e.g.

function <functionname>()
         STRING st1
         NUMBER nr1
         BOOL   b1
begin

        if something then
           stuff
        endif;

        <other things>
endif;


Does anyone know of a mode that might be helpful here.  Or at least, a
way to disable the autoinending in C-mode so I can use syntax
highlighting but use tabs a la text-mode.  Thanks a lot.

John
-- 

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

* Re: mode for editing installscript
  2004-12-17 13:53 mode for editing installscript John Russell
@ 2004-12-20 15:33 ` John Russell
  0 siblings, 0 replies; 2+ messages in thread
From: John Russell @ 2004-12-20 15:33 UTC (permalink / raw)


John Russell <jorussel@cisco.com> writes:

> I have to edit InstallScript code which is the languange used by InstallShield.
> I would like to use emacs but I can't find a good mode for it.  I use C-mode
> by default which does OK with some syntax highlighting but the indentation
> is all wrong because of the installscript language sturcture.
>
> e.g.
>
> function <functionname>()
>          STRING st1
>          NUMBER nr1
>          BOOL   b1
> begin
>
>         if something then
>            stuff
>         endif;
>
>         <other things>
> endif;
>
>
> Does anyone know of a mode that might be helpful here.  Or at least, a
> way to disable the autoinending in C-mode so I can use syntax
> highlighting but use tabs a la text-mode.  Thanks a lot.
>

Does anyone know of any other language that even has this kind syntax
which might work better than c-mode? Thanks.

John
-- 

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

end of thread, other threads:[~2004-12-20 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-17 13:53 mode for editing installscript John Russell
2004-12-20 15:33 ` John Russell

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.