From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Display-based word wrapping Date: Sun, 22 Jun 2008 19:40:49 -0400 Message-ID: <87myldt4vy.fsf@stupidchicken.com> References: <87y74x9rfl.fsf@stupidchicken.com> <858wwx5iv9.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214178064 8937 80.91.229.12 (22 Jun 2008 23:41:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Jun 2008 23:41:04 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 23 01:41:48 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KAZBs-0007I6-AF for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2008 01:41:48 +0200 Original-Received: from localhost ([127.0.0.1]:44218 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAZB1-0000Hb-UA for ged-emacs-devel@m.gmane.org; Sun, 22 Jun 2008 19:40:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAZAx-0000HU-8O for emacs-devel@gnu.org; Sun, 22 Jun 2008 19:40:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAZAv-0000HI-T4 for emacs-devel@gnu.org; Sun, 22 Jun 2008 19:40:51 -0400 Original-Received: from [199.232.76.173] (port=47616 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAZAv-0000HF-Qs for emacs-devel@gnu.org; Sun, 22 Jun 2008 19:40:49 -0400 Original-Received: from c-24-63-201-57.hsd1.ma.comcast.net ([24.63.201.57]:10628 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KAZAv-0005IL-Ov for emacs-devel@gnu.org; Sun, 22 Jun 2008 19:40:49 -0400 Original-Received: by furry (Postfix, from userid 1000) id 68BB5C056; Sun, 22 Jun 2008 19:40:49 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Sun, 22 Jun 2008 18:02:23 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99734 Archived-At: Stefan Monnier writes: >> truncate-partial-window-width override should have the same meaning and >> take precedence if non-nil. > > For truncate-partial-window-width OTOH, I think it would make sense to > allow it to be an integer to mean "truncate if the window is less than > this number". But that's unrelated to word-wrapping, It's a good idea, and it's actually fairly closely related to word-wrapping. If truncate-partial-window-width is a sufficiently small number, it wouldn't interfere with word wrap for fairly large-sized windows. For small windows, it would make sense to truncate instead of word wrapping. So maybe this is a good solution.