[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r106028: Rework count-words-regio
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] /srv/bzr/emacs/trunk r106028: Rework count-words-region. New command count-words. |
Date: |
Tue, 11 Oct 2011 21:59:34 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) |
>>> Rework count-words-region. New command count-words.
>> IIUC those two commands pretty much only differ if transient-mark-mode
>> is disabled (other than the fact that one of them can't be used from
>> Elisp). Is this distinction worth the trouble of having two commands?
> This is for consistency with the old behavior of M-=, as well as
I don't think this consideration is very important. We're already
changing the behavior of the command, and I think making it sensitive to
tmm is a positive change.
> ispell-word/ispell-region, comment-dwim/comment-region, etc.
But note that the tmm-sensitive command is the one bound to a key in
both those cases, so from that point of view, we should bind M-= to
count-words rather than to count-words-region.
Stefan