unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Gnus group subscriptions and messages read state
@ 2016-11-04 21:03 Lele Gaifax
  2016-11-09 12:38 ` B.V. Raghav
  0 siblings, 1 reply; 4+ messages in thread
From: Lele Gaifax @ 2016-11-04 21:03 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

I tried to find a more focused newsgroup for Gnus, but the obvious candidates
(thru gmane.org and http://www.gnus.org/) didn't have a good answer. Please
redirect me to a better place, if there's one.

Foreword: I'm using Gnus (the version coming with Emacs 25.1, that is 5.13) as
my only nntp client, following a couple of dozens of groups hosted by
gmane.org. What follows is an excerpt of my configuration:

  ;; Keep Gnus stuff under ~/.emacs.d/lele/gnus/
  (setq gnus-home-directory (expand-file-name "~/.emacs.d/lele/gnus/"))
  
  ;; Since I only use Gnus to read the newsgroups, disable reading and writing
  ;; the generic newsrc file
  (setq gnus-read-newsrc-file nil)
  (setq gnus-save-newsrc-file nil)

  ;; Also, I manually select which newsgroups I'm gonna follow, so don't bother
  ;; with keeping a notion of "new" newsgroups
  (setq gnus-save-killed-list nil)
  (setq gnus-check-new-newsgroups nil)

In this way, Gnus keeps its "state" in a single file, that is .../gnus/.newsrc.eld

Since I'm keeping all my ~/.emacs.d directory under version control, the one
thing that bothers me and which I tried several times to find a solution is
that the "subscriptions" (i.e. the list of groups I follow regularly) are kept
together with the notion of which messages I already seen, or marked as
sticky, etc in a single alist (specifically gnus-newsrc-alist). I share my
~/.emacs.d/ repository with a couple of friends (that's the reason for the
particular setting of gnus-home-directory above), and it's thus annoying to
commit the newsrc file now and then, so much that I actually never do that.

What I'd like is to separate in some way the two information, and keep only
the "subscriptions" under version control, so that I could easily restart
reading my beloved groups on a different machine, if needed, possibly
"catching up" to last week or so... Ideally, I would keep an explicit list of
subscribed groups in say ~/.emacs.d/lele.el, and tell Gnus to "merge"/"extend"
that to build the actual gnus-newsrc-alist at startup, or something like that.

Can you suggest the least invasive way to implement that, if at all possible?

Thanks in advance for any hint,
ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Gnus group subscriptions and messages read state
  2016-11-04 21:03 Gnus group subscriptions and messages read state Lele Gaifax
@ 2016-11-09 12:38 ` B.V. Raghav
  2016-11-09 18:10   ` Eric Abrahamsen
  0 siblings, 1 reply; 4+ messages in thread
From: B.V. Raghav @ 2016-11-09 12:38 UTC (permalink / raw)
  To: help-gnu-emacs

Lele Gaifax <lele@metapensiero.it> writes:
>
> I tried to find a more focused newsgroup for Gnus, but the obvious candidates
> (thru gmane.org and http://www.gnus.org/) didn't have a good answer. Please
> redirect me to a better place, if there's one.

gmane.emacs.gnus.user

I am sorry, I am a novice, and don't know any other details...

-- 
(B.V. Raghav)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Gnus group subscriptions and messages read state
  2016-11-09 12:38 ` B.V. Raghav
@ 2016-11-09 18:10   ` Eric Abrahamsen
  2016-11-10  9:19     ` Lele Gaifax
  0 siblings, 1 reply; 4+ messages in thread
From: Eric Abrahamsen @ 2016-11-09 18:10 UTC (permalink / raw)
  To: help-gnu-emacs

bvraghav@iitk.ac.in (B.V. Raghav) writes:

> Lele Gaifax <lele@metapensiero.it> writes:
>>
>> I tried to find a more focused newsgroup for Gnus, but the obvious candidates
>> (thru gmane.org and http://www.gnus.org/) didn't have a good answer. Please
>> redirect me to a better place, if there's one.
>
> gmane.emacs.gnus.user
>
> I am sorry, I am a novice, and don't know any other details...

Might also try gmane.emacs.gnus.general -- sometimes that list seems to
have more traffic.




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Gnus group subscriptions and messages read state
  2016-11-09 18:10   ` Eric Abrahamsen
@ 2016-11-10  9:19     ` Lele Gaifax
  0 siblings, 0 replies; 4+ messages in thread
From: Lele Gaifax @ 2016-11-10  9:19 UTC (permalink / raw)
  To: help-gnu-emacs

Eric Abrahamsen <eric@ericabrahamsen.net> writes:

> bvraghav@iitk.ac.in (B.V. Raghav) writes:
>
>> gmane.emacs.gnus.user
>>
>> I am sorry, I am a novice, and don't know any other details...
>
> Might also try gmane.emacs.gnus.general -- sometimes that list seems to
> have more traffic.

Thanks to both, I will show up there.

ciao, lele.
-- 
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
lele@metapensiero.it  |                 -- Fortunato Depero, 1929.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-11-10  9:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-04 21:03 Gnus group subscriptions and messages read state Lele Gaifax
2016-11-09 12:38 ` B.V. Raghav
2016-11-09 18:10   ` Eric Abrahamsen
2016-11-10  9:19     ` Lele Gaifax

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).