From: John Hendy <jw.hendy@gmail.com>
To: Jeff Horn <jrhorn424@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Automatic noexport tag based on rules?
Date: Tue, 8 Feb 2011 20:39:54 -0600 [thread overview]
Message-ID: <AANLkTinJ5nUpyFbO9JGby64Ycnr-O=rqrDTKpWCTjcDw@mail.gmail.com> (raw)
In-Reply-To: <AANLkTik3jgcOhRy=L0qGECtQAhgP3V=1wuggfigh50sM@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 3202 bytes --]
On Tue, Feb 8, 2011 at 7:58 PM, Jeff Horn <jrhorn424@gmail.com> wrote:
> I'm not handy with emacs-lisp, but perhaps someone could whip up a
> handy function that iterates org-refile over each TODO heading to move
> it into a new, top-level * Tasks headline?
>
>
Thanks for the suggestion. I'm not a huge fan, but it would get done what I
want to accomplish as far as the export goes.
> Then you can tag the tasks headline with :noexport:. This would
> destroy the "context", but I find keeping tasks in a separate heading
> fine for most of *my* medium sized projects. YMMV.
>
Yeah.. most of my todos aren't medium-sized projects, though. Many of them
are more along the lines of one-liner action items I need to jot to myself
so I don't forget as well as keeping them as a sort of rolling "next
actions" queue. For that reason, I'd much rather keep them in their original
context.
This can't be too hard.
,---
| sed '/[*]* TODO/ s/$/ :noexport:/g'
`---
Or (facetious)
,---
| setq (prefix-for-noexport-custom-variable)
| setq (default-tags-for-no-export-variable)
`---
I just don't know what the elegant, "right" elisp/org method is for
something like this.
John
> On Tue, Feb 8, 2011 at 7:29 PM, John Hendy <jw.hendy@gmail.com> wrote:
> > Hi,
> >
> > My apologies if this has been discussed. I couldn't find it. I write
> > everything from work in org-mode for several reasons. Primarily, it's my
> > documentation system for research in order to properly document
> Intellectual
> > Property (IP) information. It's also for todos and contacts. When it
> comes
> > to exporting my notes into PDF for use in an IP notebook... I dont' want
> my
> > todos in there.
> > Is there a way to automatically tag TODOs with :noexport:?
> > Or simply add the TODO category to the noexport category altogether?
> > I haven't turned up anything quite along these lines. One post suggested
> > using "TODO keyword COMMENT" [1], but that just seems to perhaps exclude
> > from export (didn't try) but I know for sure it removes it from agenda
> view.
> > I want TODOs in agenda but don't want them showing up with my LaTeX
> export.
> > I typically print out my work to-date each month or so and have to comb
> > through my org file for that month, manually adding :noexport: to my
> TODOs.
> > Even if I still do this for a few things here and there... it will save
> me a
> > lot of time.
> > I suppose I could keep a separate "TODO.org" file, but I really like the
> > process of being able to add them anywhere -- it seems more natural to do
> > that in the flow, particularly in meetings, than to constantly switch
> > buffers or even use remember to keep sending things related to the
> current
> > topic away to their own island.
> > I'm 80% confident that the answer is ridiculously simply and I just
> haven't
> > searched the right thing. Thanks for enlightening me!
> >
> > Thanks,
> > John
> > _______________________________________________
> > Emacs-orgmode mailing list
> > Please use `Reply All' to send replies to the list.
> > Emacs-orgmode@gnu.org
> > http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> >
> >
>
>
>
> --
> Jeffrey Horn
> http://www.failuretorefrain.com/jeff/
>
[-- Attachment #1.2: Type: text/html, Size: 4640 bytes --]
[-- Attachment #2: Type: text/plain, Size: 201 bytes --]
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
next prev parent reply other threads:[~2011-02-09 2:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-02-09 0:29 Automatic noexport tag based on rules? John Hendy
2011-02-09 1:58 ` Jeff Horn
2011-02-09 2:39 ` John Hendy [this message]
2011-02-09 2:53 ` Jeff Horn
2011-02-09 7:40 ` Eric S Fraga
2011-02-09 15:18 ` John Hendy
2011-02-09 16:58 ` John Hendy
2011-02-09 18:13 ` Nicolas Goaziou
2011-02-09 18:46 ` John Hendy
2011-02-09 9:36 ` Automatic noexport tag based on rules? (and a possible bug) Nick Dokos
2011-02-11 8:34 ` Automatic noexport tag based on rules? Carsten Dominik
2011-02-11 15:33 ` John Hendy
2011-02-25 22:37 ` John Hendy
2011-03-27 19:37 ` [Orgmode] " Samuel Wales
2011-03-27 20:10 ` John Hendy
2011-03-29 18:40 ` Matt Lundin
2011-03-29 21:05 ` Carsten Dominik
2011-03-29 21:15 ` Carsten Dominik
2011-03-29 21:48 ` John Hendy
2011-03-29 22:49 ` Carsten Dominik
2011-03-29 22:50 ` John Hendy
2011-03-30 3:30 ` Carsten Dominik
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='AANLkTinJ5nUpyFbO9JGby64Ycnr-O=rqrDTKpWCTjcDw@mail.gmail.com' \
--to=jw.hendy@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=jrhorn424@gmail.com \
/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).