Lines with whitespace at the end get wrapped too early. It seems like the word boundary is not recognized correctly. To reproduce, enable word-wrap, then add spaces to a not-yet-wrapped line (at its end). I think in this case it would be best to simply wrap the spaces as if word-wrap wasn't enabled. In GNU Emacs 23.0.60.2 (i386-apple-darwin9.4.0, *Step 9.0) of 2008-07-16 on scarlett configured using `configure '--with-ns' '--without-x' '--without- freetype' '--prefix=/Users/dr/Projects/Aquamacs/emacs/nextstep/build/ Emacs.app/Contents/Resources' '--exec_prefix=/Users/dr/Projects/ Aquamacs/emacs/nextstep/build/Emacs.app/Contents/MacOS' '--libexecdir=/ Users/dr/Projects/Aquamacs/emacs/nextstep/build/Emacs.app/Contents/ MacOS/libexec' 'CC=gcc-4.0' 'CFLAGS=-g -arch ppc -arch i386'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x w C-x b C-y x r e p o r t - e m Recent messages: .emacs loaded For information about GNU Emacs and the GNU system, type C-h C-a. Mark set