emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Simon Thum <simon.thum@gmx.de>
To: Bastien <bzg@gnu.org>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Sexp aganda entries broken?
Date: Sat, 10 Nov 2012 02:07:14 +0100	[thread overview]
Message-ID: <509DA8C2.9000502@gmx.de> (raw)
In-Reply-To: <50998D60.300@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 718 bytes --]

Sorry, I was being dumb. All fine.

To prevent further breakage, I am attaching a doc fix. I hope it is useable?

Cheers,

Simon

On 11/06/2012 11:21 PM, Simon Thum wrote:
> Dear all,
>
> I have a sexp entry that somehow works "less good" now. It's
>
> ** 11:00 Monthly PTB Telco
> %%(org-float t 2 3)
> (some more stuff)
>
> The agenda reads "SEXP entry returned empty string", whereas previously
> I got the headline.
>
> Putting something behind the sexp get me that, but the time is not
> recovered.
>
> I think this matches the example in the manual quite closely, so
> probably it's a bug. Any ideas? I'm on the current git but I don't
> update too regularly and it was broken before.
>
> Cheers,
>
> Simon
>
>


[-- Attachment #2: 0001-document-another-sexp-timestamp-syntax.patch --]
[-- Type: text/x-patch, Size: 869 bytes --]

From 247c3fdde300be13d20e591ca5f217ad0385de49 Mon Sep 17 00:00:00 2001
From: Simon Thum <simon.thum@gmx.de>
Date: Sun, 26 Aug 2012 19:37:44 +0200
Subject: [PATCH] document another sexp timestamp syntax

TINYCHANGE
---
 doc/org.texi |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index bf67876..30c1ce4 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -5571,6 +5571,15 @@ example with optional time
   <%%(org-float t 4 2)>
 @end example
 
+A similar syntax that is different in terms of agenda results is
+
+@example
+* Wife
+%%(org-anniversary 2001 05 07) Wedding day (%d Years)
+@end example
+
+Here, ``Wedding day (n Years)'' will show up in the agenda (if the headline matches). It is important that there is no leading space.
+
 @item Time/Date range
 @cindex timerange
 @cindex date range
-- 
1.7.8.6


  reply	other threads:[~2012-11-10  0:07 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-06 22:21 Sexp aganda entries broken? Simon Thum
2012-11-10  1:07 ` Simon Thum [this message]
2012-11-10 10:31   ` Nicolas Goaziou
2012-11-10 17:09     ` Simon Thum
2012-11-10 16:24       ` Nicolas Goaziou
2012-11-11  0:49         ` Simon Thum
2012-11-12 20:31           ` Nicolas Goaziou
2012-11-13 21:14             ` Simon Thum
2012-11-13 20:20               ` Nicolas Goaziou

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=509DA8C2.9000502@gmx.de \
    --to=simon.thum@gmx.de \
    --cc=bzg@gnu.org \
    --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).