unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* w3m browser in Emacs
@ 2009-06-19  2:15 Will Willis
  2009-06-19  4:37 ` prad
  0 siblings, 1 reply; 11+ messages in thread
From: Will Willis @ 2009-06-19  2:15 UTC (permalink / raw)
  To: help-gnu-emacs

What does it take to get w3m working? Out of the box, w3m doesn't come
on my Emacs builds on Mac or Windows.




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

* Re: w3m browser in Emacs
       [not found] <mailman.925.1245377754.2239.help-gnu-emacs@gnu.org>
@ 2009-06-19  3:15 ` Xah Lee
  2009-06-19  8:00   ` Thierry Volpiatto
                     ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Xah Lee @ 2009-06-19  3:15 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 18, 7:15 pm, Will Willis <will.wil...@gmail.com> wrote:
> What does it take to get w3m working? Out of the box, w3m doesn't come
> on my Emacs builds on Mac or Windows.

you have to install it.

on OS X, you can intall it thru Fink or MacPorts. On windows, you can
install it thru Cygwin.

Once you installed it, you have to install the elisp package that
integrate it with emacs. Look at emacswiki about where to get it.

I don't particularly recommend it. The advantage is too trivial, and
the cost to install and maintain, learn, is a bit high. When using it
in emacs, it is actually some 2 or more times slower, than actually
using a full featured browser with graphics and css and javascript
all.

there are a lot quality browsers today (safari, chrom, opera,
firefox). If you want, you can set up one of these browsers to not
load graphics or css or javascript. And you can set shortcut keys in
emacs or system wide to easily switch to and fro between emacs and
that browser. Or, have a region in emacs automatically launch to the
browser to do web search or stuff. For this, see:
http://xahlee.org/emacs/emacs_lookup_ref.html

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: w3m browser in Emacs
  2009-06-19  2:15 Will Willis
@ 2009-06-19  4:37 ` prad
  0 siblings, 0 replies; 11+ messages in thread
From: prad @ 2009-06-19  4:37 UTC (permalink / raw)
  To: help-gnu-emacs

On Thu, 18 Jun 2009 21:15:43 -0500
Will Willis <will.willis@gmail.com> wrote:

> What does it take to get w3m working? Out of the box, w3m doesn't come
> on my Emacs builds on Mac or Windows.
>
you need to install w3m of course, but to get it to work with emacs you
need to install emacs-w3m. without that you can run w3m from a terminal
which i prefer to links or lynx, but not through emacs.

-- 
In friendship,
prad

                                      ... with you on your journey
Towards Freedom
http://www.towardsfreedom.com (website)
Information, Inspiration, Imagination - truly a site for soaring I's






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

* Re: w3m browser in Emacs
  2009-06-19  3:15 ` w3m browser in Emacs Xah Lee
@ 2009-06-19  8:00   ` Thierry Volpiatto
       [not found]   ` <mailman.938.1245398850.2239.help-gnu-emacs@gnu.org>
  2009-06-19 21:51   ` Joe Fineman
  2 siblings, 0 replies; 11+ messages in thread
From: Thierry Volpiatto @ 2009-06-19  8:00 UTC (permalink / raw)
  To: help-gnu-emacs

Hi,

Xah Lee <xahlee@gmail.com> writes:

> On Jun 18, 7:15 pm, Will Willis <will.wil...@gmail.com> wrote:
>> What does it take to get w3m working? Out of the box, w3m doesn't come
>> on my Emacs builds on Mac or Windows.
>
> you have to install it.

> on OS X, you can intall it thru Fink or MacPorts. On windows, you can
> install it thru Cygwin.
>
> Once you installed it, you have to install the elisp package that
> integrate it with emacs. Look at emacswiki about where to get it.

Note that on emacs version >= 23 you have to use the CVS version of
emacs-w3m.

> I don't particularly recommend it. The advantage is too trivial, and
> the cost to install and maintain, learn, is a bit high. When using it
> in emacs, it is actually some 2 or more times slower, than actually
> using a full featured browser with graphics and css and javascript
> all.

Indeed, w3m in emacs is very fast. Faster than any graphic browser.
You can interact with emacs easily. (many emacs extensions use it).
When you need more features (javascript etc...) you can switch
immediately to your graphic browser with "M".

> there are a lot quality browsers today (safari, chrom, opera,
> firefox). If you want, you can set up one of these browsers to not
> load graphics or css or javascript. And you can set shortcut keys in
> emacs or system wide to easily switch to and fro between emacs and
> that browser. Or, have a region in emacs automatically launch to the
> browser to do web search or stuff. For this, see:
> http://xahlee.org/emacs/emacs_lookup_ref.html
>
>   Xah
> ∑ http://xahlee.org/
>
> ☄
>

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France





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

