Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-article-read-summary-keys: can't handle hidden summary buffer?
@ 2008-09-29  4:29 Miles Bader
  2008-09-29 11:08 ` Katsumi Yamaoka
  0 siblings, 1 reply; 4+ messages in thread
From: Miles Bader @ 2008-09-29  4:29 UTC (permalink / raw)
  To: ding

If I select the article window, and hide the summary buffer (something I
often like to do while reading long threads), then many inter-article
movement commands give an error like:

   gnus-article-read-summary-keys: Wrong type argument: window-live-p, #<window 44>

The commands still seem to pretty much do the right thing (for instance,
"n" still moves to the next message), but the constant error messages
are annoying (and presumably there are some minor functional differences
as well).

This used to work properly, with no error messages.  I'm not really sure
when error messages started showing up, but sometime in the medium-past
(at least the last year or so I think?).

The stack backtrace is:

   Debugger entered--Lisp error: (wrong-type-argument window-live-p #<window 52>)
     window-buffer(#<window 52>)
     (set-buffer (window-buffer win))
     (save-current-buffer (set-buffer (window-buffer win)) (eq major-mode (quote gnus-summary-mode)))
     (with-current-buffer (window-buffer win) (eq major-mode (quote gnus-summary-mode)))
     (and (not not-restore-window) new-sum-point (with-current-buffer (window-buffer win) (eq major-mode ...)))
     (if (and (not not-restore-window) new-sum-point (with-current-buffer ... ...)) (progn (set-window-point win new-sum-point) (set-window-start win new-sum-start) (set-window-hscroll win new-sum-hscroll)))
     (when (and (not not-restore-window) new-sum-point (with-current-buffer ... ...)) (set-window-point win new-sum-point) (set-window-start win new-sum-start) (set-window-hscroll win new-sum-hscroll))
     (progn (setq selected (gnus-summary-select-article)) (set-buffer obuf) (unless not-restore-window (set-window-configuration owin)) (when (and ... new-sum-point) (set-window-start ... 1) (set-window-point ... ...)) (when (and ... new-sum-point ...) (set-window-point win new-sum-point) (set-window-start win new-sum-start) (set-window-hscroll win new-sum-hscroll)))
     (if (or (eq in-buffer ...) (when ... ... t)) (progn (setq selected ...) (set-buffer obuf) (unless not-restore-window ...) (when ... ... ...) (when ... ... ... ...)))
     (when (or (eq in-buffer ...) (when ... ... t)) (setq selected (gnus-summary-select-article)) (set-buffer obuf) (unless not-restore-window (set-window-configuration owin)) (when (and ... new-sum-point) (set-window-start ... 1) (set-window-point ... ...)) (when (and ... new-sum-point ...) (set-window-point win new-sum-point) (set-window-start win new-sum-start) (set-window-hscroll win new-sum-hscroll)))
     (progn (when (eq win ...) (setq new-sum-point ... new-sum-start ... new-sum-hscroll ...)) (when (or ... ...) (setq selected ...) (set-buffer obuf) (unless not-restore-window ...) (when ... ... ...) (when ... ... ... ...)))
     (if (and (setq func ...) (functionp func) (condition-case code ... ...)) (progn (when ... ...) (when ... ... ... ... ... ...)) (set-window-configuration owin) (if err (signal ... ...) (ding)))
     (let ((obuf ...) (owin ...) win func in-buffer selected new-sum-start new-sum-hscroll err) (cond (not-restore-window ... ...) (... ...) (t ...)) (setq in-buffer (current-buffer)) (if (and ... ... ...) (progn ... ...) (set-window-configuration owin) (if err ... ...)))
     (cond ((eq ... 8) (gnus-article-describe-bindings ...)) ((or ... ... ...) (let ... ... ... ...)) (t (let ... ... ... ...)))
     (let ((nosaves ...) (nosave-but-article ...) (nosave-in-article ...) (up-to-top ...) keys new-sum-point) (with-current-buffer gnus-article-current-summary (let ... ...)) (message "") (cond (... ...) (... ...) (t ...)))
     gnus-article-read-summary-keys(nil)
     call-interactively(gnus-article-read-summary-keys nil nil)


Thanks,

-Miles

-- 
The secret to creativity is knowing how to hide your sources.
  --Albert Einstein



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-09-29 23:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-29  4:29 gnus-article-read-summary-keys: can't handle hidden summary buffer? Miles Bader
2008-09-29 11:08 ` Katsumi Yamaoka
2008-09-29 12:20   ` Miles Bader
2008-09-29 23:55     ` Katsumi Yamaoka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).