all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* simultaneous clocks?
@ 2010-06-09 18:45 Erik Iverson
  2010-06-09 18:53 ` Erik L. Arneson
  2010-06-10  0:27 ` Bernt Hansen
  0 siblings, 2 replies; 21+ messages in thread
From: Erik Iverson @ 2010-06-09 18:45 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

Is there any concept of being able to run multiple, simultaneous clocks 
in org-mode.  For example, I want one clock to track my total hours 
during the week at work, i.e., punch in and punch out.

Then, while that clock is running, I would use the normal clocking 
functionality to keep track of time on specific projects.

As it is, clocking into a new task clocks out of the current task.

There may not be a way, but thought I'd ask!

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: simultaneous clocks?
  2010-06-09 18:45 simultaneous clocks? Erik Iverson
@ 2010-06-09 18:53 ` Erik L. Arneson
  2010-06-09 19:36   ` brian powell
  2010-06-10  0:27 ` Bernt Hansen
  1 sibling, 1 reply; 21+ messages in thread
From: Erik L. Arneson @ 2010-06-09 18:53 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Erik Iverson <eriki-q4/HXrWBnsT2fBVCVOL8/A@public.gmane.org> writes:
> Hello,

Hi, Erik!

> Is there any concept of being able to run multiple, simultaneous
> clocks in org-mode.  For example, I want one clock to track my total
> hours during the week at work, i.e., punch in and punch out.
>
> Then, while that clock is running, I would use the normal clocking
> functionality to keep track of time on specific projects.
>
> As it is, clocking into a new task clocks out of the current task.
>
> There may not be a way, but thought I'd ask!

I do this by using a special clocktable block that reads an entire
agenda.  Try this on for size:

#+BEGIN: clocktable :maxlevel 3 :scope agenda :block thisweek
#+END

It adds up all time spent on various tasks and gives me a total.  I
suppose you can't really have two clocks running at once, but this works
great for me.

-- 
Erik Arneson <dybbuk-qPb3x58jdZkAvxtiuMwx3w@public.gmane.org>
  GPG Key ID: 1024D/62DA1D25
  Office: +1.541.291.9776
  Skype: pymander


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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Re: simultaneous clocks?
  2010-06-09 18:53 ` Erik L. Arneson
@ 2010-06-09 19:36   ` brian powell
  0 siblings, 0 replies; 21+ messages in thread
From: brian powell @ 2010-06-09 19:36 UTC (permalink / raw)
  To: Erik L. Arneson; +Cc: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 1475 bytes --]

To "punch in and punch out" I use:

timeclock.el

--in addition to a mix of OrgMode and PlannerMode

But to be very precise on each task I do: timeclock.el works great for me.

;-)

On Wed, Jun 9, 2010 at 2:53 PM, Erik L. Arneson <dybbuk@lnouv.com> wrote:

> Erik Iverson <eriki@ccbr.umn.edu> writes:
> > Hello,
>
> Hi, Erik!
>
> > Is there any concept of being able to run multiple, simultaneous
> > clocks in org-mode.  For example, I want one clock to track my total
> > hours during the week at work, i.e., punch in and punch out.
> >
> > Then, while that clock is running, I would use the normal clocking
> > functionality to keep track of time on specific projects.
> >
> > As it is, clocking into a new task clocks out of the current task.
> >
> > There may not be a way, but thought I'd ask!
>
> I do this by using a special clocktable block that reads an entire
> agenda.  Try this on for size:
>
> #+BEGIN: clocktable :maxlevel 3 :scope agenda :block thisweek
> #+END
>
> It adds up all time spent on various tasks and gives me a total.  I
> suppose you can't really have two clocks running at once, but this works
> great for me.
>
> --
> Erik Arneson <dybbuk@LNouv.com>
>  GPG Key ID: 1024D/62DA1D25
>  Office: +1.541.291.9776
>  Skype: pymander
>
>
> _______________________________________________
> 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
>

[-- Attachment #1.2: Type: text/html, Size: 2253 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: simultaneous clocks?
  2010-06-09 18:45 simultaneous clocks? Erik Iverson
  2010-06-09 18:53 ` Erik L. Arneson
@ 2010-06-10  0:27 ` Bernt Hansen
  2010-06-10  0:35   ` Erik Iverson
  1 sibling, 1 reply; 21+ messages in thread
From: Bernt Hansen @ 2010-06-10  0:27 UTC (permalink / raw)
  To: Erik Iverson; +Cc: emacs-orgmode

Erik Iverson <eriki@ccbr.umn.edu> writes:

> Hello,
>
> Is there any concept of being able to run multiple, simultaneous
> clocks in org-mode.  For example, I want one clock to track my total
> hours during the week at work, i.e., punch in and punch out.

No.  Org-mode clocking clocks a single task at a time.  You can't do two
things at once :)

>
> Then, while that clock is running, I would use the normal clocking
> functionality to keep track of time on specific projects.

I punch in to a default task which starts my clocking day.  Everytime I
clock out the default task is clocked in to keep every minute clocked
from the moment I punch in until I punch out.

Publishing my current clocking setup is on my todo list and will be on
http://doc.norang.ca/org-mode.html soon.

>
> As it is, clocking into a new task clocks out of the current task.
>
> There may not be a way, but thought I'd ask!

Regards,
Bernt

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: simultaneous clocks?
  2010-06-10  0:27 ` Bernt Hansen
@ 2010-06-10  0:35   ` Erik Iverson
  2010-06-10  0:37     ` Bernt Hansen
  0 siblings, 1 reply; 21+ messages in thread
From: Erik Iverson @ 2010-06-10  0:35 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Bernt Hansen wrote:
> Erik Iverson <eriki@ccbr.umn.edu> writes:
> 
>> Hello,
>>
>> Is there any concept of being able to run multiple, simultaneous
>> clocks in org-mode.  For example, I want one clock to track my total
>> hours during the week at work, i.e., punch in and punch out.
> 
> No.  Org-mode clocking clocks a single task at a time.  You can't do two
> things at once :)
> 
>> Then, while that clock is running, I would use the normal clocking
>> functionality to keep track of time on specific projects.
> 
> I punch in to a default task which starts my clocking day.  Everytime I
> clock out the default task is clocked in to keep every minute clocked
> from the moment I punch in until I punch out.

That will do!  That's all I really wanted, just wasn't aware of all the 
functionality.  Thanks, I've found your org-mode.html descriptions very helpful.

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: simultaneous clocks?
  2010-06-10  0:35   ` Erik Iverson
