From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen Marsh" Newsgroups: gmane.emacs.bugs Subject: bug#756: longlines-mode with longlines-wrap-follows-window-size doesn't work right Date: Thu, 21 Aug 2008 02:09:06 -0400 Message-ID: Reply-To: Stephen Marsh , 756@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1219378857 1522 80.91.229.12 (22 Aug 2008 04:20:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 22 Aug 2008 04:20:57 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 22 06:21:50 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KWO9f-0003yz-RZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Aug 2008 06:21:44 +0200 Original-Received: from localhost ([127.0.0.1]:51726 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KWO8i-00006V-9v for geb-bug-gnu-emacs@m.gmane.org; Fri, 22 Aug 2008 00:20:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KW3dq-00006C-BA for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 02:27:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KW3dp-0008WU-Jl for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 02:27:29 -0400 Original-Received: from [199.232.76.173] (port=34678 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KW3dp-0008WH-FH for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 02:27:29 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:36429) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KW3do-0007iF-WB for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 02:27:29 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7L6RRDN028109; Wed, 20 Aug 2008 23:27:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7L6F4G2023850; Wed, 20 Aug 2008 23:15:04 -0700 X-Loop: don@donarmstrong.com Resent-From: "Stephen Marsh" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 21 Aug 2008 06:15:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 756 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121929899222191 (code B ref -1); Thu, 21 Aug 2008 06:15:03 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 21 Aug 2008 06:09:52 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7L69muu022185 for ; Wed, 20 Aug 2008 23:09:49 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KW3Mh-00009f-KF for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 02:09:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KW3Mg-00008h-Js for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 02:09:46 -0400 Original-Received: from [199.232.76.173] (port=34499 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KW3Mg-00008e-GG for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 02:09:46 -0400 Original-Received: from fg-out-1718.google.com ([72.14.220.157]:39544) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KW3Mg-0003HE-42 for bug-gnu-emacs@gnu.org; Thu, 21 Aug 2008 02:09:46 -0400 Original-Received: by fg-out-1718.google.com with SMTP id l26so458660fgb.30 for ; Wed, 20 Aug 2008 23:09:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=j9ibqGKf3HehEvhosyMPCu8x0P0sXuFi+ItRXYGSP4o=; b=mHRBQyQc2uVxLcenyRfE1Nf+Yb+x0futewMl5tXELT5MPUyNhd46QFNSaeOCp14T5R VZ8JrChn2pA46a8CImglZws2eVAjBdmDFo3a/9nGPDbV2BifULTjezw3YA5a2bHwQWjb pJChFnLvOzxnKFxnmKCDrB19XD3JrqgppFp2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=bmxDWURMz9UoCDAlWEkxZ0HONgwvCfZwCGSHIoyJ6bO4Dw37eph0tvXdrLXBuDBIrq jhyX/yGnN+6Azq7rsQIAnX/BFVNd1lwcEcP5fppKBV+sMbyaiLCPsS42z3NBbtYpm4km qoLbOEf0GrCEk2W4cePK/M/1WoPn7hu/t18cM= Original-Received: by 10.86.95.20 with SMTP id s20mr815695fgb.49.1219298946216; Wed, 20 Aug 2008 23:09:06 -0700 (PDT) Original-Received: by 10.86.93.5 with HTTP; Wed, 20 Aug 2008 23:09:06 -0700 (PDT) Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Thu, 21 Aug 2008 02:27:29 -0400 X-Mailman-Approved-At: Fri, 22 Aug 2008 00:18:56 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19630 Archived-At: 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