Re: [O] Sync Org with Google Calendar using google API (rather than caldav)

2013-04-02 Thread Baptiste Fouques
Adam Spiers orgmode at adamspiers.org writes:

 Sounds interesting.  It would be very helpful if you could explain how it is
 different from the other synchronization possibilities out there, e.g.

 http://orgmode.org/worg/org-tutorials/org-google-sync.html
 https://code.google.com/p/emacs-google/
 https://github.com/travisbhartwell/Emacs-Google-Calendar-Sync
 http://www.emacswiki.org/emacs/GoogleClient

two  main things  make  my sync  different  (also  this does  not  make it  more
interesting ;)
- it does not rely on external command
- it does not rely on ics

I always found that relying on  external commands makes thing more complex : you
have to  configure that command, in  its configuration file or  through scripted
call by passing right arguments, and then you have to integrate it in your Emacs
workflow.

Using command in Emacs, configured  through convenient customization group is so
natural …

Then, my sync. uses Google json API (and authentification using oauth, stored in
crypted file, for no secret in your  config file or anywhere else). This make it
by far less  portable. But, with Google dropping standards,  or juts maintaining
it at  there minimal  level, it makes  it more  close to what  you can  get from
Google calendar and events.

Also using  elisp Json library is  so easy and  robust in regard to  parsing ics
files that it sounds very natural to use it.

I don't  mean it is  better than caldav  sync tools, but  that I could  not find
myself satisfied  with those  tools, worried  about Google  call to  drop caldav
compatibility,  that  I  feel  I  need   something  more  close  to  Google  API
possibilities. Then I  started it, and just  offer to share (that  how it works,
right ? ;)

Thanks for the work of the community,

Bat.





[O] flet fixed in emacs trunk (Was: Is Org mode gonna break on emacs 24.50.1x ?)

2012-06-28 Thread Baptiste Fouques
Hi all,

thanks for your answers,
I do confirm  that 'flet' is now working in  emacs following emacs patch
http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00515.html

Org mode is working like a charm with in emacs, trunk version.

-- 
~^v^~ Bat

Baptiste Fouques bate...@bat.fr.eu.org writes:

 Hi,

 thanks all for org.

 I  wonder  whether org-mode  is  going  to  break  badly on  next  emacs
 cleanup.

 ---
 commit 1e211d886c96420904ad197cfee7fce7ae7b9d83 (HEAD, refs/heads/master)
 Author: Stefan Monnier monn...@iro.umontreal.ca
 Date:   Fri Jun 22 09:42:38 2012 -0400

 …
 * lisp/emacs-lisp/cl.el (flet): Don't autoload.
 …
 ---

 Makes  my  org not  working  in  several  places (babel,  coupling  with
 remenber,  …).  I  think  that the  point in  using  'flet' has  appears
 several times in this group. It seems to become more crucial here.

 Don't think that the problem of emacs, but org …

 Thanks.



[O] Is Org mode gonna break on emacs 24.50.1x ?

2012-06-25 Thread Baptiste Fouques
Hi,

thanks all for org.

I  wonder  whether org-mode  is  going  to  break  badly on  next  emacs
cleanup.

---
commit 1e211d886c96420904ad197cfee7fce7ae7b9d83 (HEAD, refs/heads/master)
Author: Stefan Monnier monn...@iro.umontreal.ca
Date:   Fri Jun 22 09:42:38 2012 -0400

…
* lisp/emacs-lisp/cl.el (flet): Don't autoload.
…
---

Makes  my  org not  working  in  several  places (babel,  coupling  with
remenber,  …).  I  think  that the  point in  using  'flet' has  appears
several times in this group. It seems to become more crucial here.

Don't think that the problem of emacs, but org …

Thanks.

-- 
~^v^~ Bat



Re: [Orgmode] Latex export format control - emphasis and radio link

2009-12-24 Thread Baptiste Fouques
Hi,

thank you for having answered quickly my questions

On Thu, Dec 24, 2009 at 9:31 AM, Carsten Dominik
carsten.domi...@gmail.com wrote:
 first of all, why don't you just use not-a-lint instead of not_a_link?
 Using underscore sort-of asks for problems in this context.

Guess that I am not really looking for problems (I am not this type of
guy ;) ), but where I work, symbol names are defined with underscores
as word separators, and I need a tool that handle it ... And I prefer
facing the the problems when they come (well,  first trying to find
the correct way,  before asking for help).


 Also, why do you want the links to be in typewriter font?
still, it is about symbol names ... so the typewriter font, Then they
are defined once, then any reference should link to the definition ...

  This is unusual.
  Maybe instead of modifying org-emph-alist, you'd want to add to it and
 create a new emphasis with is texttt but not verbatim?
It do work, thanks for the advice. Also now I have to handle to prefix
for word that are radio-linked and those who are not ...

 other_radio_link

 it is indeed a bug that this is not exported with escaped underscores.
 I have fixed this issue.

Thank you. Got it and confirm that it works.

Have a good Christmas

--- Bat


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Latex export format control - emphasis and radio link

2009-12-23 Thread Baptiste Fouques
Hi,

I am using Org for a while, and I actually do like it a lot. I'd like
to extend my usage a bit, but I have some difficulties with export
format.
Basically, my point is about expanding/escaping control sequences in
latex output.

My sample org file is :

#+TITLE: Org Test
#+AUTHOR:Baptiste Fouques
#+EMAIL: b...@m4tp.org
#+DESCRIPTION: org mode link test
#+OPTIONS:   ^:nil

* org-export-latex-emphasis-alist difficutlies

# link_radio

 =link_radio=

 =not_a_link=

* Radio Link format

other_radio_link


EOF-

What I would expect as a Latex export would be :

\section{org-export-latex-emphasis-alist difficutlies}
\label{sec-1}

\label{link_radio}
 \texttt{\hyperref[link_radio]{link\_radio}}
 \texttt{not\_a\_link}

\section{Radio Link format}
\label{sec-2}
\label{other_radio_link}other\_radio\_link

EOF 

But, I naturally get
...
 \texttt{[[link\_radio][link\_radio]]} {1}
...
\label{other_radio_link}other_radio_link {2}

which does not work at all as {1} is just a no-sense for LaTeX, and
{2} has not escaped the _ in plain text output (also the org header
has #+OPTIONS: ^:nil ).

I can manage to get {1} quite correct, manipulating
org-export-latex-emphasis-alist : ( ... (= \\texttt{%s} nil) ... )
...
 \texttt{\hyperref[link_radio]{link\_radio}}
...
but then, =not_a_link= became naturally broken ( _ are no more escaped ... )
And I found no such parameter that can be used to manipulate radio
link export format (to get oher_radio_link beeing exported as
\label{other_radio_link}other\_radio\_link .


If you could help me on this issue, I will be able to use Org mode
more widely in my everyday work (and propose it to my co-worker).

Thanks a lot,

---Bat


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode