emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Beginning of headline, after *
Date: Fri, 16 Mar 2007 09:03:18 +0000	[thread overview]
Message-ID: <m26491tvah.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: m2d539twrw.fsf@sl392.st-edmunds.cam.ac.uk

On 2007-03-16, Leo said:

> On 2007-03-16, Scott Jaderholm said:
>
>> Hi,
>>
>> I was reading the EmacsWiki and saw a shortcut M-m which takes you
>> to the beginning of an indented line and I was wondering, is there
>> a shortcut in org-mode to go to the beginning of a heading (second
>> space after the last *)? If not, should M-m do this in org-mode?
>>
>> --Scott
>
> If this feature to implement at all, I would suggest C-c
> M-m. Overriding a global key binding can be inconvenient.

I just came up with a better solution.

When cursor is on a headline but not at the beginning of the heading,
C-a move it to the beginning.

  *** An example h
                 |
      |<---------+ first C-a
      |
  |<--+ second C-a

You can find a similar behavior in many other modes such as
message-mode.

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

  reply	other threads:[~2007-03-16  9:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-16  5:04 Beginning of headline, after * Scott Jaderholm
2007-03-16  8:31 ` Leo
2007-03-16  9:03   ` Leo [this message]
2007-03-16 16:21     ` Scott Jaderholm
2007-03-16 17:17       ` Jason F. McBrayer
     [not found]     ` <98393e5ff5a1f1a180a0d7eca050c1e8@science.uva.nl>
     [not found]       ` <m24polqdbi.fsf@sl392.st-edmunds.cam.ac.uk>
2007-03-16 18:18         ` Carsten Dominik
2007-03-16 18:41           ` Leo
2007-03-16 16:34 ` Carsten Dominik

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=m26491tvah.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-orgmode@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).