emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Erik Butz <erik.butz@googlemail.com>
To: suvayu ali <fatkasuvayu+linux@gmail.com>
Cc: Matt Lundin <mdl@imapmail.org>,
	org-mode mailing list <emacs-orgmode@gnu.org>,
	Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Re: Including current time in agenda
Date: Sat, 8 Jan 2011 15:46:49 +0100	[thread overview]
Message-ID: <AANLkTikyAFVKpbbL0ni6Q2o1urZ=9vDSJcNLnMdYZm10@mail.gmail.com> (raw)
In-Reply-To: <AANLkTinT9PKZ+XVd2Dh_Ejy56Hd5ttX5=vwxoPoty3oY@mail.gmail.com>

Hi,

ok, sorry I made a copy-paste error into the mail for the function and
the call. But indeed I wasn't aware that this had become standard.
Indeed after pulling the latest version and removing those statements
everything (including the current time!) is working.

Sorry for the noise.

Thanks,

Erik

On Sat, Jan 8, 2011 at 1:04 AM, suvayu ali <fatkasuvayu+linux@gmail.com> wrote:
> Hi Erik,
>
> On Fri, Jan 7, 2011 at 3:46 PM, Erik Butz <erik.butz@googlemail.com> wrote:
>> I have
>>
>>
>> (defun jd:org-current-time ()
>>  "Return current-time if date is today."
>>  (when (equal date (calendar-current-date))
>>   (format-time-string "%H:%M ◄——————" (current-time))))
>>
>> in the .emacs file and and entry
>>
>> * Current Time
>>  :PROPERTIES:
>>  :CATEGORY: NOW ——————►
>>  :END:
>>
>> %%(org-current-time)
>>
>> in one of my .org files. That's about all I did.
>>
>
> To get the current time, you don't need to do that any more. After
> Carsten's change org shows that by default. Just remove that entry from
> your agenda file and if you have any entries for today, the current time
> shows up as NOW by default. You can even customise the face by
> customising the face `org-agenda-current-time'.
>
> As for your problem with your current setup, I think the problem is you
> call the incorrect sexp. The entry should be,
>
> %%(jd:org-current-time)
>
>> Any clues from this?
>>
>> Thanks,
>>
>> Erik
>
> Hope this helps
>
> --
> Suvayu
>
> Open source is the future. It sets us free.
>

  reply	other threads:[~2011-01-08 14:47 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-06  6:49 Including current time in agenda suvayu ali
2010-12-06 11:47 ` Eric S Fraga
2010-12-06 11:55   ` suvayu ali
2010-12-06 12:08     ` Eric S Fraga
2010-12-06 12:27       ` suvayu ali
2010-12-06 13:00       ` Carsten Dominik
2010-12-06 13:10         ` suvayu ali
2010-12-06 13:38 ` Julien Danjou
2010-12-06 14:03   ` Carsten Dominik
2010-12-06 14:30     ` Suvayu Ali
2010-12-06 14:45       ` Carsten Dominik
2010-12-06 14:53         ` Suvayu Ali
2010-12-06 14:56           ` Carsten Dominik
2010-12-06 14:59       ` Rémi Vanicat
2010-12-06 15:10         ` suvayu ali
2010-12-06 15:13       ` Julien Danjou
2010-12-06 15:28         ` Suvayu Ali
2010-12-06 15:39   ` Matt Lundin
2010-12-12  8:30     ` Carsten Dominik
2010-12-12 17:54       ` Eric S Fraga
2010-12-12 21:31         ` Matt Lundin
2011-01-07 19:31           ` Erik Butz
2011-01-07 23:27             ` suvayu ali
2011-01-07 23:46               ` Erik Butz
2011-01-08  0:04                 ` suvayu ali
2011-01-08 14:46                   ` Erik Butz [this message]
2010-12-12 18:19       ` suvayu ali
2010-12-06 19:27   ` Eric S Fraga
2010-12-06 22:34     ` suvayu ali
2010-12-08 23:46       ` [PATCH] sexp can set its face (was: Including current time in agenda) Łukasz Stelmach
2010-12-12  7:44         ` Carsten Dominik
2010-12-13  0:14         ` suvayu ali

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='AANLkTikyAFVKpbbL0ni6Q2o1urZ=9vDSJcNLnMdYZm10@mail.gmail.com' \
    --to=erik.butz@googlemail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fatkasuvayu+linux@gmail.com \
    --cc=mdl@imapmail.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).