From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Rethinking count-words-region Date: Fri, 07 Oct 2011 16:55:57 -0400 Message-ID: <87zkhc4j36.fsf@stupidchicken.com> References: <87vcs0q05l.fsf@stupidchicken.com> <83ty7kfzed.fsf@gnu.org> <874nzk5xvc.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1318020969 22978 80.91.229.12 (7 Oct 2011 20:56:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 7 Oct 2011 20:56:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Oct 07 22:56:05 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RCHSe-00079a-Ca for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2011 22:56:04 +0200 Original-Received: from localhost ([::1]:45857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCHSd-0007jf-JY for ged-emacs-devel@m.gmane.org; Fri, 07 Oct 2011 16:56:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:52966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCHSa-0007jP-Po for emacs-devel@gnu.org; Fri, 07 Oct 2011 16:56:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCHSZ-0008TO-Vm for emacs-devel@gnu.org; Fri, 07 Oct 2011 16:56:00 -0400 Original-Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]:49538) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCHSY-0008T5-Km; Fri, 07 Oct 2011 16:55:58 -0400 Original-Received: from furball (dhcp-128-36-14-81.central.yale.edu [128.36.14.81]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p97KtvNP009556 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Fri, 7 Oct 2011 16:55:58 -0400 In-Reply-To: <874nzk5xvc.fsf@stupidchicken.com> (Chong Yidong's message of "Fri, 07 Oct 2011 16:51:19 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 130.132.50.144 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:144723 Archived-At: Chong Yidong writes: > - A count-*-region command that counts in the region, using > (interactive "r"). Even if Transient Mark mode is active and the > region is not active, it counts in the inactive region. This is like > ispell-region. > > - A count-* command that usually counts in the buffer. If > use-region-p, it counts in the region. This is like ispell-word. And I guess we can call these commands count-words-region and count-words, even if they also provide information about lines and characters.