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 15:27:42 +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 1274799249 25162 80.91.229.12 (25 May 2010 14:54:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 May 2010 14:54:09 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 25 16:54:08 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 1OGvWC-00074n-7W for ged-emacs-devel@m.gmane.org; Tue, 25 May 2010 16:54:08 +0200 Original-Received: from localhost ([127.0.0.1]:36919 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGvWB-0007VQ-9a for ged-emacs-devel@m.gmane.org; Tue, 25 May 2010 10:54:07 -0400 Original-Received: from [140.186.70.92] (port=41568 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGuUY-0003hh-7Z for emacs-devel@gnu.org; Tue, 25 May 2010 09:48:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGuAt-0007s3-EF for emacs-devel@gnu.org; Tue, 25 May 2010 09:28:04 -0400 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:53756) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGuAt-0007rx-AH for emacs-devel@gnu.org; Tue, 25 May 2010 09:28:03 -0400 Original-Received: by iwn39 with SMTP id 39so4712801iwn.0 for ; Tue, 25 May 2010 06:28:02 -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=NYY4XKNrZ3P7slfnhXiGy4mOUp14uFUCAc5d6E6PTJE=; b=VF16VwlB2OmNs8znhWNn9P7AB5uXRGpmdb5jK46ESL+tDbgRMRlGSf3qzgYiLyVCvM ubQiaDLhd+Y3iR9j7Asxcdmoryy0UwGczI4AVP/ZJ9WGtswqZqV/j8gJ2Si2INxCO+Gb +XtSlew161NzSOvm7JCt3uRsAtq+1LNUQcaJA= 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=axCAruraAZksNSzJozp5DllGK+Az5LJbRYU3e30JfoARQ7Kr7Lh4zOKZbPo1htJ6dg wcok5rNQWPABQ2RKgoVRfI/XRANaMZ0C7PV8jhSs+i/Ucl5uXTZj9tbmjps4XEMZl3Y/ U7i1tkj1t6n8lFhK/FrOXbtsBJuB65vnFfmOo= Original-Received: by 10.231.125.87 with SMTP id x23mr4718405ibr.88.1274794082173; Tue, 25 May 2010 06:28:02 -0700 (PDT) Original-Received: by 10.231.34.140 with HTTP; Tue, 25 May 2010 06:27:42 -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:125250 Archived-At: >> >> http://pastebin.com/kcmuGjy8 > > You are welcome to try to enhance the version I have if you want to. > Thanks, I'm perfectly happy with 'visual-line-mode' + 'set-window-margins' which is basically what darkroom.el does in a few lines (I've since made it a minor-mode). I don't understand why, but 'wrap-line-to-fill-column' seems to do a lot more than that, including font-lock and stuff. Also it requires 'mumamo' which I don't use.