all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* a small (?) feature request
@ 2008-05-24 21:33 Jose A. Ortega Ruiz
  2008-05-24 23:17 ` Leo
  2008-05-25  2:23 ` Nick Dokos
  0 siblings, 2 replies; 4+ messages in thread
From: Jose A. Ortega Ruiz @ 2008-05-24 21:33 UTC (permalink / raw)
  To: emacs-orgmode


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?

Cheers,
jao

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: a small (?) feature request
  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
  1 sibling, 1 reply; 4+ messages in thread
From: Leo @ 2008-05-24 23:17 UTC (permalink / raw)
  To: emacs-orgmode

On 2008-05-24 22:33 +0100, Jose A. Ortega Ruiz 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?
>
> Cheers,
> jao
>

Setting `org-special-ctrl-a/e' to t

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .:  [ GPG Key: 9283AA3F ]  :.

        Use the better alternative -- http://www.openoffice.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: a small (?) feature request
  2008-05-24 21:33 a small (?) feature request Jose A. Ortega Ruiz
  2008-05-24 23:17 ` Leo
@ 2008-05-25  2:23 ` Nick Dokos
  1 sibling, 0 replies; 4+ messages in thread
From: Nick Dokos @ 2008-05-25  2:23 UTC (permalink / raw)
  To: Jose A. Ortega Ruiz; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: a small (?) feature request
  2008-05-24 23:17 ` Leo
@ 2008-05-25 23:27   ` Jose A. Ortega Ruiz
  0 siblings, 0 replies; 4+ messages in thread
From: Jose A. Ortega Ruiz @ 2008-05-25 23:27 UTC (permalink / raw)
  To: emacs-orgmode

Leo <sdl.web@gmail.com> writes:

> On 2008-05-24 22:33 +0100, Jose A. Ortega Ruiz wrote:

[...]

>>
>> Is there already a way of doing this?
>>
>
> Setting `org-special-ctrl-a/e' to t

Yes, exactly what i was looking for. Thanks a lot.

jao, who will try to rtfm next time
-- 
Always have a vision. Why spend your life making other people’s dreams?
 -Orson Welles (1915-1985)

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-05-26  0:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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.