From s0198183@ph.ed.ac.uk Wed Jul 30 08:19:31 2008 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.7 required=4.0 tests=AWL,BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 30 Jul 2008 15:19:32 +0000 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6UFJRhm009239 for ; Wed, 30 Jul 2008 08:19:28 -0700 Received: from mx10.gnu.org ([199.232.76.166]:48587) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KODRh-0007KC-If for emacs-pretest-bug@gnu.org; Wed, 30 Jul 2008 11:18:33 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KODSS-00009p-4b for emacs-pretest-bug@gnu.org; Wed, 30 Jul 2008 11:19:26 -0400 Received: from nougat.ucs.ed.ac.uk ([129.215.13.205]:50783) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KODSQ-00006K-W7 for emacs-pretest-bug@gnu.org; Wed, 30 Jul 2008 11:19:19 -0400 Received: from anger.ph.ed.ac.uk (anger.ph.ed.ac.uk [129.215.74.175]) by nougat.ucs.ed.ac.uk (8.13.8/8.13.4) with ESMTP id m6UFIs7S000557 for ; Wed, 30 Jul 2008 16:18:59 +0100 (BST) Received: from lamacq.ph.ed.ac.uk (lamacq.ph.ed.ac.uk [129.215.72.156]) by anger.ph.ed.ac.uk (8.12.11.20060308/8.12.10) with ESMTP id m6UFIsUG019052 for ; Wed, 30 Jul 2008 16:18:54 +0100 Received: from lamacq.ph.ed.ac.uk (localhost.localdomain [127.0.0.1]) by lamacq.ph.ed.ac.uk (8.13.1/8.12.10) with ESMTP id m6UFIsva029022 for ; Wed, 30 Jul 2008 16:18:54 +0100 Received: (from s0198183@localhost) by lamacq.ph.ed.ac.uk (8.13.1/8.13.1/Submit) id m6UFIqIi029019 for emacs-pretest-bug@gnu.org; Wed, 30 Jul 2008 16:18:52 +0100 Date: Wed, 30 Jul 2008 16:18:51 +0100 From: Lawrence Mitchell To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Turning off visual-line-mode ignores previous value of truncate-lines Message-ID: <20080730151851.GB17404@lamacq.ph.ed.ac.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) X-Edinburgh-Scanned: at nougat.ucs.ed.ac.uk with MIMEDefang 2.60, Sophie, Sophos Anti-Virus, Clam AntiVirus X-Scanned-By: MIMEDefang 2.60 on 129.215.13.205 X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) If a buffer with `truncate-lines' set to t is put in visual-line-mode and subsequently visual-line-mode is turned off, the value of truncate-lines is lost (it is set to the default value). Steps to reproduce: 1) emacs -Q 2) evaluate (progn (switch-to-buffer (generate-new-buffer "bug")) (setq truncate-partial-width-windows nil) (setq-default truncate-lines nil) (setq truncate-lines t) (insert (make-string (+ (window-width) 10) ?a)) (goto-char (point-min)) (visual-line-mode -1)) Expected result: truncate-lines is t in the buffer "bug" Actual result: truncate-lines is nil (the default value). In GNU Emacs 23.0.60.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars) of 2008-07-24 on lamacq.ph.ed.ac.uk Windowing system distributor `The X.Org Foundation', version 11.0.60802000 configured using `configure '-C' '--prefix=/scratch/s0198183/applications/emacs-trunk/' 'CFLAGS=-ggdb3 -O0'' Cheers, Lawrence -- Lawrence Mitchell From cyd@stupidchicken.com Tue Aug 12 12:40:45 2008 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=-3.4 required=4.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 632-done) by emacsbugs.donarmstrong.com; 12 Aug 2008 19:40:45 +0000 Received: from cyd (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7CJegaP004002 for <632-done@emacsbugs.donarmstrong.com>; Tue, 12 Aug 2008 12:40:43 -0700 Received: by cyd (Postfix, from userid 1000) id D109557E2EC; Tue, 12 Aug 2008 15:41:12 -0400 (EDT) From: Chong Yidong To: Lawrence Mitchell Cc: 632-done@debbugs.gnu.org Subject: Re: 23.0.60; Turning off visual-line-mode ignores previous value of truncate-lines Date: Tue, 12 Aug 2008 15:41:12 -0400 Message-ID: <87d4ket413.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > If a buffer with `truncate-lines' set to t is put in visual-line-mode > and subsequently visual-line-mode is turned off, the value of > truncate-lines is lost (it is set to the default value). I've checked in a fix. Thanks. From unknown Sun Jun 15 08:17:04 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: $requester Subject: Internal Control Message-Id: bug archived. Date: Wed, 10 Sep 2008 14:24:07 +0000 User-Agent: Fakemail v42.6.9 # A New Hope # A log time ago, in a galaxy far, far away # something happened. # # Magically this resulted in the following # action being taken, but this fake control # message doesn't tell you why it happened # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator