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: Unfill please! Date: Wed, 5 Aug 2009 17:43:28 +0200 Message-ID: References: <87ws5i3h12.fsf@bzg.ath.cx> <87skg63gim.fsf@bzg.ath.cx> <7b501d5c0908050128g14137383ne9db84264304d888@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1249487030 1350 80.91.229.12 (5 Aug 2009 15:43:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Aug 2009 15:43:50 +0000 (UTC) Cc: Bastien , emacs-devel@gnu.org To: Deniz Dogan Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 05 17:43:43 2009 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 1MYieU-0003fw-6Q for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2009 17:43:42 +0200 Original-Received: from localhost ([127.0.0.1]:35242 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYieT-0004xG-Cj for ged-emacs-devel@m.gmane.org; Wed, 05 Aug 2009 11:43:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MYieM-0004wD-QT for emacs-devel@gnu.org; Wed, 05 Aug 2009 11:43:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MYieI-0004sZ-8N for emacs-devel@gnu.org; Wed, 05 Aug 2009 11:43:34 -0400 Original-Received: from [199.232.76.173] (port=39902 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MYieI-0004sQ-1c for emacs-devel@gnu.org; Wed, 05 Aug 2009 11:43:30 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.249]:51555) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MYieH-0006bI-N6 for emacs-devel@gnu.org; Wed, 05 Aug 2009 11:43:29 -0400 Original-Received: by rv-out-0708.google.com with SMTP id f25so65742rvb.6 for ; Wed, 05 Aug 2009 08:43:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=3p55LMyefys0apK0GPI+XzzpNw+ockRS2aVDIl3T//Y=; b=PQquJXldEget0Fg50q40A3vSWvEAnjFLp8rw9L6cDtQv3XX6T3aloHGsp/LRUZwyQp bL7u06xba+1wOh/g6rynoc5YF5tfQpLoVySJmEV6YnFdMfGR/Q12M/tobOXxrhh7I4A9 9y8LviHKLzqd5oCdJt3/LPFdu1v23SxHn6YDg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=BGMhd1jY9d+zXd9uYdKKd2yKE28oaUepy7IoB3B7dnlIwdUvp92yWT4zj9h3BlWpYR 5UXEuIJ76unA2SCMIuOfUObQSXzzo/tUKuQRSVHK3Ci1kIVlQ7gT5MHIkWpZCrxBLEAy tDcFayqkgodLg4EknPmtq9P/UUL0d/DtezFhU= Original-Received: by 10.140.192.18 with SMTP id p18mr6069444rvf.95.1249487008864; Wed, 05 Aug 2009 08:43:28 -0700 (PDT) In-Reply-To: X-detected-operating-system: by monty-python.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:113721 Archived-At: On Wed, Aug 5, 2009 at 10:29 AM, Lennart Borgman wrote: > On Wed, Aug 5, 2009 at 10:28 AM, Deniz Dogan wrote: >> 2009/8/5 Lennart Borgman : >>> I have a minor mode that sets margins so that the width is fill-column... >> >> I have been looking for something like this. Would you mind sharing it? > > > It is part of nXhtml, in the file ourcomments-util. But I am currently > fighting some bugs in it. window-width seems to be buggy. If you look in nXhtml repository in Launchpad you can find the minor mode wrap-to-fill-column-mode in the file ourcomments-util.el. It looks like it works ok now. This mode does some small things that I find useful when writing text: - Sets left and right margin so that text in displayed in the middle of the window fill-column wide. - Turns on visual-line-mode. - Sets wrap-prefix so that continuation lines are indented the same amount as the current line.