Gnus development mailing list
 help / color / mirror / Atom feed
From: asjo@koldfront.dk (Adam Sjøgren)
To: ding@gnus.org
Subject: Re: Mutt/Gnus hybrid for mail?
Date: Tue, 09 Dec 2014 19:26:22 +0100	[thread overview]
Message-ID: <878uig8ysx.fsf@topper.koldfront.dk> (raw)
In-Reply-To: <m2vblkbtyj.fsf@PFDStudio-Air.home>

Peter writes:

> Assuming that I can find some way to program a key to expire a message
> and open the next one (ie, display it in the Article buffer)
> automatically, it would need to be aware that if I expire the last
> message in the summary, there's no next message to display, so it
> should just do nothing in that case. That's what I was trying to
> convey.

You can do this with a little configation and an "advice".

First, set gnus-summary-goto-unread to t, which makes 'E' jump to the
next unread article, rather than just the next article:

  (setq gnus-summary-goto-unread t)

(I assume this is what you mean by "the next one", otherwise, you can
simply leave this out.)

Then tell Gnus that when you press 'E', which jumps to the next (unread)
article, you also want to automatically do the same as pressing 'g'
(i.e. display the article you are on in the summary):

  (defadvice gnus-summary-mark-as-expirable (after show-article last activate)
    (gnus-summary-show-article))


  Best regards,

    Adam

-- 
 "Smilies are extremely moist."                               Adam Sjøgren
                                                         asjo@koldfront.dk




  reply	other threads:[~2014-12-09 18:26 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-08 13:20 Peter Davis
2014-12-08 20:06 ` Peter Münster
2014-12-08 22:47   ` Peter Davis
2014-12-08 23:25     ` Peter Münster
2014-12-09  0:15       ` Peter Davis
2014-12-09  0:51       ` Peter Davis
2014-12-09  8:00         ` Peter Münster
2014-12-09  0:20     ` Jorge A. Alfaro-Murillo
2014-12-09  0:47       ` Peter Davis
2014-12-09  3:57     ` Charles Philip Chan
2014-12-09  4:04       ` Charles Philip Chan
2014-12-09 10:46     ` Eric S Fraga
2014-12-09 12:49       ` Peter Davis
2014-12-09 14:10         ` Eric S Fraga
2014-12-09 14:34           ` Peter Davis
2014-12-09 16:15             ` Eric S Fraga
2014-12-09 17:42               ` Peter Davis
2014-12-09 18:26                 ` Adam Sjøgren [this message]
2014-12-09 19:56                   ` Peter Davis
2014-12-09 20:16                     ` Adam Sjøgren
2014-12-09 21:21                       ` Peter Münster
2014-12-09 21:20             ` Charles Philip Chan
2014-12-09 22:46               ` Peter Davis
2014-12-10  0:19                 ` Charles Philip Chan
2014-12-10  0:25                   ` Peter Davis
2014-12-10  1:35                     ` Charles Philip Chan
2014-12-10  2:01                       ` Peter Davis

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=878uig8ysx.fsf@topper.koldfront.dk \
    --to=asjo@koldfront.dk \
    --cc=ding@gnus.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).