emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: Stefan Huchler <stefan.huchler@mail.de>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: how to group together fields
Date: Sun, 23 Feb 2014 08:32:39 +0100	[thread overview]
Message-ID: <CALn3zoj0oR5kytZ5ekgMzL_4STdiwM4mmY0Jm425y=QE7y4FzA@mail.gmail.com> (raw)
In-Reply-To: <87siraiqdx.fsf@mars.lan>

Hi Stefan

On Sun, Feb 23, 2014 at 2:12 AM, Stefan Huchler <stefan.huchler@mail.de> wrote:
> that works great, sadly I have to type in the name of the shop
> redundantly but I can live with that, with a good org-capture template I
> could tab-complete them so it would not be that problem.
>
> I dont want to bother you endlessly but just if you happen to know that
> randomly:
>
> can you somehow define a template that autocompletes to all other values
> like that:
>
> %^{Shop|shop 1|shop 2|**all-knows-old-choices**}

Although there are many completion tools I doubt that there is one
which knows in which Org table column you are.
http://www.emacswiki.org/emacs/CategoryCompletion

But [...]_ALL to predefine Org property values to be selected easily
in the column view as described here
http://orgmode.org/manual/Property-syntax.html
knows in which column you are. To make benefit of this you could use a
flat tree with an entry for each purchase and a property for product,
shop and rating and capture the column view with
http://orgmode.org/manual/Capturing-column-view.html
into the known table "#+NAME: data" to be processed further.

> A second question for me in trying to understand your code:
>
>  @I$4..@>$4
>
> I get @> stands for something like first line or is it a * wildcard? I
> should find that somewhere in doku but what does @I stand for?

@> is the last row, @I is the first hline to exclude the table header
that could have more than one line. For both and more see
http://orgmode.org/manual/References.html

Michael

  reply	other threads:[~2014-02-23  7:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-30 15:45 how to group together fields Stefan Huchler
2014-01-31 11:44 ` Alexander Baier
     [not found]   ` <87r47nshuh.fsf@mars.lan>
2014-02-01 11:03     ` Alexander Baier
     [not found]       ` <87mwibrs5u.fsf@mars.lan>
2014-02-01 11:46         ` Alexander Baier
     [not found]       ` <87ioszrr6l.fsf@mars.lan>
2014-02-01 12:33         ` Alexander Baier
2014-02-01 13:02           ` Stefan Huchler
2014-02-03  8:51             ` Bastien
2014-02-03 15:25               ` Stefan Huchler
2014-02-22 20:20                 ` Michael Brand
2014-02-23  1:12                   ` Stefan Huchler
2014-02-23  7:32                     ` Michael Brand [this message]
2014-02-22 15:19   ` Stefan Huchler

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='CALn3zoj0oR5kytZ5ekgMzL_4STdiwM4mmY0Jm425y=QE7y4FzA@mail.gmail.com' \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=stefan.huchler@mail.de \
    /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).