Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Overridding vm's messing with windows

3 views
Skip to first unread message

Robert Marshall

unread,
Mar 6, 2018, 10:20:03 AM3/6/18
to
I use vm's summary mode and most of the time I have a frame with just
that buffer visible. I've found a minor annoyance is that when I
vm-get-new-mail and if there is new mail, vm then splits that window,
and shows the presentation window under it, I have a few new emails that
I've not read yet (yes I know!!) so the really new ones aren't visible I
then put the window situation back to what it was and go and find the
really new ones.

I looked at vm-frame-per-summary but that isn't what I want. I'm quite
happy with when *I* type 'space' the summary frame splits but I don't
like vm deciding to do it for me! Am I missing some other configuration
variable?

For the moment what I'm trying is
(defun rajm:keep-summary-full ()
(if (eq major-mode 'vm-summary-mode)
(delete-other-windows)))
(add-hook 'vm-arrived-messages-hook 'rajm:keep-summary-full)

Robert
--
La grenouille songe..dans son château d'eau
Robert Marshall twitter: @rajm

Uday Reddy

unread,
Mar 7, 2018, 6:56:41 AM3/7/18
to rob...@capuchin.co.uk, viewma...@nongnu.org
sp...@capuchin.co.uk writes:

> I looked at vm-frame-per-summary but that isn't what I want. I'm quite
> happy with when *I* type 'space' the summary frame splits but I don't
> like vm deciding to do it for me! Am I missing some other configuration
> variable?

Hi, see the manual section on "Navigating".

Cheers,
Uday

Robert Marshall

unread,
Mar 7, 2018, 2:21:06 PM3/7/18
to viewma...@nongnu.org
On Wed, Mar 07 2018, Uday Reddy <usr.vm...@gmail.com> wrote:

> sp...@capuchin.co.uk writes:
>
>> I looked at vm-frame-per-summary but that isn't what I want. I'm quite
>> happy with when *I* type 'space' the summary frame splits but I don't
>> like vm deciding to do it for me! Am I missing some other configuration
>> variable?
>
> Hi, see the manual section on "Navigating".
>
> Cheers,
> Uday

Looking at the 8.2.0b info there's no Navigation section I've been to
the latest bzr trunk and, looking at the section there, I'm not sure what
you're pointing me to? My question is about the window configuration
rather than moving around the summary window - I have a frame set up as
I want with just the summary visible and I don't want just getting email
to cause the frame /window layout to change. The real content of my
issue lies in the snipped bit:

when I vm-get-new-mail and if there is new mail, vm then splits
that window, and shows the presentation window under it,

I want to prevent this ^^^^^^^^^^^^^^^^ and at the moment I'm using
vm-arrived-messages-hook to do this.

It might be nice (IMHO) if running vm-summarize when the summary buffer
is already visible - when it doesn't appear to do anything - for it just
to show the summary buffer - in which case my issue would be more or
less solved. I had been doing C-x 1 which doesn't (for me lie well under
the fingers)

Uday Reddy

unread,
Aug 24, 2018, 2:24:43 PM8/24/18
to rob...@capuchin.co.uk, viewma...@nongnu.org
Robert Marshall writes:

> I use vm's summary mode and most of the time I have a frame with just
> that buffer visible. I've found a minor annoyance is that when I
> vm-get-new-mail and if there is new mail, vm then splits that window,
> and shows the presentation window under it, I have a few new emails that
> I've not read yet (yes I know!!) so the really new ones aren't visible I
> then put the window situation back to what it was and go and find the
> really new ones.

Just catching up with this old email.

How the windows get displayed is controlled by the Frame Configuration. When
you get new mail, VM resets all the frames as per the Frame Configuration
settings. So, if you want a separate window for summary, you probably need
to set `vm-frame-per-summary'.

Cheers,
Uday

0 new messages