Katsumi Yamaoka | 1 Dec 2008 04:04
X-Face
Favicon
Gravatar

[emacs-w3m:10471] Re: Shimbun for RSS feeds without published content

>>>>> In [emacs-w3m : No.10464] Katsumi Yamaoka wrote:
>>>>>> In [emacs-w3m : No.10463] David Engster wrote:
>> Did you have time to look into why rss-hash and atom-hash are excluded
>> in shimbun-servers-list? I think you can just remove them there, so that
>> users can choose them among the available shimbun servers.

> Well, I'll ask the other developers in Japan.  I believe there
> must be better persons who suited to such issues than me.

Yoichi NAKAYAMA replied that he just made `shimbun-servers-list'
exclude rss-hash and atom-hash since those were considered to be
the ones used as the parent back ends like sb-rss.el.  But it's
probably wrong.  I wonder why the author of sb-rss-hash.el and
sb-atom-hash.el never complained.  I've fixed it anyway.

Regards,

Naohiro Aota | 1 Dec 2008 04:56
Picon

[emacs-w3m:10472] Re: Wrong type argument: stringp, nil

jidanni <at> jidanni.org writes:

> For URLS like these
> $ GET -S http://www.lyricstime.com/marvin-gaye-got-to-give-it-up-lyrics.html
> GET http://www.lyricstime.com/marvin-gaye-got-to-give-it-up-lyrics.html --> 302 Found
> GET http://www.lyricstime.com/cookie.php --> 302 Found
> GET http://www.lyricstime.com/marvin-gaye-got-to-give-it-up-lyrics.html --> 302 Found
> ...
> When I hit B to go back I get
> byte-code: Wrong type argument: stringp, nil

I can't reproduce such error.

Please attach a backtrace to help to find and fix your problem.

1. start Emacs
2. M-x toggle-debug-on-error
This should show you "Debug on Error enabled globally" or try another
M-x toggle-debug-on-error.
3. do what you have problem with. (In this case, M-x w3m-goto-url
http://www.lyricstime.com/marvin-gaye-got-to-give-it-up-lyrics.html ?)
4. A buffer named *Backtrace* would open. Send mail to us with its
content attached as MIME part.

Regards, 

Naohiro Aota | 1 Dec 2008 07:39
Picon

[emacs-w3m:10473] Re: [gnu.emacs.help] Emacs/w3m textarea editing in same window

Katsumi Yamaoka <yamaoka <at> jpl.org> writes:

>>>>>> In [emacs-w3m : No.10437] Nicolas Neuss wrote:
>
> 大きな文章を書くには textarea は狭いので、現在のウィンドウを
> textarea のバッファに切り替えて使いたいという話しです。
> 彼は
>
> (pushnew "*w3m form textarea*" same-window-buffer-names)
>
> ということを行なったけれど、うまくいかない。その理由は
> `same-window-buffer-names' に従って動く `display-buffer' や
> `pop-to-buffer' を `w3m-form-input-textarea' が使っていないから
> で云々...。で、Niels Giesen さん曰く `w3m-form-input-textarea'
> から
>
>       (condition-case nil
> 	  (split-window cur-win (if (> size 0) size window-min-height))
> 	(error
> 	 (delete-other-windows)
> 	 (split-window cur-win (- (window-height cur-win)
> 				  w3m-form-input-textarea-buffer-lines))))
>       (select-window (next-window))
>
> の部分を外してしまえば、とりあえず望み通りになると。
>
> どなたか対応できる時間をお持ちの方はいらっしゃいませんか?
>
> ;; ぼくより適任の人がぜったいいると思うので、あえて書きました。;-)

(Continue reading)

Katsumi Yamaoka | 2 Dec 2008 00:20
X-Face
Favicon
Gravatar

[emacs-w3m:10474] Re: [gnu.emacs.help] Emacs/w3m textarea editing in same window

>>>>> In [emacs-w3m : No.10473] 青田さん wrote:
>> 大きな文章を書くには textarea は狭いので、現在のウィンドウを
>> textarea のバッファに切り替えて使いたいという話しです。
>> 彼は
>>
>> (pushnew "*w3m form textarea*" same-window-buffer-names)
>>
>> ということを行なったけれど、うまくいかない。その理由は

[...]

> 改めてコードを読んでみました。

> ここでやりたいことというのは、ちょうど
> w3m-form-input-textarea-buffer-lines で指定されただけの行数を持った
> window を作ることだと思います。

> しかし、 pop-to-buffer() では、最小の行数を指定する変数
> (split-height-threshold, window-min-height) はあれど、ぴったりこの行数と
> いうものを指定することはできないようです。

> なので、とりあえずは same-window-p() を使って Niels Giesen さんが外して
> いる部分を unless で囲ってあげるといいのではないでしょうか?

ご対応ありがとうございます。`same-window-p' なんて関数を知りませ
んでした。なぜか XEmacs には `same-window-buffer-names' ともども
存在しない (別のやり方がある?) ので、Emacs 専用として commit し
ました。
--

-- 
山岡
(Continue reading)

Katsumi Yamaoka | 2 Dec 2008 00:20
X-Face
Favicon
Gravatar

[emacs-w3m:10475] Re: [gnu.emacs.help] Re: Emacs/w3m textarea editing in same window

Hi,

Sorry for the late response, but emacs-w3m now got to use the whole
current window for the txtarea if you've added "*w3m form textarea*"
to `same-window-buffer-names', thanks to Naohiro Aota.  Currently
the feature is available only in Emacs, not XEmacs, though.  Could
you try the CVS version[1]?

