>>>> "Carsten" == Carsten Boriss
<caboriss(a)eircom.net> writes:
Carsten> This bug report will be sent to the XEmacs Development Team,
Carsten> not to your local site managers!!
Carsten> Please write in English, because the XEmacs maintainers do not have
Carsten> translators to read other languages for them.
Carsten> Please describe as succinctly as possible:
Carsten> - What happened.
Carsten> - What you thought should have happened.
Carsten> - Precisely what you were doing at the time.
Carsten> Please also include any C or lisp back-traces that you may have.
Carsten> ================================================================
Carsten> Dear Bug Team!
Carsten> Function `count-words-buffer' does not do the right thing
Carsten> when given optional third argument BUFFER.
Hello Carsten, thanks for the patch!
I noted count-lines-buffer to have the same problem.
Could you please include a fix for that in your patch also?
Please also provide a ChangeLog entry for your patch.
ChangeLog entries can be generated by one of these:
add-change-log-entry
cvs-mode-add-change-log-entry-other-window
patch-to-change-log
vc-update-change-log
Or you may use the wonderful patcher, which is part of the
xemacs-devel XEmacs package.
Best regards,
Adrian
Carsten> --- simple.el.orig Wed May 9 10:53:52 2001
Carsten> +++ simple.el Fri Mar 15 11:03:16 2002
Carsten> @@ -641,7 +641,8 @@
Carsten> If called noninteractively, the value is returned rather than printed.
Carsten> BUFFER defaults to the current buffer."
Carsten> (interactive)
Carsten> - (let ((words (count-words-region (point-min) (point-max) buffer)))
Carsten> + (let ((words
Carsten> + (count-words-region (point-min buffer) (point-max buffer)
buffer)))
Carsten> (when (interactive-p)
Carsten> (message "Buffer has %d words" words))
Carsten> words))
Carsten> ================================================================
Carsten> System Info to help track down your bug:
Carsten> ---------------------------------------
Carsten> of no significance in this context ;-)
--
Adrian Aichner
mailto:adrian@xemacs.org
http://www.xemacs.org/