emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: indentation cycling
Date: Thu, 8 Oct 2009 15:12:25 -0700	[thread overview]
Message-ID: <20524da70910081512l7b93a9afpa6f0969dc5cc0be9@mail.gmail.com> (raw)
In-Reply-To: <20524da70910071107s55fff3ecj4d92f2bc9511b970@mail.gmail.com>

I had had this idea around for a while, and did not do my customary
check before posting.

There is one conflict with org-cycle that I did not mention.
org-cycle seems, at least for me, to do indent-relative-maybe, perhaps
as part of org-indent-line-function.  This is useful for, for example,
pseudo-code.

The fix is simply to include the result of indent-relative-maybe as
one stage of the cycle.

Again, if we don't overload org-cycle, then there is no conflict, but
overloading org-cycle IMO leverages user intuition.

Even if this all seems complicated, please take this thread as an
invitation to discuss indentation cycling.

I think that it can increase the convenience of entering lists to be
able to start a list with a single command (idea 1), to indent using
the same command (idea 1), and to toggle or cycle continuation line
vs. bullet (idea 2).

> [2] For the org-cycle case:

> [4] For the org-cycle case:

Thanks.

      reply	other threads:[~2009-10-08 22:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-07 18:07 indentation cycling Samuel Wales
2009-10-08 22:12 ` Samuel Wales [this message]

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=20524da70910081512l7b93a9afpa6f0969dc5cc0be9@mail.gmail.com \
    --to=samologist@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).