From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: visual-line-mode and line wrapping Date: Tue, 25 May 2010 13:11:39 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1274785989 3079 80.91.229.12 (25 May 2010 11:13:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 May 2010 11:13:09 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 25 13:13: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 1OGs4D-0007CX-2Z for ged-emacs-devel@m.gmane.org; Tue, 25 May 2010 13:13:07 +0200 Original-Received: from localhost ([127.0.0.1]:46652 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGs49-0004Ib-F8 for ged-emacs-devel@m.gmane.org; Tue, 25 May 2010 07:12:57 -0400 Original-Received: from [140.186.70.92] (port=58643 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OGs3b-000412-BO for emacs-devel@gnu.org; Tue, 25 May 2010 07:12:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OGs3F-0000eZ-Vd for emacs-devel@gnu.org; Tue, 25 May 2010 07:12:07 -0400 Original-Received: from mail-gw0-f41.google.com ([74.125.83.41]:42572) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OGs3F-0000eM-PQ for emacs-devel@gnu.org; Tue, 25 May 2010 07:12:01 -0400 Original-Received: by gwb19 with SMTP id 19so1324297gwb.0 for ; Tue, 25 May 2010 04:12:01 -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:cc:content-type :content-transfer-encoding; bh=h3RWiNXYh2OgjZpu8b5sB/nNLuf9Jr1wixwIHCfM0Zs=; b=dxgqDKKUF2HiQ85j+es65fqm2n1RfSaIFi4kewzpLUo2IDUzS+dGBbn5c6Qmm9fzM7 fLgCuJCxlRjcj7xZGPHhJQA3t/bdEVQNOSfR3X/tFj/X4qy+LlyMW3P9eASpQkgOanPB DO3WvzqW462fweEZwYGPMJPtY6NJciXAiGfl0= 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 :cc:content-type:content-transfer-encoding; b=Bk9Jzf9jkEtOXscCZQfDLbpqSbTszjpZMjSn0ynyHlU5nLm/cRWBPqxwHLBaAfDfhA iuZhXctqXvmx2br4qFjbCLVtNXrq38CdyZu3vu0ORaqNh4VAjZbDsx3J3iu/MoO/93rj kAu/JW/VDx0xvuOa6acD1WgTvcNqtsQRCHDL4= Original-Received: by 10.101.136.9 with SMTP id o9mr8341790ann.103.1274785919206; Tue, 25 May 2010 04:11:59 -0700 (PDT) Original-Received: by 10.100.177.20 with HTTP; Tue, 25 May 2010 04:11:39 -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:125239 Archived-At: On Tue, May 25, 2010 at 12:05 PM, Jo=C3=A3o T=C3=A1vora wrote: > 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. =C2=A0For inst= ance, >> 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/ma= rgin" > approach and am quite happy with it. Try it out, it's very small (and > possibly buggy :-) > > =C2=A0http://pastebin.com/kcmuGjy8 You are welcome to try to enhance the version I have if you want to.