[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Show size of a mail/posting?
From: |
Teemu Likonen |
Subject: |
Re: Show size of a mail/posting? |
Date: |
Mon, 26 Jun 2017 11:04:55 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) |
Loris Bennett [2017-06-26 08:07:23+02] wrote:
> What's the easiest way to display the total size, i.e. including
> attachments, of a mail or posting?
In summary buffer the raw message content can be piped to external
command with "|" key. So "| wc" counts lines and bytes. The raw message
content can be displayed with "C-u g". Then on that buffer "M-x
count-words" count lines, words and characters.
With custom Emacs Lisp code these function are likely useful:
(gnus-summary-show-raw-article)
(get-buffer gnus-article-buffer)
--
/// Teemu Likonen - .-.. <https://keybase.io/tlikonen> //
// PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 ///
signature.asc
Description: PGP signature