From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yves Baumes Newsgroups: gmane.emacs.help Subject: Re: Problem setting-up Emacs & Links WWW browser Date: Sun, 11 Nov 2012 11:47:56 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352630896 6880 80.91.229.3 (11 Nov 2012 10:48:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Nov 2012 10:48:16 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "A. Kong" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 11 11:48:25 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TXV5U-0008A5-PO for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Nov 2012 11:48:24 +0100 Original-Received: from localhost ([::1]:40034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXV5L-0000pf-0v for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Nov 2012 05:48:15 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:41386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXV5C-0000pZ-TZ for help-gnu-emacs@gnu.org; Sun, 11 Nov 2012 05:48:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXV59-0007Ci-Rx for help-gnu-emacs@gnu.org; Sun, 11 Nov 2012 05:48:06 -0500 Original-Received: from mail-wi0-f177.google.com ([209.85.212.177]:50108) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXV59-0007Cd-KP for help-gnu-emacs@gnu.org; Sun, 11 Nov 2012 05:48:03 -0500 Original-Received: by mail-wi0-f177.google.com with SMTP id c10so406406wiw.12 for ; Sun, 11 Nov 2012 02:48:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=Yi6/4tjedIghS52TfvwU0NbdIdgnKyjbM//Z4Dal3mc=; b=nlYWDr0zdVzN0bpre2vcXjpAmerXHntfG+4gIznuWbJwLYv/61vqprCf5em6/hOhiS FLuOcSqQeg2yDrGw7bo2Q/Oz7e26YpDKaSclBzVCyzTw9nLak5BvwuhM9qG+xlMsZRTX sajxs/usqFZLPPU3+nd01PSX4YUqPLUlTp2UW4WzJVKxULmV/vZdjOntvO2DZ7D5rJKO DnY37xKptd23S27TxAa6qRtBp6SCvMNYq50t1c8jCTrO2ALiotDa0i6LBZA3nPtoRvJJ kFAr3l0NYHoXuniC/b0Onoq5x4BEwKScV/65ojtk9NRqgco/5ohp+BIW7wjJ4VfzOFyQ Ez4g== Original-Received: by 10.216.216.220 with SMTP id g70mr6250953wep.83.1352630882757; Sun, 11 Nov 2012 02:48:02 -0800 (PST) Original-Received: from mac-mini-de-yves-baumes.local.localhost (rke75-2-82-66-91-208.fbx.proxad.net. [82.66.91.208]) by mx.google.com with ESMTPS id f1sm9773333wiy.2.2012.11.11.02.48.00 (version=SSLv3 cipher=OTHER); Sun, 11 Nov 2012 02:48:01 -0800 (PST) In-Reply-To: (A. Kong's message of "Sat, 10 Nov 2012 15:25:52 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (darwin) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.212.177 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87639 Archived-At: "A. Kong" writes: > Hello, Hi! > The official Links mailing list seems to be down, so I thought I'd > ask here. > > xterm displays this error when I try to load a link in emacs: > > /usr/bin/xterm: Can't execvp links: No such file or directory > > Where to I make the edit so that Emacs knows where Links is located? First, make sure links is installed on your device :-). Then locate it in your terminal, with a command like `which links` (or `type links` if I remember correctly for a bash shell). Then in Emacs, look into the 'exec-path variable. To do so, invoke the 'describe-variable function with the following key sequence: "C-h v". A prompt will ask you which variable you want it to describe, type in the variable name : "exec-path" and push enter. A new window should pop up, its content must look like: ---- exec-path is a variable defined in `C source code'. Its value is ("/usr/bin" "/bin" "/usr/sbin" "/sbin" "/usr/local/bin" "/usr/X11/bin" "/opt/local/bin" "/usr/local/git/bin" ... ---- (I won't paste the whole content here) The directory containing links must not be present. You must add it yourself, with somethink like: (setq exec-path (append exec-path '("/path-to-the-links-directory/"))) Copy/paste this line in you scratch buffer and execute it, that is go to the end of the line and type in the following sequence: "C-x C-e". You must see the new 'exec-path value appearing in the echo area, at the bottom of your Emacs' frame. If you're not sure or if the result vanished before you had the opportunity to check, just re-launch the 'describe-variable key sequence. As told previously it is "C-h v" then type in "exec-path". If you want the modification to be permanent, copy/paste "(setq ...)" line in your .emacs file. Regards Yves