unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* strange W3 behavior
@ 2005-02-07 16:58 Josef Dalcolmo
  2005-02-07 17:14 ` Klaus Berndl
  0 siblings, 1 reply; 7+ messages in thread
From: Josef Dalcolmo @ 2005-02-07 16:58 UTC (permalink / raw)



I just installed W3 (4.0.47) on GNU Emacs 21.3.1 (compiled with mingw
running W2k) It basically works, but for normal http addresses I have
to start w3 twice to get the page. When setting the home page to a
local file it starts up and shows the page. Then I can click on an
external page, but still most of the time I have to press C-g and the
click again, othewise Emacs hangs, without ever getting to the page
(tried with www.google.com, www.yahoo.com).

Does anybody have an idea what is going on?

- Josef
-- 
-------------------------------------------------------------------
Dr. Josef Dalcolmo, von Hoerner & Sulger GmbH, D-68723 Schwetzingen
http://www.vh-s.de, e-mail: dalcolmo@vh-s.de, tel: +49-6202-5756-28
-------------------------------------------------------------------

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: strange W3 behavior
  2005-02-07 16:58 strange W3 behavior Josef Dalcolmo
@ 2005-02-07 17:14 ` Klaus Berndl
  2005-02-07 18:17   ` Josef Dalcolmo
  2005-02-08  1:32   ` Galen Boyer
  0 siblings, 2 replies; 7+ messages in thread
From: Klaus Berndl @ 2005-02-07 17:14 UTC (permalink / raw)


On 07 Feb 2005, Josef Dalcolmo wrote:

>  
>  I just installed W3 (4.0.47) on GNU Emacs 21.3.1 (compiled with mingw
>  running W2k) It basically works, but for normal http addresses I have
>  to start w3 twice to get the page. When setting the home page to a
>  local file it starts up and shows the page. Then I can click on an
>  external page, but still most of the time I have to press C-g and the
>  click again, othewise Emacs hangs, without ever getting to the page
>  (tried with www.google.com, www.yahoo.com).

Just for my interest: Why somebody uses something like Emacs/W3 to surf the
net instead of using something like the Firefox-Browser?? I can really not
understand this...but therefore i ask ;-)

Klaus

>  
>  Does anybody have an idea what is going on?
>  
>  - Josef

-- 
Klaus Berndl			mailto: klaus.berndl@sdm.de
sd&m AG				http://www.sdm.de
software design & management	
Carl-Wery-Str. 42, 81739 Muenchen, Germany
Tel +49 89 63812-392, Fax -220

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: strange W3 behavior
  2005-02-07 17:14 ` Klaus Berndl
@ 2005-02-07 18:17   ` Josef Dalcolmo
  2005-02-07 18:58     ` Kevin Rodgers
  2005-02-07 23:25     ` Joe Bush
  2005-02-08  1:32   ` Galen Boyer
  1 sibling, 2 replies; 7+ messages in thread
From: Josef Dalcolmo @ 2005-02-07 18:17 UTC (permalink / raw)



I **am** using Firefox for browsing the web, however I use Emacs for my
mail - I prefer the keyboard interface, have more control over the way
things are organized and less often the problem of filing a set of
messages into the wrong folder because I wasn't careful with the
mouse.

Now, W3 is being used for VM and Gnus to display html within Emacs,
and when the message contains links, I would like to follow these
links. That is faster than launching Firefox on my html mail. To
follow the links thereafter, I would even prefer to launch Firefox -
but haven't figured out yet how to combine these two methods.

- Josef

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: strange W3 behavior
  2005-02-07 18:17   ` Josef Dalcolmo
@ 2005-02-07 18:58     ` Kevin Rodgers
  2005-02-07 23:25     ` Joe Bush
  1 sibling, 0 replies; 7+ messages in thread
From: Kevin Rodgers @ 2005-02-07 18:58 UTC (permalink / raw)


Josef Dalcolmo wrote:
> Now, W3 is being used for VM and Gnus to display html within Emacs,
> and when the message contains links, I would like to follow these
> links. That is faster than launching Firefox on my html mail. To
> follow the links thereafter, I would even prefer to launch Firefox -
> but haven't figured out yet how to combine these two methods.

Try emacs-w3m, it's better than W3:

http://emacs-w3m.namazu.org/

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: strange W3 behavior
  2005-02-07 18:17   ` Josef Dalcolmo
  2005-02-07 18:58     ` Kevin Rodgers
@ 2005-02-07 23:25     ` Joe Bush
  2005-02-08  0:37       ` Kevin Rodgers
  1 sibling, 1 reply; 7+ messages in thread
From: Joe Bush @ 2005-02-07 23:25 UTC (permalink / raw)


Try adding the following to your .emacs file:

(eval-after-load "w3"
     '(progn
            (fset 'w3-fetch-orig (symbol-function 'w3-fetch))
            (defun w3-fetch (&optional url target)
            (interactive (list (w3-read-url-with-default))) 
            (if (eq major-mode 'gnus-article-mode)
                (browse-url url)
              (w3-fetch-orig url target)))))

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: strange W3 behavior
  2005-02-07 23:25     ` Joe Bush
@ 2005-02-08  0:37       ` Kevin Rodgers
  0 siblings, 0 replies; 7+ messages in thread
From: Kevin Rodgers @ 2005-02-08  0:37 UTC (permalink / raw)


Joe Bush wrote:
 > Try adding the following to your .emacs file:
 >
 > (eval-after-load "w3"
 >      '(progn
 >             (fset 'w3-fetch-orig (symbol-function 'w3-fetch))
 >             (defun w3-fetch (&optional url target)
 >             (interactive (list (w3-read-url-with-default)))
 >             (if (eq major-mode 'gnus-article-mode)
 >                 (browse-url url)
 >               (w3-fetch-orig url target)))))

AKA:

(defadvice w3-fetch (around gnus-article-mode activate)
   "In Gnus Article mode, call `browse-url' instead."
   (if (eq major-mode 'gnus-article-mode)
       (browse-url (ad-get-arg 0))       ; URL
     ad-do-it))

-- 
Kevin Rodgers

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: strange W3 behavior
  2005-02-07 17:14 ` Klaus Berndl
  2005-02-07 18:17   ` Josef Dalcolmo
@ 2005-02-08  1:32   ` Galen Boyer
  1 sibling, 0 replies; 7+ messages in thread
From: Galen Boyer @ 2005-02-08  1:32 UTC (permalink / raw)


On 07 Feb 2005, klaus.berndl@sdm.de wrote:

> Just for my interest: Why somebody uses something like Emacs/W3 to
> surf the net instead of using something like the Firefox-Browser?? I
> can really not understand this...but therefore i ask ;-)

If I am browsing html pages that are for technical documentation, I like
it because it allows me to use Emacs to read and do my work with the
html help right next to me.  I therefore use it not in a browsing sort
of way, but more in a "I know I'm going to be spending some time on that
page, let me go ahead and take the waittime".

-- 
Galen deForest Boyer

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-02-08  1:32 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-07 16:58 strange W3 behavior Josef Dalcolmo
2005-02-07 17:14 ` Klaus Berndl
2005-02-07 18:17   ` Josef Dalcolmo
2005-02-07 18:58     ` Kevin Rodgers
2005-02-07 23:25     ` Joe Bush
2005-02-08  0:37       ` Kevin Rodgers
2005-02-08  1:32   ` Galen Boyer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).