unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* longlines-mode: wrap at wrong position
@ 2008-01-21 14:48 David Reitter
  0 siblings, 0 replies; 2+ messages in thread
From: David Reitter @ 2008-01-21 14:48 UTC (permalink / raw)
  To: Bug-Gnu-Emacs

[-- Attachment #1: Type: text/plain, Size: 726 bytes --]

Using AUCTeX, which marks up section titles (and other text) using  
larger-than-normal letters, I regularly get horribly wrong word  
wrapping (see attached screenshot).

I use longlines-mode and have `longlines-wrap-follows-window-size' set  
to t, which, according to the doc string, means that "Non-nil means  
wrapping and filling happen at the edge of the window".

I won't explain further, because it should be clear why this occurs.  
Longlines wraps lines before (window-width) and that's a conceptual  
mistake in times of variable-width fonts and syntax highlighting.

PS.: Apologies if I have reported this before - I can't remember and  
nothing (like display-time word wrapping) has been done in that respect.



[-- Attachment #2: pastedGraphic.png --]
[-- Type: image/png, Size: 93459 bytes --]

[-- Attachment #3: Type: text/plain, Size: 4674 bytes --]




In GNU Emacs 22.1.50.2 (i386-apple-darwin8.11.1, Carbon Version 1.6.0)
  of 2008-01-15 on plume.sr.unh.edu - Aquamacs Distribution 1.2CVS
Windowing system distributor `Apple Inc.', version 10.5.1
configured using `configure  '--without-x' '--prefix=/usr/local''

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
   locale-coding-system: iso-8859-1
   default-enable-multibyte-characters: t

Major mode: PDFLaTeX/F

Minor modes in effect:
   reftex-mode: t
   TeX-fold-mode: t
   TeX-PDF-mode: t
   flyspell-mode: t
   savehist-mode: t
   aquamacs-styles-mode: t
   smart-frame-positioning-mode: t
   shell-dirtrack-mode: t
   recentf-mode: t
   encoded-kbd-mode: t
   osx-key-mode: t
   longlines-mode: t
   show-paren-mode: t
   delete-selection-mode: t
   pc-selection-mode: t
   cua-mode: t
   tooltip-mode: t
   mac-input-method-mode: t
   tool-bar-mode: 0
   mouse-wheel-mode: t
   use-hard-newlines: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   blink-cursor-mode: t
   unify-8859-on-encoding-mode: t
   utf-translate-cjk-mode: t
   auto-compression-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t
   abbrev-mode: t

Recent input:
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <wheel-down> <double-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<wheel-down> <double-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <wheel-down> <double-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <wheel-down>
<double-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <wheel-down> <double-wheel-down>
<triple-wheel-down> <wheel-down> <double-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <down-mouse-1> <mouse-movement>
<mouse-1> M-q <down-mouse-1> <mouse-movement> <mouse-1>
<down-mouse-1> <mouse-1> M-q <down-mouse-1> <mouse-1>
M-q <next> <down-mouse-1> <mouse-movement> <mouse-1>
M-q <down-mouse-1> <mouse-1> M-q <down-mouse-1> <mouse-1>
M-q <down-mouse-1> <mouse-1> M-q <next> <prior> <prior>
<prior> <prior> <prior> <prior> <prior> <prior> <next>
<next> <next> <up> <up> <up> <up> <up> <up> <up> <up>
<up> <up> <up> <up> <up> <up> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down> <down> <down> <down> <down> <down> <down> <down>
<down-mouse-1> <mouse-1> M-q <wheel-up> <double-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<wheel-down> <double-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <wheel-down> <double-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <wheel-down>
<double-wheel-down> <triple-wheel-down> <wheel-down>
<double-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <wheel-up>
<double-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <wheel-up> <double-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<wheel-up> <double-wheel-up> <wheel-up> <double-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <wheel-up> <double-wheel-up> <triple-wheel-up>
<down-mouse-1> <mouse-1> <down-mouse-1> <mouse-movement>
<mouse-1> <wheel-up> <double-wheel-up> <triple-wheel-up>
<triple-wheel-up> <up> A-v A-z \ n e w e x p e r i
m e n t { } <left> e x p : s u c c e s s - s v m <down>
<help-echo> <down-mouse-1> <help-echo> <mouse-movement>
<mouse-movement> <drag-mouse-1> A-c <down-mouse-1>
<mouse-1> <right> E x p e r i m e n t ~ \ r e f { A-v
} : SPC <down> M-q <right> <right> A-s <menu-bar> <help-menu>
<send-emacs-bug-report>

Recent messages:
Mark set
Mark saved where search started
Auto-saving...done
Mark set
Undo...
Undo!
Auto-saving...done
Mark set
Wrote /Users/dr/PhD/thesis/alignment-chapter.tex
Loading emacsbug...done

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: longlines-mode: wrap at wrong position
       [not found] <E1JHHLk-0004Pj-0R@fencepost.gnu.org>
@ 2008-01-22 15:37 ` Chong Yidong
  0 siblings, 0 replies; 2+ messages in thread
From: Chong Yidong @ 2008-01-22 15:37 UTC (permalink / raw)
  To: David Reitter; +Cc: bug-gnu-emacs, rms

> Using AUCTeX, which marks up section titles (and other text) using  
> larger-than-normal letters, I regularly get horribly wrong word  
> wrapping (see attached screenshot).
>
> Longlines wraps lines before (window-width) and that's a conceptual  
> mistake in times of variable-width fonts and syntax highlighting.

This is a known problem that is not trivial to fix.  I'll add it to
TODO.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-01-22 15:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-21 14:48 longlines-mode: wrap at wrong position David Reitter
     [not found] <E1JHHLk-0004Pj-0R@fencepost.gnu.org>
2008-01-22 15:37 ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).