Gnus development mailing list
 help / color / mirror / Atom feed
From: Toby Speight <Toby.Speight@streapadair.freeserve.co.uk>
Subject: Re: cc: nobody a bug?
Date: 17 Nov 1999 14:44:29 +0000	[thread overview]
Message-ID: <upux9dvoy.fsf_-_@lanber.cam.citrix.com> (raw)
In-Reply-To: Hrvoje Niksic's message of "17 Nov 1999 15:27:08 +0100"

Hrvoje> Hrvoje Niksic <URL:mailto:hniksic@iskon.hr>

0> In article <9t9zowdb3cz.fsf@mraz.iskon.hr>, Hrvoje wrote:

Hrvoje> Toby Speight <Toby.Speight@streapadair.freeserve.co.uk> writes:

>> I suggest that Gnus should treat any address containing '@' in the
>> usual way, otherwise it should check its list of magic values.

Hrvoje> Since none of the magic values contains `@', that's exactly
Hrvoje> what Gnus does.  What am I missing?

Has this changed since 0.95?

I see in `message-insert-to':

  (let ((co (message-fetch-reply-field "mail-copies-to")))
    (when (and (null force)
               co
               (or (equal (downcase co) "never")
                   (equal (downcase co) "nobody")))
      (error "The user has requested not to have copies sent via mail")))

and in `message-reply':

  (let (mct never-mct)
    (save-restriction
      (message-narrow-to-head)
      (setq mct (message-fetch-field "mail-copies-to"))

      ;; Handle special values of Mail-Copies-To.
      (when mct
        (cond ((or (equal (downcase mct) "never")
                   (equal (downcase mct) "nobody"))
               (setq never-mct t)
               (setq mct nil))
              ((or (equal (downcase mct) "always")
                   (equal (downcase mct) "poster"))
               (setq mct (or reply-to from)))))

      ;; ...
      (widen))
    ;; ...
    )


So Gnus appears to use only the four magic values "never", "nobody",
"always", and "poster".


Ah, I think I now understand your question.  What you are missing is
the bit where I say that if the value does not contain '@' and is not
found among the magic values, we show it to the user and ask whether
to mail a copy (adding a note in the message as we do so).  The reason
you missed this bit is, of course, because I forgot to write it -
thanks for pointing out the omission.



  reply	other threads:[~1999-11-17 14:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-17 14:23 [gnu.emacs.gnus] " Toby Speight
1999-11-17 14:27 ` Hrvoje Niksic
1999-11-17 14:44   ` Toby Speight [this message]
1999-11-17 18:20     ` Lars Magne Ingebrigtsen
1999-11-18 10:57       ` Toby Speight
1999-12-01 16:16         ` Lars Magne Ingebrigtsen
1999-12-01 17:13           ` Toby Speight
1999-12-01 17:31             ` Lars Magne Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=upux9dvoy.fsf_-_@lanber.cam.citrix.com \
    --to=toby.speight@streapadair.freeserve.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).