emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Rudi Schlatte <rudi@constantly.at>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-beginning-of-line vs visual-line-mode
Date: Mon, 6 Jul 2009 17:49:38 +0200	[thread overview]
Message-ID: <2E428EB3-00AC-4DFA-BEE4-4DC96434A8C5@gmail.com> (raw)
In-Reply-To: <DF4F13EE-F93A-4DD7-ACA2-7F47C7C5E3AD@constantly.at>

On Jul 6, 2009, at 12:06 PM, Rudi Schlatte wrote:

> Greetings,
> I run emacs cvs head and the org-mode that is bundled with it.   
> Visual-line-mode is turned on.
> The display part of visual-line-mode (breaking long lines into  
> paragraphs visually) works as expected, but C-a (org-beginning-of- 
> line) jumps to the start of the paragraph (i.e. start of the  
> "physical" line).  It would be nice if C-a jumped to the beginning  
> of the screen line.
> Cheers, and thanks for an excellent tool for writing!

You can get back the emacs 23 way of doing things with

(add-hook 'org-mode-hook
   (lambda ()
     (define-key org-mode-map "\C-a" 'move-beginning-of-line)
     (define-key org-mode-map "\C-a" 'move-end-of-line)))

I personally don't like visual line mode at all, because much
of what I am doing is line-based stuff (source code, for example,
or headlines in Org), and I want these commands to got to
syntactic positions, not visual positions that depend on the
width of my window.

- Carsten

  reply	other threads:[~2009-07-06 16:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-06 10:06 Rudi Schlatte
2009-07-06 15:49 ` Carsten Dominik [this message]
2009-07-07 13:01   ` Rudi Schlatte
2009-07-07 13:14     ` 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:

  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=2E428EB3-00AC-4DFA-BEE4-4DC96434A8C5@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=rudi@constantly.at \
    --subject='Re: org-beginning-of-line vs visual-line-mode' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


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).