From: Kaushal Modi <kaushal.modi@gmail.com>
To: Nick Dokos <ndokos@gmail.com>
Cc: emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: convert a simple list of lines each to a orgmode header
Date: Wed, 30 Sep 2015 20:07:35 -0400 [thread overview]
Message-ID: <CAFyQvY2U_nvLrsaAp7wXRdSOX95+6e20o_5jxkgQoEunajN9Kw@mail.gmail.com> (raw)
In-Reply-To: <87bnckg0hq.fsf@alphaville.usersys.redhat.com>
[-- Attachment #1: Type: text/plain, Size: 1138 bytes --]
Thanks Nick, I confirmed later that `C-c *` worked over region for me too.
--
Kaushal Modi
On Tue, Sep 29, 2015 at 9:27 PM, Nick Dokos <ndokos@gmail.com> wrote:
> Kaushal Modi <kaushal.modi@gmail.com> writes:
>
> > I realized that the default binding `C-c *` works only on the current
> line, not the whole selection (and the same applies to the opposite `C-c
> -`).
> >
> > It would be great to have those commands work over a region too.
> >
>
> I don't think that's right - at least, when I tried it with a region, it
> worked. I just didn't know about it (or, more likely, didn't remember it)
> before Christian mentioned it.
>
> The docstring for the function says:
>
> ,----
> | org-toggle-heading is an interactive Lisp function in
> | ‘../org-mode/lisp/org.el’.
> |
> | (org-toggle-heading &optional NSTARS)
> |
> | Convert headings to normal text, or items or text to headings.
> | If there is no active region, only convert the current line.
> `----
>
> Is transient mark mode enabled? I think it's enabled by default
> nowadays, but maybe you turned it off?
>
> Nick
>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 1835 bytes --]
next prev parent reply other threads:[~2015-10-01 0:08 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-28 16:52 convert a simple list of lines each to a orgmode header Xebar Saram
2015-09-29 3:30 ` Nick Dokos
2015-09-29 5:28 ` Xebar Saram
2015-09-29 10:46 ` Kaushal Modi
2015-09-30 1:27 ` Nick Dokos
2015-10-01 0:07 ` Kaushal Modi [this message]
2015-09-29 6:46 ` Christian Moe
2015-09-29 7:17 ` Manuel Koell
2015-09-29 13:13 ` Kaushal Modi
2015-09-30 17:30 ` Thierry Banel
2015-09-29 7:44 ` Eric S Fraga
2015-09-29 8:00 ` Michael Strey
2015-09-29 16:43 ` Xebar Saram
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=CAFyQvY2U_nvLrsaAp7wXRdSOX95+6e20o_5jxkgQoEunajN9Kw@mail.gmail.com \
--to=kaushal.modi@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=ndokos@gmail.com \
/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.