all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Fill-up Kanban board with entries
Date: Tue, 12 Jan 2016 23:47:45 -0500	[thread overview]
Message-ID: <87fuy2m6fi.fsf@pierrot.dokosmarshall.org> (raw)
In-Reply-To: CABG-yt3c_7POfB1dTU048K0nFdTDSWSaXK6gRbBC3JpVP25Fsw@mail.gmail.com

Shakthi Kannan <shakthimaan@gmail.com> writes:

> Hi,
>
> I have the following test.org file:
>
> === test.org ===
>
> * Kanban board
> | TODO | NEXT | STARTED | WAITING | DONE | CANCELED |
> |------+------+---------+---------+------+----------|
> |      |      |         |         |      |          |
> |      |      |         |         |      |          |
> |      |      |         |         |      |          |
> |      |      |         |         |      |          |
> |      |      |         |         |      |          |
> |      |      |         |         |      |          |
>
> #+TBLFM: @1='(kanban-headers $#)::@2$1..@>$>='(kanban-zero $# @# "TAG"
> '("test.org"))
>
> #+TBLFM: @1='(kanban-headers $#)::@2$1..@>$>='(kanban-todo @#
> @2$2..@>$> "TAG" '("test.org"))
>
> * READING
> ** TODO Book A
> ** TODO Book B
> * WRITING
> ** Article
> ** WAITING Blog post
> * HOME
> ** Errands
>
> === END ===
>
> The different states that I use are listed in the org-table header. I
> am able to use the first TBLFM to clear the entries. But, using "C-c
> C-c" on the second TBLFM doesn't list all the entries in the org-table
> in their respective columns. The expected output should be like:
>
> https://gist.github.com/shakthimaan/7f8e014ad29794672646
>
> What could I be missing? I am using Org-mode version 8.2.10 with GNU Emacs 24.5.
>
> Appreciate any help in this regard,
>
> Thanks!
>

I took a quick look: one thing that is wrong is that you copied the
TBLFM lines from kanban.el verbatim, but they don't apply to your file
as they stand - e.g. they seem to be looking for a tag but you don't
have any in your test file. Try replacing "TAG" with nil and see if that
gets you further. But my hunch is that the kanban-* functions are either
buggy or they have not been kept up to date with recent developments in
org, so they are not going to work even after that change. Your best bet
might be to contact the author of kanban.el: it is not part of org-mode
after all (not even in contrib).

Suggestion for the future: if you are using functions outside org-mode
proper in your question, please provide either the code of the functions
themselves or at least a URL where one can find the code. And make the
example complete: I had to add a #+TODO: line for all the states in
order for kanban-headers to work.

-- 
Nick

  reply	other threads:[~2016-01-13  4:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-12 15:58 Fill-up Kanban board with entries Shakthi Kannan
2016-01-13  4:47 ` Nick Dokos [this message]
2016-01-13  5:31   ` Shakthi Kannan

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fuy2m6fi.fsf@pierrot.dokosmarshall.org \
    --to=ndokos@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.