From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4334: 23.1.50; truncate-partial-width-windows documentation problem Date: Fri, 04 Sep 2009 13:42:53 -0400 Message-ID: References: <76BDC6EEF74841479674E3DFDCFA1CBA@xahPC> Reply-To: Stefan Monnier , 4334@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252087640 27224 80.91.229.12 (4 Sep 2009 18:07:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Sep 2009 18:07:20 +0000 (UTC) Cc: 4334@emacsbugs.donarmstrong.com To: Xah Lee Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 04 20:07:13 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MjdBm-0006sn-Tv for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Sep 2009 20:07:11 +0200 Original-Received: from localhost ([127.0.0.1]:43653 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjdBl-0008Nn-Lx for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Sep 2009 14:07:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MjdBh-0008NG-Gk for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2009 14:07:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MjdBd-0008K8-1L for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2009 14:07:05 -0400 Original-Received: from [199.232.76.173] (port=48585 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MjdBc-0008K0-Ts for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2009 14:07:00 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42019) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MjdBc-00011u-AE for bug-gnu-emacs@gnu.org; Fri, 04 Sep 2009 14:07:00 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n84I6wiv031899; Fri, 4 Sep 2009 11:06:58 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n84Ho4ql027819; Fri, 4 Sep 2009 10:50:04 -0700 Resent-Date: Fri, 4 Sep 2009 10:50:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 04 Sep 2009 17:50:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4334 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4334-submit@emacsbugs.donarmstrong.com id=B4334.125208618126596 (code B ref 4334); Fri, 04 Sep 2009 17:50:04 +0000 Original-Received: (at 4334) by emacsbugs.donarmstrong.com; 4 Sep 2009 17:43:01 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.pppoe.ca [206.248.154.182]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n84Hgxlh026589 for <4334@emacsbugs.donarmstrong.com>; Fri, 4 Sep 2009 10:43:01 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8EAIPuoEpLd+Vr/2dsb2JhbACBU9knhBsFgkqFLA X-IronPort-AV: E=Sophos;i="4.44,333,1249272000"; d="scan'208";a="45146256" Original-Received: from 75-119-229-107.dsl.teksavvy.com (HELO pastel.home) ([75.119.229.107]) by ironport2-out.teksavvy.com with ESMTP; 04 Sep 2009 13:41:38 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id C5E717F3D; Fri, 4 Sep 2009 13:42:53 -0400 (EDT) In-Reply-To: <76BDC6EEF74841479674E3DFDCFA1CBA@xahPC> (Xah Lee's message of "Thu, 3 Sep 2009 09:27:44 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Fri, 04 Sep 2009 14:07:05 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30802 Archived-At: > There's this variable truncate-partial-width-windows in emacs 23.1. I agree it's not perfect. Does the patch below make it more clear for you? Stefan === modified file 'src/xdisp.c' --- src/xdisp.c 2009-08-30 01:04:59 +0000 +++ src/xdisp.c 2009-09-04 17:42:00 +0000 @@ -24838,13 +24838,13 @@ DEFVAR_LISP ("truncate-partial-width-windows", &Vtruncate_partial_width_windows, - doc: /* Non-nil means truncate lines in windows with less than the frame width. -For an integer value, truncate lines in each window with less than the + doc: /* Non-nil means truncate lines in windows narrower than the frame. +For an integer value, truncate lines in each window narrower than the full frame width, provided the window width is less than that integer; otherwise, respect the value of `truncate-lines'. -For any other non-nil value, truncate lines in all windows with -less than the full frame width. +For any other non-nil value, truncate lines in all windows that do +not span the full frame width. A value of nil means to respect the value of `truncate-lines'.