[O] org-hide sometimes wrong

2013-03-15 Thread Julien Cubizolles
Lately, the leading stars have been reappearing, seemingly
randomly. I've checked the org-hide face and its value changes:

It's
Foreground: color-234 when the stars are visible

Foreground: #252A2B when they are correctly hidden.

What could possibly trigger this change. I'm running emacs
with a server/emacsclient setup. Could it be responsible for this
behaviour ?

Julien.




Re: [O] org-hide sometimes wrong

2013-03-15 Thread Julien Cubizolles
Bastien b...@altern.org writes:

 Rick Frankel r...@rickster.com writes:

 On Mar 15, 2013, at 7:13 AM, Julien Cubizolles j.cubizol...@free.fr wrote:

 Lately, the leading stars have been reappearing, seemingly
 randomly. I've checked the org-hide face and its value changes:
 
 I've been noticing the same behavior (and broken indenting) since
 some recent git pull...  Closing and reopening the file fixes it, but
 it seems to be a regression

 Can someone try to bisect?

I recently switched back to the 7.9.4 release (due to some problems with
the new exporter and org-caldav) and still see this behaviour.




Re: [O] org-caldav will cease to work with Google Calendar

2013-03-14 Thread Julien Cubizolles
David Engster d...@randomsample.de writes:

 Google has announced today that they will shut down their CalDAV API in
 September, since hey, everybody's using their own protocol anyway.
 org-caldav will then cease to work with Google calendar. 

That's very disappointing, org-caldav was the best tool I found to have
an efficient interaction between my Phone and org. Mobile-org is great
but unless I'm mistaken it doesn't provide the traditional grid view of
a calendar like the widget one can get for a Google calendar.

Thanks David for org-caldav.

Julien.




Re: [O] org-caldav can't find org-prepare-agenda-buffers

2013-03-12 Thread Julien Cubizolles
Vincent Beffara vbeff...@ens-lyon.fr writes:

 ... sorry for replying to myself like this - here is a patch that seems to 
 work:  

I'm still running into problems even with this patch, but I'm not very
sure where they lie. Basically I get some messages about duplicate
entries, no org-caldav-results buffer pops up and a subsequent run of
org-caldav-sync informs me that the last sync was aborted. 

For now, I'm back with org-7.9.4: sync works without problem from
org-google and google-org. I'll be willing to test any changes updates
to org or org-caldav though.

Julien.



Re: [O] org-caldav can't find org-prepare-agenda-buffers

2013-03-07 Thread Julien Cubizolles
David Engster d...@randomsample.de writes:

 Thanks. I've now pushed a further fix which should hopefully make things
 work with the new exporter. Julien, please let me know if it works.

Sorry, it doesn't. 

I get the following when running org-caldav with the latest org-mode and
org-caldav from git.

--8---cut here---start-8---
byte-code: Wrong type argument: number-or-marker-p, nil
--8---cut here---end---8---

Let me know what additional information you need to debug it, a
backtrace...






Re: [O] org-caldav can't find org-prepare-agenda-buffers

2013-03-06 Thread Julien Cubizolles
Bastien b...@altern.org writes:

 Achim Gratz strom...@nexgo.de writes:

 I hope to put this together in the next week or
 so, then it will be possible to nuke all traces fr4om an old Org and
 then start from a clean slate with a new Org installation.

 Okay, thanks.  Let us know how it goes,

What temporary (as in every user fixing it locally) solution would you
recommend to get org-caldav running in the mean time ?

Julien.




Re: [O] org-caldav can't find org-prepare-agenda-buffers

