From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Display-based word wrapping Date: Tue, 24 Jun 2008 16:23:32 -0400 Message-ID: References: <87k5gen1vn.fsf@stupidchicken.com> <87od5qd2x3.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214339040 21432 80.91.229.12 (24 Jun 2008 20:24:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Jun 2008 20:24:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 24 22:24:45 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 1KBF4E-0004US-MG for ged-emacs-devel@m.gmane.org; Tue, 24 Jun 2008 22:24:42 +0200 Original-Received: from localhost ([127.0.0.1]:42007 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBF3O-0001YU-VY for ged-emacs-devel@m.gmane.org; Tue, 24 Jun 2008 16:23:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KBF3J-0001XH-5i for emacs-devel@gnu.org; Tue, 24 Jun 2008 16:23:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KBF3H-0001Vz-8w for emacs-devel@gnu.org; Tue, 24 Jun 2008 16:23:44 -0400 Original-Received: from [199.232.76.173] (port=41893 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KBF3G-0001Vh-UW for emacs-devel@gnu.org; Tue, 24 Jun 2008 16:23:43 -0400 Original-Received: from 69-196-135-70.dsl.teksavvy.com ([69.196.135.70]:54173 helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KBF3G-00013L-8i for emacs-devel@gnu.org; Tue, 24 Jun 2008 16:23:42 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 18ECFB408C; Tue, 24 Jun 2008 16:23:32 -0400 (EDT) In-Reply-To: <87od5qd2x3.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 24 Jun 2008 15:54:32 -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, 3) X-Greylist: delayed 5820 seconds by postgrey-1.27 at monty-python; Tue, 24 Jun 2008 16:23:42 EDT 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:99866 Archived-At: > The name `truncate-lines' does not give any hint that it controls word > wrapping too. > Do you care about this? If so, how about this: make truncate-lines an > obsolete alias for `line-wrap-method', which accepts the values > `edge-wrap', `word-wrap', and `truncate', with t equivalent to > `truncate' and nil equivalent to `edge-wrap'. Yes, that sounds very good (I'd have said `char-wrap' rather than `edge-wrap', tho). >>> I have also changed truncate-partial-width-windows to accept integer >>> values specifying a window width below which to truncate lines, and >>> changed the default to 30. >> >> Since the Emacs-22 default was t, I think a safer new default (other >> than t) would be something around 70-80, so it behaves as before for >> 80 column frames. > For anyone using the word-wrap feature, that could be annoying. With > word wrapping, buffers with long lines can be comfortably read in > 50-column windows, but if truncate-partial-width-windows is 70-80, > they'll be truncated rather than wrapped. If you say so, Stefan