* Re: w3m browser in Emacs
       [not found]   ` <mailman.938.1245398850.2239.help-gnu-emacs@gnu.org>
@ 2009-06-19 15:59     ` Xah Lee
  2009-06-19 22:07       ` jidanni
  0 siblings, 1 reply; 11+ messages in thread
From: Xah Lee @ 2009-06-19 15:59 UTC (permalink / raw)
  To: help-gnu-emacs

On Jun 19, 1:00 am, Thierry Volpiatto <thierry.volpia...@gmail.com>
wrote:

> Note that on emacs version >= 23 you have to use the CVS version of
> emacs-w3m.

thanks for this info.

> > I don't particularly recommend it. The advantage is too trivial, and
> > the cost to install and maintain, learn, is a bit high. When using it
> > in emacs, it is actually some 2 or more times slower, than actually
> > using a full featured browser with graphics and css and javascript
> > all.
>
> Indeed, w3m in emacs is very fast. Faster than any graphic browser.
> You can interact with emacs easily. (many emacs extensions use it).
> When you need more features (javascript etc...) you can switch
> immediately to your graphic browser with "M".

humm? my experience is that it is much slower than a full featured
browser. This was my experience on a Mac, OS X 10.4.x running Carbon
emacs (based on emacs 22.x).

this is something we can test and verify to avoid the common online
mis-info.
Maybe i'll do so again later today, but anyone who has w3m installed
can easily check. Please report back.

i searched for my last message posted here about w3m. Apparantly i
reported back than from my experience that w3m+emacs is some 5 times
slower than a full featured web browser
http://groups.google.com/group/gnu.emacs.help/msg/55a6c1b941d3973c

  Xah
∑ http://xahlee.org/^ permalink raw reply	[flat|nested] 11+ messages in thread

* Re: w3m browser in Emacs
  2009-06-19  3:15 ` w3m browser in Emacs Xah Lee
  2009-06-19  8:00   ` Thierry Volpiatto
       [not found]   ` <mailman.938.1245398850.2239.help-gnu-emacs@gnu.org>
@ 2009-06-19 21:51   ` Joe Fineman
  2009-06-20 13:58     ` Sean Sieger
       [not found]     ` <mailman.995.1245506343.2239.help-gnu-emacs@gnu.org>
  2 siblings, 2 replies; 11+ messages in thread
From: Joe Fineman @ 2009-06-19 21:51 UTC (permalink / raw)
  To: help-gnu-emacs

Xah Lee <xahlee@gmail.com> writes:

> I don't particularly recommend it. The advantage is too trivial, and
> the cost to install and maintain, learn, is a bit high. When using
> it in emacs, it is actually some 2 or more times slower, than
> actually using a full featured browser with graphics and css and
> javascript all.
>
> there are a lot quality browsers today (safari, chrom, opera,
> firefox). If you want, you can set up one of these browsers to not
> load graphics or css or javascript. And you can set shortcut keys in
> emacs or system wide to easily switch to and fro between emacs and
> that browser. Or, have a region in emacs automatically launch to the
> browser to do web search or stuff. For this, see:
> http://xahlee.org/emacs/emacs_lookup_ref.html

I have IE, Firefox, Conkeror, and w3m.  I use Conkeror for serious
browsing, but I find w3m, despite its clunkiness, convenient for
simple queries, especially for business (copyediting); I can often
quickly answer the question "Is this a real word?" without leaving
Emacs.  I have an Emacs command that, when I type C-c g, prompts for a
word or phrase & looks it up in Google.
-- 
---  Joe Fineman    joe_f@verizon.net

||:  The DEA is our Taliban.  :||


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

* Re: w3m browser in Emacs
  2009-06-19 15:59     ` Xah Lee
@ 2009-06-19 22:07       ` jidanni
  0 siblings, 0 replies; 11+ messages in thread
From: jidanni @ 2009-06-19 22:07 UTC (permalink / raw)
  To: help-gnu-emacs

I use it all the time.
$ apt-cache policy w3m-el-snapshot emacs-snapshot-el|grep 500
        500 http://ftp.tw.debian.org unstable/main Packages
        500 http://emacs.orebokech.com sid/main Packages
http://jidanni.org/comp/configuration/

Mainly it lets you get down to the nitty gritty of sites, without all
their javascript and CSS tricks. Of course for those sites who have no
inkling of what accessibility means, then I have to fire up Firefox.


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

* Re: w3m browser in Emacs
  2009-06-19 21:51   ` Joe Fineman
