* Gnus-slave forgets news marks, remembers mail marks
@ 2003-05-19 21:02 Joseph Barillari
2003-05-19 21:18 ` Graham Murray
2003-05-21 6:21 ` Kai Großjohann
0 siblings, 2 replies; 4+ messages in thread
From: Joseph Barillari @ 2003-05-19 21:02 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 904 bytes --]
Hi.
On a typical day, I check my mail and news from a half-dozen or more
different computers. Each time, I open an ssh connection to my home
pc, bring up a new instance of emacs, and run `gnus-slave`. I also
have a long-running emacs process on the same pc, which is running
gnus (rather than gnus-slave).
Gnus-slave does a fine job of remembering my mail marks (e.g., if I
mark a message as read, gnus remembers that it's been read).
Not so with news: if I mark a news article as read in gnus-slave,
close that instance of emacs, then (later) launch another gnus-slave
session, the article still shows up as unread.
Is there any way to eliminate this behavior? Perhaps by signaling the
long-running process to read the slave newsrcs?
I'm also curious as to why it doesn't affect mail -- only news.
Thanks in advance,
--Joe
--
Joseph Barillari -- http://barillari.org
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gnus-slave forgets news marks, remembers mail marks
2003-05-19 21:02 Gnus-slave forgets news marks, remembers mail marks Joseph Barillari
@ 2003-05-19 21:18 ` Graham Murray
2003-05-21 6:21 ` Kai Großjohann
1 sibling, 0 replies; 4+ messages in thread
From: Graham Murray @ 2003-05-19 21:18 UTC (permalink / raw)
Joseph Barillari <jbarilla@princeton.edu> writes:
> Gnus-slave does a fine job of remembering my mail marks (e.g., if I
> mark a message as read, gnus remembers that it's been read).
>
> Not so with news: if I mark a news article as read in gnus-slave,
> close that instance of emacs, then (later) launch another gnus-slave
> session, the article still shows up as unread.
Also gnus-slave shows news groups as having unread articles in groups
where I have previously (before starting the emacs with gnus-slave)
read all articles in the "main" gnus. I always respond "yes" to the
question of whether to read the gnus autosave file.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gnus-slave forgets news marks, remembers mail marks
2003-05-19 21:02 Gnus-slave forgets news marks, remembers mail marks Joseph Barillari
2003-05-19 21:18 ` Graham Murray
@ 2003-05-21 6:21 ` Kai Großjohann
2003-08-14 0:24 ` Joseph Barillari
1 sibling, 1 reply; 4+ messages in thread
From: Kai Großjohann @ 2003-05-21 6:21 UTC (permalink / raw)
Joseph Barillari <jbarilla@princeton.edu> writes:
> Gnus-slave does a fine job of remembering my mail marks (e.g., if I
> mark a message as read, gnus remembers that it's been read).
>
> Not so with news: if I mark a news article as read in gnus-slave,
> close that instance of emacs, then (later) launch another gnus-slave
> session, the article still shows up as unread.
>
> Is there any way to eliminate this behavior? Perhaps by signaling the
> long-running process to read the slave newsrcs?
You could run gnuserv on the long-running process and then eval the
right Lisp expression using gnudoit. (Not sure if emacsclient as of
Emacs 21.3 groks the -e option. If it does, you can also use that.)
> I'm also curious as to why it doesn't affect mail -- only news.
nnml groups store their marks in the .marks file. But there is no
corresponding file for nntp groups. Maybe that's the reason.
--
This line is not blank.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Gnus-slave forgets news marks, remembers mail marks
2003-05-21 6:21 ` Kai Großjohann
@ 2003-08-14 0:24 ` Joseph Barillari
0 siblings, 0 replies; 4+ messages in thread
From: Joseph Barillari @ 2003-08-14 0:24 UTC (permalink / raw)
Cc: kai.grossjohann
>>>>> "KG" == Kai Großjohann <kai.grossjohann@gmx.net> writes:
KG> You could run gnuserv on the long-running process and then
KG> eval the right Lisp expression using gnudoit. (Not sure if
KG> emacsclient as of Emacs 21.3 groks the -e option. If it does,
KG> you can also use that.)
Something like this?
(add-hook 'gnus-slave-mode-hook 'ask-master-to-update-newsrcs)
(defun ask-master-to-update-newsrcs ()
(message "Telling master to read slave newsrcs.")
(shell-command "gnuclient -q -batch -f gnus-master-read-slave-newsrc")
)
--Joe
--
Joseph Barillari -- http://barillari.org
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-08-14 0:24 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-19 21:02 Gnus-slave forgets news marks, remembers mail marks Joseph Barillari
2003-05-19 21:18 ` Graham Murray
2003-05-21 6:21 ` Kai Großjohann
2003-08-14 0:24 ` Joseph Barillari
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).