From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Pohlack Subject: Re: Smart(er) word wrapping with org-mode and visual-line-mode Date: Wed, 06 Jan 2010 16:25:52 +0100 Message-ID: <4B44AB80.5070304@os.inf.tu-dresden.de> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NSXmR-0004Se-EL for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 10:26:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NSXmL-0004QW-If for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 10:26:38 -0500 Received: from [199.232.76.173] (port=43019 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NSXmK-0004QL-VI for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 10:26:33 -0500 Received: from mx20.gnu.org ([199.232.41.8]:19451) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NSXmJ-0006Jt-FD for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 10:26:32 -0500 Received: from os.inf.tu-dresden.de ([141.76.48.99]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NSXlp-0006kE-4z for emacs-orgmode@gnu.org; Wed, 06 Jan 2010 10:26:01 -0500 In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Matthew Dempsky Cc: emacs-orgmode@gnu.org Hi Matthew, Matthew Dempsky wrote: > While playing around with the different options for handling word > wrapping in org-mode, I decided to instead hack an extension that > improves visual-line-mode's word wrapping when used in conjunction > with org-mode. In particular, the mrd-org-smartwrap minor mode > automatically sets the `wrap-prefix' property on all section headlines > and plain list entries so that visual-line-mode's native word wrapping > looks identical to what careful and continual usage of TAB and M-q > should produce, without any of the quirks of using auto-fill-mode or > refill-mode. > > Just thought I'd share in case anyone else found it useful / interesting. I just tried this out (only for headlines up to now) and it seems to work great. Are there any plans to integrate something like this into upstream? Especially the wrapping of headlines would enable extensive tag usage. Cheers, Martin Pohlack