emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Daniel E. Doherty <ded-law@ddoherty.net>
To: Org-mode List <emacs-orgmode@gnu.org>
Subject: Feature Request: Move table row groups, like rows?
Date: Mon, 08 Dec 2014 06:24:09 -0600	[thread overview]
Message-ID: <87ppbul47q.wl-ded-law@ddoherty.net> (raw)


One thing I use org tables for is to represent a series of accounting
transactions, with each group of rows representing a set of entries for the
transaction.

Like this:

|-----+---+------------------+---------------+-----------+-----------+---+---+----------------|
|  Id | X | Date             | Charge        | Dr        | Cr        | C | R | Description    |
|-----+---+------------------+---------------+-----------+-----------+---+---+----------------|
| 206 |   | [2010-12-05 Sun] | l:chase visa  |           | 1,648.62  | x | x | Opening Equity |
| 207 |   | [2010-12-05 Sun] | q:eq          | 1,648.62  |           |   |   | Opening Equity |
|-----+---+------------------+---------------+-----------+-----------+---+---+----------------|
| 208 |   | [2010-12-20 Mon] | l:comm:visa   |           | 3,859.39  | x | x | Opening Equity |
| 209 |   | [2010-12-20 Mon] | q:eq          | 3,859.39  |           |   |   | Opening Equity |
|-----+---+------------------+---------------+-----------+-----------+---+---+----------------|
| 211 |   | [2010-12-27 Mon] | q:eq          | 43,447.85 |           |   |   | Opening Equity |
| 210 |   | [2010-12-27 Mon] | l:charter one |           | 43,447.85 | x | x | Opening Equity |
|-----+---+------------------+---------------+-----------+-----------+---+---+----------------|

It is sometimes handy to move transactions around, but they have to be moved
as a group.  It would be nice if org had the ability to do this in a manner as
convenient as moving around individual rows.  Perhaps, C-M-<up>, C-M-<down>
could be bound to such a function.

A Bonus feature might be to provide a way to sort groups in a manner similar
to rows, using say, the first row in each group for the sort criteria, but
moving whole groups as a unit.  So I could sort the transactions by date,
description, etc.

-- 
====================================================
Daniel E. Doherty
ded-law@ddoherty.net

                 reply	other threads:[~2014-12-08 12:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87ppbul47q.wl-ded-law@ddoherty.net \
    --to=ded-law@ddoherty.net \
    --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).