Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* How to copy "raw", but decoded article body to a new buffer?
@ 2019-11-23 11:35 Tim Landscheidt
  2019-11-23 12:08 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 6+ messages in thread
From: Tim Landscheidt @ 2019-11-23 11:35 UTC (permalink / raw)
  To: info-gnus-english

Hi,

(for example) cron sends me programs' outputs with the head-
ers:

| MIME-Version: 1.0
| Content-Type: text/plain; charset=UTF-8

I want to copy the output to a new buffer and then do some
stuff there.

O b (gnus-summary-save-article-body-file) will a) save the
article body "washed", i. e. for example word-wrapped &
Co. and b) prepend "X-Gnus-Coding-System: -*- coding: utf-8;
-*-" (?).

C-o (gnus-summary-save-article-mail) will a) save the head-
ers as well and b) not decode the body (which is probably
not a problem for "text/plain; charset=UTF-8", but still).

(O f (gnus-summary-save-article-file) seems to be doing the
same as O b, o (gnus-summary-save-article) the same as C-o.)

Both commands have the disadvantage of saving the article to
a file which I have to then visit, edit, save, delete in-
stead of just creating a new buffer.

How can I copy the "raw", but decoded article body to a new
buffer?

TIA,
Tim


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

end of thread, other threads:[~2019-12-02  8:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-23 11:35 How to copy "raw", but decoded article body to a new buffer? Tim Landscheidt
2019-11-23 12:08 ` Lars Ingebrigtsen
2019-11-24 15:59   ` Tim Landscheidt
2019-11-24 21:19     ` Štěpán Němec
2019-11-24 22:29       ` Tim Landscheidt
2019-12-02  8:08         ` Tim Landscheidt

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