From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pjb@informatimago.com (Pascal J. Bourguignon) Newsgroups: gmane.emacs.help Subject: Re: test for presence of library Date: Thu, 25 Feb 2010 21:17:36 +0100 Organization: Informatimago Message-ID: <87ljehcbof.fsf@galatea.lan.informatimago.com> References: <87mxz6116b.fsf@galatea.lan.informatimago.com> <87fx4u6nfg.fsf@galatea.lan.informatimago.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1267130502 8896 80.91.229.12 (25 Feb 2010 20:41:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 25 Feb 2010 20:41:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 25 21:41:38 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NkkWg-00009E-5h for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Feb 2010 21:41:38 +0100 Original-Received: from localhost ([127.0.0.1]:45785 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NkkWf-0001fe-Nl for geh-help-gnu-emacs@m.gmane.org; Thu, 25 Feb 2010 15:41:37 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-X-Trace: individual.net njdBa3aBgHahSA4w/0plRw67H++sN8jQ4hzZ0tpb4n+yhKDBH2 Cancel-Lock: sha1:OTQ2YzA3ZTQ2MDk4ZDY3MDRjZmI5NjJmNzZmMGFmMWIyMzNkZmJhOA== sha1:hJJjerkt1ZHk9OgTWV04tVa0h4Y= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en X-Disabled: X-No-Archive: no User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Original-Xref: news.stanford.edu gnu.emacs.help:177101 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:72139 Archived-At: Harry Putnam writes: > Sorry for my tardy response... I got distracted for a while. > > Thanks posters one and all... good suggestions and great helpful > info. I have several solutions now. > > One case, the one that actually pertains here that didn't get > mentioned by TimX is where something being required is only useful in > certain environments.. > > An example might be using emacs as root when doing system configs. > > There are really quite a few aspects of emacs I'll never use in that > situation. Yet its handy to have a portable emacs that loads the stuff > I need in some environments but skips it when working as root doing > system configs. > > Or maybe running emacs as user but while setting up a new os where I > won't expect many things to be available... > > In those cases the idea that things may fail down the road from not > loading certain libs is not a problem since those things will not even > be attempted. > > Now I know how to do it. Really, when you are in for a quick edit (vi-like) with emacs as root, just use: emacs -nw -q or: alias ed='emacs -nw -q' ed ;-) -- __Pascal Bourguignon__