From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jo=E3o_T=E1vora?= Newsgroups: gmane.emacs.devel Subject: Re: visual-line-mode and line wrapping Date: Tue, 25 May 2010 12:05:40 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1274781976 21654 80.91.229.12 (25 May 2010 10:06:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 May 2010 10:06:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 25 12:06:14 2010 connect(): No such file or directory 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.69) (envelope-from ) id 1OGr1a-0003wo-5R for ged-emacs-devel@m.gmane.org; Tue, 25 May 2010 12:06:14 +0200 Original-Received: from localhost ([127.0.0.1]:57318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGr1Z-0002Fc-5t for ged-emacs-devel@m.gmane.org; Tue, 25 May 2010 06:06:13 -0400 Original-Received: from [140.186.70.92] (port=36260 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGr1O-0002Bw-5K for emacs-devel@gnu.org; Tue, 25 May 2010 06:06:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGr1M-0006ck-Mp for emacs-devel@gnu.org; Tue, 25 May 2010 06:06:01 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:36277) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGr1M-0006ca-Jm for emacs-devel@gnu.org; Tue, 25 May 2010 06:06:00 -0400 Original-Received: by iwn39 with SMTP id 39so4550337iwn.0 for ; Tue, 25 May 2010 03:06:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=wf/BdknBHP2PeZ2awExabqeEYpdPExECZQisnW0s3C4=; b=KJS56PD2a3EaAXT0ZsXEk68UWDXN94geIYM5NyjI6+0N0YzCatXiWtYmsJuLWPkgVZ PyP9U6Kr19Vp9BcL6Ij5E2xPEeskM7EuTKe9Eqr/dmYXCDfvtoZud8D3knmQyMwlNSi/ HC0wiqiEJ8lA0u4k3wIjzl4dDnvAhcjMWXdss= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=t6qKaIVJ/kxhg0W9G8wyJU6Rzx/VhxJ3qCqWoqK1x0P/ltcL8MN3PFyVbUgBNaSu8k uadFKNWKqnCr/5HX4Y11HCsDbNsxAVe7MH8JKTqSwmQUjPELrbJFQkl76TTfGOSbZ/I1 0RvdsgX+q0bHuEtj6tSuaTiOncC2de2EdygWY= Original-Received: by 10.231.158.203 with SMTP id g11mr6160950ibx.24.1274781960126; Tue, 25 May 2010 03:06:00 -0700 (PDT) Original-Received: by 10.231.34.140 with HTTP; Tue, 25 May 2010 03:05:40 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/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:125236 Archived-At: On Tue, May 25, 2010 at 9:37 AM, Miles Bader wrote: > One problem with the "fringe/margin approach" is that it always exactly > tracks physical window size, which is sometimes annoying. For instance, > it would be nice to have word-wrapping that wraps to 80 or 72 columns > without having to result to multiple word-wrapping mechanisms (e.g., the > old lisp-based modes). Following this discussion I hacked up a darkroom-mode with the "fringe/margin" approach and am quite happy with it. Try it out, it's very small (and possibly buggy :-) http://pastebin.com/kcmuGjy8 I don't understand what exactly people are requesting that can't be done with elisp. My two cents, bye! Joao