* [sup-talk] [PATCH] exception when editting empty Cc header in edit-message-mode
@ 2008-05-16 17:00 Ben Walton
2008-05-19 21:40 ` William Morgan
0 siblings, 1 reply; 2+ messages in thread
From: Ben Walton @ 2008-05-16 17:00 UTC (permalink / raw)
Hi All,
I bumped into this today and crafted the following small patch
(against the current head of next) to handle it. If you press 'c' to
edit a Cc header (would happen on To or Bcc also), an exception is
generated if the field is currently empty. Array.join is called on
nil. The attached patch just sets the header value to an empty array
before the call to join happens.
-Ben
--
---------------------------------------------------------------------------------------------------------------------------
Ben Walton <bdwalton at gmail.com>
When one person suffers from a delusion, it is called insanity. When
many people suffer from a delusion it is called Religion.
Robert M. Pirsig, Zen and the Art of Motorcycle Maintenance
---------------------------------------------------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-fix-exception-when-editting-an-empty-MULTI_HEADER.patch
Type: text/x-diff
Size: 986 bytes
Desc: not available
URL: <http://rubyforge.org/pipermail/sup-talk/attachments/20080516/26d8c10e/attachment.bin>
^ permalink raw reply [flat|nested] 2+ messages in thread
* [sup-talk] [PATCH] exception when editting empty Cc header in edit-message-mode
2008-05-16 17:00 [sup-talk] [PATCH] exception when editting empty Cc header in edit-message-mode Ben Walton
@ 2008-05-19 21:40 ` William Morgan
0 siblings, 0 replies; 2+ messages in thread
From: William Morgan @ 2008-05-19 21:40 UTC (permalink / raw)
Applied to master, thanks!
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-05-19 21:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-05-16 17:00 [sup-talk] [PATCH] exception when editting empty Cc header in edit-message-mode Ben Walton
2008-05-19 21:40 ` William Morgan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox