[O] Question about archiving

2016-07-18 Thread Thomas Moyer
There seems to be three different ways to archive entries.

1. Set archive property on item
2. Move to archive sibling
3. Move to archive file

Can someone explain the difference, and what the pros/cons are of using
each?

Thanks!

Tom


Re: [O] Question about Agenda view

2016-02-18 Thread Thomas Moyer
Close... it shows the entry text, which works to see if there is any, but
it makes the agenda view harder to read. Is there a way to customize how
agenda entries are created? One could, in theory, create a function that
modifies the entry to append "..." if the entry text is not null.

Tom

On Thu, Feb 18, 2016 at 6:05 AM, Eric S Fraga <e.fr...@ucl.ac.uk> wrote:

> On Thursday, 18 Feb 2016 at 00:47, Thomas Moyer wrote:
> > I will sometimes add additional notes below a TODO entry, usually some
> link
> > to something, or some extra explanation. Is there a way to customize the
> > agenda view to indicate if these extra lines exist? I'm looking for
>
> "v E" in the default agenda view may do some of what you want?
> --
> : Eric S Fraga (0xFFFCF67D), Emacs 25.0.91.1, Org release_8.3.3-619-gca1fb8
>


[O] Question about Agenda view

2016-02-17 Thread Thomas Moyer
I will sometimes add additional notes below a TODO entry, usually some link
to something, or some extra explanation. Is there a way to customize the
agenda view to indicate if these extra lines exist? I'm looking for
something potentially as simple as appending ... to the end of an agenda
entry if something other than a timestamp is on the lines below the TODO
item.

For example:

* TODO Item 1
SCHEDULED: <2016-02-18 Thu>
* TODO Item 2
[2016-02-15 Mon]
* TODO Item 3
SCHEDULED: <2016-02-18 Thu>
We should look into making the system perform better

Would result in agenda lines where Items 1 & 2 appear as they currently do,
and Item 3's agenda line ends with ... to indicate that there is a line
that is not a timestamp following the headline.

Tom


Re: [O] Question about org-publish-project-alist

2015-04-15 Thread Thomas Moyer
That was what finally worked. Thanks!

