From: Carsten Dominik <carsten.dominik@gmail.com>
To: Bernt Hansen <bernt@norang.ca>
Cc: emacs-orgmode@gnu.org
Subject: Re: Lazy project definitions
Date: Mon, 17 May 2010 18:54:32 +0200 [thread overview]
Message-ID: <D86B0071-9179-4414-B879-07406679C7EB@gmail.com> (raw)
In-Reply-To: <878w7ipvxi.fsf@gollum.intra.norang.ca>
On May 17, 2010, at 2:14 PM, Bernt Hansen wrote:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> In the stuck project definition, adding "^\\*\\{3,\\}" as the 4th
>> element should exclude anything that has level 3 or up in the
>> subtree.
>
> I don't think this will work. The regexp matches all tasks with
> level 3
> or higher subtrees ... which is all projects so all projects are
> considered unstuck.
>
> I need to be able to somehow say a project is not stuck if it doesn't
> have a level 3 task (ie. no children) because it's not a project in
> this
> case.
You are right. Ahh, I wish we had the power of Perl
regular expressions in Emacs. It would be sooo easy then.
No, I don't see a good way here.
Maybe the best is to completely write your own skipper here. This
is actually not too hard, see the Appendix A7 for an example.
HTH
- Carsten
next prev parent reply other threads:[~2010-05-17 18:14 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-16 21:17 Lazy project definitions Bernt Hansen
2010-05-17 9:43 ` Carsten Dominik
2010-05-17 11:28 ` Bernt Hansen
2010-05-17 12:14 ` Bernt Hansen
2010-05-17 16:54 ` Carsten Dominik [this message]
2010-05-18 1:44 ` Bernt Hansen
2010-05-18 4:18 ` Matt Lundin
2010-05-18 11:31 ` Bernt Hansen
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=D86B0071-9179-4414-B879-07406679C7EB@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=bernt@norang.ca \
--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).