From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Big Slim Newsgroups: gmane.emacs.help Subject: Re: Count characters in emacs? Date: Tue, 25 Feb 2003 14:21:38 -0600 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <250220031421387958%skinny@bones.com> References: <250220031348399183%skinny@bones.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1046204860 12224 80.91.224.249 (25 Feb 2003 20:27:40 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Feb 2003 20:27:40 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18nlfv-0003B0-00 for ; Tue, 25 Feb 2003 21:27:39 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18nldi-0007hx-05 for gnu-help-gnu-emacs@m.gmane.org; Tue, 25 Feb 2003 15:25:22 -0500 Original-Newsgroups: gnu.emacs.help User-Agent: Thoth/1.5.8 (Carbon/OS X) Original-NNTP-Posting-Host: 65.184.210.105 Original-X-Trace: nopics.sjc 1046204509 65.184.210.105 (25 Feb 2003 12:21:49 -0800) Original-Lines: 22 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed-west.nntpserver.com!hub1.meganetnews.com!nntpserver.com!telocity-west!DIRECTV!nopics.sjc!skinny Original-Xref: shelby.stanford.edu gnu.emacs.help:110614 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:7116 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:7116 In article , Aaron Son wrote: > Big Slim writes: > > > Anyone know if it's possible to count the number of characters in a > > file with emacs? I'm trying to rely less on Word, but that's one > > feature I can't seem to find in emacs. Alternately, a shell command > > would be nice. > > Answer from the nice people in #emacs on irc.freenode.net: > > If you're not using narrowing, it looks like C-= will do it. > > If you are using narrowing, use C-x h to mark the whole buffer, and > then M-= to count the number of lines and characters in the region. > Note, this will destroy your point position, save it if ya need it. Wow! Me likey! Wonder why I couldn't find that in my O'Reilly book? I'll have to look again... Thanks--Big Slim