From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Display-based word wrapping Date: Mon, 23 Jun 2008 09:22:37 +0900 Message-ID: <87prq9t2ya.fsf@catnip.gol.com> References: <87y74x9rfl.fsf@stupidchicken.com> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1214180579 13755 80.91.229.12 (23 Jun 2008 00:22:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Jun 2008 00:22:59 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 23 02:23:44 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 1KAZqR-0005lI-Qs for ged-emacs-devel@m.gmane.org; Mon, 23 Jun 2008 02:23:44 +0200 Original-Received: from localhost ([127.0.0.1]:49211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAZpc-0007VI-Dz for ged-emacs-devel@m.gmane.org; Sun, 22 Jun 2008 20:22:52 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KAZpY-0007V8-Or for emacs-devel@gnu.org; Sun, 22 Jun 2008 20:22:48 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KAZpX-0007Uj-Di for emacs-devel@gnu.org; Sun, 22 Jun 2008 20:22:48 -0400 Original-Received: from [199.232.76.173] (port=46406 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KAZpX-0007Ug-8i for emacs-devel@gnu.org; Sun, 22 Jun 2008 20:22:47 -0400 Original-Received: from smtp12.dentaku.gol.com ([203.216.5.74]:43320) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KAZpS-0008Ga-5q; Sun, 22 Jun 2008 20:22:42 -0400 Original-Received: from 218.231.109.31.eo.eaccess.ne.jp ([218.231.109.31] helo=catnip.gol.com) by smtp12.dentaku.gol.com with esmtpa (Dentaku) id 1KAZpP-0002Eo-Bu; Mon, 23 Jun 2008 09:22:39 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id 2CCFA2F3A; Mon, 23 Jun 2008 09:22:38 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: <87y74x9rfl.fsf@stupidchicken.com> (Chong Yidong's message of "Sun, 22 Jun 2008 15:54:06 -0400") Original-Lines: 29 X-Virus-Scanned: ClamAV GOL (outbound) X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:99736 Archived-At: Chong Yidong writes: > The original patch included a `wrap-column' variable, but I'd like to > modify this to use `truncate-lines' instead, as shown below. This would > mean that word wrap always uses the right window edge as a wrap column. > Any objections? Yes -- window width is very often the wrong thing to use. I want to be able to wrap at say 72 columns and not have to resize my window to achieve that effect. Mainly this is because (1) I often want to have window-widths which are far wider than what's reasonable for readable text (wiiiiide text is very hard to read), and (2) also for readability I like having a ragged right margin which gives a bit more whitespace than you would get with window-edge wrapping (I find right-up-to-the-edge wrapping annoying). Of course the window width makes a good upper bound, but there absolutely should be a way for the user to control wrapping at a lesser point. [Also, whatever the discussion of defaults ends up turning up, it should at least be _possible_ to have global setting which causes there to be no indicators at all for display-time wrapped text.] -Miles -- Quotation, n. The act of repeating erroneously the words of another. The words erroneously repeated.