From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: the org-CUA-compatible variable Date: Tue, 12 Dec 2006 11:31:05 +0100 Message-ID: References: <87mz5v30ib.fsf@magma.ca> Mime-Version: 1.0 (Apple Message framework v624) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gu4un-00024l-8n for emacs-orgmode@gnu.org; Tue, 12 Dec 2006 05:31:13 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gu4ul-00022p-BG for emacs-orgmode@gnu.org; Tue, 12 Dec 2006 05:31:11 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gu4ul-00022g-7U for emacs-orgmode@gnu.org; Tue, 12 Dec 2006 05:31:11 -0500 Received: from [146.50.4.51] (helo=imap.science.uva.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gu4uk-00053N-Sl for emacs-orgmode@gnu.org; Tue, 12 Dec 2006 05:31:11 -0500 In-Reply-To: <87mz5v30ib.fsf@magma.ca> 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: Angelina Carlton Cc: emacs-orgmode@gnu.org On Dec 10, 2006, at 22:27, Angelina Carlton wrote: > Hello everyone, > (if possible, could you CC any replies as I am not subscribed?) > > In my .emacs file, close to the top, I have the code: > ;; shift+arrows to move between windows > --------------------------------------- > (when (fboundp 'windmove-default-keybindings) > (windmove-default-keybindings)) > > I find this the best way for me to switch windows and have become > *very* > used to it. I recently decided to become more organized in the way I do > things and was happy to discover org-mode, however my shift bindings > are > clobbered. I read some of the manual and it suggested using the > org-CUA-compatible variable. > > So in my .emacs I initiate org mode with: > ;; org mode > ------------------------------------------------------------------- > (require 'org) > (setq org-CUA-compatible t) This variable needs to be set *before* org.el gets loaded. So please swap these lines, or, oven better, omit the (require 'org). It is not needed since all necessary functions are autoloaded, so that org.el will be loaded automatically when needed. In fact, it is a very bad habit of many package writers to make people install their package with a require that will load the entire large source file. Where did find the instruction to use (require 'org) Because if it is in the docs, I need to fix it. Thanks. - Carsten