@ 2009-06-20 13:58     ` Sean Sieger
       [not found]     ` <mailman.995.1245506343.2239.help-gnu-emacs@gnu.org>
  1 sibling, 0 replies; 11+ messages in thread
From: Sean Sieger @ 2009-06-20 13:58 UTC (permalink / raw)
  To: help-gnu-emacs

Joe Fineman <joe_f@verizon.net> writes:
    
    I have an Emacs command that, when I type C-c g, prompts for a
    word or phrase & looks it up in Google.

May I have it?





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

* Re: w3m browser in Emacs
       [not found]     ` <mailman.995.1245506343.2239.help-gnu-emacs@gnu.org>
@ 2009-06-20 22:03       ` Joe Fineman
  2009-06-21 18:27         ` Richard Riley
  0 siblings, 1 reply; 11+ messages in thread
From: Joe Fineman @ 2009-06-20 22:03 UTC (permalink / raw)
  To: help-gnu-emacs

Sean Sieger <sean.sieger@gmail.com> writes:

> Joe Fineman <joe_f@verizon.net> writes:
>     
>     I have an Emacs command that, when I type C-c g, prompts for a
>     word or phrase & looks it up in Google.
>
> May I have it?

(defun google (what)
  "Use google to search for WHAT."
  (interactive "sSearch: ")
  (save-window-excursion
    (delete-other-windows)
    (let ((dir default-directory))
      (w3m-browse-url (concat "http://www.google.com/search?q="
			      (w3m-url-encode-string what)))
      (cd dir)
    (recursive-edit))))

(global-set-key "\C-Cg" 'google)
-- 
---  Joe Fineman    joe_f@verizon.net

||:  The bottom line is in hell.  :||


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

* Re: w3m browser in Emacs
  2009-06-20 22:03       ` Joe Fineman
@ 2009-06-21 18:27         ` Richard Riley
  2009-06-22 21:49           ` jidanni
  0 siblings, 1 reply; 11+ messages in thread
From: Richard Riley @ 2009-06-21 18:27 UTC (permalink / raw)
  To: help-gnu-emacs

Joe Fineman <joe_f@verizon.net> writes:

> Sean Sieger <sean.sieger@gmail.com> writes:
>
>> Joe Fineman <joe_f@verizon.net> writes:
>>     
>>     I have an Emacs command that, when I type C-c g, prompts for a
>>     word or phrase & looks it up in Google.
>>
>> May I have it?
>
> (defun google (what)
>   "Use google to search for WHAT."
>   (interactive "sSearch: ")
>   (save-window-excursion
>     (delete-other-windows)
>     (let ((dir default-directory))
>       (w3m-browse-url (concat "http://www.google.com/search?q="
> 			      (w3m-url-encode-string what)))
>       (cd dir)
>     (recursive-edit))))
>
> (global-set-key "\C-Cg" 'google)

Also see here for using a command to launch a url in the default desktop
browser or in w3m depending on whether you use the prefix (C-u) - also
checks if its an encoded anchor/link in w3m/gnus.

http://richardriley.net/projects/emacs/dotemacs#sec-5


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

* Re: w3m browser in Emacs
  2009-06-21 18:27         ` Richard Riley
@ 2009-06-22 21:49           ` jidanni
  0 siblings, 0 replies; 11+ messages in thread
From: jidanni @ 2009-06-22 21:49 UTC (permalink / raw)
  To: help-gnu-emacs

> (defun google (what)
> "Use google to search for WHAT."
S runs the command w3m-search


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

end of thread, other threads:[~2009-06-22 21:49 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.925.1245377754.2239.help-gnu-emacs@gnu.org>
2009-06-19  3:15 ` w3m browser in Emacs Xah Lee
2009-06-19  8:00   ` Thierry Volpiatto
     [not found]   ` <mailman.938.1245398850.2239.help-gnu-emacs@gnu.org>
2009-06-19 15:59     ` Xah Lee
2009-06-19 22:07       ` jidanni
2009-06-19 21:51   ` Joe Fineman
2009-06-20 13:58     ` Sean Sieger
     [not found]     ` <mailman.995.1245506343.2239.help-gnu-emacs@gnu.org>
2009-06-20 22:03       ` Joe Fineman
2009-06-21 18:27         ` Richard Riley
2009-06-22 21:49           ` jidanni
2009-06-19  2:15 Will Willis
2009-06-19  4:37 ` prad

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).