From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85326 Path: news.gmane.org!not-for-mail From: asjo@koldfront.dk (Adam =?utf-8?Q?Sj=C3=B8gren?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: Mutt/Gnus hybrid for mail? Date: Tue, 09 Dec 2014 19:26:22 +0100 Organization: koldfront - analysis & revolution, Copenhagen, Denmark Message-ID: <878uig8ysx.fsf@topper.koldfront.dk> References: <87egs952jy.fsf@micropit.roche-blanche.homenet.org> <8761dl3xth.fsf@pinto.chemeng.ucl.ac.uk> <87ppbsgbi7.fsf@ucl.ac.uk> <87r3w8x0i0.fsf@ucl.ac.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1418149631 29516 80.91.229.3 (9 Dec 2014 18:27:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Dec 2014 18:27:11 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33570@lists.math.uh.edu Tue Dec 09 19:27:03 2014 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XyPUz-0001i1-Q9 for ding-account@gmane.org; Tue, 09 Dec 2014 19:27:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1XyPUf-0005Vt-Ot; Tue, 09 Dec 2014 12:26:41 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1XyPUd-0005Vg-1m for ding@lists.math.uh.edu; Tue, 09 Dec 2014 12:26:39 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1XyPUb-0002eS-EA for ding@lists.math.uh.edu; Tue, 09 Dec 2014 12:26:38 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XyPUZ-0008J3-EV for ding@gnus.org; Tue, 09 Dec 2014 19:26:35 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XyPUZ-0001TB-3x for ding@gnus.org; Tue, 09 Dec 2014 19:26:35 +0100 Original-Received: from 2505ds5-by.0.fullrate.dk ([89.150.142.116]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2014 19:26:35 +0100 Original-Received: from asjo by 2505ds5-by.0.fullrate.dk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 09 Dec 2014 19:26:35 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 2505ds5-by.0.fullrate.dk OpenPGP: id=49D0746121BDE416; url=http://asjo.koldfront.dk/gpg.asc Mail-Follow-Up-To: never X-Face: )qY&CseJ?.:=8F#^~GcSA?F=9eu'{KAFfL1C3/A&:nE?PW\i65"ba0NS)97,Q(^@xk}n4Ou rPuR#V8I(J_@~H($[ym:`K_+]*kjvW>xH5jbgLBVFGXY:(#4P>zVBklLbdL&XxL\M)%T}3S/IS9lMJ ^St'=VZBR Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85326 Archived-At: 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