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

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)
  (let ((v ...)) (and v (boundp v) (symbol-value v)))
  w3m-arrived-time("")
  (w3m-time-newer-p (nth 3 elem) (w3m-arrived-time (car elem)))
  (if (w3m-time-newer-p (nth 3 elem) (w3m-arrived-time ...)) (progn (w3m-arrived-add ... ... ... ... ... ...)))
  (when (w3m-time-newer-p (nth 3 elem) (w3m-arrived-time ...)) (w3m-arrived-add (if ... ... ...) (nth 1 elem) (nth 2 elem) (nth 3 elem) (when ... ...) (nth 5 elem)))
  (while --cl-dolist-temp-- (setq elem (car --cl-dolist-temp--)) (when (w3m-time-newer-p ... ...) (w3m-arrived-add ... ... ... ... ... ...)) (setq --cl-dolist-temp-- (cdr --cl-dolist-temp--)))
  (let ((--cl-dolist-temp-- ...) elem) (while --cl-dolist-temp-- (setq elem ...) (when ... ...) (setq --cl-dolist-temp-- ...)) nil)
  (catch (quote --cl-block-nil--) (let (... elem) (while --cl-dolist-temp-- ... ... ...) nil))
  (cl-block-wrapper (catch (quote --cl-block-nil--) (let ... ... nil)))
  (block nil (let (... elem) (while --cl-dolist-temp-- ... ... ...) nil))
  (dolist (elem (w3m-arrived-load-list)) (when (w3m-time-newer-p ... ...) (w3m-arrived-add ... ... ... ... ... ...)))
  (progn (dolist (elem ...) (when ... ...)) (let (list) (mapatoms ... w3m-arrived-db) (w3m-save-list w3m-arrived-file ... nil t)) (setq w3m-arrived-db nil) (run-hooks (quote w3m-arrived-shutdown-functions)))
  (if w3m-arrived-db (progn (dolist ... ...) (let ... ... ...) (setq w3m-arrived-db nil) (run-hooks ...)))
  (when w3m-arrived-db (dolist (elem ...) (when ... ...)) (let (list) (mapatoms ... w3m-arrived-db) (w3m-save-list w3m-arrived-file ... nil t)) (setq w3m-arrived-db nil) (run-hooks (quote w3m-arrived-shutdown-functions)))
  w3m-arrived-shutdown()
  (progn (w3m-session-automatic-save) (w3m-delete-frames-and-windows) (sit-for 0) (dolist (buffer all-buffers) (w3m-cancel-refresh-timer buffer) (kill-buffer buffer) (when w3m-use-form ...)) (when w3m-use-form (w3m-form-textarea-file-cleanup)) (w3m-select-buffer-close-window) (w3m-cache-shutdown) (w3m-arrived-shutdown) (w3m-process-shutdown) (when w3m-use-cookies (w3m-cookie-shutdown)) (w3m-kill-all-buffer))
  (if (or force (prog1 ... ...)) (progn (w3m-session-automatic-save) (w3m-delete-frames-and-windows) (sit-for 0) (dolist ... ... ... ...) (when w3m-use-form ...) (w3m-select-buffer-close-window) (w3m-cache-shutdown) (w3m-arrived-shutdown) (w3m-process-shutdown) (when w3m-use-cookies ...) (w3m-kill-all-buffer)))
  (when (or force (prog1 ... ...)) (w3m-session-automatic-save) (w3m-delete-frames-and-windows) (sit-for 0) (dolist (buffer all-buffers) (w3m-cancel-refresh-timer buffer) (kill-buffer buffer) (when w3m-use-form ...)) (when w3m-use-form (w3m-form-textarea-file-cleanup)) (w3m-select-buffer-close-window) (w3m-cache-shutdown) (w3m-arrived-shutdown) (w3m-process-shutdown) (when w3m-use-cookies (w3m-cookie-shutdown)) (w3m-kill-all-buffer))
  (let ((w3m-fb-mode nil)) (when (or force ...) (w3m-session-automatic-save) (w3m-delete-frames-and-windows) (sit-for 0) (dolist ... ... ... ...) (when w3m-use-form ...) (w3m-select-buffer-close-window) (w3m-cache-shutdown) (w3m-arrived-shutdown) (w3m-process-shutdown) (when w3m-use-cookies ...) (w3m-kill-all-buffer)))
  (if (or (= ... ...) (prog1 ... ...)) (let (...) (when ... ... ... ... ... ... ... ... ... ... ... ...)) (w3m-session-automatic-save) (w3m-fb-delete-frame-buffers) (w3m-fb-select-buffer))
  (let ((buffers ...) (all-buffers ...)) (if (or ... ...) (let ... ...) (w3m-session-automatic-save) (w3m-fb-delete-frame-buffers) (w3m-fb-select-buffer)))
  w3m-quit(nil)
  call-interactively(w3m-quit)

================================================================

System Info to help track down your bug:
---------------------------------------
emacs-w3m-version
 => "1.4.244"
emacs-version
 => "GNU Emacs 23.0.50.8 (i686-pc-linux-gnu, GTK+ Version 2.12.1)\n of 2007-11-30 on onosendai"
mule-version
 => "5.0 (SAKAKI)"
system-type
 => gnu/linux
(featurep 'gtk)
 => t
w3m-version
 => "w3m/0.5.1+cvs-1.968"
w3m-type
 => w3m-m17n
w3m-compile-options
 => ("lang=en" "m17n" "image" "color" "ansi-color" "mouse" "gpm" "menu" "cookie" "ssl" "ssl-verify" "external-uri-loader" "w3mmailer" "nntp" "gopher" "ipv6" "alarm" "mark" "migemo")
w3m-language
 => nil
w3m-command-arguments
 => nil
w3m-command-arguments-alist
 => (("^http://\\([^/]*\\.\\)*127.0.0.1\\(/\\|$\\)" "-no-proxy") ("" "-o" "http_proxy=http://127.0.0.1:8080/";))
w3m-command-environment
 => nil
w3m-input-coding-system
 => utf-8
w3m-output-coding-system
 => utf-8
w3m-use-mule-ucs
 => nil

--
`To alcohol!  The cause of, and solution to,
 all of life's problems' --Homer J. Simpson