---cut--- If you're using GNU Emacs, you can put the following in your ~/.emacs: (defun ebuild-mode () (shell-script-mode) (sh-set-shell "bash") (make-local-variable 'tab-width) (setq tab-width 4)) (setq auto-mode-alist (cons '("\\.ebuild\\'" . ebuild-mode) auto-mode-alist)) (setq auto-mode-alist (cons '("\\.eclass\\'" . ebuild-mode) auto-mode-alist)) ---cut--- Background: this defines a simple function which inherits everything from Emacs' shell-script mode and sets a few variables for .ebuild and .eclass editing. I've been using this for about a year for my own dev work. It works fine for me. Matt
I will take care of this
i just tested this in XEmacs and it works fine for me so changing the first line to -------------- If you're using GNU Emacs or XEmacs, you can put the following in your ~/.emacs for GNU Emacs or your init.el file file XEmacs: -------------- would be good