From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: sharing Org-mode files for collaboration Date: Sun, 25 Jul 2010 08:38:54 -0600 Message-ID: <87vd831v9d.fsf@gmail.com> References: <20100724153206.3db546f2@gmx.net> <87wrskczlb.fsf@mundaneum.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=56873 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Od2M5-0006vw-Gm for emacs-orgmode@gnu.org; Sun, 25 Jul 2010 10:39:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Od2M1-0005Ti-8R for emacs-orgmode@gnu.org; Sun, 25 Jul 2010 10:39:05 -0400 Received: from mail-px0-f169.google.com ([209.85.212.169]:43159) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Od2M1-0005TL-0a for emacs-orgmode@gnu.org; Sun, 25 Jul 2010 10:39:01 -0400 Received: by pxi7 with SMTP id 7so10085381pxi.0 for ; Sun, 25 Jul 2010 07:38:59 -0700 (PDT) In-Reply-To: <87wrskczlb.fsf@mundaneum.com> (=?utf-8?Q?=22S=C3=A9bastien?= Vauban"'s message of "Sat, 24 Jul 2010 23:57:36 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien?= Vauban Cc: emacs-orgmode@gnu.org S=C3=A9bastien Vauban writes: > Hello Carles, > >> There have been some threads here about sharing and collaboratively >> editing Org-mode files. I have a LAN with a central server and Samba >> shares, all clients have Emacs and Org-mode installed.=20 >> >> Sharing of calendars and tasks could be done through Org agenda. Right >> now I am implementing a very simple setup: >> >> - a shared folder with one org file per user >> >> - each user has writing permissions for his own file and reading >> permissions for all other org files >> >> - org-agenda-files of each user includes the names of the shared files >> of the other users >> >> Do you see any problems arising from this setup. Any other suggestions >> how it could be improved or extended? > > I have launched such a discussion, about extending the CLOCK times with a > suffix identifying the user. I have not had that much amount of reaction. > Maybe, this is not (yet) a main theme, currently. > > I find your setup interesting. The only drawback, for me, is that the next > thing we want is to work on common tasks, meaning we want to clock on com= mon > tasks. Hence, my topic http://osdir.com/ml/emacs-orgmode-gnu/2010-06/msg0= 0277.html. > > Best regards, > Seb Hi Carles, I've also been following the previous collaboration discussions, but haven't recently had a personal collaboration need. I would second S=C3=A9bastien's suggestions of maintaining a single Org-mode file to be shared by all users, that way each task need only appear once, and users can share notes, task information etc... in that one file. >From one previous thread, the following can be used to associate each user's username with clock in-out information. --8<---------------cut here---------------start------------->8--- (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) --8<---------------cut here---------------end--------------->8--- Also, take a look at the `org-log-note-headings' variable (documentation included below [1]), which consists of an easily customized format string, and can be used to associate information (most notably username) with task state changes. Summary information (e.g. who's been working on what) could then be collected using the username tags above in combination with something like org-collector [2]. I certainly find this area interesting, and I'd be interested to hear how your collaboration experience plays out. Best -- Eric Footnotes:=20 [1]=20=20 ,----[org-log-note-headings] | org-log-note-headings is a variable defined in `org.el'. | Its value is shown below. |=20 | Documentation: | Headings for notes added to entries. | The value is an alist, with the car being a symbol indicating the note | context, and the cdr is the heading to be used. The heading may also be = the | empty string. | %t in the heading will be replaced by a time stamp. | %T will be an active time stamp instead the default inactive one | %s will be replaced by the new TODO state, in double quotes. | %S will be replaced by the old TODO state, in double quotes. | %u will be replaced by the user name. | %U will be replaced by the full user name. |=20 | In fact, it is not a good idea to change the `state' entry, because | agenda log mode depends on the format of these entries. |=20 | You can customize this variable. |=20 | Value:=20 | ((done . "CLOSING NOTE %t") | (state . "State %-12s from %-12S %t") | (note . "Note taken on %t") | (reschedule . "Rescheduled from %S on %t") | (delschedule . "Not scheduled, was %S on %t") | (redeadline . "New deadline from %S on %t") | (deldeadline . "Removed deadline, was %S on %t") | (refile . "Refiled on %t") | (clock-out . "")) |=20 | [back] `---- [2] http://orgmode.org/worg/org-contrib/org-collector.php