On Sun, Aug 24, 2008 at 8:46 AM, Pierre Gaston <[EMAIL PROTECTED]> wrote: > On Sat, 23 Aug 2008, Francis Moreau wrote: > >> I think I won't use VISUAL but start emacs in sh-mode if the file name >> argument matches "*bash-fc-*" pattern. It should be safe. >> > > adding the following in your .emacs should do the trick: (add-to-list > 'auto-mode-alist '("^/tmp/bash-fc" . sh-mode)) >
yep that's finally what I did. -- Francis