emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: Bastien Guerry <bzg@gnu.org>
Cc: Xebar Saram <zeltakc@gmail.com>,
	Fabrice Popineau <fabrice.popineau@supelec.fr>,
	org mode <emacs-orgmode@gnu.org>,
	Peter Salazar <cycleofsong@gmail.com>,
	Ramon Diaz-Uriarte <rdiaz02@gmail.com>,
	fabrice.popineau@centralesupelec.fr
Subject: Re: [OFF TOPIC] almost giving up on emacs email..looking for advice?
Date: Sat, 15 Aug 2015 07:35:59 -0500	[thread overview]
Message-ID: <87lhdcg24w.fsf@fastmail.fm> (raw)
In-Reply-To: <87zj1t3suf.fsf@gnu.org> (Bastien Guerry's message of "Sat, 15 Aug 2015 09:37:28 +0200")

Hi Bastien,

Bastien Guerry <bzg@gnu.org> writes:

> Hi Matt,
>
> Matt Lundin <mdl@imapmail.org> writes:
>
>> I've configured gnus to sort subscribed groups
>> automatically by the number of times accessed, with the least read
>> groups falling to the bottom.
>
> This is interesting: could you share this bit of configuration?

Certainly! These are the settings I have:

--8<---------------cut here---------------start------------->8---
(setq gnus-group-sort-function 'gnus-group-sort-by-rank)
(add-hook 'gnus-summary-exit-hook 'gnus-summary-bubble-group)
(add-hook 'gnus-suspend-gnus-hook 'gnus-group-sort-groups-by-rank)
(add-hook 'gnus-exit-gnus-hook 'gnus-group-sort-groups-by-rank)
--8<---------------cut here---------------end--------------->8---

This causes gnus to bump up ("bubble") the score of a group each time
you read it. Then, whenever you exit or suspend gnus, all the groups
will be sorted according to their a) level and b) score (i.e., the
number of times read). All memory of a group's score will be wiped out
if you unsubscribe or kill the group.

Initially, I tried to add gnus-group-sort-by-rank to
gnus-summary-exit-hook, but I seem to remember that it interfered too
much with navigating the summary buffer.

Here's the relevant section of the manual:

https://www.gnu.org/software/emacs/manual/html_node/gnus/Group-Score.html#Group-Score

There may be something else in my config file that makes this work, so
feel free to let me know if the settings above don't produce the results
you expect.

Matt

  reply	other threads:[~2015-08-15 12:36 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-06 12:43 [OFF TOPIC] almost giving up on emacs email..looking for advice? Xebar Saram
2015-08-06 12:50 ` Peter Davis
2015-08-06 13:56 ` Eric S Fraga
2015-08-06 14:31 ` John Kitchin
2015-08-06 16:50   ` Titus von der Malsburg
2015-08-06 17:21     ` Xebar Saram
2015-08-06 20:45       ` Suvayu Ali
2015-08-06 15:59 ` Jorge A. Alfaro-Murillo
2015-08-06 23:51 ` Ramon Diaz-Uriarte
2015-08-08  3:38   ` Peter Salazar
2015-08-11 10:04     ` Fabrice Popineau
2015-08-11 12:23       ` Peter Davis
2015-08-11 12:30         ` Fabrice Popineau
2015-08-11 12:38           ` Rasmus
2015-08-11 12:35         ` Nicolas Richard
2015-08-11 13:20           ` Suvayu Ali
2015-08-11 13:53         ` Scott Randby
2015-08-11 14:16           ` Peter Davis
2015-08-11 14:38             ` Xebar Saram
2015-08-11 14:51             ` Scott Randby
2015-08-12  3:13         ` Peter Salazar
2015-08-12  4:30           ` Eric Abrahamsen
2015-08-12  8:34             ` Rasmus
2015-08-12  9:09               ` Eric Abrahamsen
2015-08-12  9:35                 ` Rasmus
2015-08-12 13:36                   ` Eric Abrahamsen
2015-08-12 22:42                     ` Rasmus
2015-08-13  2:10                       ` Eric Abrahamsen
2015-08-11 13:22       ` Matt Lundin
2015-08-15  7:37         ` Bastien Guerry
2015-08-15 12:35           ` Matt Lundin [this message]
2015-08-18 16:36             ` Bastien
2015-08-11 14:00       ` Gerald Wildgruber

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87lhdcg24w.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --cc=bzg@gnu.org \
    --cc=cycleofsong@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fabrice.popineau@centralesupelec.fr \
    --cc=fabrice.popineau@supelec.fr \
    --cc=rdiaz02@gmail.com \
    --cc=zeltakc@gmail.com \
    /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 public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).