[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: interrupted (C-g) operations: can't runtwo copies of w3m simultaneously!



とりあえず、日本人向け ^^;;;

From: Katsumi Yamaoka <yamaoka@jpl.org> さん曰く
Subject: [emacs-w3m:03989] Re: interrupted (C-g) operations: can't run two copies of w3m simultaneously!
Message-ID: <yotlsmzfxg2v.fsf@jpl.org>
Date: Thu, 10 Oct 2002 10:01:11 +0900

山岡さん> > sometimes a site doesn't answer or maybe it doesn't exist and w3m
山岡さん> > waits for DNS to time out.  so i interrupt this wait with C-g (quit).
山岡さん> 
山岡さん> > when i now try another link, i get an error-message about w3m-emacs
山岡さん> > not beeing able to run more than one w3m simultaneously.
山岡さん> 
山岡さん> Type C-c C-g (M-x w3m-process-stop) to kill an asynchronous w3m
山岡さん> process.  It's mostly ok, however it may sometimes be
山岡さん> ineffective.  In such a case, I kill a w3m buffer to cope with
山岡さん> it.  I'm not detailed to this unfortunately, though.

なにかあったときに C-g を押すというのは Emacs 使いの習性みたいな
ものなので、ぼくはこうしています。

(define-key w3m-mode-map "\C-g" 'w3m-process-stop-and-keyboard-quit)

(defun w3m-process-stop-and-keyboard-quit ()
  "w3m-process-stop() して keyboard-quit() する"
  (interactive)
  (w3m-process-stop (current-buffer))
  (keyboard-quit))

これどうでしょうか?

-- 
白井秀行 (mailto:shirai@rdmg.mgcs.mei.co.jp)