Re: emacs and /etc/alternatives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2007-03-08 at 17:16 -0500, Matthew Miller wrote:
> On Thu, Mar 08, 2007 at 02:05:42PM -0800, Toshio Kuratomi wrote:
> > > Why is a script that checks a user-defined ENV variable preferable to
> > > a user-defined shell alias?
> > Example: network shared home directories.  When mounted on the server, I
> > might have emacs-nox, on the lab computer emacs-gtk and emacs-nox, and
> > on my workstation emacs-gtk only.  If the home directory is nfs mounted
> > how can I set the alias in this environment?  Having a script that does
> > autodetection and has a "user prefers" setting makes more sense.
> 
> 
> But it's trivial. If you always want the text version:
> 
>  alias emacs "emacs -nw"
> 
> and if you want the GUI version when available, don't alias anything.
> 
Depends on your reason for wanting the text version :-)  If you just
want to use it within a terminal then -nw works.  If you don't want to
load the gtk libraries then you have to actually use -nox. (Not as much
of an issue in these days of openoffice, firefox, and evolution, I
know :-)

-Toshio

Attachment: signature.asc
Description: This is a digitally signed message part

--
Fedora-maintainers mailing list
Fedora-maintainers@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers
--
Fedora-maintainers-readonly mailing list
Fedora-maintainers-readonly@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-maintainers-readonly

[Index of Archives]     [Fedora Users]     [Fedora Development]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux