Gnus development mailing list
 help / color / mirror / Atom feed
* [Patch] Add message-cleanup-headers to message-send-mail
@ 2002-12-30 18:18 Reiner Steib
  2003-01-01 19:11 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Reiner Steib @ 2002-12-30 18:18 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

[ Resent message, see <m3lm26dg7u.fsf@quimbies.gnus.org>. ]

Hi,

the included patch should fix the "newline Bug", see:

| Subject: newline Bug
| Newsgroups: gnus.gnus-bug
| Message-ID: <87bs5qmqf7.fsf@hideo.tabu.uni-bonn.de>
| Message-ID: <84u1ji8lm6.fsf@crybaby.cs.uni-dortmund.de>
| Message-ID: <v9smz19tfr.fsf@marauder.physik.uni-ulm.de>


[-- Attachment #2: ~/doc/Software/emacs/gnus/patches/message.message-cleanup-headers.patch --]
[-- Type: message/external-body, Size: 119 bytes --]

[-- Attachment #3: Type: text/plain, Size: 425 bytes --]


Suggested ChangeLog entry:

--8<---------------cut here---------------start------------->8---
2002-12-30  Reiner Steib  <Reiner.Steib@gmx.de>

	* message.el (message-send-mail): Added message-cleanup-headers to
	prevent newlines in headers.

--8<---------------cut here---------------end--------------->8---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

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

* Re: [Patch] Add message-cleanup-headers to message-send-mail
  2002-12-30 18:18 [Patch] Add message-cleanup-headers to message-send-mail Reiner Steib
@ 2003-01-01 19:11 ` Lars Magne Ingebrigtsen
  2003-01-01 20:22   ` Reiner Steib
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-01 19:11 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> the included patch should fix the "newline Bug", see:

Empty attachment again.  :-)

Or, rather, it's an

Content-Type: message/external-body

attachment that referred to a file local to your machine.

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



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

* Re: [Patch] Add message-cleanup-headers to message-send-mail
  2003-01-01 19:11 ` Lars Magne Ingebrigtsen
@ 2003-01-01 20:22   ` Reiner Steib
  2003-01-01 20:55     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Reiner Steib @ 2003-01-01 20:22 UTC (permalink / raw)


[-- Attachment #1: Type: text/plain, Size: 97 bytes --]

On Wed, Jan 01 2003, Lars Magne Ingebrigtsen wrote:

> Empty attachment again.  :-)

Next try...

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: message.message-cleanup-headers.patch --]
[-- Type: text/x-patch, Size: 289 bytes --]

--- message.el	2002/12/29 18:33:35	6.266
+++ message.el	2002/12/30 15:15:00
@@ -3378,6 +3395,7 @@
 	  ;; require one newline at the end.
 	  (or (= (preceding-char) ?\n)
 	      (insert ?\n))
+	  (message-cleanup-headers)
 	  (when
 	      (save-restriction
 		(message-narrow-to-headers)

[-- Attachment #3: Type: text/plain, Size: 492 bytes --]


> Or, rather, it's an Content-Type: message/external-body attachment
> that referred to a file local to your machine.

Oops.  I have set gnus-gcc-externalize-attachments to 'all, so my copy
of the article only contains the filename.  Resending with `S D e'
(gnus-summary-resend-message-edit) apparently doesn't restore the real
attachment.  So it's a Gnus bug, isn't it? ;-)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo--- PGP key available via WWW   http://rsteib.home.pages.de/

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

* Re: [Patch] Add message-cleanup-headers to message-send-mail
  2003-01-01 20:22   ` Reiner Steib
@ 2003-01-01 20:55     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-01-01 20:55 UTC (permalink / raw)


Reiner Steib <4uce.02.r.steib@gmx.net> writes:

> Next try...

Thanks for the patch; I've applied it to Oort Gnus v0.08 (i. e., CVS).

>> Or, rather, it's an Content-Type: message/external-body attachment
>> that referred to a file local to your machine.
>
> Oops.  I have set gnus-gcc-externalize-attachments to 'all, so my copy
> of the article only contains the filename.  Resending with `S D e'
> (gnus-summary-resend-message-edit) apparently doesn't restore the real
> attachment.  So it's a Gnus bug, isn't it? ;-)

Uhm...  no.  :-)

-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



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

end of thread, other threads:[~2003-01-01 20:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-12-30 18:18 [Patch] Add message-cleanup-headers to message-send-mail Reiner Steib
2003-01-01 19:11 ` Lars Magne Ingebrigtsen
2003-01-01 20:22   ` Reiner Steib
2003-01-01 20:55     ` Lars Magne Ingebrigtsen

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