emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Scott Otterson <scotto@u.washington.edu>
To: emacs-orgmode@gnu.org
Subject: bugs in C-*
Date: Mon, 29 Dec 2008 11:57:54 -0800	[thread overview]
Message-ID: <49592BC2.2090400@u.washington.edu> (raw)
In-Reply-To: <200812291702.mBTH2sVD004384@bp34.u.washington.edu>

I just discovered the very handy C-* function -- I've been converting 
lists to headlines manually!   But I also discovered a couple of bugs:

If I select a region containing a plain list and then type C-*, org mode 
adds the leading stars but doesn't remove the plain list symbols, for 
example, this:

  * headline
    - list 1
    - list 2

is converted to this:

* headline
*** - list 1
*** - list 2

Also, if I'm at the end of a file so that the region can't be extended 
beyond the end of the last item in the list, then that item isn't 
converted.  In other words, I get this:

* headline
*** - list 1
  - list 2

Thanks,

Scott

  parent reply	other threads:[~2008-12-29 19:57 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200812291702.mBTH2sVD004384@bp34.u.washington.edu>
2008-12-29 19:44 ` structure editing in brainstorming mode Scott Otterson
2008-12-29 20:10   ` Matthew Lundin
2008-12-29 19:57 ` Scott Otterson [this message]
2008-12-29 20:13   ` bugs in C-* Matthew Lundin
2008-12-29 20:19     ` Matthew Lundin
2008-12-29 20:27       ` Scott Otterson
2009-01-21 17:43   ` Carsten Dominik
2009-01-22 22:08     ` Scott Otterson

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=49592BC2.2090400@u.washington.edu \
    --to=scotto@u.washington.edu \
    --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).