From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Nordl=F6w?= Newsgroups: gmane.emacs.help Subject: Converting an Integer into Human Readable String Date: Thu, 7 Apr 2011 03:02:52 -0700 (PDT) Organization: http://groups.google.com Message-ID: <4fa1ed35-b35b-4c8d-bfca-d7fae8da913b@glegroupsg2000goo.googlegroups.com> Reply-To: gnu.emacs.help@googlegroups.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1302172844 19290 80.91.229.12 (7 Apr 2011 10:40:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 7 Apr 2011 10:40:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 07 12:40:40 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7mdi-0006uK-Gn for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Apr 2011 12:40:39 +0200 Original-Received: from localhost ([127.0.0.1]:45541 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7mdg-0004en-9b for geh-help-gnu-emacs@m.gmane.org; Thu, 07 Apr 2011 06:40:36 -0400 Original-Path: usenet.stanford.edu!news-xfer.nntp.sonic.net!news.glorb.com!news2.glorb.com!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 150.227.15.253 Original-X-Trace: posting.google.com 1302170572 5943 127.0.0.1 (7 Apr 2011 10:02:52 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 7 Apr 2011 10:02:52 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=150.227.15.253; posting-account=ytJKAgoAAAA1tg4ScoRszebXiIldA5vg User-Agent: G2/1.0 Original-Xref: usenet.stanford.edu gnu.emacs.help:186541 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80654 Archived-At: I looking for the function that prints file size on the mode-line in size-indication-mode. I have searched for size-indication-mode in the source but cannot find a code-references to it. So where is the function that prints for example 22k when file is approximately 22 kilobytes big? What about difference between - kilobytes (kB), 1000 bytes, and - kibibytes (KiB), 1024 bytes, as defined at Shouldn't Emacs support both? This is of course not that hard to write but reinvent the wheel? http://en.wikipedia.org/wiki/Kibibyte