Gnus development mailing list
 help / color / mirror / Atom feed
* Obscure bug with .newsrc
@ 1996-02-28 11:41 d. hall
  1996-02-29  8:58 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: d. hall @ 1996-02-28 11:41 UTC (permalink / raw)
  Cc: larsi

-----BEGIN PGP SIGNED MESSAGE-----

If gnus-save-newsrc-file is set to nil, and activate (gnus-group-restart)
function, it seems to erase groups from the group buffer.  I did this
accidentally today when I typed R when I forgot my focus was on the Emac X
window.  At first I thought it just decided to hide them by switching
displayed levels on me, but L did not produce my missing newsgroups.  In
gnus.el the function (gnus-group-restart)

(defun gnus-group-restart (&optional arg)
  "Force Gnus to read the .newsrc file."
  (interactive "P")
  (gnus-save-newsrc-file)
  (gnus-setup-news 'force)
  (gnus-group-list-groups arg))

Should a check be made before asking gnus-setup-news via 'force?  Or maybe
bugging out as soon as we know we're not supposed to read the newsrc file.
It's a matter of capibility and second guessing the user's intentions.

d.
-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMTQ/Z4X26urqpgG1AQG+KAP/RyRkavIaxXkXeV72p8T4Lv4DPATiK28l
uJsrg2JOzx+3V7HDJ8/OnZUDXlWLSXj1u/IDwyEC09f2cHn/Dc+0ZsFnBqGoocCD
BdUPaeReYivO9JiEG1Qd4ZlaQq7gSKNA+AUEhcjKvkqFGEHeI2wkThIcqYRrazeI
rWAWyYa8rvk=
=2oeU
-----END PGP SIGNATURE-----
-- 
Grok:
  [from the novel "Stranger in a Strange Land", by R. A. Heinlein,
  where it is a Martian word meaning roughly "to be one with"] v. To
  understand, usually in a global sense.
                                ~ from the jargon file


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

* Re: Obscure bug with .newsrc
  1996-02-28 11:41 Obscure bug with .newsrc d. hall
@ 1996-02-29  8:58 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1996-02-29  8:58 UTC (permalink / raw)


"d. hall" <dhall@illusion.apk.net> writes:

> If gnus-save-newsrc-file is set to nil, and activate (gnus-group-restart)
> function, it seems to erase groups from the group buffer.  I did this
> accidentally today when I typed R when I forgot my focus was on the Emac X
> window.  At first I thought it just decided to hide them by switching
> displayed levels on me, but L did not produce my missing newsgroups.  In
> gnus.el the function (gnus-group-restart)
> 
> (defun gnus-group-restart (&optional arg)
>   "Force Gnus to read the .newsrc file."
>   (interactive "P")
>   (gnus-save-newsrc-file)
>   (gnus-setup-news 'force)
>   (gnus-group-list-groups arg))
> 
> Should a check be made before asking gnus-setup-news via 'force?  Or maybe
> bugging out as soon as we know we're not supposed to read the newsrc file.
> It's a matter of capibility and second guessing the user's intentions.

I don't quite understand.  The FORCE parameter says that the .newsrc
file is to be read.  Does reading the .newsrc file kill groups off?
It certainly shouldn't!

-- 
  "Yes.  The journey through the human heart 
     would have to wait until some other time."


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

end of thread, other threads:[~1996-02-29  8:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-02-28 11:41 Obscure bug with .newsrc d. hall
1996-02-29  8:58 ` Lars Magne Ingebrigtsen

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