Re: [O] multiple date_tree values possible in a single file

2012-04-12 Thread Stuart McLean
Hi, Nick

I have expressed myself poorly. It is not so much what I can not get to
work. It is more is such-and-such possible. I would like to have two headings
in one file, and to be able to use `org-capture' to file notes under
each of them
in a date-tree. I know you can file notes under an individual heading
using the DATE_TREE property, but how would you use this for two
different headings?

I hope this is a little more clear,

Stuart

On 4/11/12, Nick Dokos nicholas.do...@hp.com wrote:
 Stuart McLean smclean0...@gmail.com wrote:

 Hello, everyone

 I really like the date tree hierarchy. I was wondering whether it was
 possible to use
 multiple date_tree hierarchies in a single file, or how one would go
 about setting it up.

 For example

 * Items TODO
 ** tree 1
:PROPERTIES:
:DATE_TREE: t
:END:
 ** tree 2
:PROPERTIES:
:DATE_TREE: t
:END:

 I don't think i can get this to work. Any suggestions?


 I'm not sure what you mean: what exactly can you not get to work?

 Nick





[O] multiple date_tree values possible in a single file

2012-04-11 Thread Stuart McLean
Hello, everyone

I really like the date tree hierarchy. I was wondering whether it was
possible to use
multiple date_tree hierarchies in a single file, or how one would go
about setting it up.

For example

* Items TODO
** tree 1
   :PROPERTIES:
   :DATE_TREE: t
   :END:
** tree 2
   :PROPERTIES:
   :DATE_TREE: t
   :END:

I don't think i can get this to work. Any suggestions?

Thanks,

Stuart



Re: [O] Filling a paragraph without filling SCHEDULED line

2012-04-05 Thread Stuart McLean
Hello Bastien,

I tried out `org-fill-paragraph' and it seems to work exactly the way
I would like.
Perhaps some people would prefer to have the scheduled line filled
with the text,
but I find this way makes the scheduled line stand out, and it is
easier to delete
without having to re-fill.

Thank you so much for the fix.

All the best,

Stuart

On 4/3/12, Bastien b...@gnu.org wrote:
 Hi Stuart,

 Thanks for raising this issue.

 I implemented an exception in `org-fill-paragraph' that takes care of
 handling your case correctly.  Please test and confirm this works okay
 for you.

 Best,

 --
  Bastien




[O] Filling a paragraph without filling SCHEDULED line

2012-04-03 Thread Stuart McLean
Hello everyone,

I am wondering how to fill a paragraph without filling a SCHEDULED line as well.

Here is an example:

When I press `M-q', I would like 2. rather than 1.

1.
* heading 1
  SCHEDULED: 2012-04-02 Mon foo bar baz foo bar baz foo bar baz foo
  bar baz foo bar baz foo bar baz foo bar baz foo bar baz foo bar baz
  foo bar baz

2.
* heading 2
  SCHEDULED: 2012-04-02 Mon
  foo bar baz foo bar baz foo bar baz foo bar baz foo bar baz foo bar
  baz foo bar baz foo bar baz foo bar baz foo bar baz

Does anyone have any pointers as to how to achieve this?

Thanks everyone, for org-mode. It is a great community.

Stuart



Re: [O] Filling a paragraph without filling SCHEDULED line

2012-04-03 Thread Stuart McLean
Hello Bernt,

That is what I have been doing so far. This gets annoying when you are at the
end of a hundred lines of text under a to-do item and you type M-q and have to
go back 100 lines to insert a space, re-fill and remove the space.

Thank you for your reply,

Stuart

