Thread View: news.software.readers
1 messages
1 total messages
Started by Thomas Schultz
Mon, 03 Jan 2000 00:00
[slrn] Bug: mime-decode after saving
Author: Thomas Schultz
Date: Mon, 03 Jan 2000 00:00
Date: Mon, 03 Jan 2000 00:00
50 lines
1959 bytes
1959 bytes
Hi,
When saving an article to a file, this is done in "raw mode", i.e. no
mime-decoding is done. IMO, this is okay (although it might be nice to
have an option for this). However, when viewing the article in the
builtin pager after saving, it is still displayed "raw", which looks
quite ugly in case of quoted-printable messages. This can be fixed by
mime-decoding the article at the end of slrn_save_current_article()
and save_article_as_unix_mail(). This patch does exactly that:
diff -cr slrn-0.9.6.2.orig/src/art.c slrn-0.9.6.2/src/art.c
*** slrn-0.9.6.2.orig/src/art.c Mon Jan 3 14:40:41 2000
--- slrn-0.9.6.2/src/art.c Mon Jan 3 14:40:48 2000
***************
*** 3223,3228 ****
--- 3223,3237 ----
}
fclose (fp);
+
+ #if SLRN_HAS_MIME
+ if (Slrn_Use_Mime)
+ {
+ slrn_mime_article_init ();
+ slrn_mime_process_article (Slrn_Current_Article);
+ }
+ #endif
+
return 0;
}
***************
*** 3263,3268 ****
--- 3272,3285 ----
l = l->next;
}
fputs ("\n\n", fp);
+
+ #if SLRN_HAS_MIME
+ if (Slrn_Use_Mime)
+ {
+ slrn_mime_article_init ();
+ slrn_mime_process_article (Slrn_Current_Article);
+ }
+ #endif
if (is_wrapped) wrap_article ();
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads