jidanni | 6 Dec 02:23 2010

[emacs-w3m:11429] w3m-view-url-with-external-browser should allow us to edit the URL

M runs the command w3m-view-url-with-external-browser, which is...

which is great, except that it doesn't give up a chance to edit the URL.
We are just asked y or n.

How about instead just allow us to edit the URL, and if we feel the "n"
feeling, we can just hit ^G.

And if on top of a URL, well, should it maybe still ask us to edit the
URL?...

Or maybe with a C-u argument...

Katsumi Yamaoka | 6 Dec 06:48 2010
X-Face

[emacs-w3m:11430] Re: w3m-view-url-with-external-browser should allow us to edit the URL

In [emacs-w3m : No.11429] jidanni <at> jidanni.org wrote:
> How about instead just allow us to edit the URL, and if we feel the "n"
> feeling, we can just hit ^G.

> And if on top of a URL, well, should it maybe still ask us to edit the
> URL?...

I've modified it so as to always prompt a user to edit url.  Thanks.

jidanni | 10 Dec 00:26 2010

[emacs-w3m:11431] Re: want one keystroke picture viewing from nnrss

>>>>> "KY" == Katsumi Yamaoka <yamaoka <at> jpl.org> writes:
KY> In [emacs-w3m : No.11241] jidanni <at> jidanni.org wrote:
>> = <return> C-x o T <prior> C-h l

>> =        Here I am in a nnrss summary
>> <return> I read an article, but also decide I want to see the pictures.
>> So I have to go through all these steps
>> C-x o T <prior>
>> to see them.

KY> How about the command that the Info manual mentions?

KY> M-: (info "(emacs-w3m)Gnus") RET M->
KY> ,----
KY> | Even when you are in the summary buffer, you can toggle displaying
KY> | of images in the article buffer.  It is effective only when those
KY> | images are displayed by emacs-w3m, though.  Here's an example:
KY> |
KY> | (defun gnus-summary-w3m-safe-toggle-inline-images (&optional arg)
KY> |   "Toggle displaying of all images in the article buffer.
KY> | If the prefix arg is given, force displaying of images."
KY> |
KY> | [...]
KY> |
KY> | (eval-after-load "gnus-sum"
KY> |   '(define-key gnus-summary-mode-map
KY> |      "\C-i" 'gnus-summary-w3m-safe-toggle-inline-images))
KY> `----

It seems that is not working any more. Nowadays that is overwritten by
(Continue reading)

jidanni | 10 Dec 02:35 2010

[emacs-w3m:11432] w3m-view-url-with-external-browser vs. "embed'

On http://blog.dreamhost.com/2010/11/04/mod_pagespeed-now-available/ I
put the cursor upon the link
embed(http://www.youtube.com/v/8moGR2qf994?fs=1&hl=en_US)
and hit
M runs the command w3m-view-url-with-external-browser
but all does not work smoothly... I end up having to do it by hand.

w3m-el-snapshot/unstable uptodate 1.4.400+0.20100725-1

jidanni | 12 Dec 02:37 2010

[emacs-w3m:11433] some pages chopped in w3m

$ set http://gmane.org/lists.php
$ lynx -dump $ <at>  | wc
  65996  188608 3338251
$ w3m  -dump $ <at>  | wc
     26     121    1617
Why does that occur?
w3m 0.5.2-10

Hideyuki SHIRAI | 12 Dec 11:59 2010
X-Face

[emacs-w3m:11434] Re: w3m-view-url-with-external-browser vs. "embed'

From: jidanni <at> jidanni.org said
Subject: [emacs-w3m:11432] w3m-view-url-with-external-browser vs. "embed'
Message-ID: <8739q6xvdc.fsf <at> jidanni.org>
Date: Fri, 10 Dec 2010 09:35:43 +0800

> On http://blog.dreamhost.com/2010/11/04/mod_pagespeed-now-available/ I
> put the cursor upon the link
> embed(http://www.youtube.com/v/8moGR2qf994?fs=1&hl=en_US)
> and hit
> M runs the command w3m-view-url-with-external-browser
> but all does not work smoothly... I end up having to do it by hand.
> 
> w3m-el-snapshot/unstable uptodate 1.4.400+0.20100725-1

Try this patch. In this case, I think correct answer that
execute default web browser on your System.

Index: w3m.el
===================================================================
RCS file: /storage/cvsroot/emacs-w3m/w3m.el,v
retrieving revision 1.1505
diff -u -u -r1.1505 w3m.el
--- w3m.el	9 Dec 2010 04:38:13 -0000	1.1505
+++ w3m.el	12 Dec 2010 10:38:02 -0000
 <at>  <at>  -6906,7 +6906,11  <at>  <at> 
 	  (lexical-let ((method
 			 (or (nth 2 (assoc type w3m-content-type-alist))
 			     (nth 2 (assoc (w3m-prepare-content url type nil)
-					   w3m-content-type-alist)))))
+					   w3m-content-type-alist))))
(Continue reading)

jidanni | 12 Dec 12:50 2010

[emacs-w3m:11435] Re: [w3m-dev-en 01140] some pages chopped in w3m

>>>>> "BK" == Brian Keck <bwkeck <at> gmail.com> writes:...

BK> So it seems w3m can't handle tables containing lists of more than x items,
BK> where x is somewhere between 10554 & 10678.

Thanks for figuring it out. Let's hope they fix it.

jidanni | 12 Dec 13:09 2010

[emacs-w3m:11436] Re: w3m-view-url-with-external-browser vs. "embed'

白井> Try this patch.
Thanks. I will trust you and use it next time I get
$ set w3m-el-snapshot
$ apt-show-versions $ <at> 
w3m-el-snapshot/unstable uptodate 1.4.400+0.20100725-1

Katsumi Yamaoka | 17 Dec 05:35 2010
X-Face

[w3m-dev 04427] Re: some Google links not linked?

こんにちは山岡です。emacs-w3m から来ました。

台湾の友人が google.com.tw での検索結果の下にある 2ページ目、3ペー
ジ目... へのリンクが使えないとリポートしています。

Cf. http://emacs-w3m.namazu.org/ml/msg11334.html

以下は同様の問題を再現する簡単な例です:

<html>
  <a href="http://www.asahi.com/">
    <div class="foo"></div>
    The Asahi Shimbun
  </a>
</html>

w3m 単体と emacs-w3m が使う halfdump の出力が変です。朝日新聞に
行くことができません。Firefox などでは問題ありません。

よろしくお願いします。

Hiroyuki Ito | 17 Dec 10:40 2010

[w3m-dev 04428] Re: some Google links not linked?

伊東です。

> 以下は同様の問題を再現する簡単な例です:
> 
> <html>
>   <a href="http://www.asahi.com/">
>     <div class="foo"></div>
>     The Asahi Shimbun
>   </a>
> </html>

<div> で <a> が閉じられてしまうためですね。
この仕様を修正するのはちょっと抵抗があります。

halfdump の出力は下記のようになります。スペースにリンクされれば一応使え
るようになるはずですが emacs-w3m 側での対応は難しいのでしょうか。

$ w3m -halfdump test.html
<a hseq="1" href="http://www.asahi.com/"> </a>
The Asahi Shimbun
<internal>
</internal>