From: Lawrence Mitchell <wence@gmx.li>
To: emacs-pretest-bug@gnu.org
Subject: bug#632: 23.0.60; Turning off visual-line-mode ignores previous value of truncate-lines
Date: Wed, 30 Jul 2008 16:18:51 +0100 [thread overview]
Message-ID: <20080730151851.GB17404@lamacq.ph.ed.ac.uk> (raw)
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 <wence@gmx.li>
next reply other threads:[~2008-07-30 15:18 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87d4ket413.fsf@stupidchicken.com>
2008-07-30 15:18 ` Lawrence Mitchell [this message]
2008-08-12 19:50 ` bug#632: marked as done (23.0.60; Turning off visual-line-mode ignores previous value of truncate-lines) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080730151851.GB17404@lamacq.ph.ed.ac.uk \
--to=wence@gmx.li \
--cc=632@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.