From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Miles Bader <miles@gnu.org>
Cc: Drew Adams <drew.adams@oracle.com>,
'Emacs-Devel devel' <emacs-devel@gnu.org>
Subject: Re: please change default value of truncate-partial-width-windows to nil
Date: Thu, 16 Jul 2009 10:10:16 -0400 [thread overview]
Message-ID: <jwv4otcen93.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <buoocrlfi3j.fsf@dhlpc061.dev.necel.com> (Miles Bader's message of "Thu, 16 Jul 2009 11:59:44 +0900")
>> I think this would make a lot of sense.
>> I.e. first extend truncate-lines so it can take an integer value, then
>> mark truncate-partial-width-windows as obsolete.
> Eh, why is that better?
This way it also applies in the case where your narrow windows are the
result of your tiling window manager creating narrow frames rather than
a wide frame split into narrow windows.
> `truncate-partial-width-windows' has always[*] been essentially an
> "exception for a funny situation", and wedging its functionality into
> `truncate-lines' merely complicates things for typical code which really
> only cares about the normal case, not the exceptional one.
I can't see which complication you're referring to.
> Currently a mode only needs to worry about setting truncate-lines to t
> (or toggling between nil and t in the case of Gnus, etc), if truncating
> lines is somehow better for that mode. I your suggestion is followed,
I only know of modes that set it to t, and for those there's
no difference. Which code ever sets it to nil?
> [*] and of course `truncate-partial-width-windows' has been around for
> decades, with a non-nil default; I dunno why Drew is freaking out about
> it _now_...
Yes, I'm not worried about that indeed, I just feel like using 2 vars,
the second of which is only used in some cases but not all is
rather odd.
Maybe another option is to make truncate-partial-width-windows apply to
full-width windows as well when its value is an integer (so it also
applies when your window-manager makes your frames narrow).
Stefan
next prev parent reply other threads:[~2009-07-16 14:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2009-07-16 14:37 ` Miles Bader
2009-07-16 16:47 ` Drew Adams
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=jwv4otcen93.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=drew.adams@oracle.com \
--cc=emacs-devel@gnu.org \
--cc=miles@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.