From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Subject: Re: Two bugs Date: Thu, 31 May 2007 01:26:23 +0100 Message-ID: References: <9d6b6efbd81deb17ae0ac5b47ed4c2b8@science.uva.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HtYXo-0007ON-9I for emacs-orgmode@gnu.org; Wed, 30 May 2007 20:29:36 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HtYXm-0007OB-Rl for emacs-orgmode@gnu.org; Wed, 30 May 2007 20:29:35 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtYXm-0007O8-It for emacs-orgmode@gnu.org; Wed, 30 May 2007 20:29:34 -0400 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HtYXm-0000wl-5j for emacs-orgmode@gnu.org; Wed, 30 May 2007 20:29:34 -0400 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HtYWj-0005ei-SE for emacs-orgmode@gnu.org; Thu, 31 May 2007 02:28:30 +0200 Received: from sl392.st-edmunds.cam.ac.uk ([131.111.223.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 May 2007 02:28:29 +0200 Received: from sdl.web by sl392.st-edmunds.cam.ac.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 May 2007 02:28:29 +0200 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: emacs-orgmode@gnu.org ----- Carsten Dominik (2007-05-30) wrote:----- > 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? Yes, that is convenient. > 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...... It is also INCONVENIENT when each top level has a lot of level 2 entries. For example when you are looking at a subtree and suddenly want to see an overview of the document, you often want to get back to the original subtree after visibility cycling. >> >> 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 Thank you. -- Leo (GPG Key: 9283AA3F)