emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Sean Sieger <sean.sieger@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: longlines, wrap, auto-fill
Date: Fri, 28 Aug 2009 09:26:58 +0200	[thread overview]
Message-ID: <1D043F49-BF4A-4AC5-9FDC-B492A2D56B9D@gmail.com> (raw)
In-Reply-To: <871vmx3u7b.fsf@gmail.com>


On Aug 27, 2009, at 9:58 PM, Sean Sieger wrote:

> I recently switched to Org-Mode---haven't used it in three years as I
> had wanted to get back to the simplicity of Outline Mode.  Now I  
> think I
> know how to keep it simple in Org-Mode
>
> Anyway, something that bugs me is that when I hit <SPC> or <RET>,
> auto-fill is effected but I'm left out in columns in the middle of the
> text as opposed to column 0 at the left edge of my emacs window.  Is
> this a longlines versus wrap thing---pardon my ignorance on this, I  
> did
> however look through the Org manual---and I need to put something in  
> my
> dotemacs?

Hi Sean,

the reason why this happens is that Org uses

    (setq truncate-lines t)

in order to keep tables and source code in the buffer
in a shape nice to look at.  If you type a long word near the
right boundary of the window, Emacs in this case needs to scroll
to keep visible what you type, and unfortunately it does not scroll
back when the word wrapping happens.

Here is how you can deasl with this (different options)

1. Use a wider Emacs window or a smaller value for fill-column.
    Then the word you are typing will generally fit into the window
    without scrolling.

or

2. Use

    (setq org-startup-truncated nil)

    It is the useful to make yourself a function key to toggle
    the truncate-lines setting, so that you can turn it on when
    working in tables.

HTH

- Carsten


>
> The use of Org- instead of Outline-Mode is costing me an extra C-a,
> right?
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2009-08-28  7:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-27 19:58 longlines, wrap, auto-fill Sean Sieger
2009-08-28  7:26 ` Carsten Dominik [this message]
2009-08-28 17:47   ` Sean Sieger

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=1D043F49-BF4A-4AC5-9FDC-B492A2D56B9D@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=sean.sieger@gmail.com \
    /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).