Re: [O] Commenting a diary sexp line??

2011-07-23 Thread suvayu ali
Hi Memnon,

On Sat, Jul 23, 2011 at 3:15 AM, Memnon Anon
gegendosenflei...@googlemail.com wrote:
 ,
 | org-agenda-skip-comment-trees is a variable defined in `org-agenda.el'.
 | Its value is t
 |
 | Documentation:
 | Non-nil means skip trees that start with the COMMENT keyword.
 | When nil, these trees are also scanned by agenda commands.
 `


Sorry I forgot to respond.

I checked my settings, it is set to the default value: t. It works fine. :)

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Commenting a diary sexp line??

2011-07-22 Thread Bastien
Hi Suvayu,

suvayu ali fatkasuvayu+li...@gmail.com writes:

 So my question is, should org be ignoring the COMMENT keyword on
 headlines when a sexp is present. I would be inclined to call this a
 bug as a scheduled headline would be ignored in the presence of
 COMMENT.

Mh..  COMMENT originally means do not export.  But I understand your
proposal.  I'm reluctant to implement this as I think you can already
set up your custom agenda views to ignore COMMENT headlines.

But I'm open to suggestions.

Thanks,

-- 
 Bastien



Re: [O] Commenting a diary sexp line??

2011-07-22 Thread suvayu ali
Hi Bastien,

On Fri, Jul 22, 2011 at 3:42 PM, Bastien b...@altern.org wrote:
 I think you can already
 set up your custom agenda views to ignore COMMENT headlines.

Could you point me to it? I did an apropos search for org agenda
ignore but all I could find was ignoring based on timestamps.

Thanks,

-- 
Suvayu

Open source is the future. It sets us free.



Re: [O] Commenting a diary sexp line??

2011-07-22 Thread Memnon Anon
suvayu ali fatkasuvayu+li...@gmail.com writes:

 On Fri, Jul 22, 2011 at 3:42 PM, Bastien b...@altern.org wrote:
 I think you can already
 set up your custom agenda views to ignore COMMENT headlines.

 Could you point me to it? I did an apropos search for org agenda
 ignore but all I could find was ignoring based on timestamps.

,
| org-agenda-skip-comment-trees is a variable defined in `org-agenda.el'.
| Its value is t
| 
| Documentation:
| Non-nil means skip trees that start with the COMMENT keyword.
| When nil, these trees are also scanned by agenda commands.
`

?

Memnon




Re: [O] Commenting a diary sexp line??

2011-07-19 Thread suvayu ali
Hi,

On Tue, Jul 19, 2011 at 7:48 AM, Michael Markert
markert.mich...@googlemail.com wrote:
 :|     * APPT Daily Scrum
 :|     %%(let ((dayname (calendar-day-of-week date))(day (car (cdr 
 date(memq dayname '(1 2 3 4 5)))
 :|    [2009-07-01 Wed]
 :`
 #+END_EXAMPLE

 Anyway: Begin the org-sexp line with a `#' - the usual org comment character.


I also faced this once and was expecting using the COMMENT keyword on
the headline will do the trick but it doesn't. I had to use # before
the sexp.

So my question is, should org be ignoring the COMMENT keyword on
headlines when a sexp is present. I would be inclined to call this a
bug as a scheduled headline would be ignored in the presence of
COMMENT.

 Michael

-- 
Suvayu

Open source is the future. It sets us free.



[O] Commenting a diary sexp line??

2011-07-18 Thread Alan E. Davis
The following is in one of my Agenda files, I guess.  Is there any way to
comment it out, so that it is not evaluated and displayed in the agenda.
This seems to be displayed for every day.  I wanted to start a list of
various functions, but this one seems to be preeminent.

Thank you,

Alan Davis


Re: [O] Commenting a diary sexp line??

2011-07-18 Thread Alan E. Davis
Here's the attempt to comment, and the line:


** [2011-05-24 Tue 10:23] Sexp for an Org-mode reocurring appointment, only
on weekdays
   Published in: Emacs Lisp, [[
http://www.gnu.org/software/emacs/manual/html_node/emacs/Sexp-Diary-Entries.html][here
]]
#+BEGIN_EXAMPLE
:,
:| * APPT Daily Scrum
:| %%(let ((dayname (calendar-day-of-week date))(day (car (cdr
date(memq dayname '(1 2 3 4 5)))
:|[2009-07-01 Wed]
:`
#+END_EXAMPLE

On Mon, Jul 18, 2011 at 10:11 PM, Alan E. Davis lngn...@gmail.com wrote:

 The following is in one of my Agenda files, I guess.  Is there any way to
 comment it out, so that it is not evaluated and displayed in the agenda.
 This seems to be displayed for every day.  I wanted to start a list of
 various functions, but this one seems to be preeminent.

 Thank you,

 Alan Davis



Re: [O] Commenting a diary sexp line??

2011-07-18 Thread Michael Markert
 Here's the attempt to comment, and the line:


 ** [2011-05-24 Tue 10:23] Sexp for an Org-mode reocurring appointment,
 only on weekdays Published in: Emacs Lisp, [[
 http://www.gnu.org/software/emacs/manual/html_node/emacs/Sexp-Diary-Entries.html][here
 ]]

What do you mean? What have you tried?

 #+BEGIN_EXAMPLE
 :,
 :| * APPT Daily Scrum
 :| %%(let ((dayname (calendar-day-of-week date))(day (car (cdr 
 date(memq dayname '(1 2 3 4 5)))
 :|[2009-07-01 Wed]
 :`
 #+END_EXAMPLE

Anyway: Begin the org-sexp line with a `#' - the usual org comment character.

Michael


pgpHMnGsMIviU.pgp
Description: PGP signature