[1] See http://emacs-w3m.namazu.org/index-en.html#download
    or just get: http://cvs.namazu.org/emacs-w3m.tar.gz

Regards,

>>>>> In [emacs-w3m : No.10437] Nicolas Neuss wrote:
> Dear Emacs-w3m team,

> here is a question I sent to the gnu.emacs.help mailing list:

>> Hello,
>>
>> when editing textareas in Emacs/w3m I end up editing in a separate (and
>> smaller) window.  Since my blocks of text are rather large, I would
>> prefer very much if the current window would be used for editing (and
>> restored afterwards).  I tried to get this behaviour by using
>>
>> (pushnew "*w3m form textarea*" same-window-buffer-names)
>>
>> Unfortunately, this did not help.  Does anyone here know a solution?

> Niels Giesen replied:
(Continue reading)

Katsumi Yamaoka | 2 Dec 2008 00:21
X-Face
Favicon
Gravatar

[emacs-w3m:10476] Re: [gnu.emacs.help] Re: Emacs/w3m textarea editing in same window

Hi,

Sorry for the late response, but emacs-w3m now got to use the whole
current window for the txtarea if you've added "*w3m form textarea*"
to `same-window-buffer-names', thanks to Naohiro Aota.  Currently
the feature is available only in Emacs, not XEmacs, though.  Could
you try the CVS version[1]?

[1] See http://emacs-w3m.namazu.org/index-en.html#download
    or just get: http://cvs.namazu.org/emacs-w3m.tar.gz

Regards,

>>>>> In [emacs-w3m : No.10437] Nicolas Neuss wrote:
> Dear Emacs-w3m team,

> here is a question I sent to the gnu.emacs.help mailing list:

>> Hello,
>>
>> when editing textareas in Emacs/w3m I end up editing in a separate (and
>> smaller) window.  Since my blocks of text are rather large, I would
>> prefer very much if the current window would be used for editing (and
>> restored afterwards).  I tried to get this behaviour by using
>>
>> (pushnew "*w3m form textarea*" same-window-buffer-names)
>>
>> Unfortunately, this did not help.  Does anyone here know a solution?

> Niels Giesen replied:
(Continue reading)

Naohiro Aota | 2 Dec 2008 05:19
Picon

[emacs-w3m:10477] Re: [gnu.emacs.help] Emacs/w3m textarea editing in same window

From: Katsumi Yamaoka <yamaoka <at> jpl.org>
Subject: [emacs-w3m:10474] Re: [gnu.emacs.help] Emacs/w3m textarea ed 
iting in same window
Date: Tue, 02 Dec 2008 08:20:15 +0900

>>>>>> In [emacs-w3m : No.10473] 青田さん wrote:
>>> 大きな文章を書くには textarea は狭いので、現在のウィンドウを
>>> textarea のバッファに切り替えて使いたいという話しです。
>>> 彼は
>>>
>>> (pushnew "*w3m form textarea*" same-window-buffer-names)
>>>
>>> ということを行なったけれど、うまくいかない。その理由は
>
> [...]
>
>> 改めてコードを読んでみました。
>
>> ここでやりたいことというのは、ちょうど
>> w3m-form-input-textarea-buffer-lines で指定されただけの行数を持った
>> window を作ることだと思います。
>
>> しかし、 pop-to-buffer() では、最小の行数を指定する変数
>> (split-height-threshold, window-min-height) はあれど、ぴったりこの 
>> 行数と
>> いうものを指定することはできないようです。
>
>> なので、とりあえずは same-window-p() を使って Niels Giesen さんが 
>> 外して
>> いる部分を unless で囲ってあげるといいのではないでしょうか?
(Continue reading)

Naohiro Aota | 2 Dec 2008 08:02
Picon

[emacs-w3m:10478] Re: w3m mode should extend to .txt files by default

From: jidanni <at> jidanni.org
Subject: [emacs-w3m:10469] w3m mode should extend to .txt files by default
Date: Sun, 30 Nov 2008 06:10:12 +0800

> In file:///usr/share/doc/git-doc/howto-index.html
> I click file:///usr/share/doc/git-doc/howto/setup-git-server-over-http.txt
> and I end up in (Text) mode. In real w3m I would still be in w3m mode,
> where B goes BACK, etc.

How about trying this?

(setq w3m-local-find-file-regexps
      '(nil . "\\.\\(?:[sx]?html?\\|txt\\)\\'"))

Regards,

TSUCHIYA Masatoshi | 2 Dec 2008 10:08
Favicon

[emacs-w3m:10479] Re: boolean search with w3m-namazu.el

Hi,

Sorry for my late response.  I am too busy to check your problem, and
please send your question to emacs-w3m <at> namazu.org, a mailint list about
emacs-w3m, which is open to the public.

>> On Thu, 27 Nov 2008 13:04:39 +0100
>> kordes <at> uke.de (kordes) said as follows:

>Dear Tsuchiya Masatoshi,

>when searching an index with namazu I get :

>8:33% namazu 'kordes beutel' ubx/index1                                                                               ~
>Results:

>References:  [ kordes: 621 ]  [ beutel: 78 ] 

> Total 62 documents matching your query.

>1. JabRef References output (score: 242)
>Author: unknown

>...

>when searching the same index with w3m-namazu I get, however

>Results:

>References: [ kordes+beutel: 0 ]
(Continue reading)

Eduardo Ochs | 2 Dec 2008 15:42
Picon
Gravatar

[emacs-w3m:10480] Re: w3m mode should extend to .txt files by default

Is it possible to adapt that idea to force w3m to open local files
that do not end with "\\.[sx]?html?\\'" as HTML?

Here's an example: run

  cd /tmp/
  wget http://angg.twu.net/emacs.html
  cp -v ~/TH/L/emacs.html /tmp/emacs.ht
  cp -v ~/TH/L/emacs.html /tmp/emacs.txt
  wget http://www.polimetrica.com/main/list.php

  # Optional
  # (find-file "~/.w3m/")
  # (shell-command-to-string "rm -Rv ~/.w3m/")
  rm -Rv ~/.w3m/

and now (broken, but I hope this may be a step in the right
direction):

  (w3m "file:///tmp/emacs.html")
  (w3m "file:///tmp/emacs.txt")
  (w3m "file:///tmp/emacs.ht")
  (w3m "file:///tmp/list.php")
  (let ((w3m-local-find-file-regexps '(nil . "")))
    (w3m "file:///tmp/emacs.html"))
  (let ((w3m-local-find-file-regexps '(nil . "")))
    (w3m "file:///tmp/emacs.txt"))
  (let ((w3m-local-find-file-regexps '(nil . "")))
    (w3m "file:///tmp/emacs.ht"))
  (let ((w3m-local-find-file-regexps '(nil . "")))
(Continue reading)


Gmane