emacs-devel
[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: Thu, 01 Dec 2011 12:51:33 -0500
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.

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]