Josh Huber wrote: > Christian Szegedy <szegedy / nospam.or.uni-bonn.de> writes: > > >>Does someone know how to achieve that each >>newly constructed Ruby files have >>executable permission. [snip] > > Try this in your .emacs (or .xemacs/init.el, whichever you use): > > (require 'after-save-commands) > (add-to-list 'After-save-alist > '(("\.rb$" nil nil "chmod +x $f"))) > > seems to work for me... > This doesn't work for me under FSF Emacs 20.7. I don't have after-save-commands. Has anyone gotten this to work with FSF Emacs or is it XEmacs specific? -- Heath Holcomb bluetea at nc.rr.com