Extended `count-words' function
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
advance-wc-mode.el
advance-words-count.el

README.md

advance-words-count.el

Extended count-words function

(require 'advance-words-count) 

Use advance-words-count to display a words count message in minibuffer. If an universal-argument is used, display the message verbosely.

This package is intended to be a replacement of Emacs's original count-words function. It uses regexp to match words and characters of any language, which can be set in words-count-regexp-list.

You can define your own function to display messages, and set to words-count-messages-func to your perfered function. For an easier way, use words-count-define-func to define rhe function.

Example:

(words-count-define-func " %d %d" ((cadr list) (car list)) t)

Set (setq words-count-messages-display 'pos-tip) to uses pos-tip.