Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-posting-styles: detecting private replies in mailing list groups
@ 2001-07-26 23:45 Karl Kleinpaste
  2001-07-27  9:08 ` Kai Großjohann
  2001-07-27 15:29 ` NAGY Andras
  0 siblings, 2 replies; 4+ messages in thread
From: Karl Kleinpaste @ 2001-07-26 23:45 UTC (permalink / raw)


Is there a suitable predicate for use in gnus-posting-styles which
would allow one to detect that one is writing a _private_ reply to a
mailing list article?

I'd like to change my Gcc on the basis of this.  Normally, followups
out of any of my nnml:list.* groups are dropped in an outgoing
nnml:list.sent group, but when I'm replying privately, any
correspondence which ensues pretty much belongs in my personal.general
group.  It would be nice if I didn't have to remember to fix this
myself every time.

(message-mail-p) isn't adequate by itself, because both list followups
and private replies are mail in such cases.


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

* Re: gnus-posting-styles: detecting private replies in mailing list groups
  2001-07-26 23:45 gnus-posting-styles: detecting private replies in mailing list groups Karl Kleinpaste
@ 2001-07-27  9:08 ` Kai Großjohann
  2001-07-27 15:29 ` NAGY Andras
  1 sibling, 0 replies; 4+ messages in thread
From: Kai Großjohann @ 2001-07-27  9:08 UTC (permalink / raw)
  Cc: ding

On Thu, 26 Jul 2001, Karl Kleinpaste wrote:

> Is there a suitable predicate for use in gnus-posting-styles which
> would allow one to detect that one is writing a _private_ reply to a
> mailing list article?
> 
> I'd like to change my Gcc on the basis of this.

Michael Totschnig has posted something a couple of days ago which
looks at the to-list and to-address parameters of the group.  That
might do something you like (though it has nothing to do with posting
styles). 

kai
-- 
~/.signature: No such file or directory


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

* Re: gnus-posting-styles: detecting private replies in mailing list groups
  2001-07-26 23:45 gnus-posting-styles: detecting private replies in mailing list groups Karl Kleinpaste
  2001-07-27  9:08 ` Kai Großjohann
@ 2001-07-27 15:29 ` NAGY Andras
  2001-07-27 22:51   ` Karl Kleinpaste
  1 sibling, 1 reply; 4+ messages in thread
From: NAGY Andras @ 2001-07-27 15:29 UTC (permalink / raw)


On Fri, 27 Jul 2001, at 01:45, Karl Kleinpaste <karl@charcoal.com> wrote:

> Is there a suitable predicate for use in gnus-posting-styles which
> would allow one to detect that one is writing a _private_ reply to a
> mailing list article?

I'm using (boundp 'post) for this.  If this is true, the message in
question is a followup (regardless of the actual transport, so either
a usenet post or a mailing list wide reply), if false, then a private
reply.   Absolutely undocumented hack, but seems to work. :-)


Andras


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

* Re: gnus-posting-styles: detecting private replies in mailing list groups
  2001-07-27 15:29 ` NAGY Andras
@ 2001-07-27 22:51   ` Karl Kleinpaste
  0 siblings, 0 replies; 4+ messages in thread
From: Karl Kleinpaste @ 2001-07-27 22:51 UTC (permalink / raw)


NAGY Andras <nagya@inf.elte.hu> writes:
> I'm using (boundp 'post) for this.

Marvelous.  My g-p-s now contains this element:

	;; ----------------------------------------
	;; private reply to public posting: gcc as "general".
	((and (not (boundp 'post))
	      (string-match
	       "^\\(nnml:list\\|comp\\|misc\\|news\\|rec\\|sci\\|soc\\|talk\\|alt\\|gnu\\)"
	       gnus-newsgroup-name))
	 ("Gcc" "nnml:personal.general"))

--karl


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

end of thread, other threads:[~2001-07-27 22:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-26 23:45 gnus-posting-styles: detecting private replies in mailing list groups Karl Kleinpaste
2001-07-27  9:08 ` Kai Großjohann
2001-07-27 15:29 ` NAGY Andras
2001-07-27 22:51   ` Karl Kleinpaste

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