From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18643 Path: news.gmane.org!.POSTED!not-for-mail From: Teemu Likonen Newsgroups: gmane.emacs.gnus.user Subject: Re: Show size of a mail/posting? Date: Mon, 26 Jun 2017 11:04:55 +0300 Message-ID: <874lv3qimw.fsf@mithlond.arda> References: <87k23zs2n8.fsf@fu-berlin.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7005554357468726980==" X-Trace: blaine.gmane.org 1498464312 32074 195.159.176.226 (26 Jun 2017 08:05:12 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Jun 2017 08:05:12 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: info-gnus-english@gnu.org To: Loris Bennett Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Mon Jun 26 10:05:06 2017 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dPP16-000811-L2 for gegu-info-gnus-english@m.gmane.org; Mon, 26 Jun 2017 10:05:04 +0200 Original-Received: from localhost ([::1]:45148 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPP1B-0000KW-QG for gegu-info-gnus-english@m.gmane.org; Mon, 26 Jun 2017 04:05:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dPP15-0000HY-UA for info-gnus-english@gnu.org; Mon, 26 Jun 2017 04:05:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dPP12-000112-PC for info-gnus-english@gnu.org; Mon, 26 Jun 2017 04:05:03 -0400 Original-Received: from mail.kapsi.fi ([217.30.184.167]:57010) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dPP12-00010q-EP for info-gnus-english@gnu.org; Mon, 26 Jun 2017 04:05:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Type:MIME-Version:Message-ID:Date:References:In-Reply-To:Subject:Cc:To:From; bh=BK2/B/7+/3u7apUw1QDVaNdxfxTFXz5XDLZInGGDscI=; b=sNOfiXrP92qgIh86Vmr/tEb+jCS+ngcFADX138Vfv7zxMITl8o5lzGDGtp+p6V8bluEMfwzhuSLfa6xMQYBs2uQ+zmhlzIQP+EJuupAe4bVMT8Rw0SYdQwsTrGNFBTudncKtoQZjj2oHr2HhKDEvSaSU2DAp1u0UtjkUWipRQE7/an9XBKIoidBPBGLudqNE5H1MqsoCLL9bTG/tz9V9ATgjybZ55sQpotBaiUZSLKyosBGnQfe36Ox3cX4RigA1/yheGANuJ3QVTxTxrtFiRztSaOj99ozfHSumuIVWYgrIBTQtqGVlJxBLx2GF/wKZENsbBr5yy3TltHjtLup2bQ==; Original-Received: from dsl-roibrasgw1-54fb8f-106.dhcp.inet.fi ([84.251.143.106] helo=mithlond.arda) by mail.kapsi.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dPP0y-00019a-Ab; Mon, 26 Jun 2017 11:04:56 +0300 Original-Received: from dtw by mithlond.arda with local (Exim 4.89) (envelope-from ) id 1dPP0x-0001Gx-Sp; Mon, 26 Jun 2017 11:04:55 +0300 In-Reply-To: <87k23zs2n8.fsf@fu-berlin.de> (Loris Bennett's message of "Mon, 26 Jun 2017 08:07:23 +0200") X-SA-Exim-Connect-IP: 84.251.143.106 X-SA-Exim-Mail-From: tlikonen@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 217.30.184.167 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: "info-gnus-english" Xref: news.gmane.org gmane.emacs.gnus.user:18643 Archived-At: --===============7005554357468726980== Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable 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) =2D-=20 /// Teemu Likonen - .-.. // // PGP: 4E10 55DC 84E9 DFF6 13D7 8557 719D 69D3 2453 9450 /// --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEkhZiiC54Bnj5a16Skzo1BB5+rVEFAllQwCcACgkQkzo1BB5+ rVFLhggAkF3KYT5slv+csTTPqHuVXVXRRiZvYvWYr9TPwm5mU3HhEdmrASmrzbF+ agONRXPyQn/xaQDSQy6pTBeQda+zQ0c31ncjxB+1e2C3vfnhNr3YK3GWWOTxSXV4 Zn2Z/aAMTpjjkXtO80XfkJPLG0rUjBBxldhRyJghlOCi0KtsRIi1WpXEgN6ZPOAL 4dHnNvSqQBBm8Uc+HEblyTXZd7TTEkXKiEdYmlyZual3kmBAsNsyBcW9eBR1G8WY GzLY8Up2oMNJKpqYjvylIN8WNAt1Yqua/+Ici8323ecKUoxLKBGxg9lKkydF62fN iyKfzLbOiy+mAwBQri+XgMj/okoAJA== =oHOj -----END PGP SIGNATURE----- --=-=-=-- --===============7005554357468726980== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline