From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-beginning-of-line vs visual-line-mode Date: Mon, 6 Jul 2009 17:49:38 +0200 Message-ID: <2E428EB3-00AC-4DFA-BEE4-4DC96434A8C5@gmail.com> References: Mime-Version: 1.0 (Apple Message framework v935.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MNrKW-0007la-2t for emacs-orgmode@gnu.org; Mon, 06 Jul 2009 12:46:12 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MNrKR-0007eU-CX for emacs-orgmode@gnu.org; Mon, 06 Jul 2009 12:46:11 -0400 Received: from [199.232.76.173] (port=34788 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MNrKR-0007eM-2f for emacs-orgmode@gnu.org; Mon, 06 Jul 2009 12:46:07 -0400 Received: from mail-ew0-f208.google.com ([209.85.219.208]:48583) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MNrKQ-0002zd-MC for emacs-orgmode@gnu.org; Mon, 06 Jul 2009 12:46:06 -0400 Received: by ewy4 with SMTP id 4so4952932ewy.42 for ; Mon, 06 Jul 2009 09:46:05 -0700 (PDT) In-Reply-To: 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: Rudi Schlatte Cc: emacs-orgmode@gnu.org 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