From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Counting chars Date: Tue, 22 Feb 2005 16:25:39 -0800 Message-ID: References: <20050222225038.23EFBBD0A@atmalok> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109118940 17107 80.91.229.2 (23 Feb 2005 00:35:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Feb 2005 00:35:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 23 01:35:40 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D3kV3-0003DQ-GD for geh-help-gnu-emacs@m.gmane.org; Wed, 23 Feb 2005 01:35:34 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3kkg-0005Yb-2n for geh-help-gnu-emacs@m.gmane.org; Tue, 22 Feb 2005 19:51:42 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D3kkN-0005XV-LI for help-gnu-emacs@gnu.org; Tue, 22 Feb 2005 19:51:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D3kk9-0005RV-5K for help-gnu-emacs@gnu.org; Tue, 22 Feb 2005 19:51:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D3kk5-0005MM-2i for help-gnu-emacs@gnu.org; Tue, 22 Feb 2005 19:51:05 -0500 Original-Received: from [141.146.126.230] (helo=agminet03.oracle.com) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1D3kLf-00039l-O6 for help-gnu-emacs@gnu.org; Tue, 22 Feb 2005 19:25:52 -0500 Original-Received: from agminet03.oracle.com (localhost [127.0.0.1]) by agminet03.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j1N0Pi62003056; Tue, 22 Feb 2005 16:25:44 -0800 Original-Received: from rgmsgw301.us.oracle.com (rgmsgw301.us.oracle.com [138.1.191.50]) by agminet03.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j1N0PgTC003030; Tue, 22 Feb 2005 16:25:43 -0800 Original-Received: from rgmsgw301.us.oracle.com (localhost [127.0.0.1]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with ESMTP id j1N0PgsI010096; Tue, 22 Feb 2005 17:25:42 -0700 Original-Received: from dradamslap (dhcp-amer-csvpn-gw2-141-144-74-48.vpn.oracle.com [141.144.74.48]) by rgmsgw301.us.oracle.com (Switch-3.1.4/Switch-3.1.0) with SMTP id j1N0PevX010066 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Tue, 22 Feb 2005 17:25:41 -0700 Original-To: "Raimund Kohl-Fuechsle" , "help-gnu-emacs" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal In-Reply-To: <20050222225038.23EFBBD0A@atmalok> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 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 X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:24266 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:24266 I am looking for a way to count the total sum of chars (whitespaces included) in a buffer. `M-=' (count-lines-region) gives the # of characters in a region (as well as the # of lines. - Drew