emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Christian Barthel <bch@online.de>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: emacs-orgmode@gnu.org
Subject: Re: org-clone-subtree-with-time-shift with reverse order
Date: Sun, 14 Apr 2024 10:59:05 +0200	[thread overview]
Message-ID: <878r1gqq06.fsf@shell.onfire.org> (raw)
In-Reply-To: <87v84oxa9x.fsf@localhost> (Ihor Radchenko's message of "Thu, 11 Apr 2024 14:07:54 +0000")

On Thursday, April 11, 2024, Ihor Radchenko wrote:

> Christian Barthel <bch@online.de> writes:
>
>> I'd like to suggest adding a new prefix arg i.e.
>> `C-u C-u org-clone-subtree-with-item-shift' to reverse
>> the order of newly created / cloned siblings.  Would
>> that be of interest for other orgmode users?
>
> May you explain your use case a bit more?

The reason: I often use the
`org-tree-to-indirect-buffer'.  But when adding a new
sub-node with org-capture, it often was not shown
inside this indirect buffer.  Therefore, I prepended
all items with org-capture (:prepend t).  To intermix
this capturing process with the
org-clone-subtree-with-time-shift, it would have been
nice to specify the ordering.

*However* - this seems to be working with Emacs 29.3(?).
(I updated my Emacs to verify the current situation).

So I guess, this is actually no longer necessary
for my workflow and I can set :prepend to `nil'

On the other hand: There are ways to specify the
ordering like org-reverse-note-order.  Would it make
sense to have one global `org-reverse-order' that is
dealing with reversing "everything" that is somehow
dependent on ordering?

--
Christian Barthel


  reply	other threads:[~2024-04-14 10:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-04-10 20:10 org-clone-subtree-with-time-shift with reverse order Christian Barthel
2024-04-11 14:07 ` Ihor Radchenko
2024-04-14  8:59   ` Christian Barthel [this message]
2024-04-14 13:17     ` Ihor Radchenko

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=878r1gqq06.fsf@shell.onfire.org \
    --to=bch@online.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@posteo.net \
    /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).