Gnus development mailing list
 help / color / mirror / Atom feed
* Automatic read mark on Gcc'ed message ?
@ 1998-08-06 14:58 Nelson Jose dos Santos Ferreira
  1998-08-06 15:54 ` Kai Grossjohann
  0 siblings, 1 reply; 11+ messages in thread
From: Nelson Jose dos Santos Ferreira @ 1998-08-06 14:58 UTC (permalink / raw)



Hi!

I have this snippet on my .gnus:

(setq gnus-message-archive-group
      (lambda (group) 
	""
	(if (message-news-p) 
            (list "misc-news")
	    (list group "misc-mail"))))

The ideia is to put my answers to the group where I read the message
I'm replying. However, when it's stored I'd like to mark it as read
automagicly. Is there any hook where I could do this ?

Best regards,

	Nelson
---
Nelson Jose dos Santos Ferreira |  .  .  .  | INESC/PT-Servicos 
Systems Integrator              | |. /  / . | Lisbon,PORTUGAL
mailto:Nelson.Ferreira@inesc.pt |.||\| | /  | Phone:+351 (1) 3100050
                                | .|<:/  \. | Fax  :+351 (1) 3100008


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

* Re: Automatic read mark on Gcc'ed message ?
  1998-08-06 14:58 Automatic read mark on Gcc'ed message ? Nelson Jose dos Santos Ferreira
@ 1998-08-06 15:54 ` Kai Grossjohann
  1998-08-06 22:49   ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Kai Grossjohann @ 1998-08-06 15:54 UTC (permalink / raw)


This has come up a few times before.  Has it now gotten onto Lars'
todo list?
kai
-- 
OOP: object oriented programming;  OOPS: object oriented mistakes


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

* Re: Automatic read mark on Gcc'ed message ?
  1998-08-06 15:54 ` Kai Grossjohann
@ 1998-08-06 22:49   ` Lars Magne Ingebrigtsen
  1998-08-16 13:09     ` Stefan Waldherr
  1998-08-17  9:05     ` Nelson Jose dos Santos Ferreira
  0 siblings, 2 replies; 11+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-08-06 22:49 UTC (permalink / raw)


Kai Grossjohann <grossjohann@amaunet.cs.uni-dortmund.de> writes:

> This has come up a few times before.  Has it now gotten onto Lars'
> todo list?

Yup.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: Automatic read mark on Gcc'ed message ?
  1998-08-06 22:49   ` Lars Magne Ingebrigtsen
@ 1998-08-16 13:09     ` Stefan Waldherr
  1998-08-16 13:53       ` Lars Magne Ingebrigtsen
  1998-08-17  9:05     ` Nelson Jose dos Santos Ferreira
  1 sibling, 1 reply; 11+ messages in thread
From: Stefan Waldherr @ 1998-08-16 13:09 UTC (permalink / raw)


>>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

  Lars> Kai Grossjohann <grossjohann@amaunet.cs.uni-dortmund.de> writes:
  >> This has come up a few times before.  Has it now gotten onto Lars' todo
  >> list?

  Lars> Yup.

swa> Here is an idea: why not write a function that crawls over all groups that
swa> have received new mail and marks messages that came from oneself read? Maybe
swa> someone has already written such a thing? Would be extremely helpful.

  Lars> I see no need for this.  I just score all articles from myself down,
  Lars> which makes them read upon entry to the groups.

What exactly do you mean by `scoring them down'. Scoring them to a score where
they disappear or where they are marked `read'? But when you press `g', groups
with your gcc'ed messages still appear as if they contain unread news, right?

Wondering,
Stefan.
-- 
Stefan Waldherr                   fax +49 431 8058 136
                               e-Mail swa@cs.cmu.edu
                                  www http://www.waldherr.org/


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

