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

Re: Scripting emacs-w3m - need script blocking



>> On Wed, 01 Feb 2006 08:23:53 +0900
>> yamaoka@xxxxxxx (Katsumi Yamaoka) said as follows:

>(defun your-command ()
> (interactive)
> (let ((w3m-async-exec nil))
>   (w3m-goto-url "http://www.google.com";)
>   ...
>   ))

You should use `w3m-process-with-wait-handler' instead of binding
`w3m-async-exec' to nil locally.  For example:

  (defun your-command ()
    (interactive)
    (w3m-process-with-wait-handler
      (w3m-goto-url "http://www.google.com"; nil nil nil nil handler))
    ...)

If you bind `w3m-async-exec' to nil, you cannnot see pages that
require passwords or some inputs.

-- 
TSUCHIYA Masatoshi