all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <ken1handa@gmail.com>
To: rudalics@gmx.at
Cc: 13066@debbugs.gnu.org
Subject: bug#13066: 24.2.90; setting rmail-summary-window-size causes error
Date: Wed, 2 Jan 2013 23:09:34 +0900	[thread overview]
Message-ID: <CAAgKcL1j0vKjDVwi+3tVfpAMe1dgMJcXNJPzma3HraR56s+xyg@mail.gmail.com> (raw)
In-Reply-To: <87624js134.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 1821 bytes --]

In article <50E0094A.1010500@gmx.at>, martin rudalics <rudalics@gmx.at>
writes:

> I obviously have no idea how this is supposed to work :-(

> We could replace the condition

>    (when (and rmail-summary-buffer (buffer-name rmail-summary-buffer)
>          rmail-redisplay-summary)

> in `rmail-maybe-display-summary' either by

>    (when (and rmail-summary-buffer (buffer-name rmail-summary-buffer)
>          (or rmail-redisplay-summary
>          (get-buffer-window rmail-summary-buffer 0)))

> or by

>    (when (and rmail-summary-buffer (buffer-name rmail-summary-buffer)
>          (or rmail-redisplay-summary rmail-summary-window-size))

> Both should work if the summary window was specially created for the
> summary.  They won't work when the window got merely reused - but in
> that case resizing the window doesn't strike me as a good idea in the
> first place.  Can you try them?

I've just updated my working tree of Emacs from trunk and
found that you have already committed a new patch.  So, I
tried it and confirmed that it worked well.  Thank you!!

> If this doesn't help, can you please tell me when and why you want to
> resize the summary window and why you want to do that with
> `rmail-redisplay-summary' set to nil?  I can obviously restore the old
> logic but would like to understand it first.

My understanding of rmail-redisplay-summary is that when it
is non-nil, rmail-summary-buffer is forced to be shown.  For
instance, when rmail-summary-buffer is buried and I change
the current message in RMAIL buffer by typing p,
rmail-summary-buffer pops up.  As I don't want that
behavior, I haven't customized rmail-redisplay-summary to t.

What I want is that rmail-summary-buffer is shown in some
window of the specified height when I type h in RMAIL
buffer.

---
Kenichi Handa
handa@gnu.org

[-- Attachment #2: Type: text/html, Size: 2205 bytes --]

  parent reply	other threads:[~2013-01-02 14:09 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
2012-12-30  9:28                     ` martin rudalics
2012-12-31 11:36                       ` martin rudalics
2013-01-02 14:09 ` Kenichi Handa [this message]
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=CAAgKcL1j0vKjDVwi+3tVfpAMe1dgMJcXNJPzma3HraR56s+xyg@mail.gmail.com \
    --to=ken1handa@gmail.com \
    --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.