* Re: Automatic read mark on Gcc'ed message ?
  1998-08-16 13:09     ` Stefan Waldherr
@ 1998-08-16 13:53       ` Lars Magne Ingebrigtsen
  1998-08-16 16:37         ` Stefan Waldherr
  0 siblings, 1 reply; 11+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-08-16 13:53 UTC (permalink / raw)


Stefan Waldherr <swa@cs.cmu.edu> writes:

> What exactly do you mean by `scoring them down'. Scoring them to a
> score where they disappear or where they are marked `read'?

The latter.

> But when you press `g', groups with your gcc'ed messages still
> appear as if they contain unread news, right?

Yes.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: Automatic read mark on Gcc'ed message ?
  1998-08-16 13:53       ` Lars Magne Ingebrigtsen
@ 1998-08-16 16:37         ` Stefan Waldherr
  1998-08-16 16:53           ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Waldherr @ 1998-08-16 16:37 UTC (permalink / raw)


>>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

  Lars> Stefan Waldherr <swa@cs.cmu.edu> writes:
  >> What exactly do you mean by `scoring them down'. Scoring them to a score
  >> where they disappear or where they are marked `read'?

  Lars> The latter.

  >> But when you press `g', groups with your gcc'ed messages still appear as
  >> if they contain unread news, right?

  Lars> Yes.

Yupp, but that's the point. If I receive and reply to a ton of mails, I don't
remember which groups contains my gcc'ed mails and which doesn't. Hence, I
have to go thru all the groups (even if they contain only my gcc'ed messages).
I really wish there is a function that would do this for me.

cu
Stefan.
-- 
Stefan Waldherr                   fax +49 431 8058 136
                               e-Mail swa@cs.cmu.edu
                                  www http://www.waldherr.org/


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

* Re: Automatic read mark on Gcc'ed message ?
  1998-08-16 16:37         ` Stefan Waldherr
@ 1998-08-16 16:53           ` Lars Magne Ingebrigtsen
  1998-08-16 17:08             ` Stefan Waldherr
  0 siblings, 1 reply; 11+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-08-16 16:53 UTC (permalink / raw)


Stefan Waldherr <swa@cs.cmu.edu> writes:

> Yupp, but that's the point. If I receive and reply to a ton of
> mails, I don't remember which groups contains my gcc'ed mails and
> which doesn't. Hence, I have to go thru all the groups (even if they
> contain only my gcc'ed messages).  I really wish there is a function
> that would do this for me.

gnus-batch-score does this.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: Automatic read mark on Gcc'ed message ?
  1998-08-16 16:53           ` Lars Magne Ingebrigtsen
@ 1998-08-16 17:08             ` Stefan Waldherr
  1998-08-16 17:18               ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 11+ messages in thread
From: Stefan Waldherr @ 1998-08-16 17:08 UTC (permalink / raw)


>>>>> "Lars" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

  Lars> Stefan Waldherr <swa@cs.cmu.edu> writes:
  >> Yupp, but that's the point. If I receive and reply to a ton of mails, I
  >> don't remember which groups contains my gcc'ed mails and which
  >> doesn't. Hence, I have to go thru all the groups (even if they contain
  >> only my gcc'ed messages).  I really wish there is a function that would
  >> do this for me.

  Lars> gnus-batch-score does this.

Could you give me a hint, how to restrict this to the nnml backend? (I don't
want gnus to start nntp connections ...).

cu
Stefan.
-- 
Stefan Waldherr                   fax +49 431 8058 136
                               e-Mail swa@cs.cmu.edu
                                  www http://www.waldherr.org/


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