2013-03-06 Thread Julien Cubizolles
David Engster d...@randomsample.de writes:


 I just pushed a change which should fix this (if the new exporter is
 compatible; 

It doesn't seem to be, I get 

--8---cut here---start-8---
apply: Symbol's function definition is void: org-export-icalendar
--8---cut here---end---8---

when running org-caldav-sync, which is weird since org-export-icalendar
is present in both org-icalendar and ox-icalendar.

 I don't use Org from git).

I'm thinking about reverting to an older Org since org-caldav is more
important to me than the new exporter. Does it work with the latest
stable release (7.9.3f) ?






Re: [O] org-caldav can't find org-prepare-agenda-buffers

2013-03-06 Thread Julien Cubizolles
David Engster d...@randomsample.de writes:

 Julien Cubizolles writes:
 David Engster d...@randomsample.de writes:
 I just pushed a change which should fix this (if the new exporter is
 compatible; 

 It doesn't seem to be, I get 

 apply: Symbol's function definition is void: org-export-icalendar

 when running org-caldav-sync, which is weird since org-export-icalendar
 is present in both org-icalendar and ox-icalendar.

 No, it's not defined in ox-icalendar. I guess it must be generated by
 the new exporter first, probably through some additional require.

I have the following definition in ox-icalendar.el. 

--8---cut here---start-8---
(defgroup org-export-icalendar nil
  Options specific for iCalendar export back-end.
  :tag Org Export iCalendar
  :group 'org-export)
--8---cut here---end---8---





[O] org-caldav can't find org-prepare-agenda-buffers

2013-02-27 Thread Julien Cubizolles
As of today, org-cadav-syn fails with

--8---cut here---start-8---
org-export-icalendar: Symbol's function definition is void: 
org-prepare-agenda-buffers
--8---cut here---end---8---

Actually, I can't find this function but org-agenda-prepare-buffers
exist. Are there two different functions or is there a confusion
somewhere ?




[O] org-caldav problem: void-function url-http-options

2013-02-09 Thread Julien Cubizolles

Since a few days (maybe an emacs update) I get this error message
whenever I run org-caldav-sync. 

--8---cut here---start-8---
Debugger entered--Lisp error: (void-function url-http-options)
  
url-http-options(https://www.google.com/calendar/dav/0fseo5jbfp99polnfc6ic38...@group.calendar.google.com/events/;)
  
url-dav-supported-p(https://www.google.com/calendar/dav/0fseo5jbfp99polnfc6ic38...@group.calendar.google.com/events/;)
  (or (and (boundp (quote url-dav-patched-version)) url-dav-patched-version) 
(url-dav-supported-p (org-caldav-events-url)))
  (if (or (and (boundp (quote url-dav-patched-version)) 
url-dav-patched-version) (url-dav-supported-p (org-caldav-events-url))) nil 
(error You have to either use Emacs from bzr, or the patched `url-dav' package 
from the org-caldav repository.))
  org-caldav-sync()
  call-interactively(org-caldav-sync record nil)
  command-execute(org-caldav-sync record)
  execute-extended-command(nil org-caldav-sync)
  call-interactively(execute-extended-command nil nil)
--8---cut here---end---8---

I've been digging around a bit and url-http-options is defined in
url-http.el which is present on my system
(/usr/share/emacs/24.3.50/lisp/url/url-http.el.gz) so I don't understand
why it isn't found (assuming that void-function message actually means
it can't find the definition of the function).

Everything was working fine with org-caldav before and I was very happy
with it. Thanks a lot to its developper.

Julien.




Re: [O] org-caldav problem: void-function url-http-options

2013-02-09 Thread Julien Cubizolles
David Engster d...@randomsample.de writes:

 Julien Cubizolles writes:
 Since a few days (maybe an emacs update) I get this error message
 whenever I run org-caldav-sync. 

 Debugger entered--Lisp error: (void-function url-http-options)

 I've been digging around a bit and url-http-options is defined in
 url-http.el which is present on my system
 (/usr/share/emacs/24.3.50/lisp/url/url-http.el.gz) so I don't understand
 why it isn't found (assuming that void-function message actually means
 it can't find the definition of the function).

 Does doing a (require 'url-http) before calling org-caldav help?

Yes it does, thanks, I should have thought of it. Why has it become
necessary ?  It seems that url-http-options is called by
url-dav-supported-p, defined in url-dav.el. Shouldn't url-dav.el require
url-http.el ?

Julien.



Re: [O] [ANN] Asynchronous export for new exporter

2012-12-30 Thread Julien Cubizolles
t...@tsdye.com (Thomas S. Dye) writes:


 Asynchronous export is a real help, especially with long documents full
 of babel source blocks.

It would also be useful for org-mobile-push, a very slow process for me
at the moment.




Re: [O] boxquote in plain lists

2012-12-05 Thread Julien Cubizolles
Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 C-c @ on the headline
 so that the whole text is selected

 * C-c - on the headline
 Actually,
 C-c - on the selected text: i.e. the first line ( the headline
     and the whole text below)

 * headline gets converted to a plain list that can't be folded anymore

 the whole text, i.e.  headline+text is converted
 in an item of a list and indented correctly.

Thanks, I'm not used to C-c @. I guess it's boxquote being at fault
here.

Julien.




Re: [O] boxquote in plain lists

2012-12-03 Thread Julien Cubizolles
Giovanni Ridolfi giovanni.rido...@yahoo.it writes:

 Da: Julien Cubizolles j.cubizol...@free.fr

 Inviato: Mercoledì 28 Novembre 2012 23:03

 I very often use boxquoted text in my org files to insert excerpts of
 config files but I have trouble using it in plain lists : the boxquoted
 text won't be folded by TAB, you have to manually indent each line of
 the boxquote for the folding to work.

 Hi, Julien,

 I suggest to you to use headlines: 
 -+---
  boxquoted
 ,
 | The default style looks like this.
 `
 -+
 and if you press TAB the text will be folded.

This one works, thanks

 But if you insist ;-) to use tab... well
 use headlines :-), 
 /then/ convert the headlines in list (selecting the headlines
 and pressing C-c -  and you''ll find a nicely
 indented list
 -
     - boxquoted
   ,
   | The default style looks like this.
   `
 ---
 that can be folded. 

I must some options badly configured

This is what I get with headlines, it can indeed be folded
--8---cut here---start-8---
* boxquoted
,
| test
`
--8---cut here---end---8---

--8---cut here---start-8---
- boxquoted
,
| test
`
--8---cut here---end---8---
with no indentation, can't be folded.

Julien.




Re: [O] boxquote in plain lists

2012-12-03 Thread Julien Cubizolles
Giovanni Ridolfi giovanni.rido...@yahoo.it writes:


 Actually, I think you haven't converted the headline
 like I said. Did you? How?

I think I did :
* created headline with star
* add boxquoted text
* checked that the headline can be folded
* C-c - on the headline
* headline gets converted to a plain list that can't be folded anymore




 ah, please, let us know your:
 - Org version

Org-mode version 7.9.2 (release_7.9.2-632-gd344fd)

 -  Emacs version

GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.6.0) of 2012-11-22 

 - Operating system

Linux, Ubuntu 12.10

Julien.




[O] boxquote in plain lists

2012-11-28 Thread Julien Cubizolles
I very often use boxquoted text in my org files to insert excerpts of
config files but I have trouble using it in plain lists : the boxquoted
text won't be folded by TAB, you have to manually indent each line of
the boxquote for the folding to work.

Julien.




Re: [O] encoding problem

2012-06-02 Thread Julien Cubizolles
Eric S Fraga e.fr...@ucl.ac.uk writes:


 I used to have this problem and it was incredibly annoying.  I also
 started adding the line Bernt suggests but I kept forgetting for new
 files.  I finally solved this problem by adding the following lines to
 my emacs initialisation:

 #+begin_src emacs-lisp
 (prefer-coding-system 'utf-8)
 (set-charset-priority 'unicode)
 (setq default-process-coding-system '(utf-8-unix . utf-8-unix))
 #+end_src

I'll give it a try, thanks for your suggestion. I think my encoding
problems come from the many copy-paste I made from web pages (wikipedia
mostly) to org-files. I didn't think it would mess anything since
wikipedia pages are encoded in utf-8, or so I thought.

Julien.





[O] org-mode and birthdays

2012-05-30 Thread Julien Cubizolles
I'm displaying anniversaries in the org-mode calendar with 

%%(org-bbdb-anniversaries)

How can I get a reminder of upcoming anniversaries a few weeks in
advance ?

Julien




[O] encoding problem

2012-05-30 Thread Julien Cubizolles
I'm having a very strange problem with character encoding. I write all
my text files with emacs, with non-ascii characters (I'm french). I keep
a copy of many files (latex/org/...) on separate machines using
unison. Very often after a synchronization, the non-ascii charaters are
completely displayed wrong (à for à, ç for ç) in the org files, but
never in the latex files.

I guess it's more an Emacs than org files but I can't see what's special
in the org files that makes them more prone to such errors.

Is there a way to *fix* easily these corruptions on a file, ie searching
for all weird characters to replace ?

How could I prevent this from happening again (checking/changing
character encoding maybe ?)

Thanks for your help,

Julien.




[O] org-contacts completion stopped working

2011-10-12 Thread Julien Cubizolles

As of a few days ago, completion doesn't work anymore. I get the message
(wrong-number-of-arguments (1 . 2) 4)

Any ideas ?

Julien.

,
| Debugger entered--Lisp error: (wrong-number-of-arguments (1 . 2) 4)
|   completion-table-case-fold((#(Cubizolles Julien j.cubizol...@free.fr 0 
17 (org-category contacts fontified nil))) cubizolles nil metadata)
|   apply(completion-table-case-fold (#(Cubizolles Julien 
j.cubizol...@free.fr 0 17 (org-category contacts fontified nil))) 
(cubizolles nil metadata))
|   (closure (t) (rest args) (apply (quote completion-table-case-fold) (quote 
(#(Cubizolles Julien j.cubizol...@free.fr 0 17 (org-category contacts 
fontified nil args))(cubizolles nil metadata)
|   completion-metadata(cubizolles (closure (t) (rest args) (apply (quote 
completion-table-case-fold) (quote (#(Cubizolles Julien 
j.cubizol...@free.fr 0 17 (org-category contacts fontified nil args)) 
nil)
|   completion--field-metadata(5)
|   completion--do-completion()
|   minibuffer-complete()
|   call-interactively(minibuffer-complete)
|   #[1028 
\304\305\211\306%\305\262\305\262\307\310\311#\210\n\203,\312\313!\210pF\314\315\316\317\320\321!\322\\323\324%DC\216\325\326!+\207
 [minibuffer-completion-predicate minibuffer-completion-table 
completion-in-region-mode-predicate completion-in-region--data make-overlay nil 
t overlay-put field completion completion-in-region-mode 1 funcall 
make-byte-code 0 \301\300!\207 vconcat vector [delete-overlay] 2 \n\n(fn) 
call-interactively minibuffer-complete] 14 \n\n(fn START END COLLECTION 
PREDICATE)](5 15 (closure (t) (rest args) (apply (quote 
completion-table-case-fold) (quote (#(Cubizolles Julien 
j.cubizol...@free.fr 0 17 (org-category contacts fontified nil args)) 
nil)
|   apply(#[1028 
\304\305\211\306%\305\262\305\262\307\310\311#\210\n\203,\312\313!\210pF\314\315\316\317\320\321!\322\\323\324%DC\216\325\326!+\207
 [minibuffer-completion-predicate minibuffer-completion-table 
completion-in-region-mode-predicate completion-in-region--data make-overlay nil 
t overlay-put field completion completion-in-region-mode 1 funcall 
make-byte-code 0 \301\300!\207 vconcat vector [delete-overlay] 2 \n\n(fn) 
call-interactively minibuffer-complete] 14 \n\n(fn START END COLLECTION 
PREDICATE)] (5 15 (closure (t) (rest args) (apply (quote 
completion-table-case-fold) (quote (#(Cubizolles Julien 
j.cubizol...@free.fr 0 17 (org-category contacts fontified nil args)) 
nil))
|   #[771 
:\2030@\301=\203\300@\302A\\303#\207\304@\305\306\307\310\311\312\300!\313\\314\315%A##\207\304\316\\207
 [(#0) t append nil apply apply-partially make-byte-code 642 \300@#\207 
vconcat vector [] 7 \n\n(fn FUNS GLOBAL rest ARGS) #[1028 
\304\305\211\306%\305\262\305\262\307\310\311#\210\n\203,\312\313!\210pF\314\315\316\317\320\321!\322\\323\324%DC\216\325\326!+\207
 [minibuffer-completion-predicate minibuffer-completion-table 
completion-in-region-mode-predicate completion-in-region--data make-overlay nil 
t overlay-put field completion completion-in-region-mode 1 funcall 
make-byte-code 0 \301\300!\207 vconcat vector [delete-overlay] 2 \n\n(fn) 
call-interactively minibuffer-complete] 14 \n\n(fn START END COLLECTION 
PREDICATE)]] 12 \n\n(fn FUNS GLOBAL ARGS)](nil nil (5 15 (closure (t) (rest 
args) (apply (quote completion-table-case-fold) (quote (#(Cubizolles Julien 
j.cubizol...@free.fr 0 17 (org-category contacts fontified nil args)) 
nil))
|   completion-in-region(5 15 (closure (t) (rest args) (apply (quote 
completion-table-case-fold) (quote (#(Cubizolles Julien 
j.cubizol...@free.fr 0 17 (org-category contacts fontified nil args)) 
nil)
|   completion-at-point()
|   message-tab()
|   call-interactively(message-tab nil nil)
`




Re: [O] Can't link to info nodes

2011-09-19 Thread Julien Cubizolles
Carsten Dominik carsten.domi...@gmail.com writes:
 Take a look at the variable org-modules.  Does it contain the symbol org-info?
No it didn't. It's working now, thank you. Maybe there should be a
mention of this dependency in the org manual ?

Julien.



Re: [O] Can't link to info nodes

2011-09-19 Thread Julien Cubizolles
Carsten Dominik carsten.domi...@gmail.com writes:

 I don't think this is needed, as this is in the default value for this
 variable.  So some way or another you have first *removed* this from
 the variable.  Maybe by setting it with `setq' in .emacs?

You're right again, the module must have been added after I configured
this variable it in my .emacs.

Julien.



[O] Can't link to info nodes

2011-09-18 Thread Julien Cubizolles

I cannot link to info nodes.

* If I type a link like :

info:org.info#External%20links, I get No match- Create this as a new
heading

* If I do C-c l while visiting a info buffer, I get
Cannot link to a buffer that is not visiting a file

What am I doing wrong ?

Julien.




Re: [O] Bulk cut in agenda view

2011-07-19 Thread Julien Cubizolles
Bernt Hansen be...@norang.ca writes:

 Hi Julien,

 Could you describe your use-case for this bulk cut function?

 Is this bulk cut function destructive (ie. it deletes content from your
 org files permanently) 

Yes, it is destructive. I use it for todo items like buying groceries
for which there is no need to archive.



Re: [O] Bulk cut in agenda view

2011-07-14 Thread Julien Cubizolles
Bastien b...@altern.org writes:

 Hi Bastien

 I've applied the patch I proposed.  Please report any problem 
 about it.

You beat me to it, I hadn't gotten the chance to give it a try. I just
did and it just works. Thanks.

Julien.



[O] Bulk cut in agenda view

2011-07-10 Thread Julien Cubizolles

I often need to purge DONE items from my org files. I have set up a
special agenda view for checking those items and cutting some subtrees
from it using bulk commands. I'm using a function adapted from the
example in the manual (I've no idea if it's the best way to do it
however) : 

,
| (defun bulk-cut ()
|   (interactive P)
|   (let* ((marker (or (org-get-at-bol 'org-hd-marker)
|(org-agenda-error)))
|(buffer (marker-buffer marker)))
| (with-current-buffer buffer
|   (save-excursion
|   (save-restriction
| (widen)
| (goto-char marker)
| (org-back-to-heading t)
| (org-cut-subtree))
`

Typing B f bulk-cut RET removes the selected items but it's a lot of
typing for a very useful action in my opinion.

Could it be added to the list of default bulk actions, with a X key
for example ?




Re: [Orgmode] Relative dates with sexep

2010-09-19 Thread julien cubizolles
Le samedi 18 septembre 2010 à 20:03 +0100, Eric S Fraga a écrit :

  (defun diary-relative (n day)
Diary entry that will always appear N days from day
(=
 (calendar-absolute-from-gregorian date)
 (+ n (calendar-absolute-from-gregorian day
  
  I try to use it with a sexp like :
  %%(diary-relative (7 '(09 15 2010)))
  
  which doesn't work. I really need to seriously read about lisp
  programming...
 
 Possibly! ;-)
 
 Try %%(diary-relative 7 '(09 15 2010))
 as the arguments to a function should not be in ()s.

Thanks, it works.

Julien.


___
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] Re: C-a T DONE behavior

2010-09-18 Thread julien cubizolles
Le vendredi 17 septembre 2010 à 16:32 -0400, Matt Lundin a écrit :
 julien cubizolles j.cubizol...@free.fr writes:
 
  I've noticed that C-a T DONE doesn't display DONE entries if they have a
  DEADLINE set, whether it's in the past or in the future. Is it the
  intended behavior ? I'm trying to use it to purge DONE tasks but it's
  useless at the moment.
 
 On your machine, what is the value of org-agenda-todo-ignore-deadlines
 and/or org-agenda-todo-ignore-with-date?

That's it, org-agenda-todo-ignore-with-date was true. Thanks for
pointing it out.

Julien.


___
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


Re: [Orgmode] Relative dates with sexep

2010-09-17 Thread julien cubizolles
Le vendredi 17 septembre 2010 à 09:01 +0100, Eric S Fraga a écrit :
  get the date one week after the 2nd of february 2010. Bad sexp...
 
 Quote the date: ... '(02 02 2010)
 as it is trying to evaluate the function 02 otherwise.

Thanks, it works.

Julien.


___
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


Re: [Orgmode] Relative dates with sexep

2010-09-17 Thread julien cubizolles
Le vendredi 17 septembre 2010 à 09:01 +0100, Eric S Fraga a écrit :
 On Thu, 16 Sep 2010 18:27:18 +0200, julien cubizolles j.cubizol...@free.fr 
 wrote:
  
  I'm trying to specify a date relative to another date in an org file.
  I've tried to adapt one of the examples from worg, with :
  
   %%(= 7 (- (calendar-absolute-from-gregorian date)
  (calendar-absolute-from-gregorian (02 02 2010
  
  to get the date one week after the 2nd of february 2010. Bad sexp...
 
 Quote the date: ... '(02 02 2010)
 as it is trying to evaluate the function 02 otherwise.

I'm trying to make it reusable by defining a function in my .emacs :

(defun diary-relative (n day)
  Diary entry that will always appear N days from day
  (=
   (calendar-absolute-from-gregorian date)
   (+ n (calendar-absolute-from-gregorian day

I try to use it with a sexp like :
%%(diary-relative (7 '(09 15 2010)))

which doesn't work. I really need to seriously read about lisp
programming...



___
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] C-a T DONE behavior

2010-09-17 Thread julien cubizolles
I've noticed that C-a T DONE doesn't display DONE entries if they have a
DEADLINE set, whether it's in the past or in the future. Is it the
intended behavior ? I'm trying to use it to purge DONE tasks but it's
useless at the moment.

Julien.


___
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] Relative dates with sexep

2010-09-16 Thread julien cubizolles
I'm trying to specify a date relative to another date in an org file.
I've tried to adapt one of the examples from worg, with :

 %%(= 7 (- (calendar-absolute-from-gregorian date)
(calendar-absolute-from-gregorian (02 02 2010

to get the date one week after the 2nd of february 2010. Bad sexp...

What should I use ?

Julien.





___
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] Re: Agenda view and timestamps

2010-08-30 Thread julien cubizolles
Le lundi 23 août 2010 à 22:30 -0400, Matt Lundin a écrit :
 Hi Julien,

 Another solution is to use the variable org-agenda-entry-types. This is
 slightly more efficient, since it searches solely for timestamps when
 creating the agenda, rather than considering all agenda types and then
 filtering out everything that is not a timestamp.
 
 --8---cut here---start-8---
 (setq org-agenda-custom-commands
'((d With timestamps agenda List of tasks with a timestamp
 ((org-agenda-entry-types '(:timestamp))
 --8---cut here---end---8---

It works, thanks a lot. I don't know how I missed org-agenda-entry-types
while reading the doc.

Julien.



___
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] Agenda view and timestamps

2010-08-16 Thread julien cubizolles
Is there a way to make the agenda view display only the entries with a
timestamp ? I would need that for a block agenda.

Julien.


___
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] agenda view tags filtering

2010-08-16 Thread julien cubizolles
I'd like to filter the items displayed in agenda view, leaving only
those with a given tag. Is that possible ?

Julien.


___
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


Re: [Orgmode] Agenda view and timestamps

2010-08-16 Thread julien cubizolles
Le lundi 16 août 2010 à 20:23 +0200, Bastien a écrit :
 Hi Julien,
 
 julien cubizolles j.cubizol...@free.fr writes:
 
  Is there a way to make the agenda view display only the entries with a
  timestamp ? I would need that for a block agenda.
 
 ,
 | (setq org-agenda-custom-commands
 |   '((d With timestamps agenda List of tasks with a timestamp
 |  ((org-agenda-skip-function
 |(lambda ()
 |  (let* ((ts (org-entry-get nil TIMESTAMP)))
 |(if (or (not ts) (equal ts ))
 |(progn (outline-next-heading) (point))
 `
 
 Not tested but it should work.

Just tested, and it works perfectly. Thanks a lot, I would never have
come up with such an elaborate solution : my only experience of lisp
programming is parenthesis matching while adapting other
people's .emacs.

Julien.



___
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


Re: [Orgmode] agenda view tags filtering

2010-08-16 Thread julien cubizolles
Le lundi 16 août 2010 à 22:18 +0200, Bastien a écrit :

 I quickly checked the structure -- the `org-agenda-filter-preset
 variable should be inside another pair of parentheses.
 
 ,
 | (setq org-agenda-custom-commands
 |   (quote ((t TEST
 |((agenda 
 | ((org-agenda-skip-function
 |  (lambda ()
 |(let* ((ts (org-entry-get nil TIMESTAMP)))
 |  (if (or (not ts) (equal ts ))
 |  (progn (outline-next-heading) (point
 | (tags-todo classe)
 | (tags-todo labo)
 | (tags-todo @lycée-classe-labo)
 | )
 |((org-agenda-filter-preset quote (+lycée)))
 |
 `
 
 (Not tested.)

It works thanks, I also add to replace quote by a '. The final
working version is then :

,
| 
| (setq org-agenda-custom-commands
|(quote ((t TEST
|   ((agenda 
|((org-agenda-skip-function
| (lambda ()
|   (let* ((ts (org-entry-get nil TIMESTAMP)))
| (if (or (not ts) (equal ts ))
| (progn (outline-next-heading) (point
|(tags-todo classe)
|(tags-todo labo)
|(tags-todo @lycée-classe-labo)
|)
|   ((org-agenda-filter-preset '(+lycée)))
|   
`



___
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] Re: Capture and clock options

2010-08-14 Thread julien cubizolles
Le vendredi 13 août 2010 à 07:47 -0400, Bernt Hansen a écrit :

 This fixes it for me.  Thanks Bastien!
 
 -Bernt

And for me too, thanks a lot for this quick fix.

Julien.


___
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] Capture and checkitem

2010-08-12 Thread julien cubizolles
I'm also confused about the checkitem type of template.

The following template :

(T test checkitem (file+headline ~/org/orgfiles/test.org Test)
%?)

doesn't work as I expected : the capture buffer is not narrowed and no
item is created...

However, the item template type works as a checkitem should if one adds
a [ ] in the text : 

(T test item (file+headline ~/org/orgfiles/test.org Test)
   [ ] %?)

What is the checkitem type supposed to do ?

Julien.


___
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] Capture and clock options

2010-08-12 Thread julien cubizolles
I'm in the process of converting my old remember templates but I can't
figure how to use the clock parameters.

I'm using the following template :

(T test entry (file+headline ~/org/orgfiles/test.org Test)
  * %? :clock-in t :clock-resume t)
 
There is no clock information in the modeline of the capture buffer,
no :CLOCK: property appears when the note is captured, and the former
clock is not resumed. However the task appears in the list provided by
What am I doing wrong ?

Also I noticed in Bernt Hansen examples (which I shamelessly copied, as
I had with the former remember templates) that he adds
:CLOCK:
:END:

to his todo template but not to his notes templates, while both are
clocked-in and clock-resumed. What is the difference between the two
setups ?

Julien.


___
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


Re: [Orgmode] MobileOrg for Android starts to become really usable

2010-05-28 Thread julien cubizolles
Le vendredi 28 mai 2010 à 11:05 -0700, Enrico Indiogine a écrit :
 Greetings!

 
 Anyway, I would like to install MobileOrg for Android.  I know how to
 install apps from the Android Market using the phone directly.  I do
 not know how to install apps using Github.  I have looked for
 instructions but have not been able to find them.

You first need to install, from the market, apkInstaller.
You then download a .apk file from
http://wiki.github.com/matburt/mobileorg-android/ and copy it on the
phone, and choose it from apkInstaller.

Julien.


___
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


Re: [Orgmode] MobileOrg for Android starts to become really usable

2010-05-28 Thread julien cubizolles
Le vendredi 28 mai 2010 à 11:05 +0200, Sven Bretfeld a écrit :
 Hi to all, hi Matthew
 
 I can say that Note capturing works on my HTC
 Magic,
Working also on my LG GW620, however the SAVE Button gets hidden by the 
on-screen keyboard.
I think I've seen other android apps keeping some buttons visible
whether the keyboard is or isn't displayed.

 I just wanted to say thank you very much!
So do I, this project is progressing nicely !

Julien.


___
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


Re: [Orgmode] MobileOrg Android 0.1_alpha

2010-05-24 Thread julien cubizolles
Le mardi 02 mars 2010 à 12:10 +0100, Sven Bretfeld a écrit :

 Oh my god. That's really silly. Just installed USB Debugging. That led
 me to the solution: Ähem ... The URL field has to point to the index.org
 file, not to the directory. That was a misunderstanding. Now it's
 working.

I'm also trying to setup a webdav account, using a demo account but
can't get it to sync.

Here is my setup :

URL : 
http://mydisk.se/demo/index.org

Login:
demo

Password:
demo

The index.org file exists and links to a file named mobileorg.org.

I don't get any error messages when I hit Sync but the mobileorg.org
file doesn't appear. What am I doing wrong ?

 I will try to use MobileOrg and send you feedback.
How is it working for you so far ?

Julien, eager to use org-mode on his phone.


___
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


Re: [Orgmode] MobileOrg Android 0.1_alpha

2010-05-24 Thread julien cubizolles
Le lundi 24 mai 2010 à 09:52 -0400, Matthew Jones a écrit :
 You should know that 'mobileorg.org' is the filename used by MobileOrg
 when capturing new notes
 (see: 
 http://orgmode.org/manual/Pulling-from-MobileOrg.html#Pulling-from-MobileOrg) 
 can you name the file something else and see if that works for you?

You were right. I renamed it to essai.org and it's working now.

Also, I noticed a recent fork in your project at github. Are we going to
end up with 2 mobileorg applications for android :-) ?

Anyway, thanks for your help and for provinding android users with this
much needed application.

Julien.



___
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] plainlists in remember templates

2010-02-03 Thread julien cubizolles
I'm trying to use remember-templates to create plainlists.

(setq org-remember-templates
  '((CD ?d + [ ] %?  :achat:@enville:\n
~/org/orgfiles/loisirs.org CDs [ / ])
)
)

doesn't work : it creates a starred entry, with a timestamp...

Is it doable ?



___
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


<    1   2   3