Gnus development mailing list
 help / color / mirror / Atom feed
* trouble with .marks
@ 2001-10-07 20:20 Colin Walters
  2001-10-08  6:55 ` Simon Josefsson
  2001-10-08  7:14 ` Kai Großjohann
  0 siblings, 2 replies; 5+ messages in thread
From: Colin Walters @ 2001-10-07 20:20 UTC (permalink / raw)


Hello,

I had been using Oort Gnus for a while until about two weeks ago, when
I started to have some random type errors, and I thought I'd downgrade
to the stock Gnus 5.9 from Emacs 21.

I'd like to try Oort again (for the GNUPG integration), now that I
have time to debug the type errors, but unfortunately I have leftover
.marks files from when I was using Oort.  Can I just delete those, and
will everything be regenerated when I upgrade to Oort again?  In other
words, I'd like to keep my current ranges of read articles and such.

Thanks!









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

* Re: trouble with .marks
  2001-10-07 20:20 trouble with .marks Colin Walters
@ 2001-10-08  6:55 ` Simon Josefsson
  2001-10-08 18:36   ` Colin Walters
  2001-10-08 20:00   ` Dan Christensen
  2001-10-08  7:14 ` Kai Großjohann
  1 sibling, 2 replies; 5+ messages in thread
From: Simon Josefsson @ 2001-10-08  6:55 UTC (permalink / raw)
  Cc: ding

On 7 Oct 2001, Colin Walters wrote:

> Hello,
>
> I had been using Oort Gnus for a while until about two weeks ago, when
> I started to have some random type errors, and I thought I'd downgrade
> to the stock Gnus 5.9 from Emacs 21.
>
> I'd like to try Oort again (for the GNUPG integration), now that I
> have time to debug the type errors, but unfortunately I have leftover
> .marks files from when I was using Oort.  Can I just delete those, and
> will everything be regenerated when I upgrade to Oort again?

Yes.

Maybe we should fix this, even though it probably isn't the only problem
you would see when upgrading->downgrading->upgrading.  Looking at
`gnus-newsrc-file-version' like someone suggested is probably a simple and
working solution.




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

* Re: trouble with .marks
  2001-10-07 20:20 trouble with .marks Colin Walters
  2001-10-08  6:55 ` Simon Josefsson
@ 2001-10-08  7:14 ` Kai Großjohann
  1 sibling, 0 replies; 5+ messages in thread
From: Kai Großjohann @ 2001-10-08  7:14 UTC (permalink / raw)
  Cc: ding

Colin Walters <walters@debian.org> writes:

> I'd like to try Oort again (for the GNUPG integration), now that I
> have time to debug the type errors, but unfortunately I have leftover
> .marks files from when I was using Oort.  Can I just delete those, and
> will everything be regenerated when I upgrade to Oort again?  In other
> words, I'd like to keep my current ranges of read articles and such.

I think that should work.  After all, Simon's code takes care to
upgrade once, so it'll upgrade twice, too.

kai
-- 
Linux provides a nice `poweroff' command, but where is `poweron'?



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

* Re: trouble with .marks
  2001-10-08  6:55 ` Simon Josefsson
@ 2001-10-08 18:36   ` Colin Walters
  2001-10-08 20:00   ` Dan Christensen
  1 sibling, 0 replies; 5+ messages in thread
From: Colin Walters @ 2001-10-08 18:36 UTC (permalink / raw)


Simon Josefsson <jas@extundo.com> writes:

> Yes.

I somehow missed seeing the thread Lloyd started about this same
subject before I sent my original message.  My apologies.

Anyways, removing the .marks files and upgrading to Oort again works
just fine.  Now...on to debugging.



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

* Re: trouble with .marks
  2001-10-08  6:55 ` Simon Josefsson
  2001-10-08 18:36   ` Colin Walters
@ 2001-10-08 20:00   ` Dan Christensen
  1 sibling, 0 replies; 5+ messages in thread
From: Dan Christensen @ 2001-10-08 20:00 UTC (permalink / raw)


Simon Josefsson <jas@extundo.com> writes:

> Maybe we should fix this, even though it probably isn't the only problem
> you would see when upgrading->downgrading->upgrading.  Looking at
> `gnus-newsrc-file-version' like someone suggested is probably a simple and
> working solution.

Will this problem also happen if the user sets nnfolder-marks-is-evil
to t then nil then t?  I guess one solution is to have Gnus remove
the .mrk files it finds if nnfolder-marks-is-evil is set to nil
and Gnus is changing the marks for that group in .newsrc.eld.

Alternatively, if nnfolder-marks-is-evil is t, Gnus could not store
the marks in .newsrc.eld at all.  If the variable is set to nil,
Gnus could read the .mrk file one last time, update .newsrc.eld,
and then remove the .mrk file.

Storing the same information in more than one place is asking
for problems of this sort, so the proposal is to never do this.

All of the above applies to nnml too, of course.

-- 
Dan Christensen
jdc+news@uwo.ca



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

end of thread, other threads:[~2001-10-08 20:00 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-10-07 20:20 trouble with .marks Colin Walters
2001-10-08  6:55 ` Simon Josefsson
2001-10-08 18:36   ` Colin Walters
2001-10-08 20:00   ` Dan Christensen
2001-10-08  7:14 ` Kai Großjohann

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