emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] org-beginning-of-line vs visual-line-mode


From: Carsten Dominik
Subject: Re: [Orgmode] org-beginning-of-line vs visual-line-mode
Date: Mon, 6 Jul 2009 17:49:38 +0200


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 via email to

[Prev in Thread] Current Thread [Next in Thread]