Subject: bug#6562: 23.2; C-L Recenter issues (word-wrap?)

From: David Reitter <[email-masked]>
Date: Sun, 4 Jul 2010 10:52:02 -0400

Begin forwarded message:

From: "Steven C. Bagley" <[email-masked]>
Date: July 3, 2010 8:03:02 PM EDT
To: [email-masked]
Subject: [Aquamacs-bugs] 23.2;
Reply-To: Bug reports for Aquamacs Emacs <[email-masked]>

There is a problem with the redisplay in recenter-top-bottom. Place the cursor at the beginning of the 2nd line of the 4th paragraph of the following text. Type C-L to cycle through the recenter positions. When that line is placed at the top of the screen, additional words from the previous line appear inserted at the beginning of the line with the point.

Sample text file (between lines of ='s)
===============
"Neque porro quisquam est qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit..."

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras interdum porttitor lorem, in aliquam urna molestie porta. Vestibulum lectus metus, aliquam id mollis at, dictum vitae lectus. Proin id ligula sit amet dui porta fringilla vitae hendrerit felis. Suspendisse potenti. Suspendisse ac feugiat arcu. Sed dictum dui ac diam aliquam laoreet. Ut tempus neque eget sem auctor placerat. Curabitur dolor elit, tincidunt a auctor sed, rutrum in massa. Sed vel nulla sapien. Etiam hendrerit, neque vitae scelerisque hendrerit, diam lacus rutrum elit, eget elementum leo felis non odio. Vestibulum aliquam dui in metus consectetur quis pulvinar felis sodales. Sed elementum nulla non risus aliquam rutrum. Ut libero turpis, mattis consequat egestas et, volutpat vel turpis. Praesent eu est felis, ac iaculis augue. Duis tristique luctus turpis, mattis sollicitudin arcu bibendum id. Mauris vehicula enim vel leo adipiscing tempor in sit amet est.

Fusce eleifend velit imperdiet orci tincidunt rutrum. Integer tincidunt malesuada eros, at ornare velit viverra eget. Cras suscipit elementum nisi, quis gravida nulla eleifend vel. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam mattis egestas nunc non auctor. Praesent sed magna dapibus eros ullamcorper posuere. Vivamus ultricies eleifend erat in lobortis. Mauris vel eros vitae nibh venenatis porttitor. Morbi molestie nisi non dolor pharetra facilisis. Duis blandit fringilla urna, eu sagittis eros vulputate a. Curabitur sit amet nibh justo.

Curabitur cursus malesuada convallis. In a mi velit. Praesent sodales erat tincidunt erat malesuada quis fermentum velit aliquam. Nullam sed pulvinar leo. Integer turpis est, ornare id imperdiet sit amet, porta sit amet erat. Vivamus nec sapien gravida eros luctus adipiscing non quis nibh. Aliquam porta mauris at ligula tristique nec congue magna consectetur. Praesent volutpat, purus nec rhoncus pharetra, justo nibh scelerisque mi, ac iaculis elit nunc a ligula. In condimentum mauris et tortor faucibus fermentum. Phasellus sit amet sapien nunc, et vestibulum lacus. Nullam eget tortor velit. Donec eu nisi felis, vel interdum neque.

Aenean nec risus est. Nam non dolor augue. Nam nisl ipsum, molestie ac blandit ut, suscipit eu enim. Quisque tincidunt dignissim dolor, non vestibulum sapien cursus eget. Cras eget metus sit amet libero aliquam auctor. Nunc vestibulum purus at massa commodo ac laoreet odio congue. Praesent faucibus mattis massa, ut interdum metus lobortis eu. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam placerat bibendum libero et sollicitudin. Sed ac sapien libero. Vivamus sit amet porta nibh. Fusce lacinia laoreet nulla, a scelerisque felis pharetra non. Aliquam ac fermentum diam. In pretium nibh nec neque vehicula sit amet pellentesque massa scelerisque.

Praesent ullamcorper condimentum enim a pharetra. Sed augue sapien, tristique at tristique consectetur, fringilla et lorem. In imperdiet, erat nec mattis sagittis, metus purus varius neque, vitae malesuada leo odio a felis. Vivamus sit amet quam et urna dictum fringilla. Pellentesque ac eros ac purus fringilla sagittis ut ut ligula. Morbi a neque nibh, sed imperdiet sapien. Ut nibh ligula, facilisis vitae ultricies sed, cursus sit amet sem. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Sed semper, sapien quis cursus pharetra, ligula felis congue orci, ac hendrerit diam elit vel velit. Proin eleifend laoreet enim a sodales. Aliquam erat volutpat. Etiam sed risus et ligula suscipit mollis eget ut leo. Maecenas ac risus augue, sit amet rutrum nibh. Integer imperdiet semper lorem ut convallis. Integer ipsum risus, malesuada at consectetur eget, aliquam a urna. Pellentesque habitant morbi tristique senectus et netus et malesuada fames!
 ac turpis egestas. Ut faucibus egestas massa, vel sodales est pretium sit amet. Vivamus at libero at libero cursus cursus. Phasellus arcu metus, pharetra vitae viverra adipiscing, vehicula vitae nulla.

In hac habitasse platea dictumst. Nullam elementum, dui at tincidunt auctor, lectus nulla dictum nibh, vel consectetur ante enim in nulla. Curabitur adipiscing, nibh in ornare vestibulum, mi nulla luctus mi, eu posuere ante nulla eu leo. Praesent pulvinar erat sit amet quam cursus tincidunt. Nam placerat sem libero, sed sagittis libero. Maecenas blandit arcu sit amet odio laoreet id malesuada massa facilisis. Donec dictum tempus diam non laoreet. In leo neque, gravida quis fermentum id, pretium ac augue. In dolor sapien, feugiat non suscipit et, dapibus et massa. Cras a tellus ut lectus sollicitudin pulvinar vitae consequat lectus. Pellentesque ultrices quam eu quam gravida ac porttitor tortor commodo. Aliquam pharetra consectetur mauris, faucibus commodo risus vehicula sit amet. Suspendisse venenatis nisi ipsum, non tempor sem. Pellentesque purus tortor, scelerisque et pretium eu, gravida eu nunc. Curabitur elit tellus, sodales sit amet pharetra at, mollis non tortor. Etiam!
 sollicitudin tortor non odio pharetra iaculis. Nunc euismod magna at orci accumsan gravida et sit amet ipsum.

Donec et tempus nisi. Ut aliquet ante ut nisi hendrerit ullamcorper. Quisque volutpat tempor sem et porttitor. Mauris interdum nibh sit amet eros ullamcorper vehicula. Aliquam vehicula, dolor pretium dictum laoreet, diam elit malesuada augue, ut volutpat diam est eget tellus. Ut ullamcorper erat a dui interdum fermentum. Praesent venenatis justo vitae risus tempor sed porta massa porta. Aenean et erat eu turpis cursus tempor. Nam id adipiscing velit. Mauris pharetra accumsan feugiat. Morbi iaculis faucibus pretium. Ut vitae odio augue. Quisque mollis blandit orci. Pellentesque pellentesque risus sed felis semper ullamcorper. Maecenas porta, ipsum eu gravida pretium, felis turpis ullamcorper leo, at malesuada mi arcu eu felis. Integer porta scelerisque neque at fringilla. Aenean lorem nibh, euismod et sodales ac, adipiscing ac orci. In in aliquam ante.

Integer blandit dapibus fermentum. Phasellus ac luctus nunc. Donec porta mauris a nulla malesuada sed porta odio congue. Sed euismod pellentesque odio ac vulputate. Fusce sit amet tincidunt lacus. In mauris tellus, iaculis vel rutrum vel, elementum ac felis. Phasellus imperdiet sodales velit mollis rutrum. Aenean sollicitudin, enim vel aliquet sollicitudin, libero mi feugiat sapien, ac euismod eros risus at lacus. Ut velit libero, semper ac accumsan at, condimentum ac lorem. Nullam non sapien eros. Maecenas congue, arcu eget mattis malesuada, odio eros pellentesque risus, id fringilla enim lacus sit amet risus. Fusce sed varius orci. Morbi elit leo, convallis nec feugiat vel, sagittis a magna. Nullam in tincidunt metus. Nulla massa purus, hendrerit eget hendrerit sit amet, sagittis sit amet ipsum. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Duis massa felis, dictum non congue id, hendrerit ac diam. Fusce faucibus, tellus eu feugiat elementum, dui lorem porttitor!
 sapien, id scelerisque neque nisl non mi. Vivamus a magna vel tortor tempus vestibulum at vel ipsum.

Maecenas nibh neque, consequat ac blandit in, vehicula vel felis. Phasellus malesuada, est commodo vehicula dictum, nisi diam laoreet erat, ac sollicitudin mi diam vel erat. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nulla auctor eleifend dolor sit amet pellentesque. Nullam nulla quam, semper vitae tempor egestas, eleifend in purus. Nam at velit et purus molestie varius. Aliquam eleifend facilisis rutrum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Phasellus malesuada, metus at pellentesque egestas, nunc justo aliquam augue, quis laoreet velit libero sit amet ante. Donec ut nisi nisi, non hendrerit libero. Quisque id sodales nulla.

Pellentesque pulvinar elit nec erat hendrerit vehicula. Donec vel risus nibh. Vivamus ac quam sit amet nisl condimentum eleifend ut at ipsum. Nunc semper quam id tellus tincidunt id condimentum justo faucibus. Nam in odio a elit volutpat auctor sit amet id diam. Donec nec ipsum et nulla fringilla sodales sit amet faucibus diam. In purus lacus, elementum vel varius non, bibendum id lorem. Phasellus quis quam velit, vitae pharetra lorem. Mauris in mi quis augue cursus rhoncus. Integer justo enim, tempus ut placerat non, dignissim sit amet odio. Donec convallis sagittis congue. Quisque nec congue elit. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Ut vehicula ipsum id nisi consectetur in viverra magna rutrum. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nam quam erat, vestibulum gravida lobortis nec, condi!
mentum non est. Phasellus arcu erat, mattis iaculis mollis at, blandit in dolor.

===============

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the [email-masked] mailing list,
and may appear in other public locations.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting with an Aquamacs without customization
for which see the Help / Diagnose and Report Bug menu:

Enter your bug report here.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
   `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file
/Applications/Aquamacs.app/Contents/Resources/etc/DEBUG.

In GNU Emacs 23.2.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
of 2010-05-09 on braeburn.aquamacs.org - Aquamacs Distribution 2.0
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns' '--without-x' 'CFLAGS=-arch i386 -arch ppc' 'LDFLAGS=-arch i386 -arch ppc''

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: Text

Minor modes in effect:
 savehist-mode: t
 smart-frame-positioning-mode: t
 aquamacs-autoface-mode: t
 recentf-mode: t
 osx-key-mode: t
 tabbar-mwheel-mode: t
 tabbar-mode: t
 show-paren-mode: t
 delete-selection-mode: t
 pc-selection-mode: t
 cua-mode: t
 tooltip-mode: t
 mouse-wheel-mode: t
 tool-bar-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 blink-cursor-mode: t
 auto-encryption-mode: t
 auto-compression-mode: t
 smart-spacing-mode: t
 column-number-mode: t
 line-number-mode: t
 visual-line-mode: t
 transient-mark-mode: t

Recent input:
<ns-application-activated> ^X ^F D E S <backspace> 
<backspace> <backspace> F O O <tab> <return> <menu-bar> 
<help-menu> <bug-diagnosis> <send-emacs-bug-report

Recent messages:
Shell: /bin/bash
Loading `emulate-mac-keyboard-mode': old-style backquotes detected!
Loading /Users/scb/Library/Preferences/Aquamacs Emacs/Recent Files.el (source)...done
Cleaning up the recentf list...done (0 removed)
24 environment variables imported from login shell (/bin/bash).
Loading /Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/auctex.el (source)...done
Loading /Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/edit-modes/haskell-mode/haskell-site-file.el (source)...done
one-buffer-one-frame-mode disabled.
Mark set [32 times]
Aquamacs is based on GNU Emacs, a part of the GNU/Linux system. It is Free Software: you can improve and redistribute it under the GNU General Public License, version 3 or later. Copyright (C) 2010 Free Software Foundation, Inc. (C) 2010 D. Reitter. No Warranty.

Load-path shadows:
None found.

Features:
(shadow sort mail-extr message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash
mail-utils emacsbug aquamacs-mode-defaults auctex-config server tex-site
smart-dnd aquamacs-aux savehist mouse-sel one-buffer-one-frame
smart-frame-positioning drews_init color-theme-autoloads saveplace
visual-line aquamacs-bug aquamacs-autoface-mode aquamacs-editing
sendmail recentf tree-widget cus-edit osxkeys emulate-mac-keyboard-mode
frame-cmds strings misc-fns thingatpt+ thingatpt frame-fns avoid
aquamacs-mac-fontsets fit-frame aquamacs-frame-setup aquamacs-tabbar
tabbar-window cl cl-19 tabbar easy-mmode cus-start cus-load
aquamacs-site-start cocoa-compatibility filladapt aquamacs-redo
check-for-updates aquamacs-menu osx_defaults aquamacs-tool-bar aquamacs
mac-extra-functions aquamacs-tools aquamacs-macros parse-time timezone
time-date paren delsel pc-select cua-base wid-edit regexp-opt advice
advice-preload byte-opt bytecomp byte-compile debug help-fns help-mode
view image-file disp-table tooltip ediff-hook vc-hooks lisp-float-type
mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
loaddefs button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process ns multi-tty
emacs)

Command line: (/Applications/Aquamacs.app/Contents/MacOS/Aquamacs)

PATH: /opt/local/bin:/opt/local/sbin:/Applications/Octave.app/Contents/Resources/bin/:/Applications/Gnuplot.app/Contents/Resources/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/opt/local/sbin:/Applications/Octave.app/Contents/Resources/bin/:/Applications/Gnuplot.app/Contents/Resources/bin/:/usr/texbin:/usr/local/texlive/2008/bin:/opt/local/bin:/opt/local/sbin:/Applications/Octave.app/Contents/Resources/bin/:/Applications/Gnuplot.app/Contents/Resources/bin/:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/local/texlive/2008/bin:/usr/texbin:/usr/local/texlive/2008/bin

exec-path: (/opt/local/bin /opt/local/sbin /Applications/Octave.app/Contents/Resources/bin/ /Applications/Gnuplot.app/Contents/Resources/bin/ /usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/X11/bin /opt/local/bin /opt/local/sbin /Applications/Octave.app/Contents/Resources/bin/ /Applications/Gnuplot.app/Contents/Resources/bin/ /usr/texbin /usr/local/texlive/2008/bin /opt/local/bin /opt/local/sbin /Applications/Octave.app/Contents/Resources/bin/ /Applications/Gnuplot.app/Contents/Resources/bin/ /usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/X11/bin /usr/bin /bin /usr/sbin /sbin /usr/texbin /usr/local/texlive/2008/bin /Applications/Aquamacs.app/Contents/MacOS/bin)
_______________________________________________
Aquamacs-bugs mailing list
[email-masked]
http://lists.aquamacs.org/mailman/listinfo.cgi/aquamacs-bugs