From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Smart(er) word wrapping with org-mode and visual-line-mode Date: Thu, 3 Dec 2009 15:23:20 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NGCag-0005iK-2M for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 09:23:30 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NGCab-0005ee-0A for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 09:23:29 -0500 Received: from [199.232.76.173] (port=39468 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NGCaa-0005eU-N2 for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 09:23:24 -0500 Received: from mail-ew0-f209.google.com ([209.85.219.209]:51896) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NGCaa-0002Sr-JP for emacs-orgmode@gnu.org; Thu, 03 Dec 2009 09:23:24 -0500 Received: by ewy1 with SMTP id 1so1046296ewy.34 for ; Thu, 03 Dec 2009 06:23:23 -0800 (PST) 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, this is nice, I might want to merge this into Org-mode in one way or another - if you agree. Do you? Would you sign the papers? - Carsten On Dec 3, 2009, at 11:14 AM, 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. > > Caveats: It's incompatible with org-indent-mode, doesn't do anything > to support org-adapt-indentation, and results in tables being word > wrapped. I've also noticed linum-mode causes it to go crazy if the > top visible line is the continuation of a soft wrapped line. > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten