in Emacs wc-mode, how to count characters only in current buffer?
emacs, org-mode
Solution
You need to customize `wc-modeline-format`. The following line, for example, will give you the total number of words and total number of characters in the buffer (even when narrowed).
(setq wc-modeline-format "[Words: %tw, Chars: %tc]")
Problem
I'm using wc-mode to count characters in org-mode. However, when I do `org-narrow-to-subtree`, my modeline continues to count all the characters in the entire org file. How do I direct wc-mode to count only the characters in the currently active buffer, i.e. the current subtree?