emacs and /etc/alternatives

Garrick Staples garrick at usc.edu
Thu Mar 8 22:06:44 UTC 2007


On Thu, Mar 08, 2007 at 03:43:15PM -0500, Chip Coldwell alleged:
> On Thu, 8 Mar 2007, Toshio Kuratomi wrote:
> >
> > IMHO, a /usr/bin/emacs script which does autodetection and looks in an
> > ENV variable for a user defined preference is a cleaner interface for
> > the user.
> 
> Why is a script that checks a user-defined ENV variable preferable to
> a user-defined shell alias?

Shell aliases aren't exportable, so it only helps if the user defines an
alias for the *correct* shell.

Env vars export nicely down through any child processes.

-- 
Garrick Staples, GNU/Linux HPCC SysAdmin
University of Southern California
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-maintainers/attachments/20070308/1fa1b337/attachment.sig>


More information about the Fedora-maintainers mailing list