From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35936 Path: main.gmane.org!not-for-mail From: Dmitry Paduchih Newsgroups: gmane.emacs.gnus.general Subject: (Patch) Cannot send unencoded text. Date: 19 Apr 2001 18:57:14 +0600 Sender: paduch@imm.uran.ru Message-ID: <878zkx6o9h.fsf@ait.uran.ru> References: <87snj6zh98.fsf@ait.uran.ru> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035171607 5833 80.91.224.250 (21 Oct 2002 03:40:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:40:07 +0000 (UTC) Return-Path: Original-Received: (qmail 22800 invoked by alias); 19 Apr 2001 12:56:50 -0000 Original-Received: (qmail 22787 invoked from network); 19 Apr 2001 12:56:33 -0000 Original-Received: from atreyu.ural.ru (HELO relay.uran.ru) (195.19.137.69) by gnus.org with SMTP; 19 Apr 2001 12:56:33 -0000 Original-Received: from ait.uran.ru (dialup43.uran.ru [195.19.137.233]) by relay.uran.ru (8.11.1/eTn) with ESMTP id f3JD6X366387 for ; Thu, 19 Apr 2001 19:06:33 +0600 (ESS) Original-Received: from dima by ait.uran.ru with local (Exim 3.22 #1 (Debian)) id 14qDzm-0004HE-00 for ; Thu, 19 Apr 2001 18:57:14 +0600 Original-To: ding@gnus.org In-Reply-To: <87snj6zh98.fsf@ait.uran.ru> (Dmitry Paduchih's message of "18 Apr 2001 15:31:15 +0600") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Original-Lines: 17 Xref: main.gmane.org gmane.emacs.gnus.general:35936 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35936 --=-=-= Hi, Here is a patch which is to allow sending messages with unencoded headers. I mean a possibility to do that, the defaults say to encode headers. I wrote in my yesterday letter the reasons why it is needed in my opinion. But it is only kinda work-arround. Seriously I think it is better to redesign the concept of message-options if I understand it correctly. Can somebody commit this patch? Thanks in advance, Dmitry --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=rfc2047.el.diff Content-Description: The patch --- /usr/share/emacs/site-lisp/gnus/rfc2047.el Thu Mar 15 17:57:24 2001 +++ rfc2047.el Thu Apr 19 18:20:12 2001 @@ -161,14 +161,9 @@ (and (delq 'ascii (mm-find-charset-region (point-min) (point-max))) - (if (or (message-options-get + (if (message-options-get 'rfc2047-encode-message-header-encode-any) - (message-options-set - 'rfc2047-encode-message-header-encode-any - (y-or-n-p - "Some texts are not encoded. Encode anyway?"))) - (rfc2047-encode-region (point-min) (point-max)) - (error "Cannot send unencoded text.")))) + (rfc2047-encode-region (point-min) (point-max))))) ((mm-coding-system-p method) (if (and (featurep 'mule) (if (boundp 'default-enable-multibyte-characters) --=-=-=--