diff options
| author | Chong Yidong | 2011-10-08 12:37:46 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-10-08 12:37:46 -0400 |
| commit | b2b0776e50cd07bc3fbe1548fc258d68a1dbbee8 (patch) | |
| tree | ca33e46f624b6171b21ee79d9824e62bd88682d0 /lisp/ChangeLog | |
| parent | 27a16462454d7f45a0b1c65c0b0b2ed76091e11b (diff) | |
| download | emacs-b2b0776e50cd07bc3fbe1548fc258d68a1dbbee8.tar.gz emacs-b2b0776e50cd07bc3fbe1548fc258d68a1dbbee8.zip | |
Rework count-words-region. New command count-words.
See discussion at http://lists.gnu.org/archive/html/emacs-devel/2011-10/msg00193.html
* lisp/simple.el (count-words-region): Always count in the region.
Report the number of lines and characters too.
(count-words): New command, which counts in the buffer if the
region is inactive, as count-words-region used to.
(count-words--message): New function. Handle plurals.
(count-lines-region): Make it an alias for count-words-region.
* lisp/bindings.el (esc-map): Replace count-lines-region with
count-words-region.
* doc/emacs/basic.texi (Position Info): Omit page commands. Document
count-words-region and count-words.
* doc/emacs/text.texi (Pages): Move what-page documentation here.
Diffstat (limited to 'lisp/ChangeLog')
| -rw-r--r-- | lisp/ChangeLog | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 076749197e0..611219cb5ec 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,15 @@ | |||
| 1 | 2011-10-08 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * simple.el (count-words-region): Always count in the region. | ||
| 4 | Report the number of lines and characters too. | ||
| 5 | (count-words): New command, which counts in the buffer if the | ||
| 6 | region is inactive, as count-words-region used to. | ||
| 7 | (count-words--message): New function. Handle plurals. | ||
| 8 | (count-lines-region): Make it an alias for count-words-region. | ||
| 9 | |||
| 10 | * bindings.el (esc-map): Replace count-lines-region with | ||
| 11 | count-words-region. | ||
| 12 | |||
| 1 | 2011-10-08 Martin Rudalics <rudalics@gmx.at> | 13 | 2011-10-08 Martin Rudalics <rudalics@gmx.at> |
| 2 | 14 | ||
| 3 | * window.el (window--delete): Delete dedicated frame | 15 | * window.el (window--delete): Delete dedicated frame |