On 4/3/12, Bernt Hansen be...@norang.ca wrote:
 Stuart McLean smclean0...@gmail.com writes:

 Hello everyone,

 I am wondering how to fill a paragraph without filling a SCHEDULED line as
 well.

 Here is an example:

 When I press `M-q', I would like 2. rather than 1.

 1.
 * heading 1
   SCHEDULED: 2012-04-02 Mon foo bar baz foo bar baz foo bar baz foo
   bar baz foo bar baz foo bar baz foo bar baz foo bar baz foo bar baz
   foo bar baz

 2.
 * heading 2
   SCHEDULED: 2012-04-02 Mon
   foo bar baz foo bar baz foo bar baz foo bar baz foo bar baz foo bar
   baz foo bar baz foo bar baz foo bar baz foo bar baz

 Does anyone have any pointers as to how to achieve this?

 Thanks everyone, for org-mode. It is a great community.

 I just insert a blank line and then (optionally) remove it again so the
 SCHEDULED: is by itself before filling.

 HTH,
 Bernt




[Orgmode] org-crypt fails to encrypt region

2010-10-25 Thread Stuart McLean
Hello,

I am just learning how to use GPG, org-crypt, and epa. I am using:

- org version 7.01h
- emacs version GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version
  2.20.1) of 2010-08-14 on barber, modified by Debian. 

In my .emacs I have the following variables set:

(require 'epa)

(require 'org-crypt)
(org-crypt-use-before-save-magic)
(setq org-tags-exclude-from-inheritance (quote (crypt)))
; GPG key to use for encryption
(setq org-crypt-key Stuart McLean)

I generated a keypair using KGPG, and tried to encrypt a region like the
following with `M-x org-encrypt-entry'.

*** secret data   :crypt:
my secret data

I also tried:

*** crypt setup   :crypt:
:PROPERTIES:
:CRYPTKEY: Stuart McLean
:END:
my secret data

I get the following in the echo area:

epg-encrypt-string: Encrypt failed: ((exit) (invalid-recipient (reason . 0) 
(requested-recipient . 7488B7E9D0613F5E)))

I get the same error with `epa-encrypt-region'.

Again, I am new to this, is there possibly an error with my GPG setup?


Thank you,

Stuart


___
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


[Orgmode] different result in spreadsheet tutorial

2010-09-14 Thread Stuart McLean
Hello,

I am just beginning to learn org-mode's spreadsheet with the tutorial
here: http://orgmode.org/worg/org-tutorials/org-spreadsheet-intro.php

However, when I type C-c C-c on the TBLFM line below




| Student  | Maths | Physics | Mean |
|--+---+-+--|
| Bertrand |13 |  09 |   11 |
| Henri|15 |  14 | 14.5 |
| Arnold   |17 |  13 |   15 |
|--+---+-+--|
| Means|15 |  12 |  |
#+TBLFM: $4=vmean($2..$3)::@5$2=vmean(@2$...@4$2)::@5$3=vmean(@2$...@4$3)


I get 13.5 in D5. I assume $4=vmean($2..$3) is being computed for this
row as well. Am I doing something wrong?

Please excuse if this has been covered earlier in the newsgroup

Thanks,

Stuart



___
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


[Orgmode] feature inquiry

2008-08-31 Thread Stuart McLean
Hello everyone,

I have a large number of tasks that I do in a cyclic fashion, or at
least would _like_ to do regularly. I do this via a SCHEDULED keyword
under a TODO heading with a repeat like so

* cyclic category 1
** cyclic task 1
   SCHEDULED: 2008-07-31 Sun .+1d

I would like the following functionality: a checkbox cookie [/] or
something similar so that I could track compliance to a particular
cyclic task over the period of a month (or whatever) until I archive the
group of tasks. It would be easy to see if you did a task 31 days out 31
or 20 out of 31 and so on. I think this would be a good incentive for
trying to up the score so to speak.

If anyone has any ideas how to implement this, or if I am missing the
boat entirely and this functionality already exists, I would love to
hear it.

Thanks,

Stuart


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] re: dependencies

2008-01-23 Thread Stuart McLean
Hi

I am very interested in this functionality, but I have to have time to
wrap my head around it and come up with some ideas.

Cheers,

Stuart


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] handling cyclic tasks (general question)

2007-11-04 Thread Stuart McLean
Thanks again for your speedy response. I have to do a bit of thinking
as to why I use the setup I do, I somehow just evolved as the Right
Thing. I'll experiment with archiving the cyclic tasks, sounds like a
great idea. I'm not very very new to org-mode, but it has grown on me
so much that I try to do more and more of my organizational stuff with
it, and I am having a little trouble getting it to do exactly what I
want (or, more likely, I don't know exactly what I want ;-) ).

Thanks again, 

Stuart

ps Bastien, in your signature you say Remember: use `Reply All' to
send replies to the list.