* Re: Automatic read mark on Gcc'ed message ?
  1998-08-16 17:08             ` Stefan Waldherr
@ 1998-08-16 17:18               ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 11+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-08-16 17:18 UTC (permalink / raw)


Stefan Waldherr <swa@cs.cmu.edu> writes:

> Could you give me a hint, how to restrict this to the nnml backend? (I don't
> want gnus to start nntp connections ...).

Uhm.  Well, you'd probably have to fiddle some with the function.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

* Re: Automatic read mark on Gcc'ed message ?
  1998-08-06 22:49   ` Lars Magne Ingebrigtsen
  1998-08-16 13:09     ` Stefan Waldherr
@ 1998-08-17  9:05     ` Nelson Jose dos Santos Ferreira
  1998-08-17 12:30       ` Lars Magne Ingebrigtsen
  1 sibling, 1 reply; 11+ messages in thread
From: Nelson Jose dos Santos Ferreira @ 1998-08-17  9:05 UTC (permalink / raw)



On 07 Aug 1998 00:49:28 +0200, Lars Magne Ingebrigtsen (aka "Lars"),
regarding 'Re: Automatic read mark on Gcc'ed message ?', said: 

    Lars> Kai Grossjohann <grossjohann@amaunet.cs.uni-dortmund.de> writes:
    >> This has come up a few times before.  Has it now gotten onto Lars'
    >> todo list?

    Lars> Yup.

Lars,
I went digging and to make this happen, I need a couple of
answers:

1) Does <backend>-request-accept-article returns the article 
   number ?

2) If 1 is true would (gnus-request-update-mark <group> <article 
   number> <mark>) suffice ?

I was thinking of hacking gnus-inews-do-gcc and after the
request-accept-article if I had the article I should be able 
to request the mark update... Since the article would not be 
in the summary buffer there would be no need for the
operations in gnus-summary-mark-as-read, right ?

Please tell me if I'm on the right track.

Best regards,

	Nelson
---
Nelson Jose dos Santos Ferreira |  .  .  .  | INESC/PT-Servicos 
Systems Integrator              | |. /  / . | Lisbon,PORTUGAL
mailto:Nelson.Ferreira@inesc.pt |.||\| | /  | Phone:+351 (1) 3100050
                                | .|<:/  \. | Fax  :+351 (1) 3100008


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

* Re: Automatic read mark on Gcc'ed message ?
  1998-08-17  9:05     ` Nelson Jose dos Santos Ferreira
@ 1998-08-17 12:30       ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 11+ messages in thread
From: Lars Magne Ingebrigtsen @ 1998-08-17 12:30 UTC (permalink / raw)


Nelson Jose dos Santos Ferreira <njsf@ccae-sv.inesc.pt> writes:

> 1) Does <backend>-request-accept-article returns the article 
>    number ?

Quoth the manual:

`(nnchoke-request-accept-article GROUP &optional SERVER LAST)'
     This function takes the current buffer and inserts it into GROUP.
     If LAST in `nil', that means that there will be more calls to this
     function in short order.

     The function should return a cons where the `car' is the group
     name and the `cdr' is the article number that the article was
     entered as.

> 2) If 1 is true would (gnus-request-update-mark <group> <article 
>    number> <mark>) suffice ?

No.  That function allows the backend to alter a mark that is being
set. 

> I was thinking of hacking gnus-inews-do-gcc and after the
> request-accept-article if I had the article I should be able 
> to request the mark update... Since the article would not be 
> in the summary buffer there would be no need for the
> operations in gnus-summary-mark-as-read, right ?

Yes.  `gnus-group-make-articles-read' can make a message read.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


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

end of thread, other threads:[~1998-08-17 12:30 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-06 14:58 Automatic read mark on Gcc'ed message ? Nelson Jose dos Santos Ferreira
1998-08-06 15:54 ` Kai Grossjohann
1998-08-06 22:49   ` Lars Magne Ingebrigtsen
1998-08-16 13:09     ` Stefan Waldherr
1998-08-16 13:53       ` Lars Magne Ingebrigtsen
1998-08-16 16:37         ` Stefan Waldherr
1998-08-16 16:53           ` Lars Magne Ingebrigtsen
1998-08-16 17:08             ` Stefan Waldherr
1998-08-16 17:18               ` Lars Magne Ingebrigtsen
1998-08-17  9:05     ` Nelson Jose dos Santos Ferreira
1998-08-17 12:30       ` 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).