@ 2010-06-10  0:37     ` Bernt Hansen
  2010-06-10  3:50       ` Bernt Hansen
  0 siblings, 1 reply; 21+ messages in thread
From: Bernt Hansen @ 2010-06-10  0:37 UTC (permalink / raw)
  To: Erik Iverson; +Cc: emacs-orgmode

Erik Iverson <eriki@ccbr.umn.edu> writes:

> Bernt Hansen wrote:
>> Erik Iverson <eriki@ccbr.umn.edu> writes:
>>
>>> Hello,
>>>
>>> Is there any concept of being able to run multiple, simultaneous
>>> clocks in org-mode.  For example, I want one clock to track my total
>>> hours during the week at work, i.e., punch in and punch out.
>>
>> No.  Org-mode clocking clocks a single task at a time.  You can't do two
>> things at once :)
>>
>>> Then, while that clock is running, I would use the normal clocking
>>> functionality to keep track of time on specific projects.
>>
>> I punch in to a default task which starts my clocking day.  Everytime I
>> clock out the default task is clocked in to keep every minute clocked
>> from the moment I punch in until I punch out.
>
> That will do!  That's all I really wanted, just wasn't aware of all
> the functionality.  Thanks, I've found your org-mode.html descriptions
> very helpful.

I'll make an effort to update my clocking details tonight.  Punching in
and out doesn't work automatically in org-mode without a bunch of setup.

I've been using this setup for a few weeks now and I really like it.

-Bernt

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: simultaneous clocks?
  2010-06-10  0:37     ` Bernt Hansen
@ 2010-06-10  3:50       ` Bernt Hansen
  2010-06-10  7:41         ` Debate about "One clock per user, but user is identified" Sébastien Vauban
  0 siblings, 1 reply; 21+ messages in thread
From: Bernt Hansen @ 2010-06-10  3:50 UTC (permalink / raw)
  To: Erik Iverson; +Cc: emacs-orgmode

Bernt Hansen <bernt@norang.ca> writes:

> Erik Iverson <eriki@ccbr.umn.edu> writes:
>
>> Bernt Hansen wrote:
>>
>>> I punch in to a default task which starts my clocking day.  Everytime I
>>> clock out the default task is clocked in to keep every minute clocked
>>> from the moment I punch in until I punch out.
>>
>> That will do!  That's all I really wanted, just wasn't aware of all
>> the functionality.  Thanks, I've found your org-mode.html descriptions
>> very helpful.
>
> I'll make an effort to update my clocking details tonight.  Punching in
> and out doesn't work automatically in org-mode without a bunch of setup.
>
> I've been using this setup for a few weeks now and I really like it.

The site has been updated.  Hopefully I didn't miss anything important.

-Bernt

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Debate about "One clock per user, but user is identified"
  2010-06-10  3:50       ` Bernt Hansen
@ 2010-06-10  7:41         ` Sébastien Vauban
  2010-06-12 15:23           ` Benjamin Andresen
  2010-06-12 16:34           ` Debate about "One clock per user, but user is identified" Eric Schulte
  0 siblings, 2 replies; 21+ messages in thread
From: Sébastien Vauban @ 2010-06-10  7:41 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi all,

In the clock theme, I'm opening another debate, reason of the subject change.

This is something I begin to really feel the need for. Let's explain.

I've already convinced 3 to 4 of my Emacs (mainly) colleagues to go for
Org-mode whenever writing any type of document (to be published via PDFLaTeX).
They do it more and more, and we begin working in the same documents, stored
under SVN.

We begin using CLOCK times under big sections, and that's where the problem
occurs: we have no way to distinguish between the times I've clocked there,
and the ones of my main colleague.

I don't ask for multiple clocks running simultaneously, but (as I currently
envision it -- reason for collecting *your* ideas) for an identifier
[something like `org-user-identifier'] to be added to the clock lines, so that
we can filter based on the user, when multiple people have clocked in the same
documents.

That'd be good as well for managing a team project: being able to clock
people's contribution to different tasks in one big document. Of course, some
tasks would be worked on by a couple of persons.

What do you think about all this?

Best regards,
  Seb

-- 
Sébastien Vauban


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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Debate about "One clock per user, but user is identified"
  2010-06-10  7:41         ` Debate about "One clock per user, but user is identified" Sébastien Vauban
@ 2010-06-12 15:23           ` Benjamin Andresen
  2010-06-12 17:07             ` org-remember and anything Glauber Alex Dias Prado
  2010-06-12 16:34           ` Debate about "One clock per user, but user is identified" Eric Schulte
  1 sibling, 1 reply; 21+ messages in thread
From: Benjamin Andresen @ 2010-06-12 15:23 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode

Hey Sébastien,

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:

> Hi all,
>
> What do you think about all this?

I just read this and before nobody answers, I'll give you a small POC
that should work for you. As far as I can tell it doesn't break
anything.

(defun org-clock-out-mark-clock ()
  (unless remove (insert (format " (%s)" user-full-name))))

(add-hook 'org-clock-out-hook 'org-clock-out-mark-clock)

>
> Best regards,
>   Seb

br,
benny

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Debate about "One clock per user, but user is identified"
  2010-06-10  7:41         ` Debate about "One clock per user, but user is identified" Sébastien Vauban
  2010-06-12 15:23           ` Benjamin Andresen
@ 2010-06-12 16:34           ` Eric Schulte
  2010-06-12 16:48             ` Daniel Martins
  2010-06-14  8:33             ` Org-mode collaborative (multiple users working on the same set of files) Sébastien Vauban
  1 sibling, 2 replies; 21+ messages in thread
From: Eric Schulte @ 2010-06-12 16:34 UTC (permalink / raw)
  To: Sébastien Vauban; +Cc: emacs-orgmode

Hi Sébastien,

Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:

[...]
>
> I don't ask for multiple clocks running simultaneously, but (as I currently
> envision it -- reason for collecting *your* ideas) for an identifier
> [something like `org-user-identifier'] to be added to the clock lines, so that
> we can filter based on the user, when multiple people have clocked in the same
> documents.
>

I haven't used any of the clocking features, so I won't speak to that
side of this issue, however, I have been using org-mode files as a point
of collaboration on a couple of projects (including org-babel [1]) and I
think a generalization of something like your proposed
`org-user-identifier' variable could be very useful for many of the org
meta-data items associated with headlines.

For example, it would be great to record the user responsible for every
TODO state change, so that something like

  ** DONE Org-babel should work well when indented
     - State "DONE"       from "TODO"       [2010-06-10 Thu 15:48]

would instead be

  ** DONE Org-babel should work well when indented
     - State "DONE"       from "TODO"       by eschulte       [2010-06-10 Thu 15:48]

I think this would be very helpful, and anything that encourages the
spread of Org-mode usage through co-workers is a big win.

Best -- Eric

Footnotes: 
[1]  http://github.com/eschulte/babel-dev/blob/master/development.org

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Debate about "One clock per user, but user is identified"
  2010-06-12 16:34           ` Debate about "One clock per user, but user is identified" Eric Schulte
