[Orgmode] Re: [Accepted] Re: Bug: Jumping to a date in the agenda changes view back to 'day' [7.4 (release_7.4.80.g0e5e5)]

2011-02-05 Thread Julien Danjou
On Sat, Feb 05 2011, Matt Lundin wrote:

 This patch breaks custom commands --- i.e., if one binds org-agenda-span
 in a custom command, it seems to be overridden by the span of whatever
 agenda command one last called (i.e., org-agenda-current-span).

 Steps to replicate:

 1. (setq org-agenda-span 'day)

 2. M-x org-agenda-list

 3. Check the value of org-agenda-current-span = day

 4. Call the following custom command:

 (setq org-agenda-custom-commands
   '((c Calendar agenda 
((org-agenda-span 'week)
 (org-agenda-start-on-weekday 0)   
 (org-agenda-time-grid nil)
 (org-agenda-entry-types '(:timestamp :sexp))
 (org-agenda-prefix-format  %-12:t )
 (org-deadline-warning-days 0)
 (org-agenda-include-all-todo nil)
 (org-agenda-repeating-timestamp-show-all t)
 

 This results in only a day view because org-agenda-current-span is still
 'day.

Yes, this has already been reported, I just did not had the time to find
a proper fix.

-- 
Julien Danjou
❱ http://julien.danjou.info


pgppDM5P7afRW.pgp
Description: PGP signature
___
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] [OT] Taskwarrior, nice GTD-oriented CLI thing

2011-02-05 Thread Dirk-Jan C . Binnema
Hi,

 On Fri, 04 Feb 2011 09:19:51 +, Eric S Fraga (ESF) wrote:

   Imagine being able to pop open a terminal and type '$ org-todo call so and
   so on friday ~/org/task.org' and be done :)

  ESF I can already do:

  ESF : emacsclient -e '(org-capture nil t)'

  ESF to invoke my todo capture template.  I have not yet figured out if one
  ESF could automatically specify the text to go with any particular capture
  ESF template, however.  A quick look at the code didn't help me.

What about using org-protocol? If you have a capture template like:

   (x store todo item from command line entry
   (file+headline todo.org Tasks)
   * TODO %i\n\t%u)

You can use something like:   

   $ emacsclient org-protocol:/capture:/x/a/b/buy milk

(it seems org-protocol gets confused when you leave out the the a/b dummy
args)

Best wishes,
Dirk.

-- 
Dirk-Jan C. Binnema  Helsinki, Finland
e:d...@djcbsoftware.nl   w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C

___
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] managing a shared project using org-mobile ?

2011-02-05 Thread Leo Noordhuizen
Maybe you can make use of Dropbox to share the file(s) ?

On Fri, Feb 4, 2011 at 9:49 PM, Rémi Letot hob...@poukram.net wrote:

 Hello,

 I have been using org-mode for quite some times, and mobile-org (the
 android version) for a much shorter time. So first of all I want to
 thank all involved contributors: THANK YOU ALL !!!

 Now to my problem: I use org-mode for managing... well, for managing my
 life :-) But now I have a project that needs collaboration with a
 partner. I naturally thought about org-mode for management, and
 particularly mobile-org since we are both android users.

 But how can I share one org file between two users, and more importantly
 between two mobile-org instances ?

 Thanks for your input,
 --
 Rémi


 ___
 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

___
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: managing a shared project using org-mobile ?

2011-02-05 Thread Rémi Letot
Leo Noordhuizen leo.noordhui...@gmail.com writes:

 Maybe you can make use of Dropbox to share the file(s) ?

Yep, I just realized that sharing an org file is not that easy, I need a
backend that can handle merging and conflict resolution. Now dropbox is
not an option for me for privacy reasons (and besides I don't think they
handle conflicts and merging), but I could easily setup an hg repository
and some glue to handle that from emacs. I'm even sure that I'm not the
first one to tackle that, so the recipe is probably out there waiting
for my google foo :-)

But that leaves mobile-org out of the picture, I don't think it can
handle merging and conflict resolution. The mobile part being a
requirement for us, I'll have to find another solution than org for that
particular project :-(

Thanks anyway,
-- 
Rémi


___
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: Easily go to some frequently accessed heading (narrowed to region)

2011-02-05 Thread Bernt Hansen
Darlan Cavalcante Moreira darc...@gmail.com writes:

 Hello,

 I have a main .org file where I put almost everything. There is a
 Projects headline where each subheading is a different project. During
 the day I need to go to the Projects headline and open one of the its
 subheadings when I want and add/read something in that project. I know I
 can use a capture template to add something to one of the projects, but
 that does not work (or does it?) when I just want to read or modify
 something.

 Does anyone has some function to easily jump to a specific headline as well
 as narrowing to that headline? What I have in mind is some function that
 switches to a specific headline, call org-tree-to-indirect-buffer and
 rename the buffer to the headline title (if the buffer already exists just
 switch to it). In this way I could bind keys to easily go to the most
 common projects. The holy grail would be something similar to the agenda
 that would present me with the different projects.

Hi Darlan,

I'm a little late into this discussion but I used to use a function to
clock in specific tasks based on id.  Just generate a unique id for the
task you want and it should be trivial to map it to a key to jump
directly to that task.

Just use org-id-goto with the id of the task and narrow as required.

Below is my function to clock in a task by id.

--8---cut here---start-8---
(defun bh/clock-in-task-by-id (id)
  Clock in a task by id
  (save-restriction
(widen)
(org-with-point-at (org-id-find id 'marker)
  (org-clock-in nil

--8---cut here---end---8---

--8---cut here---start-8---
* Some Project
** Some Task
:PROPERTIES:
:ID: w003j861fue0
:END:
* Next project
--8---cut here---end---8---

M-x org-id-goto w003j861fue0 RET

I just hardcoded the IDs into my define key functions to get to the task
required.

--8---cut here---start-8---
(global-set-key (kbd f9 m) 'bh/clock-in-read-mail-and-news-task)
(global-set-key (kbd f9 o) 'bh/clock-in-organization-task)


(defun bh/clock-in-organization-task ()
  (interactive)
  (bh/clock-in-task-by-id 437c2cde-fbf0-491f-92ba-51bae487b338))

(defun bh/clock-in-read-mail-and-news-task ()
  (interactive)
  (bh/clock-in-task-by-id 85c2e69b-6f37-4236-8896-4f7dd86047c1))
--8---cut here---end---8---

HTH,
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


Re: [Orgmode] [OT] Taskwarrior, nice GTD-oriented CLI thing

2011-02-05 Thread Eric S Fraga
Dirk-Jan C. Binnema djcb.b...@gmail.com writes:

 Hi,

 On Fri, 04 Feb 2011 09:19:51 +, Eric S Fraga (ESF) wrote:

Imagine being able to pop open a terminal and type '$ org-todo call so 
 and
so on friday ~/org/task.org' and be done :)

   ESF I can already do:

   ESF : emacsclient -e '(org-capture nil t)'

   ESF to invoke my todo capture template.  I have not yet figured out if one
   ESF could automatically specify the text to go with any particular capture
   ESF template, however.  A quick look at the code didn't help me.

 What about using org-protocol? If you have a capture template like:

(x store todo item from command line entry
(file+headline todo.org Tasks)
* TODO %i\n\t%u)

 You can use something like:   

$ emacsclient org-protocol:/capture:/x/a/b/buy milk

Yes, this works nicely.  Thanks!

However, it's the first step towards the original specification.  We
want to be able to simply have the note saved -- that is, no interaction
with emacs directly.  Can this be done as well?

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.4 (release_7.4.315.g68cf7.dirty)

___
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] Re: adding new plain lists item changes previous one it it ends in a number on a single lijne followed by a dot

2011-02-05 Thread Nicolas Goaziou
Hello,

 I understand that blank-number-dot starts a plain list item. But in
 my example the numbered list would be second level whilst the
 unordered list would be first level (of indentation). Org-mode
 rightly inserts a dash but why does it fiddle with another list item
 of different (second) level when inserting an new first level item?
 Is this necessary to in order to insert the next dashed item?

Before applying any modification to a list, Org will check its
integrity and correct it. It is necessary, as inserting an item can
change bullets, which in turn can change indentation. And we want this
just right.

Even if it wasn't the case, Org would still recognize the line as an
item start, and problems would arise sooner or later (for example upon
exporting).

 In my case I could see the change of 2007. to 1. because it was
 so near it was also on the display. But this may happen with list
 items which are not displayed and therefore one would not recognise
 the damage...

I understand this. But as it has already been told in this thread, .
as bullet separator is risky and you've just encountered the risk. I
don't see a solution about it, but I'm all ears to any reasonable way
to handle this.

Regards,

--
Nicolas

___
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] A way to export agenda with links into org-files to html ?

2011-02-05 Thread Marc-Oliver Ihm

Hello,

I have some co-workers with whom I would like to share my notes from org 
and even some of the todos, which are recorded there.


Unfortunately they are not very emacs savy, so that I need another way 
besides emacs to give access to this information. Html is an obvious option.


The html exporter gives excellent results for all of my org-files and 
with org-write-agenda it is very easy to write the agenda to file.


However, in the html-version of the agenda there are no links.

Is there a way around this or is there another way to do this ?

I know, there have been discussions on this topic, but I have found no 
solution yet.


Is there a way ?

Any help would be appreciated.

with kind regards, Marc-Oliver Ihm


___
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