all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: "Jose A. Ortega Ruiz" <jao@gnu.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: a small (?) feature request
Date: Sat, 24 May 2008 22:23:18 -0400	[thread overview]
Message-ID: <27181.1211682198@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from "Jose A. Ortega Ruiz" <jao@gnu.org> of "Sat, 24 May 2008 23:33:36 +0200." <yr0gmymfqte7.fsf@google.com>

Jose A. Ortega Ruiz <jao@gnu.org> 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

      parent reply	other threads:[~2008-05-26  0:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-24 21:33 a small (?) feature request Jose A. Ortega Ruiz
2008-05-24 23:17 ` Leo
2008-05-25 23:27   ` Jose A. Ortega Ruiz
2008-05-25  2:23 ` Nick Dokos [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=27181.1211682198@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jao@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.