all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 13066@debbugs.gnu.org
Subject: bug#13066: 24.2.90; setting rmail-summary-window-size causes error
Date: Sun, 30 Dec 2012 17:37:52 +0900	[thread overview]
Message-ID: <87mwww9bq7.fsf@gnu.org> (raw)
In-Reply-To: <50DD73B5.2000602@gmx.at> (message from martin rudalics on Fri, 28 Dec 2012 11:25:57 +0100)

In article <50DD73B5.2000602@gmx.at>, martin rudalics <rudalics@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@gnu.org





  reply	other threads:[~2012-12-30  8:37 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-03 13:43 bug#13066: 24.2.90; setting rmail-summary-window-size causes error Kenichi Handa
2012-12-03 17:41 ` martin rudalics
2012-12-03 19:41   ` Glenn Morris
2012-12-04  2:18     ` Glenn Morris
2012-12-04  8:36       ` martin rudalics
2012-12-04 13:33       ` Kenichi Handa
2012-12-06 11:26         ` Kenichi Handa
2012-12-06 20:55           ` Glenn Morris
2012-12-06 21:45             ` Glenn Morris
2012-12-07 10:35               ` martin rudalics
2012-12-07 12:36               ` Kenichi Handa
2012-12-08 11:20                 ` martin rudalics
2012-12-28 10:25                 ` martin rudalics
2012-12-30  8:37                   ` Kenichi Handa [this message]
2012-12-30  9:28                     ` martin rudalics
2012-12-31 11:36                       ` martin rudalics
2013-01-02 14:09 ` Kenichi Handa
2013-01-04  7:08   ` martin rudalics
2013-01-06  6:04     ` Kenichi Handa
2013-01-07  7:43       ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mwww9bq7.fsf@gnu.org \
    --to=handa@gnu.org \
    --cc=13066@debbugs.gnu.org \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.