From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Two bugs Date: Wed, 30 May 2007 17:24:43 +0200 Message-ID: <9d6b6efbd81deb17ae0ac5b47ed4c2b8@science.uva.nl> References: 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 1HtQ2a-0006hj-Ka for emacs-orgmode@gnu.org; Wed, 30 May 2007 11:24:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HtQ2Z-0006hP-St for emacs-orgmode@gnu.org; Wed, 30 May 2007 11:24:48 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtQ2Z-0006hL-Ms for emacs-orgmode@gnu.org; Wed, 30 May 2007 11:24:47 -0400 Received: from korteweg.uva.nl ([146.50.98.70]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HtQ2Z-0001vi-8n for emacs-orgmode@gnu.org; Wed, 30 May 2007 11:24:47 -0400 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: Leo Cc: emacs-orgmode@gnu.org On May 30, 2007, at 16:45, Leo wrote: > Dear Carsen, > > 1. unnecessary point movement > > When 'S-tab' (visibility cycling), the `point' (cursor) will be moved > to > the first headline, which will be a surprise to users. I think the > movement should be kept as minimal as possible i.e. it should be kept > within the tree the `point' is originally in. > > This annoyance becomes noticeable when the file is big such as when > using a single .org file for GTD. This is clearly a matter of taste. Certainly the cursor should be moved to a visible location, would you agree? The motivation for the current behavior is: If you switch to overview mode, you probably want to see as much of the file as possible, so my instinct was to put it back to the first heading. But maybe you are right that this is not good if there are many screens full of top level headings...... > > 2. inconsistent key binding definitions > > There are only a few places where the key bindings are defined by > `define-key' and the rest are done by `org-defkey'. > > Can those define-key be replaced by org-defkey? There are exactly 2 (not counting removing the outline menus...) (define-key org-mode-map (kbd "") 'org-shifttab) (define-key org-mode-map "\C-a" 'org-beginning-of-line) The second replaces the beginning-of-line comment, my feeling was that this one should not go through org-defkey. The first one I did fix now. - Carsten