From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: bzr emacs Date: Wed, 30 Dec 2009 23:17:58 +0100 Message-ID: <87r5qcjecp.fsf@thinkpad.tsdh.de> References: <87fx6u7wsd.fsf@gmail.com> <87bphh8yf1.fsf@gmail.com> <3882109e-3cfd-4a33-9db2-0de33fcefbd4@upsg2000gro.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262211597 1202 80.91.229.12 (30 Dec 2009 22:19:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Dec 2009 22:19:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 30 23:19:47 2009 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.50) id 1NQ6tO-0007L7-FC for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Dec 2009 23:19:46 +0100 Original-Received: from localhost ([127.0.0.1]:41725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQ6tO-0004ax-JS for geh-help-gnu-emacs@m.gmane.org; Wed, 30 Dec 2009 17:19:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQ6sJ-0003zA-9z for help-gnu-emacs@gnu.org; Wed, 30 Dec 2009 17:18:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQ6sE-0003uS-Dk for help-gnu-emacs@gnu.org; Wed, 30 Dec 2009 17:18:38 -0500 Original-Received: from [199.232.76.173] (port=46002 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQ6sE-0003uF-7F for help-gnu-emacs@gnu.org; Wed, 30 Dec 2009 17:18:34 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:53108) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NQ6sD-0005s8-Sa for help-gnu-emacs@gnu.org; Wed, 30 Dec 2009 17:18:34 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NQ6sA-0006zT-5a for help-gnu-emacs@gnu.org; Wed, 30 Dec 2009 23:18:30 +0100 Original-Received: from p54af2016.dip0.t-ipconnect.de ([84.175.32.22]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Dec 2009 23:18:30 +0100 Original-Received: from tassilo by p54af2016.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 30 Dec 2009 23:18:30 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54af2016.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) Cancel-Lock: sha1:3XFOHX1UBzTluoR+dMjTKaKq8m4= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:70963 Archived-At: Cena Mayo writes: Hi Cena, > Yes, I su'ed the install and there is an emacs in /usr/local/bin; /usr/ > bin IS in my path. (echo $PATH= > /sbin:/bin:/usr/sbin:/usr/bin). Yeah, /usr/bin is in your PATH, but not /usr/local/bin. (BTW, /sbin and /usr/sbin/ should not be in your normal user's path). So add export PATH=$PATH:/usr/local/bin to your ~/.bashrc (or whatever shell you're using). > However, attempting to run the emacs in /usr/local/bin, although > clearly 'there', also results in a 'emacs: command not found.' How do you run it there? Even when you are in /usr/local/bin, you have to start it with ./emacs. Have a look at this Q&A, which sounds similar to your problem [1]. If you ask yourself why you cannot execute a program or script in the current directory by only giving it's name, read [2] to figure out how you can do that, but also why you don't want to do so. Bye, Tassilo __________ [1] http://www.computing.net/answers/linux/run-shell-script-on-linux/28735.html [2] http://www.faqs.org/faqs/unix-faq/faq/part2/section-13.html