Jose A. Ortega Ruiz <[EMAIL PROTECTED]> wrote:

> 
> Hi,
> 
> When i'm on a header line that has tags, C-e will bring the cursor,
> well, to the end of the line, i.e., after the tags. But, most of the
> time, that's not the 'end' i meant: i want to go to the 'end' of the
> header text *before* the tags (e.g., to add some text to said
> header--modifying the tags is much more conveniently done via C-cC-c).
> 
> Is there already a way of doing this?
> 

You can find what function C-e is bound to (C-h c C-e <RET>) and
then get the documentation for this function (C-h f org-end-of-line <RET>)
which says:

    org-end-of-line is an interactive compiled Lisp function in `org.el'.
    It is bound to C-e.
    (org-end-of-line &optional ARG)

    Go to the end of the line.
    If this is a headline, and `org-special-ctrl-a/e' is set, ignore tags on the
    first attempt, and only move to after the tags when the cursor is already
    beyond the end of the headline.

So, setting org-special-ctrl-a/e should do what you want.

HTH,
Nick


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

Reply via email to