[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#9429: 24.0.50; Extended count-words
From: |
Juri Linkov |
Subject: |
bug#9429: 24.0.50; Extended count-words |
Date: |
Wed, 14 Sep 2011 21:55:17 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
After feature freeze please add a new command `wc' that works like
coreutils's command `wc' and bind it to `M-='.
Currently `M-=' is bound to `count-lines-region' that contrary to its name
prints the number of *characters* and lines. At least with the name `wc'
it will be consistent with the well-known shell command `wc' that counts
lines, words and bytes.
`man wc' says that it counts bytes, not characters. So `wc' (`M-=')
could also report bytes in addition to characters, e.g.
Region has 1 line, 22 words, 35 characters, 38 bytes