[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rethinking count-words-region
From: |
Juri Linkov |
Subject: |
Re: Rethinking count-words-region |
Date: |
Sat, 08 Oct 2011 23:04:06 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) |
> The previous count-words-region behavior is assigned to a new
> `count-words' command, which acts on the region if use-region-p and on
> the buffer otherwise.
One problem: when I type `M-=', it fails with:
Debugger entered--Lisp error: (mark-inactive)
call-interactively(count-words-region nil nil)
That's because I customized `mark-even-if-inactive' to `nil'
(to avoid its dangerous behavior when it's non-nil).
Maybe `count-words-region' should take care of this case?
Better yet to bind `M-=' to a new command with a general name
like suggested `count-stats' that will take care of different
region activation cases and report all possible counts.
Re: Rethinking count-words-region, Andreas Röhler, 2011/10/07
Re: Rethinking count-words-region, Alan Mackenzie, 2011/10/07
Re: Rethinking count-words-region, Chong Yidong, 2011/10/08
- Re: Rethinking count-words-region, Andreas Röhler, 2011/10/08
- Re: Rethinking count-words-region,
Juri Linkov <=
- RE: Rethinking count-words-region, Drew Adams, 2011/10/08
- Re: Rethinking count-words-region, Juri Linkov, 2011/10/08
- RE: Rethinking count-words-region, Drew Adams, 2011/10/08
- Re: Rethinking count-words-region, chad, 2011/10/08
- RE: Rethinking count-words-region, Drew Adams, 2011/10/08