> 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 _______________________________________________ gnu-emacs-sources mailing list [email protected] https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources
