Re: [Orgmode] property constants in elisp formulas

2007-10-23 Thread Carsten Dominik

I believe you can, yes.  Why don;y you just try and watch the effect
by turning on formula debugging?

BTW, 5.13d omits the parenthesis in Lisp formula interpolation...

- Carsten

On Oct 19, 2007, at 10:32 PM, Eddward DeVilla wrote:


Now, just as a stupid question, if I put a lisp expression into a
property, can I use it in a formula?

= sample 
* top
  :PROPERTIES:
  :fives:(0  8  16)
  :fours:(2  18 58)
  :threes:   (6  11 33)
  :twos: (3  13 36)
  :ones: (0  13 59)
  :zeros:(0  6  23)
  :null: (17 8  59)
  :END:

*** test 1
|   | day | hour | minute |
|---+-+--+|
| # |   0 |8 | 16 |
| # |   2 |   18 | 58 |
| # |   6 |   11 | 33 |
| # |   3 |   13 | 36 |
| # |   0 |   13 | 59 |
| # |   0 |6 | 23 |
| # |  17 |8 | 59 |
#+TBLFM: @2$2='(car   '$PROP_fives)::@2$3='(cadr
'$PROP_fives)::@2$4='(caddr '$PROP_fives)::@3$2='(car
'$PROP_fours)::@3$3='(cadr  '$PROP_fours)::@3$4='(caddr
'$PROP_fours)::@4$2='(car   '$PROP_threes)::@4$3='(cadr
'$PROP_threes)::@4$4='(caddr '$PROP_threes)::@5$2='(car
'$PROP_twos)::@5$3='(cadr  '$PROP_twos)::@5$4='(caddr
'$PROP_twos)::@6$2='(car   '$PROP_ones)::@6$3='(cadr
'$PROP_ones)::@6$4='(caddr '$PROP_ones)::@7$2='(car
'$PROP_zeros)::@7$3='(cadr  '$PROP_zeros)::@7$4='(caddr
'$PROP_zeros)::@8$2='(car   '$PROP_null)::@8$3='(cadr
'$PROP_null)::@8$4='(caddr '$PROP_null)

==

Also, in the above example, the property values were aligned for me.
In my previous example, that didn't happen.  It seems that the
alignment code does like underscores in names

= sample ==
* top
  :PROPERTIES:
  :fives:0  8  16
  :d_5: 0
  :fours:2  18 58
  :END:

=

Lastly, since I'm whining, there's a bug in the formula editor that
I'm not sure if I've mentioned before.  Edit the table below with C-c
'.  The '(@-I$2..$2) will become '(@-I$2..B) which causes #ERRORs.

== sample ===
* top
  :PROPERTIES:
  :fives:0  8  16
  :fours:2  18 58
  :threes:   6  11 33
  :twos: 3  13 36
  :ones: 0  13 59
  :zeros:0  6  23
  :null: 17 8  59
  :END:

*** test 2
|   | day ||
|---+-+|
| # |   0 |  0 |
| # |   2 |  2 |
| # |   6 |  8 |
| # |   3 | 11 |
| # |   0 | 11 |
| # |   0 | 11 |
| # |  17 | 28 |
#+TBLFM: $3='(apply '+ '(@-I$2..$2));N::@2$2='(car
'$PROP_fives)::@3$2='(car   '$PROP_fours)::@4$2='(car
'$PROP_threes)::@5$2='(car   '$PROP_twos)::@6$2='(car
'$PROP_ones)::@7$2='(car   '$PROP_zeros)::@8$2='(car   '$PROP_null)



Edd

On 10/19/07, Carsten Dominik [EMAIL PROTECTED] wrote:

You are right, there should be no parenthesis in Lisp interpolation.
Will be fixed in 5.14.

- Carsten

On Oct 19, 2007, at 0:06, Eddward DeVilla wrote:


Hi,

Is there a better way to do this?

= sample file =
* top
  :PROPERTIES:
  :d_5: 0
  :h_5: 8
  :m_5: 16
  :d_4: 2
  :h_4: 18
  :m_4: 58
  :d_3: 6
  :h_3: 11
  :m_3: 33
  :d_2: 3
  :h_2: 13
  :m_2: 36
  :d_1: 0
  :h_1: 13
  :m_1: 59
  :d_0: 0
  :h_0: 6
  :m_0: 23
  :d_n: 17
  :h_n: 8
  :m_n: 59
  :END:

*** test
|   | day | hour | minute |
|---+-+--+|
| # |   0 |8 | 16 |
| # |   2 |   18 | 58 |
| # |   6 |   11 | 33 |
| # |   3 |   13 | 36 |
| # |   0 |   13 | 59 |
| # |   0 |6 | 23 |
| # |  17 |8 | 59 |
#+TBLFM: @2$2='(car '$PROP_d_5)::@2$3='(car '$PROP_h_5)::@2$4='(car
'$PROP_m_5)::@3$2='(car '$PROP_d_4)::@3$3='(car
'$PROP_h_4)::@3$4='(car '$PROP_m_4)::@4$2='(car
'$PROP_d_3)::@4$3='(car '$PROP_h_3)::@4$4='(car
'$PROP_m_3)::@5$2='(car '$PROP_d_2)::@5$3='(car
'$PROP_h_2)::@5$4='(car '$PROP_m_2)::@6$2='(car
'$PROP_d_1)::@6$3='(car '$PROP_h_1)::@6$4='(car
'$PROP_m_1)::@7$2='(car '$PROP_d_0)::@7$3='(car
'$PROP_h_0)::@7$4='(car '$PROP_m_0)::@8$2='(car
'$PROP_d_n)::@8$3='(car '$PROP_h_n)::@8$4='(car '$PROP_m_n)



Specifically, is there a better way to get at a property constant  
with

an elisp formula?  It seems the value is automatically put in parens
such that $h_3 is (11) which is a little awkward.  On the other  
hand,

maybe I can use that to store a list in a property.

Edd


___
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




--
Carsten Dominik
Sterrenkundig Instituut Anton Pannekoek
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477








___
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: problems with Agenda Buffer

2007-10-23 Thread Carsten Dominik

Hello everyone,

Org-mode version 5.13a
GNU Emacs 22.1.1 (i386-mingw-nt5.1.2600) of 2007-06-02 on RELEASE

I have a problem with the interaction of the global Agenda Buffer
(the one displayed with the C-c a a  sequence) and some
variables defined in a file.
Here the file:

---g-file.org
#+SEQ_TODO: READ | DONE
#+LINK: acs http://pubs3.acs.org/acs/journals/toc.page?incoden=%s

** READ [[acs:ancham][Anal Chem]]
   DEADLINE: 2007-10-29 lun +2w   f


I added the file to the Agenda files with C-c [

When I display the Agenda Buffer

+ If I toggle the READ state in the Agenda Buffer using t and I
  write the closing note:Vol. 79, No. 20: October 15, 2007
   in the file I have:
   - CLOSING NOTE [2007-10-22 lun 10:47] \\
 Vol. 79, No. 20: October 15, 2007
   (so far so good)

BUT the deadline remains the same: DEADLINE: 2007-10-29 lun +2w   f
and does not change to:DEADLINE: 2007-11-12 lun +2w   f
as it should.


This does work for me, I cannot reproduce this problem.
Do you have other files in org-agenda-files?  In what sequence?
What are the TODO keywords in those files?  What are your
clobal TODO settings (in the variable `org-todo-keywords')?



I also found a minor issue:

When in the Agenda Buffer
- I cannot open the abbreviated link acs:ancham clicking on it.


Fixed (will be in 5.13e), thanks.

- 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


[Orgmode] org mode vs basecamp

2007-10-23 Thread cezar

Hello,

  I was curios if there is a way to use org mode as a project management
  and collaboration tool.

  Here is a cool web app that does this:
  www.basecamphq.com

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] Upgrading org-mode--Windows

2007-10-23 Thread Michael Dixon
I apologize in advance if this question is off-topic/inappropriate, but 
the version of org-mode packaged with emacs 22.1 for Windows is 4.67, 
while the latest current version is 5.13. I can't seem to figure out how 
to update the org-mode package in Windows. Any help?



___
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] Upgrading org-mode--Windows

2007-10-23 Thread Scott Jaderholm
On 10/22/07, Michael Dixon [EMAIL PROTECTED] wrote:

 I apologize in advance if this question is off-topic/inappropriate, but
 the version of org-mode packaged with emacs 22.1 for Windows is 4.67,
 while the latest current version is 5.13. I can't seem to figure out how
 to update the org-mode package in Windows. Any help?


Michael,

1. Download http://orgmode.org/org-5.13d.zip
2. Extract it to your home directory, in a folder such as .elisp/org
3. Add the following to your .emacs before any other org customizations.
Change the directory to match where you put org.
(add-to-list 'load-path ~/.elisp/org)
4. I think that's it.

Good luck,
Scott
___
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] Upgrading org-mode--Windows

2007-10-23 Thread Eddward DeVilla
You will need to install your own copy.  I'm not sure the way I do it
is the best, but it's easy.  First you will need to download the
latest org-mode and unpack it in some temp directory.

Next you will have to determine when you want you're copy to go.
On windows, I run emacs under cygwin, and I put a .emacs_packages
directory in my home directory where I put my addons.  You can use any
directory so pick something that works for how you organize things.

Once you have you directory, copy all the .el files from the
unpacked org archive into it.  This will probably be org-install.el,
org-mouse.el,  org-publish.el   org.el.

Now you need to tell emacs to load files from you directory.  I
have the following in my .emacs.  Modify as needed.
;; set up my own package directory
(setq load-path
  (append (list nil ~/.emacs_packages)
  load-path))

The rest of what I have may not be needed by you.
(add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
(define-key global-map \C-cl 'org-store-link)
(define-key global-map \C-ca 'org-agenda)
(add-hook 'org-mode-hook 'turn-on-font-lock)  ; org-mode buffers only
(require 'org-install)

After this is in place you can start emacs, open on org-buffer and do
M-x org-version to verify what you are running.  I just noticed that I
append to the load-path.  You may need to put you directory on the
front of the list.

Edd

On 10/22/07, Michael Dixon [EMAIL PROTECTED] wrote:
 I apologize in advance if this question is off-topic/inappropriate, but
 the version of org-mode packaged with emacs 22.1 for Windows is 4.67,
 while the latest current version is 5.13. I can't seem to figure out how
 to update the org-mode package in Windows. Any help?


 ___
 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] property constants in elisp formulas

2007-10-23 Thread Eddward DeVilla
On 10/23/07, Carsten Dominik [EMAIL PROTECTED] wrote:
 I believe you can, yes.  Why don;y you just try and watch the effect
 by turning on formula debugging?

It works now.  I just wasn't sure if it was supposed to.  cool.

 BTW, 5.13d omits the parenthesis in Lisp formula interpolation...

Great!  Thanks.  Did you notice the other two problems in my email?  I
wasn't sure if they got lost after the long example.  The underscore
in properties isn't that big of a deal, but the problem with the
formula editor is really annoying.

Edd

 - Carsten

 On Oct 19, 2007, at 10:32 PM, Eddward DeVilla wrote:

  Now, just as a stupid question, if I put a lisp expression into a
  property, can I use it in a formula?
 
  = sample 
  * top
:PROPERTIES:
:fives:(0  8  16)
:fours:(2  18 58)
:threes:   (6  11 33)
:twos: (3  13 36)
:ones: (0  13 59)
:zeros:(0  6  23)
:null: (17 8  59)
:END:
 
  *** test 1
  |   | day | hour | minute |
  |---+-+--+|
  | # |   0 |8 | 16 |
  | # |   2 |   18 | 58 |
  | # |   6 |   11 | 33 |
  | # |   3 |   13 | 36 |
  | # |   0 |   13 | 59 |
  | # |   0 |6 | 23 |
  | # |  17 |8 | 59 |
  #+TBLFM: @2$2='(car   '$PROP_fives)::@2$3='(cadr
  '$PROP_fives)::@2$4='(caddr '$PROP_fives)::@3$2='(car
  '$PROP_fours)::@3$3='(cadr  '$PROP_fours)::@3$4='(caddr
  '$PROP_fours)::@4$2='(car   '$PROP_threes)::@4$3='(cadr
  '$PROP_threes)::@4$4='(caddr '$PROP_threes)::@5$2='(car
  '$PROP_twos)::@5$3='(cadr  '$PROP_twos)::@5$4='(caddr
  '$PROP_twos)::@6$2='(car   '$PROP_ones)::@6$3='(cadr
  '$PROP_ones)::@6$4='(caddr '$PROP_ones)::@7$2='(car
  '$PROP_zeros)::@7$3='(cadr  '$PROP_zeros)::@7$4='(caddr
  '$PROP_zeros)::@8$2='(car   '$PROP_null)::@8$3='(cadr
  '$PROP_null)::@8$4='(caddr '$PROP_null)
 
  ==
 
  Also, in the above example, the property values were aligned for me.
  In my previous example, that didn't happen.  It seems that the
  alignment code does like underscores in names
 
  = sample ==
  * top
:PROPERTIES:
:fives:0  8  16
:d_5: 0
:fours:2  18 58
:END:
 
  =
 
  Lastly, since I'm whining, there's a bug in the formula editor that
  I'm not sure if I've mentioned before.  Edit the table below with C-c
  '.  The '(@-I$2..$2) will become '(@-I$2..B) which causes #ERRORs.
 
  == sample ===
  * top
:PROPERTIES:
:fives:0  8  16
:fours:2  18 58
:threes:   6  11 33
:twos: 3  13 36
:ones: 0  13 59
:zeros:0  6  23
:null: 17 8  59
:END:
 
  *** test 2
  |   | day ||
  |---+-+|
  | # |   0 |  0 |
  | # |   2 |  2 |
  | # |   6 |  8 |
  | # |   3 | 11 |
  | # |   0 | 11 |
  | # |   0 | 11 |
  | # |  17 | 28 |
  #+TBLFM: $3='(apply '+ '(@-I$2..$2));N::@2$2='(car
  '$PROP_fives)::@3$2='(car   '$PROP_fours)::@4$2='(car
  '$PROP_threes)::@5$2='(car   '$PROP_twos)::@6$2='(car
  '$PROP_ones)::@7$2='(car   '$PROP_zeros)::@8$2='(car   '$PROP_null)
 
  
 
  Edd
 
  On 10/19/07, Carsten Dominik [EMAIL PROTECTED] wrote:
  You are right, there should be no parenthesis in Lisp interpolation.
  Will be fixed in 5.14.
 
  - Carsten
 
  On Oct 19, 2007, at 0:06, Eddward DeVilla wrote:
 
  Hi,
 
  Is there a better way to do this?
 
  = sample file =
  * top
:PROPERTIES:
:d_5: 0
:h_5: 8
:m_5: 16
:d_4: 2
:h_4: 18
:m_4: 58
:d_3: 6
:h_3: 11
:m_3: 33
:d_2: 3
:h_2: 13
:m_2: 36
:d_1: 0
:h_1: 13
:m_1: 59
:d_0: 0
:h_0: 6
:m_0: 23
:d_n: 17
:h_n: 8
:m_n: 59
:END:
 
  *** test
  |   | day | hour | minute |
  |---+-+--+|
  | # |   0 |8 | 16 |
  | # |   2 |   18 | 58 |
  | # |   6 |   11 | 33 |
  | # |   3 |   13 | 36 |
  | # |   0 |   13 | 59 |
  | # |   0 |6 | 23 |
  | # |  17 |8 | 59 |
  #+TBLFM: @2$2='(car '$PROP_d_5)::@2$3='(car '$PROP_h_5)::@2$4='(car
  '$PROP_m_5)::@3$2='(car '$PROP_d_4)::@3$3='(car
  '$PROP_h_4)::@3$4='(car '$PROP_m_4)::@4$2='(car
  '$PROP_d_3)::@4$3='(car '$PROP_h_3)::@4$4='(car
  '$PROP_m_3)::@5$2='(car '$PROP_d_2)::@5$3='(car
  '$PROP_h_2)::@5$4='(car '$PROP_m_2)::@6$2='(car
  '$PROP_d_1)::@6$3='(car '$PROP_h_1)::@6$4='(car
  '$PROP_m_1)::@7$2='(car '$PROP_d_0)::@7$3='(car
  '$PROP_h_0)::@7$4='(car '$PROP_m_0)::@8$2='(car
  '$PROP_d_n)::@8$3='(car '$PROP_h_n)::@8$4='(car '$PROP_m_n)
 
  
 
  Specifically, is there a better way to get at a property constant
  with
  an elisp formula?  It seems the value is automatically put in parens
  such that $h_3 is (11) which is a little awkward.  On the other
  hand,
  maybe I can use that to store a list in a property.
 
  Edd
 
 
  ___
  Emacs-orgmode mailing list
  Remember: use `Reply 

Re: [Orgmode] org mode vs basecamp

2007-10-23 Thread Bastien
Hi Cesar,

[EMAIL PROTECTED] writes:

   I was curios if there is a way to use org mode as a project
   management and collaboration tool.

As for the project management part, it's quite obvious to me that Org
qualifies, at least for 90% of the core functions that are needed to be
a project management tool (see the recent discussion on dependencies.)

But I guess the important side of your question is: can I use Org as a
*collaboration* tool?

Well -- please do :)

1. One idea is to put an Org file on a CVS server, letting people check
   it in and out, so that everybody knows what he has to-do and what is
   the state of the project.

2. Another idea is to give someone the responsability to maintain an Org
   file dispatching to-do list items through the team, displaying clear
   deadlines, tasks status, etc.

3. The third idea is to let a web interface directly operate changes on
   underlying Org files. I think this is achievable: Org files are text,
   but with a reasonable set of conventions to format them we could edit
   them through another tool.  
   
   I don't think such a tool exist right now, but that would actually be
   fun.

   Here is a cool web app that does this:
   www.basecamphq.com

What PM/collaborative features do you have in this that you would like
to see in Org? 

-- 
Bastien


___
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] Diary formatting problem

2007-10-23 Thread Dave C. Nelson

I'm having a problem with displaying the diary within org mode. For
example, if I have a diary entry like:

Tuesday
7:00-8:30 Item 1
Item 2
Item 3

Org mode doesn't format this properly. Items 2 and 3 don't appear with
item 1, they appear after all my todo items, but with no time.  Using
calendar and then displaying the dairy results in output that gets
formatted correctly.

What am I doing wrong?

Dave Nelson
Skokie Public Library


___
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] Diary formatting problem

2007-10-23 Thread Bastien
Dave C. Nelson [EMAIL PROTECTED] writes:

 Tuesday
   7:00-8:30 Item 1
   Item 2
   Item 3

 Org mode doesn't format this properly. Items 2 and 3 don't appear with
 item 1, they appear after all my todo items, but with no time.  Using
 calendar and then displaying the dairy results in output that gets
 formatted correctly.

For both Org and Emacs diary, these consist in three diary entries for
tuesday: one at 7:00-8:30, the other two are not scheduled.  

Then Org only display Item 1 in the time-grid, and append the other
two at the and of the day.  

The diary display looks it is correct, but it's just because the display
is not aware of anything like the time-grid.  

 What am I doing wrong?

Maybe use 

 7:00-8:30 Item 1, 2 and 3 

if all the three items are scheduled at 7:00.   or use

 7:00-8:30  Item 1
 8:30-10:00 Item 2
 ...

if you want all items to be displayed in the time-grid.

HTH,

-- 
Bastien


___
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: org mode vs basecamp

2007-10-23 Thread cezar
Bastien [EMAIL PROTECTED] writes:

 3. The third idea is to let a web interface directly operate changes on
underlying Org files. I think this is achievable: Org files are text,
but with a reasonable set of conventions to format them we could edit
them through another tool.  

I don't think such a tool exist right now, but that would actually be
fun.

I think this what I had in mind, so an emacs addict like me can work
with other people without them having to learn emacs/org. So a web
interface to this would ROCK !

The basecamp guys did a pretty good job, an you can see some videos on
their website (don't know if this is doable with org-mode).


   Here is a cool web app that does this:
   www.basecamphq.com

 What PM/collaborative features do you have in this that you would like
 to see in Org? 


Ok, here it goes:

Things org-mode allready has:

1. TODO's 

2. Deadlines

3. Manage different projects with ease.


Things that are not there (or are not obvious):

1. Collaboration 

2. Comments (blog style)

3. Attachments (various projects need different files)

4. Views (client view / company view)

5. Assignment ( this task is for NEO )

6. (feel free to add your thoughts here) :D

Cheers,
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] Re: org mode vs basecamp

2007-10-23 Thread Bastien
[EMAIL PROTECTED] writes:

 I think this what I had in mind, so an emacs addict like me can work
 with other people without them having to learn emacs/org. So a web
 interface to this would ROCK !

I think the easiest way would be to have a database standing between the
Org file(s) and the web interface.  Like this, you would be able to edit 
project either directly from the Org files or through the web interface,
the database being responsible to keep things synchronized.

But this is a lot of work... and i'm not sure .org files can really
breath and live long outside Emacs.

 The basecamp guys did a pretty good job, an you can see some videos on
 their website (don't know if this is doable with org-mode).

Before we go further into this discussion, let me raise again a concern
that many in this list expressed before me: Org should stick to the Unix
coding principle, i.e. « do one thing and do it well. » Org-mode handles
to-do lists, and it does it well.

There is no need to make Org a full-fledged project management system;
but if such a system is able to interact (edit/store) in some way with
Org's file format, then it's worth to explore this way.

 Things that are not there (or are not obvious):

 1. Collaboration 

If you share a file with other people, you can assign a task to someone
by adding a :Owner: property.

 2. Comments (blog style)

To me the content of an entry looks like comments.

 3. Attachments (various projects need different files)

Well, you can do this with links.

 4. Views (client view / company view)

Aren't sparse-tree/agenda views enough?  

 5. Assignment ( this task is for NEO )

See my suggestion above.

 6. (feel free to add your thoughts here) :D

I think the whole issue is not How to make Org a collaborative tool for
project management but rather: Is it worth trying to implement a web
application that uses Org format for storing/exchanging information?

And I don't have any answer to that!

-- 
Bastien


___
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 version 5.13

2007-10-23 Thread Scott Jaderholm
On 10/19/07, Carsten Dominik [EMAIL PROTECTED] wrote:


 Changes in Version 5.13
 

  - New variable `org-agenda-window-frame-fractions' to
customize the size limits of the agenda window in the case
that you display the agenda window by reorganizing the
frame.


In org 5.12 when I do C-c a the Agenda Commands window that comes up is only
as tall as it needs to be. In 5.13 it is half the frame height. I'm not sure
exactly which change caused this. Setting org-agenda-window-frame-fractions
to have a minimum of 0.1 doesn't make the agenda commands window any
smaller, as I think it only affects the Org Agenda window.

Thanks for another great release!

--Scott
___
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] Two bugs with setting deadlines/scheduling

2007-10-23 Thread Scott Jaderholm
As of 5.13 I am unable to schedule or set deadlines other than tomorrow. I
thought this must be something in my settings but running emacs with -q and
loading org without any special settings yields the same bug. Is anyone else
having this problem?

A more minor bug: if I create a file and add a heading without entering a
newline and then try to schedule or set a deadline it will just say End of
buffer and not set anything, except it does add a newline. Then if I try
again the command will work.

Cheers,
Scott
___
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] Two bugs with setting deadlines/scheduling

2007-10-23 Thread Bastien
Scott Jaderholm [EMAIL PROTECTED] writes:

 As of 5.13 I am unable to schedule or set deadlines other than
 tomorrow. I thought this must be something in my settings but running
 emacs with -q and loading org without any special settings yields the
 same bug. Is anyone else having this problem?

Same here -- fixed in the patch below.  This was a problem with the new
function: `org-read-date-get-relative'

I didn't manage to fix the problem with inserting relative dates like
++2d though.  It looks like Org doesn't default to the date at point
anymore.  

 A more minor bug: if I create a file and add a heading without entering
 a newline and then try to schedule or set a deadline it will just say
 End of buffer and not set anything, except it does add a newline. Then
 if I try again the command will work.

Fixed in the patch below.

diff -u /home/guerry/elisp/testing/org/org.el /home/guerry/elisp/testing/bzg/org.el
--- /home/guerry/elisp/testing/org/org.el	2007-10-24 03:09:10.0 +0100
+++ /home/guerry/elisp/testing/bzg/org.el	2007-10-24 03:08:00.0 +0100
@@ -13748,7 +13748,8 @@
 	  (goto-char (match-end 1))
 	  (setq col (current-column))
 	  (goto-char (match-end 0))
-	  (if (eobp) (insert \n) (forward-char 1))
+	  (if (eobp) (insert \n))
+	  (forward-char 1)
 	  (if (and (not (looking-at outline-regexp))
 		   (looking-at (concat [^\r\n]*? org-keyword-time-regexp
    [^\r\n]*))
@@ -16474,7 +16475,7 @@
 
 (defun org-read-date-get-relative (s today default)
   Check string S for special relative date string.
-TODAY and DEFAULT are ionternal times, for today and for a default.
+TODAY and DEFAULT are internal times, for today and for a default.
 Return shift list (N what def-flag)
 WHAT   is \d\, \w\, \m\, or \y\ for day. week, month, year.
 N  is the number if WHATs to shift
@@ -16482,7 +16483,7 @@
the DEFAULT date rather than TODAY.
   (when (string-match
 	 (concat
-	  \\`[ \t]*\\([-+]\\{1,2\\}\\)?
+	  \\`[ \t]*[-+]+\\(\\{1,2\\}\\)?
 	  \\([0-9]+\\)?
 	  \\([dwmy]\\|\\( (mapconcat 'car parse-time-weekdays \\|) \\)\\)?
 	  \\([ \t]\\|$\\)) s)

Diff finished.  Wed Oct 24 03:09:29 2007

-- 
Bastien
___
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 version 5.13

2007-10-23 Thread Carsten Dominik


On Oct 24, 2007, at 2:14 AM, Bastien wrote:


Scott Jaderholm [EMAIL PROTECTED] writes:


 - New variable `org-agenda-window-frame-fractions' to
   customize the size limits of the agenda window in the case
   that you display the agenda window by reorganizing the
   frame.

In org 5.12 when I do C-c a the Agenda Commands window that comes up
is only as tall as it needs to be. In 5.13 it is half the frame
height. I'm not sure exactly which change caused this.


`org-agenda-window-setup' or `org-agenda-window-frame-fractions' don't
change the way the Agenda Commands window is displayed.

I guess Carsten wanted the default size of windows to be the same for
the Agenda Commands window and for any agenda view.  But I think the
Agenda Commands window should be as small as possible since it's not
likely to change very often.


No, the reason was that due to the ability to have multiple keys  
leading to

a command, the window is displayed several times, and it is annoying
when it changes during a single command selection.  But I forgot
to get it small on the first key.  Fixed, thanks.

- 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