all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Harry Putnam <reader@newsguy.com>
Subject: Re: browse url function and w3m
Date: Mon, 17 Nov 2003 12:06:03 -0600	[thread overview]
Message-ID: <m34qx26fas.fsf@newsguy.com> (raw)
In-Reply-To: 3FB9009B.8090105@yahoo.com

Kevin Rodgers <ihs_4664@yahoo.com> writes:

> Harry Putnam wrote:
>
>> How can I set `browse-url-browser-function' to `w3m-browse-url'
>> but only when html-helper-mode is invoked?
>
> Just a guess:
>
>
> (add-hook 'html-helper-mode-hook
> 	  (lambda ()
> 	    (set (make-local-variable 'browse-url-browser-function)
> 		 'w3m-browse-url)))

Good guess Kevin thanks.  I see there is another problem involved and
maybe pushing my luck here but here goes:

With the above in place, the effect is for w3m to browse the subject
file (in working html buffer) when one calles `browse-url-of-file'.
Only problem is that it pulls it up in a *w3m* buffer you then have to
switch to.

I don't see a function in w3m commands that will make it appear in
another window or even frame, can you take a guess at how to make the
browsed file appear in an immediately accessable window or even for
focus to switch to wherever it is being browsed?

  reply	other threads:[~2003-11-17 18:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.149.1069050994.399.help-gnu-emacs@gnu.org>
2003-11-17 17:08 ` browse url function and w3m Kevin Rodgers
2003-11-17 18:06   ` Harry Putnam [this message]
2003-11-17 19:32     ` Kevin Rodgers
2003-11-18 17:23       ` Harry Putnam
     [not found]       ` <mailman.227.1069179948.399.help-gnu-emacs@gnu.org>
2003-11-18 19:15         ` Kevin Rodgers
2003-11-18 21:12           ` Harry Putnam
     [not found]           ` <mailman.237.1069193679.399.help-gnu-emacs@gnu.org>
2003-11-19 17:28             ` Kevin Rodgers
2003-11-17  5:34 Harry Putnam

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=m34qx26fas.fsf@newsguy.com \
    --to=reader@newsguy.com \
    /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.