GNU bug report logs - #13066
24.2.90; setting rmail-summary-window-size causes error

Previous Next

Package: emacs;

Reported by: Kenichi Handa <handa <at> gnu.org>

Date: Mon, 3 Dec 2012 13:49:01 UTC

Severity: normal

Found in version 24.2.90

Fixed in version 24.2.91

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kenichi Handa <handa <at> gnu.org>
To: Kenichi Handa <handa <at> gnu.org>
Cc: rgm <at> gnu.org, 13066 <at> debbugs.gnu.org
Subject: bug#13066: 24.2.90; setting rmail-summary-window-size causes error
Date: Thu, 06 Dec 2012 20:26:46 +0900
In article <87y5he0woa.fsf <at> gnu.org>, Kenichi Handa <handa <at> gnu.org> writes:

> In article <lxr4n6ftlg.fsf <at> fencepost.gnu.org>, Glenn Morris <rgm <at> gnu.org> writes:
> > I think it's probably something to do with select-window selecting a
> > buffer when it didn't before. At least it looks to me like
> > the end of rmail-maybe-display-summary is changing buffer when in 24.2
> > it seems not to.

> > I think this makes the problem go away. Other uses are unaffected AFAICS.

> Thank you.  That patch surely solved the problem.

Unfortunately, I found another similar problem.

% emacs -Q
M-x rmail RET
M-x customize-variable RET rmail-summary-window-size
;; Then set it to 10, click [apply], type q, then type h,
;; and then type g (rmail-summary-get-new-mail).

This causes the same error.  The backtrace is this:

Debugger entered--Lisp error: (wrong-type-argument numberp nil)
  zerop(nil)
  (or (zerop msg) (rmail-summary-goto-msg msg))
  (let (msg) (save-current-buffer (set-buffer rmail-buffer) (rmail-get-new-mail file-name) (setq msg rmail-current-message)) (or (zerop msg) (rmail-summary-goto-msg msg)))
  rmail-summary-get-new-mail(nil)
  call-interactively(rmail-summary-get-new-mail nil nil)

---
Kenichi Handa
handa <at> gnu.org




This bug report was last modified 12 years and 198 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.