unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#756: longlines-mode with longlines-wrap-follows-window-size doesn't work right
@ 2008-08-21  6:09 Stephen Marsh
  0 siblings, 0 replies; only message in thread
From: Stephen Marsh @ 2008-08-21  6:09 UTC (permalink / raw)
  To: bug-gnu-emacs

When I turn on longlines-mode, sometimes the text doesn't wrap
correctly, the lines are a little too short and don't come to the edge
of the window. I have

(setq longlines-wrap-follows-window-size t)

in my .emacs so longlines should wrap to the window size.

The text stays messed up even after editing. However, the simple act
of M-x RET (which should be a noop) causes the wrapping to start to
work correctly, wrapping out to the edge of the window.

I looked in longlines.el a little, and
longlines-wrap-follows-window-size seems to make longlines use (-
(window-width) window-min-width) instead of fill-column. Adding

(setq window-min-width 1)

Makes the problem go away, but I don't think this is the right way to
fix it. I couldn't figure out why longlines uses window-min-width at
all or why M-x RET is able to cause changes.

This is with GNU Emacs 22.1.1 (i386-pc-freebsd, GTK+ Version 2.12.1)

Also, the Bugs and Problems link in the manual
(http://www.gnu.org/software/emacs/manual/html_node/emacs/Bugs.html)
is broken:
http://www.gnu.org/software/emacs/manual/html_node/efaq/Bugs-and-problems.html#Bugs-and-problems

Thanks
Stephen







^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-08-21  6:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-21  6:09 bug#756: longlines-mode with longlines-wrap-follows-window-size doesn't work right Stephen Marsh

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).