From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Rethinking count-words-region Date: Sat, 08 Oct 2011 08:22:08 +0200 Message-ID: <83ehyof1f3.fsf@gnu.org> References: <87vcs0q05l.fsf@stupidchicken.com> <83ty7kfzed.fsf@gnu.org> <874nzk5xvc.fsf@stupidchicken.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1318054935 5163 80.91.229.12 (8 Oct 2011 06:22:15 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 8 Oct 2011 06:22:15 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 08 08:22:11 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 1RCQIV-0005F2-4k for ged-emacs-devel@m.gmane.org; Sat, 08 Oct 2011 08:22:11 +0200 Original-Received: from localhost ([::1]:39070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCQIU-0001Ir-EU for ged-emacs-devel@m.gmane.org; Sat, 08 Oct 2011 02:22:10 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:40413) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCQIS-0001Ia-13 for emacs-devel@gnu.org; Sat, 08 Oct 2011 02:22:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RCQIQ-0000F5-FD for emacs-devel@gnu.org; Sat, 08 Oct 2011 02:22:07 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:37259) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RCQIQ-0000EU-8u for emacs-devel@gnu.org; Sat, 08 Oct 2011 02:22:06 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LSQ00H00HHCKF00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sat, 08 Oct 2011 08:22:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.124.91.138]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LSQ005PBHORHM60@a-mtaout23.012.net.il>; Sat, 08 Oct 2011 08:22:04 +0200 (IST) In-reply-to: <874nzk5xvc.fsf@stupidchicken.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 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:144730 Archived-At: > From: Chong Yidong > Cc: emacs-devel@gnu.org > Date: Fri, 07 Oct 2011 16:51:19 -0400 > > On reflection, I think the Bug#9429 change to count-words-region is > misguided. If we want to be consistent with other parts of Emacs, like > ispell-word/ispell-region, we need two separate commands: > > - 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. That'd be fine with me.