Re: [Orgmode] Re: Build error with Emacs 21

2008-04-07 Thread Carsten Dominik


On Apr 6, 2008, at 2:59 AM, Michael Ekstrand wrote:


Carsten Dominik [EMAIL PROTECTED] writes:

I just pushed a fix.


Thank you.

Now it gets a lot farther, but compiling org-irc.el fails with an  
error
loading 'erc' (which makes sense, but it'd be nice if `make' would  
work
anyway :-)).  Deleting the org-irc line from the Makefile lets it  
finish

the build correctly.


I have pushed a fix for this, too.

Thanks for the report.

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Bug in checklists

2008-04-07 Thread Carsten Dominik


On Apr 6, 2008, at 12:20 AM, Dominik Honnef wrote:


Hi.
Recently I installed org (after i viewed some pretty exciting
screencast about it), but i had a hard time to figure out, why the
checklists and especially the progess indicator ([%] or [/]) didn't
work. Whenever I had one of the indicators and I (un)checked one
of the items, emacs froze till I hit C-g.

After a while I realized that it needs at least one more line,
may it be empty or not, after the list, to work properly.

I naturally guess this isn't wanted, so I thought, why not
post it to the mailing list.


This has been fixed a few days ago, so if you go and pull the latest git
version, it should work fine.

Thanks for the report.

- Carsten




___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Org-mode versus Taskpaper - now for real

2008-04-07 Thread Carsten Dominik

