From: Jesper Harder <harder@ifa.au.dk>
Subject: Re: posting-charset abolition
Date: Fri, 01 Nov 2002 07:51:21 +0100 [thread overview]
Message-ID: <m37kfxsryu.fsf@defun.localdomain> (raw)
In-Reply-To: <yotlvg3i6mc7.fsf@jpl.org> (Katsumi Yamaoka's message of "Fri, 01 Nov 2002 11:43:52 +0900")
[-- Attachment #1: Type: text/plain, Size: 682 bytes --]
Katsumi Yamaoka <yamaoka@jpl.org> writes:
> Yes. It can be done by using message-header-hook or something.
> However, though I haven't seen the source code in details yet, I
> think there is a more smart solution. Because, even if I use
> the following codes to remove CTE:8, CTE is added if necessary.
>
> (eval-after-load "gnus-msg"
> '(if (boundp 'gnus-group-posting-charset-alist)
> (let ((news (assq 'message-this-is-news
> gnus-group-posting-charset-alist)))
> (if news
> (setcdr news '(nil nil))))))
I think this is a kludge. Shouldn't we rather fix `mm-body-encoding' to
return the proper CTE for 7bit charsets?
What do you think about this fix?
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: mm-bodies.el.diff --]
[-- Type: text/x-patch, Size: 419 bytes --]
--- /home/harder/gnus/lisp/mm-bodies.el Wed Aug 7 16:57:09 2002
+++ mm-bodies.el Fri Nov 1 07:35:07 2002
@@ -143,6 +143,7 @@
bits)
((and (not mm-use-ultra-safe-encoding)
(not longp)
+ (not (eq '7bit (cdr (assq charset mm-body-charset-encoding-alist))))
(or (eq t (cdr message-posting-charset))
(memq charset (cdr message-posting-charset))
(eq charset mail-parse-charset)))
next prev parent reply other threads:[~2002-11-01 6:51 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-30 13:15 Katsumi Yamaoka
2002-10-31 9:12 ` Katsumi Yamaoka
2002-10-31 11:34 ` Ted Zlatanov
2002-10-31 12:38 ` Katsumi Yamaoka
2002-10-31 14:30 ` Ted Zlatanov
2002-11-01 2:43 ` Katsumi Yamaoka
2002-11-01 3:07 ` Ted Zlatanov
2002-11-01 6:51 ` Jesper Harder [this message]
2002-11-01 8:20 ` Katsumi Yamaoka
2002-11-01 12:33 ` Katsumi Yamaoka
2002-11-01 14:18 ` Jesper Harder
2002-11-01 15:54 ` Katsumi
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=m37kfxsryu.fsf@defun.localdomain \
--to=harder@ifa.au.dk \
/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).