This bug report will be sent to the XEmacs Development Team,
not to your local site managers!!
Please write in English, because the XEmacs maintainers do not have
translators to read other languages for them.
Please describe as succinctly as possible:
- What happened.
- What you thought should have happened.
- Precisely what you were doing at the time.
Please also include any C or lisp back-traces that you may have.
================================================================
Dear Bug Team!
Function `count-words-buffer' does not do the right thing when given
optional third argument BUFFER.
--- simple.el.orig Wed May 9 10:53:52 2001
+++ simple.el Fri Mar 15 11:03:16 2002
@@ -641,7 +641,8 @@
If called noninteractively, the value is returned rather than printed.
BUFFER defaults to the current buffer."
(interactive)
- (let ((words (count-words-region (point-min) (point-max) buffer)))
+ (let ((words
+ (count-words-region (point-min buffer) (point-max buffer) buffer)))
(when (interactive-p)
(message "Buffer has %d words" words))
words))
================================================================
System Info to help track down your bug:
---------------------------------------
of no significance in this context ;-)