H no more entries. :-(

Anyway, here is my entry, just to prove that N is 8 (at least for now),
and also to show that perl can function as a write-only language.

- Carsten

#!/usr/bin/perl -p
# taskpaper-to-org converter including #+TAGS setup in 239 bytes
/^(\t*)-(.*?)((@\w+ *)*)$/;
@u=grep{$_ ne'@done'}(@t=split/ +/,$3);
@[EMAIL PROTECTED]('',@u,''):();
[EMAIL PROTECTED];
$_=*x(2+length$1).(@[EMAIL PROTECTED] TODO: 
DONE).$2.join(:,@v).\nif$;
s/^\w.*:\s*$/* $/;
END{printf * Setup\n#+TAGS: %s\n,join' ',keys%t}




On Apr 4, 2008, at 11:12 AM, Carsten Dominik wrote:


Well, indeed not exactly the same, but very close.  A way to measure
the distance between two formats is using a discrete p-N metric.
The distance between two formats is said to be N if there is
perl program with less than 2^N (2 to the power N) significant
characters that will turn this test taskpaper file

/
| Project 1:
| - Task 1 @home
| - Task 2 @work @boss
|   - Subtask 2.1 @done
|   - Subtask 2.2 @Alice
| More text belonging to subtask 2.2
| - Task 3
| This is not a project, but text belonging to task 3
|
| Project 2:
| - Task 4
| - Task 5 @done
\

into this equivalent Org file:

/
| * Project 1:
| ** TODO Task 1 :@home:
| ** TODO Task 2 :@work:@boss:
| *** DONE Subtask 2.1
| *** TODO Subtask 2.2 :@Alice:
| More text belonging to subtask 2.2
| ** TODO Task 3
| This is not a project, but text belonging to task 3
|
| * Project 2:
| ** TODO Task 4
| ** DONE Task 5
\

Anyone wants to take up the challenge?  What N can be achieved?

Bonus points if the program also adds

/-
| #+TAGS: @Alice @boss @work @home
\-

somewhere, but that is not required for a valid entry.

No more than 2^N *significant* characters means that
after stripping the line invoking the perl interpreter

#+/usr/bin/perl -p

and after stripping newlines and other insignificant whitespace,
the program may have at most 2^N bytes.

In fact, any other language is also allowed - however, usually
perl makes the smallest converters and is therefore the best
measure for distance in p_N space.

- Carsten



___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Org-mode and taskpaper

2008-04-07 Thread Carsten Dominik


On Apr 2, 2008, at 11:25 AM, Leo wrote:


On 2008-04-01 09:03 +0100, Russell Adams wrote:

As to tables, I would miss them dearly. They aren't immediately
related to folding outlines or schedules, but I frequently use short
tables for summing information and the exported view is nice.


The `table' functionality can turn into a new spread sheet package for
Emacs.


Yes, it could, but the really tight integration with org-mode
would be a bit harder to achieve with an external package.
So this will stay in.  You do know that orgtbl-mode is available
to get the table editor into other modes?

- Carsten



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Displaying a standalone timer window based on clock-in/out

2008-04-07 Thread Carsten Dominik


On Apr 1, 2008, at 8:14 PM, Jose Robins wrote:

Before I was aware of org-mode, I developed this small superkaramba  
timer application which would display which task I was working on,  
when I started it, how much time was left, and also the current  
time. I've attached a snapshot of that app to this email.


Now I'm using org-mode extensively which has reignited my love for  
emacs. I know org-mode displays the current task and the elapsed  
time on the emacs modeline which is good. I was wondering if it  
would be possible to generate a separate automatic emacs frame  
(which is compact and for all intents and purposes looks like a  
simple xwindow) with the task name, the elapsed time etc. from org- 
mode as soon as you clock in .. This would allow for this timer  
window to be on all desktops for e.g without being intrusive.


Right now, I basically manually enter this info into my custom timer  
when I clock in and out of a task in org-mode.


Not sure whether others using org-mode feel a similar need or  
whether they use any other methods...


Hmmm, I don't really see the need/use for this, so I am not going to
implement it.  Maybe I can provide you with a hook and you write a  
package

to use this hook?

- Carsten

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Displaying a standalone timer window based on clock-in/out

2008-04-07 Thread Jose Robins



Carsten Dominik wrote:


On Apr 1, 2008, at 8:14 PM, Jose Robins wrote:

Before I was aware of org-mode, I developed this small superkaramba 
timer application which would display which task I was working on, 
when I started it, how much time was left, and also the current time. 
I've attached a snapshot of that app to this email.


Now I'm using org-mode extensively which has reignited my love for 
emacs. I know org-mode displays the current task and the elapsed time 
on the emacs modeline which is good. I was wondering if it would be 
possible to generate a separate automatic emacs frame (which is 
compact and for all intents and purposes looks like a simple xwindow) 
with the task name, the elapsed time etc. from org-mode as soon as 
you clock in .. This would allow for this timer window to be on all 
desktops for e.g without being intrusive.


Right now, I basically manually enter this info into my custom timer 
when I clock in and out of a task in org-mode.


Not sure whether others using org-mode feel a similar need or whether 
they use any other methods...


Hmmm, I don't really see the need/use for this, so I am not going to
implement it.  Maybe I can provide you with a hook and you write a 
package

to use this hook?

- Carsten




That would be good! I'll see if I can do something around that. Now that 
you've said that you don't really see the need for this, I suppose, 
everyone else would agree with you!! :-) After all, you managed to make 
an april fool's joke and everyone jumped on your bandwagon not realizing 
it was a joke! Such is your moral power, my friend!! :-)


Jose

___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Using Alt as Meta

2008-04-07 Thread Dan Davison
I came across org-mode a couple of weeks ago. I'm really impressed: it looks 
excellent, useful, and like it will take me some time before I've worked out 
how best to use it. But I think I will carry on using it fairly seriously, so 
thanks very much Carsten for something that looks like it's going to be really 
useful.

I suspect I'm going to have quite a few questions for this list but I'm going 
to start off with something trivial and/or a stupid question.

Prior to installing org-mode, it had always been my understanding that in my 
set-up the Alt key provided the function of 'Meta' (e.g. I always use Alt-x 
some-emacs-function [RET])
Why is is that I have to use Esc-Right for org-metaright, and Alt-Right 
brings up the message: 'A-right is undefined'? What's an appropriate way to
tell org-mode to use Alt as Meta in this situation?

Thanks!

Dan


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Using Alt as Meta

2008-04-07 Thread Chris Leyon
On Mon, Apr 7, 2008 at 4:16 PM, Dan Davison [EMAIL PROTECTED] wrote:
  Why is is that I have to use Esc-Right for org-metaright, and Alt-Right 
 brings up the message: 'A-right is undefined'? What's an appropriate way to
  tell org-mode to use Alt as Meta in this situation?
  Thanks!
  Dan

Try putting `(setq x-alt-keysym 'meta)' in your .emacs


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] orgmode.org down ?

2008-04-07 Thread Cezar Halmagean

Hi list,

  Is the website down ? I am trying to get the latest version on
  org-mode because I get an error with the current one, and hope the
  latest version will fix it :)

  error: Recursive `require' for feature `calendar'

  GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of
  2008-04-07

Regards,
Cezar



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: orgmode.org down ?

2008-04-07 Thread Cezar Halmagean
Bastien [EMAIL PROTECTED] writes:

 Hi Cezar,

 the website was in the middle of a domain name transfer.
 It is on now: http://orgmode.org

 Cezar Halmagean [EMAIL PROTECTED] writes:

   Is the website down ? I am trying to get the latest version on
   org-mode because I get an error with the current one, and hope the
   latest version will fix it :)

 -- 

I seem to have the latest version !

Any idea why I get that error msg ?

Regards,
Cezar



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] orgmode.org down ?

2008-04-07 Thread Carsten Dominik

Hi Cezar,

since nobody else seems to have this problem, chances are that this is  
in your setup.

What is your setup for Org/calendar/diary ???

- Carsten

On Apr 8, 2008, at 1:46 AM, Cezar Halmagean wrote:



Hi list,

 Is the website down ? I am trying to get the latest version on
 org-mode because I get an error with the current one, and hope the
 latest version will fix it :)

 error: Recursive `require' for feature `calendar'

 GNU Emacs 23.0.60.2 (i686-pc-linux-gnu, GTK+ Version 2.12.9) of
 2008-04-07

Regards,
Cezar



___
Emacs-orgmode mailing list
Remember: 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
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: orgmode.org down ?

2008-04-07 Thread Cezar Halmagean
Carsten Dominik [EMAIL PROTECTED] writes:

 Hi Cezar,

 since nobody else seems to have this problem, chances are that this is
 in your setup.
 What is your setup for Org/calendar/diary ???

 - Carsten

http://mixandgo.com/org-mode-init.el



___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode