Gnus development mailing list
 help / color / mirror / Atom feed
* Problem with posting-styles in 0.97
@ 1999-10-01  9:10 Thomas Skogestad
  1999-10-01 12:51 ` David S. Goldberg
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Skogestad @ 1999-10-01  9:10 UTC (permalink / raw)


It messes up my mail headers! 

At least in 0.84 I could have a separate entry for mail, but now I get
several unwanted headers that mail composing inherits from the settings of
the current newsgroup.

And isn't it possible to have ("mail-copies-to" nil) in some groups?

And while I'm at it: I'm "mentioned" in Sams Teach Yourself Emacs in 24
Hours on page 328. Great book! :)

-- 
thomas.skogestad@jusstud.uio.no
http://www.fringenet.com/vgg/furnporn1.html
http://chimera.acs.ttu.edu/~emyrs/bears/bear.html
http://chimera.acs.ttu.edu/~emyrs/microsoft.jpg


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

* Re: Problem with posting-styles in 0.97
  1999-10-01  9:10 Problem with posting-styles in 0.97 Thomas Skogestad
@ 1999-10-01 12:51 ` David S. Goldberg
  1999-10-01 13:00   ` Didier Verna
  0 siblings, 1 reply; 4+ messages in thread
From: David S. Goldberg @ 1999-10-01 12:51 UTC (permalink / raw)


I use posting styles in a fairly complex manner, but I still could not
figure out how to use it to get mail-copies-to set only when I wanted
it.  I came up with the following in message-header-setup-hook that
dwiw.

(defun my-message-header-setup-hook ()
  (let ((group (or gnus-newsgroup-name "")))
    (when (or (message-news-p)
	      (and (message-mail-p)
		   (string-match "wide reply" (buffer-name))
		   (or (message-fetch-field "newsgroups")
		       (gnus-group-find-parameter group 'to-address)))
	      (and (message-mail-p)
		   (string-match "mail to" (buffer-name))
		   (gnus-group-find-parameter group 'to-list)))
      (message-add-header "Mail-Copies-To: never"))))
          
(add-hook 'message-header-setup-hook 'my-message-header-setup-hook)
-- 
Dave Goldberg
Post: The Mitre Corporation\MS B325\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg@mitre.org


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

* Re: Problem with posting-styles in 0.97
  1999-10-01 12:51 ` David S. Goldberg
@ 1999-10-01 13:00   ` Didier Verna
  1999-10-02  2:34     ` David S. Goldberg
  0 siblings, 1 reply; 4+ messages in thread
From: Didier Verna @ 1999-10-01 13:00 UTC (permalink / raw)


dsg@mitre.org (David S. Goldberg) wrote:

> I use posting styles in a fairly complex manner, but I still could not
> figure out how to use it to get mail-copies-to set only when I wanted
> it.

        I'm not sure that's what you mean, but I have this:

(posting-style ("Mail-Copies-To" "never"))

in some mail groups (in the group parameters actually), and this works
perfectly well.


-- 
    /     /   _   _       Didier Verna        http://www.inf.enst.fr/~verna/
 - / / - / / /_/ /     ENST, INFRES C201.1       mailto:verna@inf.enst.fr
/_/ / /_/ / /__ /        46 rue Barrault        Tel.   +33 (1) 45 81 73 46
                       75013 Paris, France      Fax.   +33 (1) 45 81 31 19


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

* Re: Problem with posting-styles in 0.97
  1999-10-01 13:00   ` Didier Verna
@ 1999-10-02  2:34     ` David S. Goldberg
  0 siblings, 0 replies; 4+ messages in thread
From: David S. Goldberg @ 1999-10-02  2:34 UTC (permalink / raw)


>         I'm not sure that's what you mean, but I have this:

> (posting-style ("Mail-Copies-To" "never"))

> in some mail groups (in the group parameters actually), and this
> works perfectly well.

The problem I have with this solution is the header ends up in private
mail as well as followups.  Yes, I'm being picky :-)
-- 
Dave Goldberg
Post: The Mitre Corporation\MS B325\202 Burlington Rd.\Bedford, MA 01730
Phone: 781-271-3887
Email: dsg@mitre.org


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

end of thread, other threads:[~1999-10-02  2:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-10-01  9:10 Problem with posting-styles in 0.97 Thomas Skogestad
1999-10-01 12:51 ` David S. Goldberg
1999-10-01 13:00   ` Didier Verna
1999-10-02  2:34     ` David S. Goldberg

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