emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Mark Aufflick" <mark-emacs@aufflick.com>
To: emacs-orgmode@gnu.org
Subject: org-mode and longlines-mode (especially tables)
Date: Sun, 18 Mar 2007 12:43:48 +1100	[thread overview]
Message-ID: <1242f34a0703171843x3492f1c0ybba68d0b24e90cdb@mail.gmail.com> (raw)

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.

             reply	other threads:[~2007-03-18  1:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-18  1:43 Mark Aufflick [this message]
2007-03-18  7:07 ` org-mode and longlines-mode (especially tables) Carsten Dominik
2007-03-19 12:46   ` Alan Dove
2007-03-22 15:53     ` Carsten Dominik
2007-03-25  1:51       ` Mark Aufflick
2007-03-26 15:34         ` Carsten Dominik
2007-03-26 16:22           ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1242f34a0703171843x3492f1c0ybba68d0b24e90cdb@mail.gmail.com \
    --to=mark-emacs@aufflick.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).