From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Mark Aufflick" Subject: org-mode and longlines-mode (especially tables) Date: Sun, 18 Mar 2007 12:43:48 +1100 Message-ID: <1242f34a0703171843x3492f1c0ybba68d0b24e90cdb@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HSkSO-0007SC-8r for emacs-orgmode@gnu.org; Sat, 17 Mar 2007 21:45:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HSkSM-0007Ro-LX for emacs-orgmode@gnu.org; Sat, 17 Mar 2007 21:45:11 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HSkSM-0007Rl-IF for emacs-orgmode@gnu.org; Sat, 17 Mar 2007 20:45:10 -0500 Received: from wx-out-0506.google.com ([66.249.82.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HSkR4-0006b9-EN for emacs-orgmode@gnu.org; Sat, 17 Mar 2007 21:43:50 -0400 Received: by wx-out-0506.google.com with SMTP id s17so904834wxc for ; Sat, 17 Mar 2007 18:43:49 -0700 (PDT) Content-Disposition: inline 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: emacs-orgmode@gnu.org Hi Everyone, I am using longlines-mode with org-mode to do word wrapping. It is useful in normal view to get wrapping at word boundaries, but it is especially useful with vertical split windows (C-x 3) since they default to not wrapping at all. I have noticed a few wierd issues in org-mode related to the pseudo-linebreaks managed by longlines mode. The first issue is not really a big deal - if you are in an org list, and are at the end of a wrapped line eg looks like: + adsf asdf adsf asdf asdf{cursor here} and you hit M-Enter, you get a heading of the most recent heading level, not a new list entry. Presumably org-mode thinks the longlines-mode soft-newline is a real newline The second issue is bigger, relating to tables. If you make the first line of a table and hit tab, eg: |* col a *|* col b *|{TAB} You get: | * col a * | * col b * | | | | so the newline that org-table-mode thinks it is inserting gets gobbled by longlines-mode, or something like that. Has anyone else noticed this? Is there a smarter way to get soft-word wrapping in org-mode without using longlines-mode? Mark.