all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yves Baumes <ybaumes@gmail.com>
To: "A. Kong" <akagikong@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Problem setting-up Emacs & Links WWW browser
Date: Sun, 11 Nov 2012 11:47:56 +0100	[thread overview]
Message-ID: <m2txsw2z6r.fsf@gmail.com> (raw)
In-Reply-To: <mailman.12722.1352588535.855.help-gnu-emacs@gnu.org> (A. Kong's message of "Sat, 10 Nov 2012 15:25:52 -0500")

"A. Kong" <akagikong@gmail.com> 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



       reply	other threads:[~2012-11-11 10:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.12722.1352588535.855.help-gnu-emacs@gnu.org>
2012-11-11 10:47 ` Yves Baumes [this message]
2012-11-10 20:25 Problem setting-up Emacs & Links WWW browser A. Kong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2txsw2z6r.fsf@gmail.com \
    --to=ybaumes@gmail.com \
    --cc=akagikong@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.