GNU bug report logs - #756
longlines-mode with longlines-wrap-follows-window-size doesn't work right

Previous Next

Package: emacs;

Reported by: "Stephen Marsh" <freeyourmind <at> gmail.com>

Date: Thu, 21 Aug 2008 06:15:03 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 756 in the body.
You can then email your comments to 756 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#756; Package emacs. Full text and rfc822 format available.

Acknowledgement sent to "Stephen Marsh" <freeyourmind <at> gmail.com>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Stephen Marsh" <freeyourmind <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: longlines-mode with longlines-wrap-follows-window-size doesn't work right
Date: Thu, 21 Aug 2008 02:09:06 -0400
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





bug closed, send any further explanations to "Stephen Marsh" <freeyourmind <at> gmail.com> Request was from Chong Yidong <cyd <at> stupidchicken.com> to control <at> debbugs.gnu.org. (Thu, 24 Jun 2010 18:24:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 23 Jul 2010 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 15 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.