Tom
On Apr 14, 2015 9:49 AM, Feng Shu tuma...@163.com wrote:



 (defvar base-dir ~/Documents/org/)
 (defvar pub-dir ~/Public/notes/)

 (setq org-publish-project-alist
   `((org
  :base-directory ,base-dir
  :base-extension org
  :publishing-directory ,pub-dir
  :recursive t
  :publishing-function org-html-publish-to-html
  :exclude level-..org
  )
 (static
  :base-directory base-dir
  :base-extension
 css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf
  :publishing-directory pub-dir
  :recursive t
  :publishing-function org-publish-attachment
  )
 (project-root :components (org static

 --





[O] Question about org-publish-project-alist

2015-04-14 Thread Thomas Moyer
Is it possible (and I just have the wrong syntax) to do the following:

(defvar base-dir ~/Documents/org/)
(defvar pub-dir ~/Public/notes/)

(setq org-publish-project-alist '(
(org
:base-directory base-dir
:base-extension org
:publishing-directory pub-dir
:recursive t
:publishing-function org-html-publish-to-html
:exclude level-..org
)
(static
:base-directory base-dir
:base-extension css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf
:publishing-directory pub-dir
:recursive t
:publishing-function org-publish-attachment
)
(project-root :components (org static)))
)

When I have the above code and I call (org-publish-project project-root),
I get the following error.

Wrong type argument: stringp, base-dir

Thanks.
Tom


Re: [O] Block agendas and filtering

2013-03-25 Thread Thomas Moyer
I got this working as I wanted, I had a problem with the custom agenda
commands that I had defined. Below is the agenda command that implements
the desired view.

(c Agenda and Home-related tasks
  ((agenda -chore)
   (tags chore+TIMESTAMP=today)))

I think part of my problem was having a key binding defined twice (c in
this case), and org not warning about it. The two happened to be somewhat
similar, and so there was confusion on my part as to why it wasn't showing
the right thing.

Thanks for all of the help and suggestions.

-Tom


--
Thomas Moyer
tommo...@gmail.com


On Mon, Mar 25, 2013 at 2:11 AM, Bastien b...@altern.org wrote:

 Samuel Wales samolog...@gmail.com writes:

  On 3/19/13, Bastien b...@altern.org wrote:
(org-agenda-tag-filter (+Tag))
 
  org-agenda-filter-preset?

 Both will work.  Note that `org-agenda-filter-preset' has
 been renamed to `org-agenda-tag-filter-preset' a while ago.

 --
  Bastien



[O] Block agendas and filtering

2013-03-05 Thread Thomas Moyer
Is it possible to have a block agenda that contains two daily/weekly
agendas that are opposites of each other, based on something like a
tag? For example I have my normal todo list things that are scheduled,
and then I have other regular things, like cleaning and taking care of
other tasks that occur every week. Below is an example

* Tasks
** File paperwork
SCHEDULED: 2013-05-17 Fri
** Build model airplane
SCHEDULED: 2013-05-18 Sat
* Regular chores:chores:
** Dishes
%%(member (calendar-day-of-week date) '(0 1 2 3 4 5 6))
** Laundry
%%(= 6 (calendar-day-of-week date))

What I want is a block agenda, using two agenda blocks. The first will
*exclude* the entrys tagged as :chores: and the second will *include*
any entry that is tagged with :chores:.

Is there a way to accomplish this with tags, or maybe properties?

Thanks!

-Tom



[O] Filter based on timestamp with repeater

2013-01-08 Thread Thomas Moyer
I have some entries in one of my agenda files that have timestamp with
repeaters. What I would like to do is show only those items tagged with the
tag :task: that are for the given day. However the only thing I could come
up with was filter by tag in the following way:

task+TIMESTAMP=today

That only works on the day that the timestamp is for. For example:

2013-01-01 Tue +1w

Will only show up on Jan. 1 in the filter. Is there a way to filter for
things that would show up on a given day?

Thanks!

-Tom


Re: [O] Question about HTML export, drawers, and links

2012-10-12 Thread Thomas Moyer
So what would I need to do to use the new exporter?

-Tom

--
Thomas Moyer
tommo...@gmail.com



On Fri, Sep 21, 2012 at 12:21 PM, Bastien b...@altern.org wrote:

 Nicolas Goaziou n.goaz...@gmail.com writes:

  Thomas Moyer tommo...@gmail.com writes:
 
  I have a set of files that I put notes in that I would like to export
  to HTML. When I do this, I have configured everything to allow
  certain drawers to included in the export, but those drawers are put
  in pre blocks. Is there a way to convince the export mechanism to
  treat links inside drawers as links that need exported. I put a link
  in the drawer to another file and would like the link to work.
 
  This is not currently possible.
 
  The new HTML exporter (contrib/lisp/org-e-html.el) supports using a
  custom function to export drawers.  It is not easily usable for now,
  but maybe you can explore from there.
 
  AFAIU, the new exporter defaults to what the OP is asking for.

 Indeed, thanks for double-checking.

 --
  Bastien



[O] Question about HTML export, drawers, and links

2012-09-12 Thread Thomas Moyer
I have a set of files that I put notes in that I would like to export to
HTML. When I do this, I have configured everything to allow certain drawers
to included in the export, but those drawers are put in pre blocks. Is
there a way to convince the export mechanism to treat links inside drawers
as links that need exported. I put a link in the drawer to another file and
would like the link to work.

Maybe I am using the wrong construct and should be using something other
than a drawer?

Thanks!

-Tom

--
Thomas Moyer
tommo...@gmail.com


[O] Question about org-habit and agenda views

2012-08-16 Thread Thomas Moyer
I have a set of habits that I do Monday through Friday (weekdays only) and
the best suggestion I have found for this is to have 5 individual TODOs
(one for each day). This seems to work well for the most part, but I have
found one minor annoyance that I can't find a solution for.

If I don't do one of the habits on Monday, that entry will appear as
overdue until the next week on Monday when it comes around again. Is there
a way to hide overdue habits? I don't want to mark it as DONE, since it
wasn't even when it was late.

As an example of what I current have, here is an excerpt for one habit:

** Notes
*** TODO (M) Refile notes
SCHEDULED: 2012-08-20 Mon ++1w
:PROPERTIES:
:STYLE: habit
:END:
*** TODO (T) Refile notes
SCHEDULED: 2012-08-21 Tue ++1w
:PROPERTIES:
:STYLE: habit
:END:
*** TODO (W) Refile notes
SCHEDULED: 2012-08-15 Wed ++1w
:PROPERTIES:
:STYLE: habit
:END:
*** TODO (R) Refile notes
SCHEDULED: 2012-08-16 Thu ++1w
:PROPERTIES:
:STYLE: habit
:END:
*** TODO (F) Refile notes
SCHEDULED: 2012-08-17 Fri ++1w
:PROPERTIES:
:STYLE: habit
:END:

So if I miss Monday, when I open my agenda on Tuesday, I currently see two
entries for Refile notes. Ideally, I would like to only see the one for
Tuesday, and then when the following Monday rolls around, I should see the
Monday entry again, with the consistency graph showing that I missed last
Monday.

Thanks for the help!

-Tom

--
Thomas Moyer
tommo...@gmail.com