From unknown Sat Jun 14 03:51:59 2025 X-Loop: don@donarmstrong.com Subject: bug#632: 23.0.60; Turning off visual-line-mode ignores previous value of truncate-lines Reply-To: Lawrence Mitchell , 632@debbugs.gnu.org Resent-From: Lawrence Mitchell Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 30 Jul 2008 15:25:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 632 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12174311729245 (code B ref -1); Wed, 30 Jul 2008 15:25:05 +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.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 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 unknown Sat Jun 14 03:51:59 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Lawrence Mitchell Subject: bug#632 closed by Chong Yidong (Re: 23.0.60; Turning off visual-line-mode ignores previous value of truncate-lines) Message-ID: References: <87d4ket413.fsf@stupidchicken.com> <20080730151851.GB17404@lamacq.ph.ed.ac.uk> X-Emacs-PR-Message: they-closed 632 X-Emacs-PR-Package: emacs Reply-To: 632@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1218570604-5872-1" This is a multi-part message in MIME format... ------------=_1218570604-5872-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #632: 23.0.60; Turning off visual-line-mode ignores previous value of trunc= ate-lines It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 632: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D632 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1218570604-5872-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >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. ------------=_1218570604-5872-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >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 ------------=_1218570604-5872-1--