From mboxrd@z Thu Jan 1 00:00:00 1970 From: Memnon Anon Subject: Re: possible bug: TAB after elipsis Date: Sat, 27 Mar 2010 19:02:03 +0000 (UTC) Message-ID: <87sk7ld26n.fsf@mean.albasani.net> References: 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 1NvbH3-00076v-4k for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 15:02:21 -0400 Received: from [140.186.70.92] (port=56041 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvbH0-00076Q-Ek for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 15:02:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvbGx-0001et-KO for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 15:02:18 -0400 Received: from lo.gmane.org ([80.91.229.12]:34560) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvbGx-0001eH-5S for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 15:02:15 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1NvbGv-0001Ng-FI for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 20:02:13 +0100 Received: from e178243017.adsl.alicedsl.de ([85.178.243.17]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Mar 2010 20:02:13 +0100 Received: from gegendosenfleisch by e178243017.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Mar 2010 20:02:13 +0100 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 Anthony Lander writes: > I was thinking about this a bit more. Is it possible to meet in the > middle and restrict the cursor so that it can't go past the last > character in the headline, like this: > > *** Some entry|... > > I suggest this because if you do type after the elipsis, the text goes > right on the end of the folded entry, which I believe is undesirable as > well; It means that part of the entry is invisible, and part is > visible. Limiting the cursor would solve both problems. Is this even > feasible? I have not been following closely this thread, but I believe customizing "org-special-ctrl-a/e" might bring you a long way towards the behaviour you want. I suggest you give it a try. ,----[ (info "(org)Headlines") ] | Documentation: | Non-nil means `C-a' and `C-e' behave specially in headlines and items. | | When t, `C-a' will bring back the cursor to the beginning of the | headline text, i.e. after the stars and after a possible TODO keyword. | In an item, this will be the position after the bullet. | When the cursor is already at that position, another `C-a' will bring | it to the beginning of the line. | | `C-e' will jump to the end of the headline, ignoring the presence of tags | in the headline. A second `C-e' will then jump to the true end of the | line, after any tags. This also means that, when this variable is | non-nil, `C-e' also will never jump beyond the end of the heading of a | folded section, i.e. not after the ellipses. `---- hth memnon