emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Michael Brand <michael.ch.brand@gmail.com>
To: sergio <mailbox@sergio.spb.ru>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-float with hours
Date: Sat, 14 Jan 2012 09:05:36 +0100	[thread overview]
Message-ID: <CALn3zoiqbfoxkfsTksX8O4R25yPOeq4izu3hWDFtjogLvXd-jg@mail.gmail.com> (raw)
In-Reply-To: <4F10F449.6050006@sergio.spb.ru>

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

Hi sergio

On Sat, Jan 14, 2012 at 04:19, sergio <mailbox@sergio.spb.ru> wrote:
> Is it possible to specify "every second Friday of each month at 15:43" date?

Yes:

#+begin_src org
  , * 15:43 appointment
  ,   <%%(org-float t 5 2)>
#+end_src

The doc is missing that so I attached a patch.

There are other variants, some work, some don't, see
http://thread.gmane.org/gmane.emacs.orgmode/40584

Michael

[-- Attachment #2: 0001-doc-timestamp-for-diary-style-sexp-entries.patch.txt --]
[-- Type: text/plain, Size: 1090 bytes --]

From 95a93ac333b1a2a4cfa4e612a22e3b400398cc83 Mon Sep 17 00:00:00 2001
From: Michael Brand <michael.ch.brand@gmail.com>
Date: Sat, 14 Jan 2012 09:03:01 +0100
Subject: [PATCH] doc timestamp for diary-style sexp entries

---
 doc/org.texi |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 063f339..6dad96a 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -5414,10 +5414,11 @@ @section Timestamps, deadlines, and scheduling
 can resort to special versions of these functions like @code{org-date} or
 @code{org-anniversary}.  These work just like the corresponding @code{diary-}
 functions, but with stable ISO order of arguments (year, month, day) wherever
-applicable, independent of the value of @code{calendar-date-style}.}.  For example
+applicable, independent of the value of @code{calendar-date-style}.}.  For
+example with optional time
 
 @example
-* The nerd meeting on every 2nd Thursday of the month
+* 22:00-23:00 The nerd meeting on every 2nd Thursday of the month
   <%%(org-float t 4 2)>
 @end example
 
-- 
1.7.4.2


  reply	other threads:[~2012-01-14  8:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-14  3:19 org-float with hours sergio
2012-01-14  8:05 ` Michael Brand [this message]
2012-01-14  9:59   ` sergio
2012-01-15  9:31   ` Bastien
2012-01-14  8:33 ` Sebastien Vauban

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=CALn3zoiqbfoxkfsTksX8O4R25yPOeq4izu3hWDFtjogLvXd-jg@mail.gmail.com \
    --to=michael.ch.brand@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mailbox@sergio.spb.ru \
    /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).