gnu-emacs-sources
[Top][All Lists]
Advanced

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

Re: Electric command in sh mode


From: Stefan Monnier
Subject: Re: Electric command in sh mode
Date: Wed, 28 Mar 2012 19:04:56 -0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

> I have implemented electric command for shell script. It will re indent
> when entering '}', 'fi', 'done', etc.. If there is interest I can write
> a patch to include it in emacs proper.

> http://kanis.fr:/vcs/emacs/init/ivan-shell.el

If you can write a patch that makes it work with electric-indent-mode
(new in Emacs-24), then I'd be happy to consider it for Emacs-24.2.

Such a patch should not feel obliged to avoid changing electric.el, tho
any changes made there should be generic rather than specific to
shell-scripts.


        Stefan


reply via email to

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