[O] Re: [Bug] [Version 7.5] org-capture : the clock doesn't resume on the original clocking task

2011-04-04 Thread Frederic Couchet
> "Bernt" == Bernt Hansen  writes:

Bernt> Hi Frederic,

Bernt> So does this mean it's fixed in origin/master but broken in
Bernt> release_7.5?  Is your original task in the same file as the
Bernt> target of your capture?

Yes, it is.

Bernt> There were a few fixes to the codebase for clocking after the
Bernt> 7.5 release.

Ok.

That works with the git version, that is the main thing.

Here is the diff between the 7.5 version and git version.

--- org-7.5/lisp/org-capture.el 2011-03-07 15:29:01.0 +0100
+++ org-7.5-git/lisp/org-capture.el 2011-03-30 16:46:41.0 +0200
@@ -54,7 +54,7 @@
 (require 'org-mks)
 
 (declare-function org-datetree-find-date-create "org-datetree"
- (DATE &optional KEEP-RESTRICTION))
+ (date &optional keep-restriction))
 (declare-function org-table-get-specials "org-table" ())
 (declare-function org-table-goto-line "org-table" (N))
 (defvar org-remember-default-headline)
@@ -460,7 +460,7 @@
(org-capture-get :key)
(nth 1 error
  (if (org-capture-get :immediate-finish)
- (org-capture-finalize nil (not (org-capture-get :clock-keep)))
+ (org-capture-finalize nil (org-capture-get :clock-keep))
(if (and (org-mode-p)
 (org-capture-get :clock-in))
(condition-case nil
@@ -491,12 +491,12 @@
  (t (setq txt "* Invalid capture template")))
 (org-capture-put :template txt)))
 
-(defun org-capture-finalize (&optional stay-with-capture clock-out)
+(defun org-capture-finalize (&optional stay-with-capture clock-keep)
   "Finalize the capture process.
 With prefix argument STAY-WITH-CAPTURE, jump to the location of the
 captured item after finalizing.
 A second optional argument tells whether finalizing the capture
-process should clock-out the captured entry."
+process should keep the clock running in the filed entry."
   (interactive "P")
   (unless (and org-capture-mode
   (buffer-base-buffer (current-buffer)))
@@ -509,8 +509,8 @@
 (> org-clock-marker (point-min))
 (< org-clock-marker (point-max)))
 ;; Looks like the clock we started is still running.  Clock out.
-(when clock-out (let (org-log-note-clock-out) (org-clock-out)))
-(when (and clock-out
+(when (not clock-keep) (let (org-log-note-clock-out) (org-clock-out)))
+(when (and (not clock-keep)
   (org-capture-get :clock-resume 'local)
   (markerp (org-capture-get :interrupted-clock 'local))
   (buffer-live-p (marker-buffer

Librement,
Fred.




[O] [Bug] [Version 7.5] org-capture : the clock doesn't resume on the original clocking task

2011-04-02 Thread Frederic Couchet
Hello,

I use ":clock-in t" and ":clock-resume t" in some org-capture templates.

Under org-mode 7.5, after the captured task is filed with C-c C-c the
clock doesn't resume on the original clocking task.

If I use the git version of org-capture, the clock resumes on the
original clocking task.

Here is the template :

(custom-set-variables
 '(org-capture-templates (quote (("t" "Todo" entry (file+headline 
"timesheet.org" "Next Actions") "* TODO %^{Brief Description} :REFILE: 
 %^{Effort}p %? Added: %U" :clock-in t :clock-resume t)))
...


Fred.




[O] Next OrgCamp in Paris (April 9th)

2011-04-02 Thread Frederic Couchet

Hello, second OrgCamp in Paris next week.

Some parisian Orgers are gathering for a new OrgCamp in Paris 

* Where: FPH, 38 rue Saint Sabin, 75011 Paris

* When: April 9th 2011 10am-8pm

* Participants: please register on the event's website

Here is the wiki for this event (in French):

http://www.lifehacking.fr/mediawiki/index.php/OrgCampAvril2011

Fred.




[O] Wiki for the next OrgCamp in Paris (April 9th)

2011-03-11 Thread Frederic Couchet

Hello,

some parisian Orgers are gathering for a new OrgCamp in Paris 

* Where: FPH, 38 rue Saint Sabin, 75011 Paris

* When: April 9th 2011 10mm-8pm

* Participants: please register on the event's website

Here is the wiki for this event (in French):

http://www.lifehacking.fr/mediawiki/index.php/OrgCampAvril2011

Fred.




[Orgmode] Poll for the next OrgCamp in Paris

2011-02-22 Thread Frederic Couchet
Hello,

A poll is open for the next OrgCamp in Paris :

http://papillon.peacefrogs.net/poll/HIWAJM1298126080/

"OrgCamps are informal events where people gather IRL to contribute 
to Org by discussing how they use it and by doing contributions to 
the code, the manuals and the online tutorials."

Nearly 20 people attended the first OrgCamp in Paris.

Fred.


___
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: OrgCamp in Paris, January 22nd

2011-01-24 Thread Frederic Couchet
> "Bastien" == Bastien   writes:

Bastien> Dear all, some parisian Orgers are gathering for the first
Bastien> OrgCamp on earthn® :)

The OrgCamp in Paris went well. Julien posted a short report :

http://julien.danjou.info/blog/2011.html#OrgCamp_Paris__review

We are planning to organise an another OrgCamp in Paris in March ou
April.

Fred.


___
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: OrgCamp in Paris, January 22nd

2011-01-19 Thread Frederic Couchet
> "Bastien" == Bastien   writes:

Bastien> Dear all, some parisian Orgers are gathering for the first
Bastien> OrgCamp on earthn® :)

Bastien>   "OrgCamps are informal events where people gather IRL to
Bastien> contribute to Org by discussing how they use it and by
Bastien> doing contributions to the code, the manuals and the online
Bastien> tutorials."

Bastien> Here is the wiki for this event:

Bastien>   
http://www.lifehacking.fr/mediawiki/index.php/OrgModeCampJanvier2011#Participants

17 people have registered yet, fine. A preparation meeting will be held
on Thursday at 21pm (Paris local time) on the temporary irc channel
irc.freenode.net:##orgcamp-paris

red.


___
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] Lines starting with a star not interpreted as a headline ?

2010-10-23 Thread Frederic Couchet

Hello,

Is it possible to configure drawers so that lines starting with a star
are not interpreted as a headline ?

I like to store in drawers useful text, for example excerpt from
emails. But, if the text contains for example lines like :

* blabla

the line is interpreted as a headline by orgmode. So I have to fix it :

*blabla

Fred.


___
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: org-mode + pomodoro

2010-09-03 Thread Frederic Couchet
> "Bastien" == Bastien   writes:

Bastien> Also thanks to Frédéric Couchet who asked me to have this
Bastien> feature for ges.

Thank you for this patch. Having the countdown in the modeline is very
useful.

Fred.


___
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: org-mode + pomodoro

2010-08-31 Thread Frederic Couchet
> "Sergey" == Sergey Konoplev  writes:

Sergey> Hi all, Are there ways to use Pomodoro technique
Sergey> (http://www.pomodorotechnique.com/) with org-mode? If there
Sergey> are what are the best practices?

Sergey> Thank you in advice.

Hello,

I always start a clock when I work on a task. And for the Pomodoro
technique I use also the org-timer module with some configuration.

Activate the org-timer module :

(add-to-list 'org-modules 'org-timer)

Set a default value for the timer, for example :

(setq org-timer-default-timer 25)

Modify the org-clock-in so that a timer is started with the default
value except if a timer is already started :

(add-hook 'org-clock-in-hook '(lambda () 
  (if (not org-timer-current-timer) 
  (org-timer-set-timer '(16)

Fred.


___
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