emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rethinking count-words-region


From: Eli Zaretskii
Subject: Re: Rethinking count-words-region
Date: Sat, 08 Oct 2011 08:22:08 +0200

> From: Chong Yidong <address@hidden>
> Cc: address@hidden
> 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]