I use Gnus 5.11. Is a Wide Reply, the same as Reply All?

Sorry for the naive question, I love using Gnus, but what you can do
with it is, well, a _lot_.



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] handling cyclic tasks (general question)

2007-11-03 Thread Stuart McLean
Hi,

Following is an example of the setup I currently have. What I am
interested in is how other members of the group might more elegantly
(or just differently) handle something similar.

* 2007
** January
...
** October
** November

each date has the following within it, example:

** November
** 2007-11-01
*** Todo
:PROPERTIES:
:CATEGORY: todo
:END:
 TODO something
 TODO something else
*** Work
:PROPERTIES:
:CATEGORY: work
:END:
 Work I did 2007-11-01 Thu 08:00--2007-11-01 Thu 16:00
 1. work A
 2. work B 
 3. etc
*** Exercise
:PROPERTIES:
:CATEGORY: exercise
:END:
 exercise that I did


Now, at the end of each month, e.g 2007-11-30, I have a heading on the
same level called Cyclic Todo. These contain things that I need to do
everyday, and need to remember to do everyday. I end each with a
closing note when I do them. The thing is some of the details that I
wish to record in the closing note are long and would clutter up the
heading, so I add a hyperlink back to the date (e.g 2007-11-01) and
record the info there under the proper category (usually Exercise, but
you can generalize from there, it could be applied to something else.)

What I would like to know, are there more elegant solutions for accomplishing 
this? Is anyone willing to share their particular setup, or examples of 
variations. I find my current setup a little cumbersome.

Thanks, and sorry for the long post.

Stuart








___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] sparse-tree in indirect buffer

2007-10-22 Thread Stuart McLean
Hi,

First some background, I am using
GNU Emacs 22.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.10.13) of 2007-08-21 on 
excelsior, modified by Debian
and org-mode version 5.13a

I have headings like (for example)
* September
** similar stuff to October
* October
** Oct 1
*** Work
:PROPERTIES:
:CATEGORY: work
:END:
 work info
** Oct 2
:PROPERTIES:
:CATEGORY: work
:END:
 work info
** Oct 3
:PROPERTIES:
:CATEGORY: work
:END:
 work info
** Oct 4
:PROPERTIES:
:CATEGORY: work
:END:

and so on.

I want to display the subtree in an indirect buffer, so I type `C-c C-x b'

Now, _from the indirect buffer_ I want a sparse tree as follows `C-c
/' (org-sparse-tree) and at the prompt I type `p', enter the property
name CATEGORY with the value work

The message in the echo area is Wrong type argument: stringp, nil

and in the *Messages* buffer:

abbreviate-file-name: Wrong type argument: stringp, nil

I would like to be able to get a sparse tree from an indirect buffer, is this 
possible? And if it is not, should the message be more informative e.g. Please 
call sparse tree from blah blah?

Sorry if this is noise,

org-mode is fantastic btw :-)

Stuart


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] typo? in org-install, org-5.12b

2007-10-12 Thread Stuart McLean
Hi,

firstly, thanks for Org-mode, I live in this mode, so to speak ;-)

I think this might be a typo in the file `org-install.el', line 56:

  (autoload 'org-show-toc org-toc Create and display a table of contents t)

Shouldn't this be `org-toc-show'?

Regards,

Stuart


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode