From: Eli Zaretskii <eliz@gnu.org>
To: phs@lsv.fr
Cc: 22303-done@debbugs.gnu.org
Subject: bug#22303: 24.5; toggle-truncate-lines not mentioned in docstring for truncate-lines nor in elisp manual
Date: Mon, 04 Jan 2016 19:11:31 +0200 [thread overview]
Message-ID: <837fjp6zi4.fsf@gnu.org> (raw)
In-Reply-To: <568A3BA9.8000300@lsv.fr> (message from phs on Mon, 4 Jan 2016 10:30:17 +0100)
> From: phs <phs@lsv.fr>
> Date: Mon, 4 Jan 2016 10:30:17 +0100
>
> In general, changing the value of `truncate-lines' should be done via
> `toggle-truncate-lines' not by `(setq truncate-lines ..)'
>
> However the documentation string for `truncate-lines' does not mention
> the existence of `toggle-truncate-lines', nor is it mentioned in the
> elisp manual (section "37.3 Truncation").
>
> It seems that modifying `truncate-lines' with just `(setq ..)' may
> suffer from redisplay problems, see
> http://emacs.stackexchange.com/questions/19228 for a way to trip the
> problem from emacs -Q.
Thanks for pointing this out.
The answers on stackexchange are incorrect: there's nothing wrong with
setting 'truncate-lines' directly. The situation described there
revealed a bug, which I just fixed for the next release.
I see no need to change the documentation in this regard.
prev parent reply other threads:[~2016-01-04 17:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-04 9:30 bug#22303: 24.5; toggle-truncate-lines not mentioned in docstring for truncate-lines nor in elisp manual phs
2016-01-04 17:11 ` Eli Zaretskii [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=837fjp6zi4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=22303-done@debbugs.gnu.org \
--cc=phs@lsv.fr \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).