From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: Re: possible bug: TAB after elipsis Date: Sat, 27 Mar 2010 13:21:27 -0600 Message-ID: References: <87sk7ld26n.fsf@mean.albasani.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1592818378==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NvbZc-0005Ao-8r for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 15:21:32 -0400 Received: from [140.186.70.92] (port=49041 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NvbZa-00059z-79 for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 15:21:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NvbZY-0003NA-Kd for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 15:21:30 -0400 Received: from mail-yx0-f194.google.com ([209.85.210.194]:42361) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NvbZY-0003Mx-Gv for emacs-orgmode@gnu.org; Sat, 27 Mar 2010 15:21:28 -0400 Received: by yxe32 with SMTP id 32so5305945yxe.24 for ; Sat, 27 Mar 2010 12:21:27 -0700 (PDT) In-Reply-To: <87sk7ld26n.fsf@mean.albasani.net> 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: Memnon Anon Cc: emacs-orgmode@gnu.org --===============1592818378== Content-Type: multipart/alternative; boundary=000e0cd567f6b3c1ff0482cd2fb6 --000e0cd567f6b3c1ff0482cd2fb6 Content-Type: text/plain; charset=ISO-8859-1 This awesome. If this equivalent existed for M-a/e and M-f/b, I would be very happy with the result. Seem reasonable -- when on a folded headline, I just can't think of a reason someone would want to interact with the headline after the ellipsis. It even, as someone else mentioned, can ge one into trouble -- press the wrong key or delete after it and you're removing text you can't even see... but are able to interact with! Thanks for this, memmon. On Sat, Mar 27, 2010 at 1:02 PM, Memnon Anon < gegendosenfleisch@googlemail.com> wrote: > 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 > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > --000e0cd567f6b3c1ff0482cd2fb6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable This awesome. If this equivalent existed for M-a/e and M-f/b, I would be ve= ry happy with the result. Seem reasonable -- when on a folded headline, I j= ust can't think of a reason someone would want to interact with the hea= dline after the ellipsis. It even, as someone else mentioned, can ge one in= to trouble -- press the wrong key or delete after it and you're removin= g text you can't even see... but are able to interact with!

Thanks for this, memmon.


On Sat, = Mar 27, 2010 at 1:02 PM, Memnon Anon <gegendosenfleisch@googlemail.com>= ; wrote:
Anthony Lander &l= t;anthonylander@yahoo.com>= ; 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:
>
> =A0 =A0 =A0 *** 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 = =A0as
> 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 beh= aviour
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 i= tems.
|
| 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. =A0A second `C-e' will then jump to the true end of = the
| line, after any tags. =A0This 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



_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

--000e0cd567f6b3c1ff0482cd2fb6-- --===============1592818378== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1592818378==--