Naohiro Aota | 1 Dec 2007 06:15
Picon

[emacs-w3m:09804] w3m-view-previous-page and #name anchor

青田です。

以前にも一度MLででていたようですが、某所[1] でけっこう要望があったり、
ぼく自身も不便に思っていたので #name アンカーをたどった後に、
w3m-view-previous-page (B) で元のリンクの場所に戻れるようにしてみました。
戻ってから w3m-view-next-page (N) で 再度 #name アンカー位置に移動する
ことも可能です。

;; 昨日 committer となりまして、早速一つ commit してみました。 どうぞよ
;; ろしくお願いします。

[1] http://pc11.2ch.net/test/read.cgi/unix/1105721627/

Picon

[emacs-w3m:09805] sb-nikkei.el

野宮です.

昨日,日経新聞の「マネー&マーケット面」が変更されましたので,パッチを作成
してみました.
叩き台にでもして戴ければ幸甚です.

--- sb-nikkei.el.orig	2007-11-16 18:53:12.000000000 +0900
+++ sb-nikkei.el	2007-12-03 13:16:54.000000000 +0900
 <at>  <at>  -174,37 +174,37  <at>  <at> 
      "http://it.nikkei.co.jp/pc/news/index.aspx?ichiran=True"
      shimbun-nikkei-get-headers-it-pc
      shimbun-nikkei-prepare-article-default2)
-    ("kokunai" "市場概況" "http://markets.nikkei.co.jp/kokunai/summary.cfm"
-     shimbun-nikkei-get-headers-kawase
-     shimbun-nikkei-prepare-article-default3)
-    ("markets" "海外株概況" "http://markets.nikkei.co.jp/kaigai/summary.cfm"
-     shimbun-nikkei-get-headers-markets
-     shimbun-nikkei-prepare-article-default3)
-    ("kawase" "為替概況" "http://markets.nikkei.co.jp/kawase/summary.cfm"
-     shimbun-nikkei-get-headers-kawase
-     shimbun-nikkei-prepare-article-default3)
+    ("kokunai" "市場概況" "http://markets.nikkei.co.jp/kokunai/summary.aspx"
+     shimbun-nikkei-get-headers-stock
+     shimbun-nikkei-prepare-article-default4)
+    ("markets" "海外株概況" "http://markets.nikkei.co.jp/kaigai/summary.aspx"
+     shimbun-nikkei-get-headers-stock
+     shimbun-nikkei-prepare-article-default4)
+    ("kawase" "為替概況" "http://markets.nikkei.co.jp/kawase/summary.aspx"
+     shimbun-nikkei-get-headers-stock
+     shimbun-nikkei-prepare-article-default4)
(Continue reading)

jidanni | 3 Dec 2007 04:42
Favicon
Gravatar

[emacs-w3m:09806] Re: I like w3m -dump

OK, I have now done
# apt-get install w3m-el-snapshot
and indeed
$ emacs -f w3m http://emacs-w3m.namazu.org/
works. But I still can't figure out how to read the item whose
gnus-summary-display-buttonized button I am upon, using w3m inside
emacs.

By the way,
. runs the command gnus-mime-action-on-part
Action: /usr/bin/w3m -dump -T text/html '%s'
but where does the output go? I don't see anything.

Hans Ekbrand | 3 Dec 2007 14:09
Picon
Picon
Favicon

[emacs-w3m:09807] Wish-list: function for searching on google

This bug report will be sent to the emacs-w3m development team,
 not to your local site managers!!
Please write in simple English, because the emacs-w3m developers
aren't good at English reading. ;-)

Please describe as succinctly as possible:
	- What happened.
	- What you thought should have happened.
	- Precisely what you were doing at the time.

Please also include any Lisp back-traces that you may have.
================================================================
Dear Bug Team!

Other browsers (e.g. Mozilla-Firefox) includes a function for typing a
search term and then searching for that term on google (and possibly
other search engines).

Using that function the user can execute a search typing only three
keys: Ctrl-k and Enter.

In emacs-w3m I haven't found any better way to do a google-search than
this (having google as my first bookmark).

v
tab
enter
tab tab tab tab tab tab
enter

(Continue reading)

TSUCHIYA Masatoshi | 3 Dec 2007 15:54
Favicon

[emacs-w3m:09808] Re: Wish-list: function for searching on google

>> On Mon, 03 Dec 2007 14:09:21 +0100
>> hans.ekbrand <at> sociology.gu.se (Hans Ekbrand) said as follows:

>Other browsers (e.g. Mozilla-Firefox) includes a function for typing a
>search term and then searching for that term on google (and possibly
>other search engines).

>Using that function the user can execute a search typing only three
>keys: Ctrl-k and Enter.

>In emacs-w3m I haven't found any better way to do a google-search than
>this (having google as my first bookmark).

>That is 13 key-strokes. Could that be reduced?

Just type `S' key, which invokes `w3m-search' command.

--

-- 
TSUCHIYA Masatoshi

Katsumi Yamaoka | 4 Dec 2007 13:12
X-Face
Favicon
Gravatar

[emacs-w3m:09809] Re: sb-nikkei.el

>>>>> In [emacs-w3m : No.09805] 野宮賢 / NOMIYA Masaruさん wrote:

> 昨日,日経新聞の「マネー&マーケット面」が変更されましたので,パッチを作成
> してみました.
> 叩き台にでもして戴ければ幸甚です.

精査する時間が取れなくてごめんなさい。明日以降何とかしようと思い
ます。

とりあえず一点だけ質問なんですが、shimbun-nikkei-get-headers-ft
で月日の「日」の方を 1+ しているのは何ですか? もし海外記事の日付
を日本時刻に合わせているのだとしたら 12月32日が現れてしまう気が
するんですが。;-p

