unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* please change default value of truncate-partial-width-windows to nil
@ 2009-06-12 17:16 Drew Adams
  2009-06-13  0:14 ` Johan Bockgård
  2009-07-15 16:34 ` please change default value of truncate-partial-width-windows to nil Stefan Monnier
  0 siblings, 2 replies; 8+ messages in thread
From: Drew Adams @ 2009-06-12 17:16 UTC (permalink / raw)
  To: 'Emacs-Devel devel'

This new variable should not have been given a non-nil default value. Non-nil
overrides the user's preference as expressed via `truncate-lines'.

If a user has nil `truncate-lines' (which is still the _default_ value), then
lines should not be truncated. End of story. That's the meaning of
`truncate-lines' (always has been).

If you want the new variable `truncate-partial-width-windows' to override the
`truncate-lines' behavior, then let it do so for only a *non*-nil value of
`truncate-lines'.

Actually, the most reasonable approach might be to not introduce a new option
(with the confusion of variable interaction and override), but simply to let
`truncate-lines have three possible (buffer-local) values:

nil     - never  truncate lines in the current buffer
t       - always truncate lines in the current buffer
integer - do what integer `truncate-partial-width-windows' does today

(Customize sets the default value, not the buffer-local value, of course.)

Regardless of what you think of that suggestion, the important thing is this: If
`truncate-lines' is nil, then please just do what it says: do not truncate
lines, period.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-07-16 16:47 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-12 17:16 please change default value of truncate-partial-width-windows to nil Drew Adams
2009-06-13  0:14 ` Johan Bockgård
2009-06-13  0:27   ` please change default value of truncate-partial-width-windowsto nil Drew Adams
2009-07-15 16:34 ` please change default value of truncate-partial-width-windows to nil Stefan Monnier
2009-07-16  2:59   ` Miles Bader
2009-07-16 14:10     ` Stefan Monnier
2009-07-16 14:37       ` Miles Bader
2009-07-16 16:47     ` Drew Adams

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).