all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lute Kamstra <Lute.Kamstra@cwi.nl>
Subject: Re: customization of browse-url has no effect
Date: Thu, 08 May 2003 14:22:54 +0200	[thread overview]
Message-ID: <sgdvfwl7hlt.fsf@occarina.pna.cwi.nl> (raw)
In-Reply-To: <87issl7iya.fsf@web.de> (upro@gmx.net's message of "Thu, 08 May 2003 13:53:49 +0200")

upro <upro@gmx.net> writes:

> I want to use lynx (in an emacs window) as browsewr from within emacs.
>
> Via M-x customize I specified links as browser. In .emacs this looks
>  lke this:
>
> (custom-set-variables 
> '(browse-url-browser-function (quote browse-url-lynx-emacs)) 
> )
>
> It works fine immediately after clicking on "save changes for this
> session" and "save session for future sessions", but aftre shutting
> down emacs and restarting the program it stops working. When hitting
> return on a link (or clicking on it) I get the error message:
> "Searching for program: file or directory not found, netscape"

What is the value of the browse-url-browser-function variable (type
C-h v browse-url-browser-function RET to find out) after you started
Emacs for the second time?  If it is not browse-url-lynx-emacs, then
either 1) your .emacs with the above code snippet was not loaded, or
2) there is something in your .emacs after the code snippet that
changes browse-url-browser-function, or 3) you have a default.el that
does this.  To test the latter possibility, put

(setq inhibit-default-init t)

in your .emacs to prevent loading default.el.

Lute.

-- 
(spook) => "undercover mindwar infowar"
(insert-file-contents "~/.signature") => (error "`~/.signature' too rude")

  reply	other threads:[~2003-05-08 12:22 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-05-08 11:53 customization of browse-url has no effect upro
2003-05-08 12:22 ` Lute Kamstra [this message]
2003-05-08 12:25   ` upro
2003-05-08 12:48     ` Johan Bockgård
2003-05-08 15:21       ` upro
2003-05-08 15:42         ` Lute Kamstra
2003-05-08 15:43           ` upro
2003-05-08 12:55     ` Lute Kamstra
2003-05-08 15:25       ` upro
2003-05-08 19:32         ` Peter Lee
2003-05-08 23:44           ` Johan Bockgård

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=sgdvfwl7hlt.fsf@occarina.pna.cwi.nl \
    --to=lute.kamstra@cwi.nl \
    /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.