Gnus development mailing list
 help / color / mirror / Atom feed
From: Florian Weimer <fw@deneb.cygnus.argh.org>
Subject: Re: People with From: <mail@domain.com>
Date: 26 Apr 2000 19:14:43 +0200	[thread overview]
Message-ID: <87em7s6ayk.fsf@deneb.cygnus.argh.org> (raw)
In-Reply-To: Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Tue, 25 Apr 2000 22:15:57 +0200"

Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:

> Florian Weimer <fw@deneb.cygnus.argh.org> writes:
> 
> > Perhaps I should add something to the manual which explains that?
> > Which section would be appropriate?
> 
> Yes, an explanation in the manual would be good.  I've done some
> cursory browsing of message.info and emacs-mime.info, and I couldn't
> find anything about the auto-choose mechanism.  Hm.  I think there
> should be a section somewhere which says that Gnus (or message, or
> mml) looks at the message to automatically find a way to encode it
> before sending.  Sometimes, the message is split into several parts,
> and the right charset is chosen, stuff like that.

I'm going add it to emacs-mime.texi, somewhere around the description
of MML.  After all, charset translation from MULE to MIME takes place
during MML-to-MIME translation.

BTW: I've browsed some source code and discovered a code/comment
discrepancy in "mm-encode-body", non-MULE case:

  (if (not (featurep 'mule))
      ;; In the non-Mule case, we search for non-ASCII chars and
      ;; return the value of `mm-default-charset' if any are found.
      (save-excursion
	(goto-char (point-min))
	(if (re-search-forward "[^\x0-\x7f]" nil t)
	    (or mail-parse-charset
		(mm-read-charset "Charset used in the article: "))
	  ;; The logic in `mml-generate-mime-1' confirms that it's OK
	  ;; to return nil here.
	  nil))

The comment says "mm-default-charset", but actually it's
"mail-parse-charset".  The value that's actually used by Gnus is
"message-default-charset", as it seems (in fact, this is a FAQ ;).
I'll change the comment accordingly.




  reply	other threads:[~2000-04-26 17:14 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-22  9:55 Pavel.Janik
2000-04-22 11:09 ` Lars Magne Ingebrigtsen
2000-04-23 20:07   ` Pavel.Janik
2000-04-24 14:31     ` Lars Magne Ingebrigtsen
2000-04-24 17:04       ` Pavel Janik ml.
2000-04-24 18:39         ` Kai Großjohann
2000-04-24 18:56           ` Pavel Janík ml.
2000-04-25 11:04             ` Kai Großjohann
2000-04-25 11:38               ` Lars Magne Ingebrigtsen
2000-04-25 11:35                 ` Kai Großjohann
2000-04-25 20:03                   ` Florian Weimer
2000-04-25 20:15                     ` Kai Großjohann
2000-04-26 17:14                       ` Florian Weimer [this message]
2000-04-26 17:29                         ` Shenghuo ZHU
2000-04-26 18:06                           ` Florian Weimer
2000-04-26 18:15                             ` Shenghuo ZHU
2000-04-25 13:36               ` Pavel Janík ml.
2000-04-25 14:47                 ` Kai Großjohann
2000-04-25 15:31                   ` Pavel Janík ml.
2000-04-25 17:10                     ` Kai Großjohann
2000-04-25 10:45           ` Florian Weimer
2000-04-25 11:11             ` Kai Großjohann
2000-04-25  6:42 ` Jaap-Henk Hoepman
2000-04-26 14:05 ` Erik Toubro Nielsen
2000-04-26 20:59   ` Pavel Janík ml.
2000-04-28  2:00   ` Shenghuo ZHU

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=87em7s6ayk.fsf@deneb.cygnus.argh.org \
    --to=fw@deneb.cygnus.argh.org \
    /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).