[...]

>  <at>  <at>  -1098,8 +944,8  <at>  <at> 
>  	     (shimbun-nikkei-make-date-string
>  	      (string-to-number (match-string 3))
>  	      (string-to-number (match-string 5))
> -	      (string-to-number (match-string 6)))
> -	     (concat "<" (downcase (match-string 2)) "%" group "."
> +	      (1+ (string-to-number (match-string 6))))
> +	     (concat "<" (match-string 2) "%" group "."
>  		     shimbun-nikkei-top-level-domain ">")
>  	     "" 0 0
>  	     (shimbun-nikkei-expand-url (match-string 1) folder))
--

-- 
山岡

(Continue reading)

Picon

[emacs-w3m:09810] Re: sb-nikkei.el

野宮です.

>>>>> In the Message: [emacs-w3m ML: No.09809]
>>>>>   with the date of Tue, 04 Dec 2007 21:12:59 +0900
>>>>> [山岡さん] == Katsumi Yamaoka <yamaoka <at> jpl.org> has written:

小生>> 叩き台にでもして戴ければ幸甚です.

山岡さん> 精査する時間が取れなくてごめんなさい。明日以降何とかしようと思い
山岡さん> ます。

.... <(_ _)>

山岡さん> とりあえず一点だけ質問なんですが、shimbun-nikkei-get-headers-ft
山岡さん> で月日の「日」の方を 1+ しているのは何ですか? もし海外記事の日付
山岡さん> を日本時刻に合わせているのだとしたら 12月32日が現れてしまう気が
山岡さん> するんですが。;-p

^^;;

これは,前日の記事が上げられる,ということへの対処です.
って,条件分岐させなきゃいけませんね.m(_ _)m

あと,アップしてから気付いたのですが,

-	     (concat "<" (downcase (match-string 2)) "%" group "."
+	     (concat "<" (match-string 2) "%" group "."

は,チェックミスです.m(_ _)m

(Continue reading)

Katsumi Yamaoka | 5 Dec 2007 11:27
X-Face
Favicon
Gravatar

[emacs-w3m:09811] Re: sb-nikkei.el

>>>>> In [emacs-w3m : No.09810] 野宮賢 / NOMIYA Masaruさん wrote:

> とりあえず一点だけ質問なんですが、shimbun-nikkei-get-headers-ft
> で月日の「日」の方を 1+ しているのは何ですか?

> これは,前日の記事が上げられる,ということへの対処です.

元記事より 1日遅れて日経金融新聞に掲載されるけれど、url などの日
付は元記事のものになっているからということですね(?)。そのままで
いい気もするんですが、やっておきました。

> って,条件分岐させなきゃいけませんね.m(_ _)m

いや、それを ELisp で書くのは現実的じゃないです。2月28日の次が何
日になるかは、Emacs の組み込み関数にまかせた方が良いですよ。:)

> あと,アップしてから気付いたのですが,

> -	     (concat "<" (downcase (match-string 2)) "%" group "."
> +	     (concat "<" (match-string 2) "%" group "."

> は,チェックミスです.m(_ _)m

えと、downcase をかぶせて良いということですね。

基本的には野宮さんのコードで問題ありませんでしたが、Message-ID
の生成などに少しぼくの趣味を加味したものを commit しました。試し
ていただけますか。
--

-- 
山岡
(Continue reading)

Andrea Russo | 6 Dec 2007 03:26
Face

[emacs-w3m:09812] emacs-w3m cannot quit from a w3m-session

This bug report will be sent to the emacs-w3m development team,
 not to your local site managers!!
Please write in simple English, because the emacs-w3m developers
aren't good at English reading. ;-)

Please describe as succinctly as possible:
	- What happened.
	- What you thought should have happened.
	- Precisely what you were doing at the time.

Please also include any Lisp back-traces that you may have.
================================================================
Dear Bug Team!

I frequently use w3m-session.  When I try to quit from emacs-w3m with
the `w3m-quit' command, an error happens, as you can see in the
backtrace below, which also prevent me to quit from emacs with
`save-buffers-kill-emacs'.

Thank you very much for your help.

Best regards,
Andrea Russo.

Debugger entered--Lisp error: (args-out-of-range "" -1)
  aref("" -1)
  (eq (aref url (1- ...)) 47)
  (if (eq (aref url ...) 47) (substring url 0 -1) url)
  (intern-soft (if (eq ... 47) (substring url 0 -1) url) w3m-arrived-db)
  (w3m-arrived-intern url t)
(Continue reading)

Katsumi Yamaoka | 6 Dec 2007 05:47
X-Face
Favicon
Gravatar

[emacs-w3m:09813] Re: emacs-w3m cannot quit from a w3m-session

>>>>> In [emacs-w3m : No.09812] Andrea Russo wrote:

> I frequently use w3m-session.  When I try to quit from emacs-w3m with
> the `w3m-quit' command, an error happens, as you can see in the
> backtrace below, which also prevent me to quit from emacs with
> `save-buffers-kill-emacs'.

> Debugger entered--Lisp error: (args-out-of-range "" -1)
>   aref("" -1)
>   (eq (aref url (1- ...)) 47)
[...]
>   w3m-arrived-time("")
[...]
>   w3m-arrived-shutdown()
[...]
>   w3m-quit(nil)

Thank you for the report.  I guess it happens because a url that is
an empty string has been registered (or is about to be registered)
in your "~/.w3m/.arrived" file.  Isn't there a line that begins
with

 (""

in that file?  If such ones are found, there might be something
wrong that generates them in emacs-w3m.  Anyway, removing elements
beginning with  (""  will solve the problem.  An `element' means
the one which looks like:

 (""
(Continue reading)


Gmane