@ 2010-06-12 16:48             ` Daniel Martins
  2010-06-14  8:33             ` Org-mode collaborative (multiple users working on the same set of files) Sébastien Vauban
  1 sibling, 0 replies; 21+ messages in thread
From: Daniel Martins @ 2010-06-12 16:48 UTC (permalink / raw)
  To: Eric Schulte; +Cc: Sébastien Vauban, emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 2277 bytes --]

I aggree with Eric.

A collaborative point of view is needed to spread the word of org-mode among
a greater set of users.

org-secretary.el from Juan os great but is the start of something more
general

I am leading a group of engineers and it is quite difficult  (even among
Fress Software people) to convince the use of org-mode despite its several
advantages.

Daniel

PS I think the subject of this topic shoud be changed

Org-mode collaborative

is an option

2010/6/12 Eric Schulte <schulte.eric@gmail.com>

> Hi Sébastien,
>
> Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:
>
> [...]
> >
> > I don't ask for multiple clocks running simultaneously, but (as I
> currently
> > envision it -- reason for collecting *your* ideas) for an identifier
> > [something like `org-user-identifier'] to be added to the clock lines, so
> that
> > we can filter based on the user, when multiple people have clocked in the
> same
> > documents.
> >
>
> I haven't used any of the clocking features, so I won't speak to that
> side of this issue, however, I have been using org-mode files as a point
> of collaboration on a couple of projects (including org-babel [1]) and I
> think a generalization of something like your proposed
> `org-user-identifier' variable could be very useful for many of the org
> meta-data items associated with headlines.
>
> For example, it would be great to record the user responsible for every
> TODO state change, so that something like
>
>  ** DONE Org-babel should work well when indented
>     - State "DONE"       from "TODO"       [2010-06-10 Thu 15:48]
>
> would instead be
>
>  ** DONE Org-babel should work well when indented
>     - State "DONE"       from "TODO"       by eschulte       [2010-06-10
> Thu 15:48]
>
> I think this would be very helpful, and anything that encourages the
> spread of Org-mode usage through co-workers is a big win.
>
> Best -- Eric
>
> Footnotes:
> [1]  http://github.com/eschulte/babel-dev/blob/master/development.org
>
>
> _______________________________________________
> 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
>

[-- Attachment #1.2: Type: text/html, Size: 3100 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* org-remember and anything
  2010-06-12 15:23           ` Benjamin Andresen
@ 2010-06-12 17:07             ` Glauber Alex Dias Prado
  2010-06-12 17:09               ` Bernt Hansen
  2010-06-12 17:33               ` Thierry Volpiatto
  0 siblings, 2 replies; 21+ messages in thread
From: Glauber Alex Dias Prado @ 2010-06-12 17:07 UTC (permalink / raw)
  To: emacs-orgmode

Hi,
when calling org-remember, after selecting the template org doesnt
provide the right syntax to anything as it is configure for icomplete i
think, dunno what is really involved here as it used to work( i tried it
with both ido completion support on and off):

Sorry if this is not really a org thing:


Debugger entered--Lisp error: (error "anything-interpret-value: Symbol must be a function or a variable")
  signal(error ("anything-interpret-value: Symbol must be a function or a variable"))
  error("anything-interpret-value: Symbol must be a function or a variable")
  anything-interpret-value(org-remember-template-prompt-history::Brief\ Description ((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
  anything-get-candidates(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
  anything-get-cached-candidates(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
  #[nil "\306\307\b\"\306\310\b\"\311\b!\306\312\b\"\211\x19\203\x1c\0\313\b	\n#\202\x1d\0\n)\314^[\x1a\x1c\x1d\x1e\x15\n\315\232\2042\0\x0e\x15\316\232\203F\0\317\b!\211\x13G\fV\203K\0\320\v\321\f#\x13\202K\0\314\322\323\217\210\306\324\b\"\211\x19\203[\0\313\b	\v\b$\x13)\v-\207" [source it anything-pattern matches limit anything-source-name assoc-default match name anything-candidate-number-limit pattern-transformer anything-composed-funcall-with-source nil "" (identity) anything-get-cached-candidates subseq 0 (byte-code "\306\307\b!\310\x19\x1a^[\f\204\x0f\0\311C\x14\312\r!\210\313\314\215\210+\310\207" [source exit cands item-count functions anything-match-hash 0 anything-get-cached-candidates nil #[... "\302\b	\"\207" [anything-pattern candidate string-match] 3] clrhash --cl-block-nil-- ...] 3) (...) filtered-candidate-transformer functions] 8]()
  anything-compute-matches(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
  anything-process-source(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
  anything-update()
  anything-read-pattern-maybe(#("Brief Description: " 0 17 (fontified nil)) nil nil noresume nil)
  byte-code("\306\211\211\307\b\206	\0	\x19\x1a^[\x1c\x1d\310\311\x0e\x1a\"\x0e\v\312\313!B\x0e\f\312\314!B\x1e^[\x1e\x1c\x1e\x1d\315\x16\v\316\313\306\"\210\317\216\320\321!\210\322\x0e\x1e!\x16\x1f\323\x0e \x0e!\"\210\324\325!\210\326	!\210\327\216\330\x0e\"\x0e!\x0e#\x0e \x0e$%\210-\v?\205_\0\331 -\207" [any-buffer anything-buffer case-fold-search anything-quit anything-in-persistent-action anything-source-name nil t mapcar #[(v) "\b\211JB\207" [v] 2] default-value post-command-hook pre-command-hook (t) set-default ((byte-code "\b\x19\306\211\x1a^[	:\203\x1f\0	@\211\x12\211A\x12@\211\x13\nL\210	A\211\x11\202\a\0+\f@\x15\307\305\fA\"\207" [--orig-vars --cl-var-- value var --post-command-hook-pair post-command-hook nil set-default] 3)) anything-frame/window-configuration save anything-normalize-sources anything-initialize-1 anything-hooks setup anything-display-buffer ((byte-code "\300 \210\301\302!\210\303\304!\207" [anything-cleanup anything-hooks cleanup anything-frame/window-configuration restore] 2)) anything-read-pattern-maybe anything-execute-selection-action-1 anything-restored-variables --pre-command-hook-pair --post-command-hook-pair --orig-vars any-sources anything-sources any-resume any-input any-prompt any-preselect any-keymap] 6)
  anything((((name . "Default") (default-value . "") (action . identity) (accept-empty)) ((name . "Completions") (candidates) (action . identity) nil nil) ((name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity)) ((name . #("Brief Description: " 0 17 ...)) (dummy) (action . identity))) nil #("Brief Description: " 0 17 (fontified nil)) noresume nil "*anything complete*")
  anything-noresume((((name . "Default") (default-value . "") (action . identity) (accept-empty)) ((name . "Completions") (candidates) (action . identity) nil nil) ((name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity)) ((name . #("Brief Description: " 0 17 ...)) (dummy) (action . identity))) nil #("Brief Description: " 0 17 (fontified nil)) nil nil "*anything complete*")
  ad-Orig-completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil nil)
  completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
  apply(completing-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
  org-icompleting-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
  apply(org-icompleting-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
  org-completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
  apply(org-completing-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
  org-completing-read-no-i(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
  org-remember-apply-template()
  run-hooks(fundamental-mode-hook text-mode-hook remember-mode-hook)
  apply(run-hooks (fundamental-mode-hook text-mode-hook remember-mode-hook))
  run-mode-hooks(remember-mode-hook)
  remember-mode()
  remember(nil)
  org-do-remember()
  org-remember(nil)
  call-interactively(org-remember nil nil)

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: org-remember and anything
  2010-06-12 17:07             ` org-remember and anything Glauber Alex Dias Prado
@ 2010-06-12 17:09               ` Bernt Hansen
  2010-06-12 17:44                 ` Glauber Alex Dias Prado
  2010-06-12 17:33               ` Thierry Volpiatto
  1 sibling, 1 reply; 21+ messages in thread
From: Bernt Hansen @ 2010-06-12 17:09 UTC (permalink / raw)
  To: smade4; +Cc: emacs-orgmode

Glauber Alex Dias Prado <smade4@gmail.com> writes:

> Hi,
> when calling org-remember, after selecting the template org doesnt
> provide the right syntax to anything as it is configure for icomplete i
> think, dunno what is really involved here as it used to work( i tried it
> with both ido completion support on and off):
>
> Sorry if this is not really a org thing:
>
>
> Debugger entered--Lisp error: (error "anything-interpret-value: Symbol must be a function or a variable")
>   signal(error ("anything-interpret-value: Symbol must be a function or a variable"))
>   error("anything-interpret-value: Symbol must be a function or a variable")

<snipped details of backtrace>

>   remember-mode()
>   remember(nil)
>   org-do-remember()
>   org-remember(nil)
>   call-interactively(org-remember nil nil)

I don't think there are enough details here to help.  You should provide
your org-mode and emacs versions and the remember template you are
trying to invoke.

I have no idea what 'anything' is so details of your setup for that
would be helpful as well.

Regards,
Bernt

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: org-remember and anything
  2010-06-12 17:07             ` org-remember and anything Glauber Alex Dias Prado
  2010-06-12 17:09               ` Bernt Hansen
@ 2010-06-12 17:33               ` Thierry Volpiatto
  2010-06-14 12:21                 ` Glauber Alex Dias Prado
  2010-06-14 13:38                 ` Glauber Alex Dias Prado
  1 sibling, 2 replies; 21+ messages in thread
From: Thierry Volpiatto @ 2010-06-12 17:33 UTC (permalink / raw)
  To: emacs-orgmode

Hi, can you please provide more info on what you do exactly and how you
use anything (which source, function etc...) with org.
Which command give this backtrace?

Glauber Alex Dias Prado <smade4@gmail.com> writes:

> Hi,
> when calling org-remember, after selecting the template org doesnt
> provide the right syntax to anything as it is configure for icomplete i
> think, dunno what is really involved here as it used to work( i tried it
> with both ido completion support on and off):
>
> Sorry if this is not really a org thing:
>
>
> Debugger entered--Lisp error: (error "anything-interpret-value: Symbol must be a function or a variable")
>   signal(error ("anything-interpret-value: Symbol must be a function or a variable"))
>   error("anything-interpret-value: Symbol must be a function or a variable")
>   anything-interpret-value(org-remember-template-prompt-history::Brief\ Description ((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>   anything-get-candidates(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>   anything-get-cached-candidates(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>   #[nil "\306\307\b\"\306\310\b\"\311\b!\306\312\b\"\211\203\0\313\b	\n#\202\0\n)\314\x1a\x1d\x15\n\315\232\2042\x0e\316\232\203F\317\b!\211G\fV\203K\320\v\321\f#\202K\314\322\323\217\210\306\324\b\"\211\203[\313\b	\v\b$)\v-\207" [source it anything-pattern matches limit anything-source-name assoc-default match name anything-candidate-number-limit pattern-transformer anything-composed-funcall-with-source nil "" (identity) anything-get-cached-candidates subseq 0 (byte-code "\306\307\b!\310\x1a\f\204\0\311C\312!\210\313\314\215\210+\310\207" [source exit cands item-count functions anything-match-hash 0 anything-get-cached-candidates nil #[... "\302\b	\"\207" [anything-pattern candidate string-match] 3] clrhash --cl-block-nil-- ...] 3) (...) filtered-candidate-transformer functions] 8]()
>   anything-compute-matches(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>   anything-process-source(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>   anything-update()
>   anything-read-pattern-maybe(#("Brief Description: " 0 17 (fontified nil)) nil nil noresume nil)
>   byte-code("\306\211\211\307\b\206		\x1a\x1c\310\311\x1a\"\v\312\313!B\f\312\314!B^[\x1c\x1d\315\v\316\313\306\"\210\317\216\320\321!\210\322\x1e!\x1f\323 !\"\210\324\325!\210\326	!\210\327\216\330\"!# $%\210-\v?\205_\331 -\207" [any-buffer anything-buffer case-fold-search anything-quit anything-in-persistent-action anything-source-name nil t mapcar #[(v) "\b\211JB\207" [v] 2] default-value post-command-hook pre-command-hook (t) set-default ((byte-code "\b\306\211^[	:\203\x1f	@\211\211A@\211\nL\210	A\211\202\a+\f@\307\305\fA\"\207" [--orig-vars --cl-var-- value var --post-command-hook-pair post-command-hook nil set-default] 3)) anything-frame/window-configuration save anything-normalize-sources anything-initialize-1 anything-hooks setup anything-display-buffer ((byte-code "\300 \210\301\302!\210\303\304!\207" [anything-cleanup anything-hooks cleanup anything-frame/window-configuration restore] 2)) anything-read-pattern-maybe anything-execute-selection-action-1 anything-restored-variables --pre-command-hook-pair --post-command-hook-pair --orig-vars any-sources anything-sources any-resume any-input any-prompt any-preselect any-keymap] 6)
>   anything((((name . "Default") (default-value . "") (action . identity) (accept-empty)) ((name . "Completions") (candidates) (action . identity) nil nil) ((name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity)) ((name . #("Brief Description: " 0 17 ...)) (dummy) (action . identity))) nil #("Brief Description: " 0 17 (fontified nil)) noresume nil "*anything complete*")
>   anything-noresume((((name . "Default") (default-value . "") (action . identity) (accept-empty)) ((name . "Completions") (candidates) (action . identity) nil nil) ((name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity)) ((name . #("Brief Description: " 0 17 ...)) (dummy) (action . identity))) nil #("Brief Description: " 0 17 (fontified nil)) nil nil "*anything complete*")
>   ad-Orig-completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil nil)
>   completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>   apply(completing-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
>   org-icompleting-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>   apply(org-icompleting-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
>   org-completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>   apply(org-completing-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
>   org-completing-read-no-i(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>   org-remember-apply-template()
>   run-hooks(fundamental-mode-hook text-mode-hook remember-mode-hook)
>   apply(run-hooks (fundamental-mode-hook text-mode-hook remember-mode-hook))
>   run-mode-hooks(remember-mode-hook)
>   remember-mode()
>   remember(nil)
>   org-do-remember()
>   org-remember(nil)
>   call-interactively(org-remember nil nil)
>
> _______________________________________________
> 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
>

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: org-remember and anything
  2010-06-12 17:09               ` Bernt Hansen
@ 2010-06-12 17:44                 ` Glauber Alex Dias Prado
  0 siblings, 0 replies; 21+ messages in thread
From: Glauber Alex Dias Prado @ 2010-06-12 17:44 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Bernt Hansen <bernt@norang.ca> writes:

> Glauber Alex Dias Prado <smade4@gmail.com> writes:
>
>> Hi,
>> when calling org-remember, after selecting the template org doesnt
>> provide the right syntax to anything as it is configure for icomplete i
>> think, dunno what is really involved here as it used to work( i tried it
>> with both ido completion support on and off):
>>
>> Sorry if this is not really a org thing:
>>
>>
>> Debugger entered--Lisp error: (error "anything-interpret-value: Symbol must be a function or a variable")
>>   signal(error ("anything-interpret-value: Symbol must be a function or a variable"))
>>   error("anything-interpret-value: Symbol must be a function or a variable")
>
> <snipped details of backtrace>
>
>>   remember-mode()
>>   remember(nil)
>>   org-do-remember()
>>   org-remember(nil)
>>   call-interactively(org-remember nil nil)
>
> I don't think there are enough details here to help.  You should provide
> your org-mode and emacs versions and the remember template you are
> trying to invoke.
>
It happens for the simplest template you try(any):
GNU Emacs 24.0.50.1 (i686-pc-linux-gnu, GTK+ Version 2.20.0) of
2010-05-20 on jetski
Org-mode version 6.35trans (release_6.35g.161.ga2518)


> I have no idea what 'anything' is so details of your setup for that
> would be helpful as well.
its a very simple setup(if using auto-install):
http://www.emacswiki.org/emacs/AutoInstall

after u install auto-install you can call
M-x auto-install-batch
anything RET

After that:
(require 'anything-startup)

>
> Regards,
> Bernt
>
>
>
> _______________________________________________
> 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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Org-mode collaborative (multiple users working on the same set of files)
  2010-06-12 16:34           ` Debate about "One clock per user, but user is identified" Eric Schulte
  2010-06-12 16:48             ` Daniel Martins
@ 2010-06-14  8:33             ` Sébastien Vauban
  2010-06-22 15:04               ` Sébastien Vauban
  1 sibling, 1 reply; 21+ messages in thread
From: Sébastien Vauban @ 2010-06-14  8:33 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi Eric, Benjamen, Daniel, and all,

>>> [...] What do you think about all this?

Thanks to get the debate launched. I was fearing to stay alone ;-)

Regarding the clocked times:

>> I just read this and before nobody answers, I'll give you a small POC
>> that should work for you. As far as I can tell it doesn't break
>> anything.
>>
>> (defun org-clock-out-mark-clock ()
>>   (unless remove (insert (format " (%s)" user-full-name))))
>>
>> (add-hook 'org-clock-out-hook 'org-clock-out-mark-clock)

Yep, this seems to work perfectly -- did not catch any conflict yet, but usage
time still low.

Example results:

--8<---------------cut here---------------start------------->8---
* My sub-project
  :LOGBOOK:
  CLOCK: [2010-06-14 Mon 09:15]--[2010-06-14 Mon 10:11] =>  0:56 (Sebastien Vauban)
  - Test.
  :END:
--8<---------------cut here---------------end--------------->8---

Your proposed format seems nice to me.

Regarding other features, like state changes:

>> I [...] ask for [...] an identifier (something like `org-user-identifier')
>> to be added to the clock lines, so that we can filter based on the user,
>> when multiple people have clocked in the same documents.
>
> [...] I have been using org-mode files as a point of collaboration on a
> couple of projects (including org-babel [1]) and I think a generalization of
> something like your proposed `org-user-identifier' variable could be very
> useful for many of the org meta-data items associated with headlines.

Thanks for adding this in the loop. Of course, same combat...


> For example, it would be great to record the user responsible for every
> TODO state change, so that something like
>
>   ** DONE Org-babel should work well when indented
>      - State "DONE"       from "TODO"       [2010-06-10 Thu 15:48]
>
> would instead be
>
>   ** DONE Org-babel should work well when indented
>      - State "DONE"       from "TODO"       by eschulte       [2010-06-10 Thu 15:48]

That'd be great. I now dream of the ability to get a "revision history" to be
easily inserted at the begin of a document, like all pros do.


> I think this would be very helpful, and anything that encourages the
> spread of Org-mode usage through co-workers is a big win.

I am sure this is a *must* for collaborative work, for being able to spread
the word. And I'm sure we're very close to get it -- like the above
proposition of Benjamen.

But, for being useful, it absolutely needs to be in the common base of Org, as
default behavior. If I need all my co-workers to add my specifics to their Org
customization, it's lost.

Best regards and thanks for your ideas.

Seb

-- 
Sébastien Vauban


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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: org-remember and anything
  2010-06-12 17:33               ` Thierry Volpiatto
@ 2010-06-14 12:21                 ` Glauber Alex Dias Prado
  2010-06-14 20:21                   ` Thierry Volpiatto
  2010-06-14 13:38                 ` Glauber Alex Dias Prado
  1 sibling, 1 reply; 21+ messages in thread
From: Glauber Alex Dias Prado @ 2010-06-14 12:21 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: emacs-orgmode

i thought i was explicity enough when i said "when calling org-remember"
:), this happens after i select a template and it prompts for completion
which is being handled by anything, that is when the backtrace happens,
this only happens with org-mode so i thought it was more a org thing
than anything.

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Hi, can you please provide more info on what you do exactly and how you
> use anything (which source, function etc...) with org.
> Which command give this backtrace?
>
> Glauber Alex Dias Prado <smade4@gmail.com> writes:
>
>> Hi,
>> when calling org-remember, after selecting the template org doesnt
>> provide the right syntax to anything as it is configure for icomplete i
>> think, dunno what is really involved here as it used to work( i tried it
>> with both ido completion support on and off):
>>
>> Sorry if this is not really a org thing:
>>
>>
>> Debugger entered--Lisp error: (error "anything-interpret-value: Symbol must be a function or a variable")
>>   signal(error ("anything-interpret-value: Symbol must be a function or a variable"))
>>   error("anything-interpret-value: Symbol must be a function or a variable")
>>   anything-interpret-value(org-remember-template-prompt-history::Brief\ Description ((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>>   anything-get-candidates(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>>   anything-get-cached-candidates(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>>   #[nil "\306\307\b\"\306\310\b\"\311\b!\306\312\b\"\211\203\0\313\b	\n#\202\0\n)\314\x1a\x1d\x15\n\315\232\2042\x0e\316\232\203F\317\b!\211G\fV\203K\320\v\321\f#\202K\314\322\323\217\210\306\324\b\"\211\203[\313\b	\v\b$)\v-\207" [source it anything-pattern matches limit anything-source-name assoc-default match name anything-candidate-number-limit pattern-transformer anything-composed-funcall-with-source nil "" (identity) anything-get-cached-candidates subseq 0 (byte-code "\306\307\b!\310\x1a\f\204\0\311C\312!\210\313\314\215\210+\310\207" [source exit cands item-count functions anything-match-hash 0 anything-get-cached-candidates nil #[... "\302\b	\"\207" [anything-pattern candidate string-match] 3] clrhash --cl-block-nil-- ...] 3) (...) filtered-candidate-transformer functions] 8]()
>>   anything-compute-matches(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>>   anything-process-source(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>>   anything-update()
>>   anything-read-pattern-maybe(#("Brief Description: " 0 17 (fontified nil)) nil nil noresume nil)
>>   byte-code("\306\211\211\307\b\206		\x1a\x1c\310\311\x1a\"\v\312\313!B\f\312\314!B^[\x1c\x1d\315\v\316\313\306\"\210\317\216\320\321!\210\322\x1e!\x1f\323 !\"\210\324\325!\210\326	!\210\327\216\330\"!# $%\210-\v?\205_\331 -\207" [any-buffer anything-buffer case-fold-search anything-quit anything-in-persistent-action anything-source-name nil t mapcar #[(v) "\b\211JB\207" [v] 2] default-value post-command-hook pre-command-hook (t) set-default ((byte-code "\b\306\211^[	:\203\x1f	@\211\211A@\211\nL\210	A\211\202\a+\f@\307\305\fA\"\207" [--orig-vars --cl-var-- value var --post-command-hook-pair post-command-hook nil set-default] 3)) anything-frame/window-configuration save anything-normalize-sources anything-initialize-1 anything-hooks setup anything-display-buffer ((byte-code "\300 \210\301\302!\210\303\304!\207" [anything-cleanup anything-hooks cleanup anything-frame/window-configuration restore] 2)) anything-read-pattern-maybe anything-execute-selection-action-1 anything-restored-variables --pre-command-hook-pair --post-command-hook-pair --orig-vars any-sources anything-sources any-resume any-input any-prompt any-preselect any-keymap] 6)
>>   anything((((name . "Default") (default-value . "") (action . identity) (accept-empty)) ((name . "Completions") (candidates) (action . identity) nil nil) ((name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity)) ((name . #("Brief Description: " 0 17 ...)) (dummy) (action . identity))) nil #("Brief Description: " 0 17 (fontified nil)) noresume nil "*anything complete*")
>>   anything-noresume((((name . "Default") (default-value . "") (action . identity) (accept-empty)) ((name . "Completions") (candidates) (action . identity) nil nil) ((name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity)) ((name . #("Brief Description: " 0 17 ...)) (dummy) (action . identity))) nil #("Brief Description: " 0 17 (fontified nil)) nil nil "*anything complete*")
>>   ad-Orig-completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil nil)
>>   completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>>   apply(completing-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
>>   org-icompleting-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>>   apply(org-icompleting-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
>>   org-completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>>   apply(org-completing-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
>>   org-completing-read-no-i(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>>   org-remember-apply-template()
>>   run-hooks(fundamental-mode-hook text-mode-hook remember-mode-hook)
>>   apply(run-hooks (fundamental-mode-hook text-mode-hook remember-mode-hook))
>>   run-mode-hooks(remember-mode-hook)
>>   remember-mode()
>>   remember(nil)
>>   org-do-remember()
>>   org-remember(nil)
>>   call-interactively(org-remember nil nil)
>>
>> _______________________________________________
>> 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
>>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: org-remember and anything
  2010-06-12 17:33               ` Thierry Volpiatto
  2010-06-14 12:21                 ` Glauber Alex Dias Prado
@ 2010-06-14 13:38                 ` Glauber Alex Dias Prado
  2010-06-25 21:06                   ` rubikitch
  1 sibling, 1 reply; 21+ messages in thread
From: Glauber Alex Dias Prado @ 2010-06-14 13:38 UTC (permalink / raw)
  To: Thierry Volpiatto; +Cc: emacs-orgmode

Oh sorry, here is complete instructions:
(add-to-list 'load-path "/home/glauber/elisp")
(add-to-list 'load-path "/home/glauber/elisp/org-mode")
(add-to-list 'load-path "/home/glauber/elisp/org-mode/lisp")
(require 'org)
(require 'init-org-mode) ;; which can be found here: http://openpaste.org/22109/inline/
(require 'anything-startup)
(toggle-debug-on-error)

call function org-remember trough binding f9-o-r
when prompt for a template press t
results in backtrace. I think im using latest version of all involved.

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Hi, can you please provide more info on what you do exactly and how you
> use anything (which source, function etc...) with org.
> Which command give this backtrace?
>
> Glauber Alex Dias Prado <smade4@gmail.com> writes:
>
>> Hi,
>> when calling org-remember, after selecting the template org doesnt
>> provide the right syntax to anything as it is configure for icomplete i
>> think, dunno what is really involved here as it used to work( i tried it
>> with both ido completion support on and off):
>>
>> Sorry if this is not really a org thing:
>>
>>
>> Debugger entered--Lisp error: (error "anything-interpret-value: Symbol must be a function or a variable")
>>   signal(error ("anything-interpret-value: Symbol must be a function or a variable"))
>>   error("anything-interpret-value: Symbol must be a function or a variable")
>>   anything-interpret-value(org-remember-template-prompt-history::Brief\ Description ((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>>   anything-get-candidates(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>>   anything-get-cached-candidates(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>>   #[nil "\306\307\b\"\306\310\b\"\311\b!\306\312\b\"\211\203\0\313\b	\n#\202\0\n)\314\x1a\x1d\x15\n\315\232\2042\x0e\316\232\203F\317\b!\211G\fV\203K\320\v\321\f#\202K\314\322\323\217\210\306\324\b\"\211\203[\313\b	\v\b$)\v-\207" [source it anything-pattern matches limit anything-source-name assoc-default match name anything-candidate-number-limit pattern-transformer anything-composed-funcall-with-source nil "" (identity) anything-get-cached-candidates subseq 0 (byte-code "\306\307\b!\310\x1a\f\204\0\311C\312!\210\313\314\215\210+\310\207" [source exit cands item-count functions anything-match-hash 0 anything-get-cached-candidates nil #[... "\302\b	\"\207" [anything-pattern candidate string-match] 3] clrhash --cl-block-nil-- ...] 3) (...) filtered-candidate-transformer functions] 8]()
>>   anything-compute-matches(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>>   anything-process-source(((match anything-exact-match anything-mp-3p-match anything-mp-3-match) (search anything-exact-search anything-mp-3p-search anything-mp-3-search) (name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity) (header-line . anything-persistent-help-string)))
>>   anything-update()
>>   anything-read-pattern-maybe(#("Brief Description: " 0 17 (fontified nil)) nil nil noresume nil)
>>   byte-code("\306\211\211\307\b\206		\x1a\x1c\310\311\x1a\"\v\312\313!B\f\312\314!B^[\x1c\x1d\315\v\316\313\306\"\210\317\216\320\321!\210\322\x1e!\x1f\323 !\"\210\324\325!\210\326	!\210\327\216\330\"!# $%\210-\v?\205_\331 -\207" [any-buffer anything-buffer case-fold-search anything-quit anything-in-persistent-action anything-source-name nil t mapcar #[(v) "\b\211JB\207" [v] 2] default-value post-command-hook pre-command-hook (t) set-default ((byte-code "\b\306\211^[	:\203\x1f	@\211\211A@\211\nL\210	A\211\202\a+\f@\307\305\fA\"\207" [--orig-vars --cl-var-- value var --post-command-hook-pair post-command-hook nil set-default] 3)) anything-frame/window-configuration save anything-normalize-sources anything-initialize-1 anything-hooks setup anything-display-buffer ((byte-code "\300 \210\301\302!\210\303\304!\207" [anything-cleanup anything-hooks cleanup anything-frame/window-configuration restore] 2)) anything-read-pattern-maybe anything-execute-selection-action-1 anything-restored-variables --pre-command-hook-pair --post-command-hook-pair --orig-vars any-sources anything-sources any-resume any-input any-prompt any-preselect any-keymap] 6)
>>   anything((((name . "Default") (default-value . "") (action . identity) (accept-empty)) ((name . "Completions") (candidates) (action . identity) nil nil) ((name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity)) ((name . #("Brief Description: " 0 17 ...)) (dummy) (action . identity))) nil #("Brief Description: " 0 17 (fontified nil)) noresume nil "*anything complete*")
>>   anything-noresume((((name . "Default") (default-value . "") (action . identity) (accept-empty)) ((name . "Completions") (candidates) (action . identity) nil nil) ((name . "History") (candidates . org-remember-template-prompt-history::Brief\ Description) nil (action . identity)) ((name . #("Brief Description: " 0 17 ...)) (dummy) (action . identity))) nil #("Brief Description: " 0 17 (fontified nil)) nil nil "*anything complete*")
>>   ad-Orig-completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil nil)
>>   completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>>   apply(completing-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
>>   org-icompleting-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>>   apply(org-icompleting-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
>>   org-completing-read(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>>   apply(org-completing-read (#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil))
>>   org-completing-read-no-i(#("Brief Description: " 0 17 (fontified nil)) nil nil nil nil org-remember-template-prompt-history::Brief\ Description nil)
>>   org-remember-apply-template()
>>   run-hooks(fundamental-mode-hook text-mode-hook remember-mode-hook)
>>   apply(run-hooks (fundamental-mode-hook text-mode-hook remember-mode-hook))
>>   run-mode-hooks(remember-mode-hook)
>>   remember-mode()
>>   remember(nil)
>>   org-do-remember()
>>   org-remember(nil)
>>   call-interactively(org-remember nil nil)
>>
>> _______________________________________________
>> 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
>>

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: org-remember and anything
  2010-06-14 12:21                 ` Glauber Alex Dias Prado
@ 2010-06-14 20:21                   ` Thierry Volpiatto
  0 siblings, 0 replies; 21+ messages in thread
From: Thierry Volpiatto @ 2010-06-14 20:21 UTC (permalink / raw)
  To: emacs-orgmode

Glauber Alex Dias Prado <smade4@gmail.com> writes:

> i thought i was explicity enough when i said "when calling org-remember"
> :), this happens after i select a template and it prompts for completion
> which is being handled by anything, that is when the backtrace happens,
> this only happens with org-mode so i thought it was more a org thing
> than anything.

I understood you were using org-remember ;-)
What i still don't know is in what org-remember envolve anything.
Anything should not be called for template completion.
The config you sent me in other mail is not clear enough.
My guess is you are using anything-complete.el somewhere and maybe
something like this in your .emacs:

,----
| (anything-read-string-mode 1)
`----
That's replace normal completing-read and read-file-name by the one from
anything-complete.el that are experimentals and not working everywhere.

You will find stable replacement of these functions in
anything-config.el called:
anything-comp-read
anything-c-read-file-name


So, please try to invoke anything with ONLY this config:

,----
| (add-to-list 'load-path "path/to/anything")
| (require 'anything-config)
`----

You need only two files for this:
anything.el
anything-config.el

You can get the latest files here:
http://repo.or.cz/w/anything-config.git

And remove all personal anything configs you may have in .emacs or
somewhere else. (or use emacs -Q)

Then call org-remember and tell me if problem appear.

-- 
Thierry Volpiatto
Gpg key: http://pgp.mit.edu/

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: Org-mode collaborative (multiple users working on the same set of files)
  2010-06-14  8:33             ` Org-mode collaborative (multiple users working on the same set of files) Sébastien Vauban
@ 2010-06-22 15:04               ` Sébastien Vauban
  0 siblings, 0 replies; 21+ messages in thread
From: Sébastien Vauban @ 2010-06-22 15:04 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

Hi all,

> Regarding the clocked times:
>
>>> I just read this and before nobody answers, I'll give you a small POC that
>>> should work for you. As far as I can tell it doesn't break anything.
>>>
>>> (defun org-clock-out-mark-clock ()
>>>   (unless remove (insert (format " (%s)" user-full-name))))
>>>
>>> (add-hook 'org-clock-out-hook 'org-clock-out-mark-clock)
>
> Yep, this seems to work perfectly -- did not catch any conflict yet, but
> usage time still low.
>
> Example results:
>
> * My sub-project
>   :LOGBOOK:
>   CLOCK: [2010-06-14 Mon 09:15]--[2010-06-14 Mon 10:11] =>  0:56 (Sebastien Vauban)
>   - Test.
>   :END:
>
> Your proposed format seems nice to me.

Thinking a bit more about this, I would imagine a "tag"-like format would even
be more aligned with the rest, moreover if we could get a filtering function
(thus, based on tags):

--8<---------------cut here---------------start------------->8---
* My sub-project
  :LOGBOOK:
  CLOCK: [2010-06-14 Mon 09:15]--[2010-06-14 Mon 10:10] =>  0:55  :svauban:
  - Introduction.
  CLOCK: [2010-06-17 Thu 11:55]--[2010-06-17 Thu 14:40] =>  2:45  :eschulte:
  - First essay.
  CLOCK: [2010-06-18 Fri 12:10]--[2010-06-18 Fri 13:20] =>  1:10  :svauban:
  - Brainstorming.
  :END:
--8<---------------cut here---------------end--------------->8---

Of course, when using tags, that would imply that identifiers don't contain
spaces, if I'm not misspeaking.


>> [...] I have been using org-mode files as a point of collaboration on a
>> couple of projects (including org-babel [1]) and I think a generalization
>> of something like your proposed `org-user-identifier' variable could be
>> very useful for many of the org meta-data items associated with headlines.
>>
>> For example, it would be great to record the user responsible for every
>> TODO state change, so that something like
>>
>>   ** DONE Org-babel should work well when indented
>>      - State "DONE"       from "TODO"       [2010-06-10 Thu 15:48]
>>
>> would instead be
>>
>>   ** DONE Org-babel should work well when indented
>>      - State "DONE"       from "TODO"       by eschulte       [2010-06-10 Thu 15:48]
>
> That'd be great. I now dream of the ability to get a "revision history" to
> be easily inserted at the begin of a document, like all pros do.

Best regards,
  Seb

-- 
Sébastien Vauban


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

^ permalink raw reply	[flat|nested] 21+ messages in thread

* Re: org-remember and anything
  2010-06-14 13:38                 ` Glauber Alex Dias Prado
@ 2010-06-25 21:06                   ` rubikitch
  0 siblings, 0 replies; 21+ messages in thread
From: rubikitch @ 2010-06-25 21:06 UTC (permalink / raw)
  To: smade4; +Cc: emacs-orgmode, thierry.volpiatto

From: Glauber Alex Dias Prado <smade4@gmail.com>
Subject: Re: org-remember and anything
Date: Mon, 14 Jun 2010 10:38:09 -0300

> Oh sorry, here is complete instructions:
> (add-to-list 'load-path "/home/glauber/elisp")
> (add-to-list 'load-path "/home/glauber/elisp/org-mode")
> (add-to-list 'load-path "/home/glauber/elisp/org-mode/lisp")
> (require 'org)
> (require 'init-org-mode) ;; which can be found here: http://openpaste.org/22109/inline/
> (require 'anything-startup)
> (toggle-debug-on-error)
> 
> call function org-remember trough binding f9-o-r
> when prompt for a template press t
> results in backtrace. I think im using latest version of all involved.
> 
> Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:
> 
> > Hi, can you please provide more info on what you do exactly and how you
> > use anything (which source, function etc...) with org.
> > Which command give this backtrace?
> >
> > Glauber Alex Dias Prado <smade4@gmail.com> writes:
> >
> >> Hi,
> >> when calling org-remember, after selecting the template org doesnt
> >> provide the right syntax to anything as it is configure for icomplete i
> >> think, dunno what is really involved here as it used to work( i tried it
> >> with both ido completion support on and off):
> >>
> >> Sorry if this is not really a org thing:
> >>
> >>
> >> Debugger entered--Lisp error: (error "anything-interpret-value: Symbol must be a function or a variable")

Sorry for late reply.
I just fixed the bug.

Cheers,
--
rubikitch

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2010-06-25 21:06 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-09 18:45 simultaneous clocks? Erik Iverson
2010-06-09 18:53 ` Erik L. Arneson
2010-06-09 19:36   ` brian powell
2010-06-10  0:27 ` Bernt Hansen
2010-06-10  0:35   ` Erik Iverson
2010-06-10  0:37     ` Bernt Hansen
2010-06-10  3:50       ` Bernt Hansen
2010-06-10  7:41         ` Debate about "One clock per user, but user is identified" Sébastien Vauban
2010-06-12 15:23           ` Benjamin Andresen
2010-06-12 17:07             ` org-remember and anything Glauber Alex Dias Prado
2010-06-12 17:09               ` Bernt Hansen
2010-06-12 17:44                 ` Glauber Alex Dias Prado
2010-06-12 17:33               ` Thierry Volpiatto
2010-06-14 12:21                 ` Glauber Alex Dias Prado
2010-06-14 20:21                   ` Thierry Volpiatto
2010-06-14 13:38                 ` Glauber Alex Dias Prado
2010-06-25 21:06                   ` rubikitch
2010-06-12 16:34           ` Debate about "One clock per user, but user is identified" Eric Schulte
2010-06-12 16:48             ` Daniel Martins
2010-06-14  8:33             ` Org-mode collaborative (multiple users working on the same set of files) Sébastien Vauban
2010-06-22 15:04               ` Sébastien Vauban

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.