Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Emanuel Berg <embe8573@student.uu.se>
To: info-gnus-english@gnu.org
Subject: Re: read messages becoming unread in nnml
Date: Tue, 12 Aug 2014 01:16:20 +0200	[thread overview]
Message-ID: <87sil2r517.fsf@debian.uxu> (raw)
In-Reply-To: <mailman.6989.1407797356.1147.info-gnus-english@gnu.org>

asjo@koldfront.dk (Adam Sjøgren) writes:

>> No, I always assumed Emacs would tell Gnus to save
>> and terminate.
>
> It doesn't.

Perhaps there is a hook that is executed when Emacs
quits, which can be made to have the .newsrc.eld file
saved. But this would be a no-issue if that file was
always consistent with the state of what you see, which
I believe is desirable in principle as well. It would
be a nice option, if not everyone agrees...

>> Man, come to think of it, I don't even stop Emacs, I
>> run a shell command from Emacs (shutdown) to shut
>> down the whole system. Perhaps that's why!
>
> It most probably will cause you problems from time to
> time, yes.

I'll write a defun to terminate Emacs which will before
that Gnus, and then invoke the shell command.

> I think we can rule out that your problems and
> Julien's problems have the same cause.

Especially since he said he had (very) old messages
reappearing, I never had that.

> So why did you turn off the dribble-file, which
> conceptually does what you are saying you want?

In the help, it says:

    If Emacs should crash without saving the .newsrc
    files, complete information can be restored from
    the dribble file.

But Emacs never crashes for me, neither in software or
for external reasons like power failure or whatever. I
don't need that kind of backup system.

> Yeah, but you are pulling the rug out under Gnus,
> like, every time you turn your computer off.

Yeah, in effect that could have been what has happened.
But this happens not often, which means my efforts to
save the newsrc file must have been to a great extent
successful. To a great extent - but not entirely. I
don't know where it fails but shutting down the system
in the way just described will at least compensate by
always saving the newsrc file at shutdown.

> So, the unforseen event in this case is located around
> 40 cm's from the screen. Or some meters from the
> projection on your wall.

That's very, very common.

> b) Don't turn off the dribble-file, unless you have a
> really, really good reason (i.e. don't)

Like I said, I want the main file always to be
consistent and I'm not worried about a crash.

-- 
underground experts united
_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

  parent reply	other threads:[~2014-08-11 23:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.6902.1407653531.1147.info-gnus-english@gnu.org>
2014-08-10 20:52 ` Emanuel Berg
2014-08-11  9:17   ` Adam Sjøgren
2014-08-11 10:54     ` Julien Cubizolles
2014-08-11 10:51   ` Julien Cubizolles
2014-09-17  9:15     ` Julien Cubizolles
     [not found]   ` <mailman.6960.1407748672.1147.info-gnus-english@gnu.org>
2014-08-11 21:55     ` Emanuel Berg
2014-08-11 22:48       ` Adam Sjøgren
     [not found]       ` <mailman.6989.1407797356.1147.info-gnus-english@gnu.org>
2014-08-11 23:16         ` Emanuel Berg [this message]
2014-08-12 10:33           ` Adam Sjøgren
     [not found]           ` <mailman.7007.1407839648.1147.info-gnus-english@gnu.org>
2014-08-12 17:15             ` Emanuel Berg
2014-08-12 17:32               ` Adam Sjøgren
2014-08-12 17:32               ` Adam Sjøgren
     [not found]               ` <mailman.7028.1407864763.1147.info-gnus-english@gnu.org>
2014-08-12 17:59                 ` Emanuel Berg
2014-08-12 20:17                   ` Adam Sjøgren
     [not found]                   ` <mailman.7035.1407874665.1147.info-gnus-english@gnu.org>
2014-08-13 20:02                     ` Emanuel Berg
     [not found]               ` <mailman.7029.1407864916.1147.info-gnus-english@gnu.org>
2014-08-12 18:07                 ` Emanuel Berg
2014-08-12 17:21         ` Carlos Pita
2014-08-12 17:20           ` Emanuel Berg
2014-08-10  6:51 Julien Cubizolles

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=87sil2r517.fsf@debian.uxu \
    --to=embe8573@student.uu.se \
    --cc=info-gnus-english@gnu.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).