emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fabrice Popineau <fabrice.popineau@supelec.fr>
To: Eric Abrahamsen <eric@ericabrahamsen.net>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Quick question
Date: Sun, 31 May 2015 18:02:27 +0200	[thread overview]
Message-ID: <CAFgFV9N-vrQAnhXOtQkxUX1uz0DYQAXMPp-TWoVJiRVFfbA=jw@mail.gmail.com> (raw)
In-Reply-To: <87eglwn5pl.fsf@ericabrahamsen.net>

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

Oh ... thanks: `org-id-find' is perfect!

I'm playing with
https://github.com/bateast/google-calendar
which allows to fetch your google calendars in quite a robust way (or so it
seems).
The next step for me is to allow to sync google calendar entries even after
they have been refiled
(hence the need to find them by their id)
I'm not that skillful with the internals of org-mode and a bit lost in all
the functions.
Maybe someone will beat me in pushing this google-calendar thing further ;-)

Fabrice

2015-05-31 17:10 GMT+02:00 Eric Abrahamsen <eric@ericabrahamsen.net>:

> Fabrice Popineau <fabrice.popineau@gmail.com> writes:
>
> > Hi,
> >
> > I'm doing a little bit of elisp and I was wondering
> > what is the easiest way to find an element (say a header)
> > with a given id among the list of all agenda files?
> > I know I can use org-element-map, but is there
> > a faster or easier way ?
> >
> > Thanks,
> >
> > Fabrice
>
> Do you mean searching for an actual header ID property? That's provided
> for with `org-id-find' and `org-id-goto'. Or did you mean some other
> kind of id?
>
> Eric
>
>
>


-- 
Fabrice Popineau
-----------------------------
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
------------------------------

[-- Attachment #2: Type: text/html, Size: 2246 bytes --]

      reply	other threads:[~2015-05-31 16:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-05-31 12:32 Quick question Fabrice Popineau
2015-05-31 15:10 ` Eric Abrahamsen
2015-05-31 16:02   ` Fabrice Popineau [this message]

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='CAFgFV9N-vrQAnhXOtQkxUX1uz0DYQAXMPp-TWoVJiRVFfbA=jw@mail.gmail.com' \
    --to=fabrice.popineau@supelec.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=eric@ericabrahamsen.net \
    --cc=fabrice.popineau@centralesupelec.fr \
    /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).