From unknown Mon Aug 18 18:03:01 2025 X-Loop: don@donarmstrong.com Subject: bug#756: longlines-mode with longlines-wrap-follows-window-size doesn't work right Reply-To: "Stephen Marsh" , 756@debbugs.gnu.org Resent-From: "Stephen Marsh" Resent-To: bug-submit-list@lists.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: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121929899222191 (code B ref -1); Thu, 21 Aug 2008 06:15:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-5.0 required=4.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 21 Aug 2008 06:09:52 +0000 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 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 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 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 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 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= Received: by 10.86.95.20 with SMTP id s20mr815695fgb.49.1219298946216; Wed, 20 Aug 2008 23:09:06 -0700 (PDT) Received: by 10.86.93.5 with HTTP; Wed, 20 Aug 2008 23:09:06 -0700 (PDT) Message-ID: Date: Thu, 21 Aug 2008 02:09:06 -0400 From: "Stephen Marsh" To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 14:23:37 2010 Received: (at control) by debbugs.gnu.org; 24 Jun 2010 18:23:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORr5N-00051L-8v for submit@debbugs.gnu.org; Thu, 24 Jun 2010 14:23:37 -0400 Received: from pantheon-po41.its.yale.edu ([130.132.50.98]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORr5K-00051G-K0 for control@debbugs.gnu.org; Thu, 24 Jun 2010 14:23:35 -0400 Received: from furry (dhcp128036014221.central.yale.edu [128.36.14.221]) (authenticated bits=0) by pantheon-po41.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o5OINUI2013527 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 24 Jun 2010 14:23:30 -0400 Received: by furry (Postfix, from userid 1000) id 5BF4B16D416; Thu, 24 Jun 2010 20:23:29 +0200 (CEST) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 1382 Date: Thu, 24 Jun 2010 14:23:29 -0400 Message-ID: <87r5jw5ly6.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.7 (--) severity 135 minor tags 710 + moreinfo unreproducible close 756 tags 844 + moreinfo unreproducible close 917 close 1000 tags 1125 + moreinfo unreproducible close 1159 severity 1238 wishlist close 1247 close 1381 close 1382 tags 1708 + moreinfo unreproducible close 1993 severity 2024 wishlist close 2236 severity 2299 wishlist tags 2394 + moreinfo unreproducible severity 2507 minor close 2583 tags 2690 + moreinfo unreproducible tags 2812 + moreinfo unreproducible tags 2843 + moreinfo unreproducible tags 2870 + moreinfo unreproducible tags 2877 + moreinfo unreproducible close 3032 close 3273 close 3349 close 4046 close 4358 close 4591 close 4656 thanks