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


Message #46 received at 13066 <at> debbugs.gnu.org (full text, mbox):

From: Kenichi Handa <handa <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: rgm <at> gnu.org, 13066 <at> debbugs.gnu.org
Subject: Re: bug#13066: 24.2.90; setting rmail-summary-window-size causes error
Date: Sun, 30 Dec 2012 17:37:52 +0900
In article <50DD73B5.2000602 <at> gmx.at>, martin rudalics <rudalics <at> gmx.at> writes:

> > By the way, it seems that rmail-maybe-display-summary should
> > use window-resize instead of enlarge-window.  Then we don't
> > need the extra code for changing and restoring window and
> > buffer.

> Done in revision#111359 on trunk.  Please have a look.

It seems that the new code changed the logic.  Now
rmail-summary-window-size doesn't take effect.  As I didn't
customize rmail-redisplay-summary, its value is nil.  And
the new code handles rmail-summary-window-size only if its
value is non-nil.

    (and rmail-summary-buffer (buffer-name rmail-summary-buffer)
	 rmail-redisplay-summary   ;; <--- !!!
	 (setq window
	       (display-buffer
		rmail-summary-buffer '(nil (reusable-frames . visible))))
	 rmail-summary-window-size
	 (setq size (- rmail-summary-window-size (window-height window)))
	 (window--resizable-p window size)
	 (window-resize window size))))

---
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.