emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: Bernt Hansen <bernt@norang.ca>, emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: Fix org-meta-return for checkbox lists
Date: Fri, 15 Jun 2018 16:10:39 +0200	[thread overview]
Message-ID: <87in6kjg2o.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAFyQvY2=SONe1shzz9pqVioX5FqNjGBeGsn5FT49s891XNp5uw@mail.gmail.com> (Kaushal Modi's message of "Fri, 15 Jun 2018 10:01:19 -0400")

Hello,

Kaushal Modi <kaushal.modi@gmail.com> writes:

> Is it that common to have mix of checkboxes and unordered lists items?

The problem is that your initial suggestion make it impossible, common
or not.

> I would think that this behavior of org-meta-return is more consistent:
>
> - If you are on a "* foo" line, M-RET creates "* " on the next line.
> - If you are on a "1. foo" line, M-RET creates "2. " on the next line.
> - If you are on a "- foo" line, M-RET creates "- " on the next line.
> - *But* if you are on a "- [ ] foo" line, M-RET still creates "- " instead
> of "- [ ] " on the next line?
>
> Shouldn't M-RET and M-S-RET behavior be switched for checkbox lists?

As it is, it is symmetric with M-RET and M-S-RET on headlines. E.g., in
the following document

  * TODO Stuff|

where "|" is point, M-RET results in

  * TODO Stuff
  * 

i.e., no TODO added. I find it straightforward.

Regards,

-- 
Nicolas Goaziou                                                0x80A93738

  reply	other threads:[~2018-06-15 14:10 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-14 15:30 Fix org-meta-return for checkbox lists Kaushal Modi
2018-06-14 18:41 ` Nicolas Goaziou
2018-06-15 13:53   ` Bernt Hansen
2018-06-15 14:01     ` Kaushal Modi
2018-06-15 14:10       ` Nicolas Goaziou [this message]
2018-06-15 14:19         ` Kaushal Modi

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=87in6kjg2o.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=kaushal.modi@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 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).