[Orgmode] Re: Release 6.30

2009-09-06 Thread Carsten Dominik

Hi Rainer,

On Sep 5, 2009, at 4:08 PM, Rainer Stengele wrote:


Hi Carsten,

excellent, thanks a lot!

I now have have started with this regexp:

...
'(org-agenda-entry-text-exclude-regexps (quote (^.*- State \DONE 
\.*\n ^.*erzeugt:.*\n)))

...


which works except in cases like these:

...
- State DONE   [2008-02-24 So 20:52]
- State DONE   [2008-02-24 So 20:52]
erzeugt: [2008-01-12 Sa 21:40]
...

or

...
- State DONE   [2008-02-24 So 20:51]
- State DONE   [2008-02-24 So 20:51]
- State DONE   [2008-02-24 So 20:51]
- State DONE   [2008-02-24 So 20:51]
- State DONE   [2008-02-24 So 20:50]
- State DONE   [2008-02-24 So 20:50]
erzeugt: [2008-01-12 Sa 21:40]
...


The agenda weeds out alle lines except the last line erzeugt 


The reason for this was that the last line did not have a newline  
after it,

because that is being removed before the regular expressions are
applied.  I have changed this now, so that the \n is still present.
Another fix would have been to make the final newline optional by
adding ? to the regexp.

- Carsten





Rainer


Carsten Dominik schrieb:

Hi Rainer,
On Sep 4, 2009, at 12:03 PM, Rainer Stengele wrote:

Hi Carsten,

Thanks for releasing all the new features!
It is amazing to see new features - which mostly make a lot of  
sense for me - coming up all the time.



Carsten Dominik schrieb:

Hi,
I am releasing Org-mode version 6.30.
Enjoy!
- Carsten
   Changes in Version 6.30
   ===

...

New mode to show some entry body text in the agenda

There is now a new agenda sub-mode called
`org-agenda-entry-text-mode'.  It is toggled with the `E' key.
When active, all entries in the agenda will be accompanied by a
few lines from the outline entry.  The amount of text can be
customized with the variable `org-agenda-entry-text-maxlines'.



this already avoids displaying drawer lines.
I also see lines like:

   - State DONE   from WARTEN [2009-08-04 Di 16:19]
   - State DONE   from WARTEN [2009-07-02 Do 09:43]
...

and in my remeber templates I always create lines like:

created: [2009-08-03 Mo 11:46]

with the creation date of the entry.
Would it be possible and make sense to set up a variable for a  
regexp to exclude lines like the ones above from showing?

Yes, I agree this would make sense.
There is now a variable and a hook for this purpose:
org-agenda-entry-text-exclude-regexps
org-agenda-entry-text-cleanup-hook
HTH
- Carsten


rainer

___
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: Release 6.30

2009-09-06 Thread Rainer Stengele

Carsten Dominik schrieb:

Hi Rainer,

On Sep 5, 2009, at 4:08 PM, Rainer Stengele wrote:


Hi Carsten,

excellent, thanks a lot!

I now have have started with this regexp:

...
'(org-agenda-entry-text-exclude-regexps (quote (^.*- State 
\DONE\.*\n ^.*erzeugt:.*\n)))

...


which works except in cases like these:

...
- State DONE   [2008-02-24 So 20:52]
- State DONE   [2008-02-24 So 20:52]
erzeugt: [2008-01-12 Sa 21:40]
...

or

...
- State DONE   [2008-02-24 So 20:51]
- State DONE   [2008-02-24 So 20:51]
- State DONE   [2008-02-24 So 20:51]
- State DONE   [2008-02-24 So 20:51]
- State DONE   [2008-02-24 So 20:50]
- State DONE   [2008-02-24 So 20:50]
erzeugt: [2008-01-12 Sa 21:40]
...


The agenda weeds out alle lines except the last line erzeugt 


The reason for this was that the last line did not have a newline after it,
because that is being removed before the regular expressions are
applied.  I have changed this now, so that the \n is still present.
Another fix would have been to make the final newline optional by
adding ? to the regexp.

- Carsten



Carsten, it works now!
Thanx for being the fastest maintainer I know at all!
It's plain fun to continue to see org getting better all the time.


- Rainer



___
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: Release 6.30

2009-09-06 Thread Rainer Stengele

Carsten Dominik schrieb:

...



The reason for this was that the last line did not have a newline after it,
because that is being removed before the regular expressions are
applied.  I have changed this now, so that the \n is still present.
Another fix would have been to make the final newline optional by
adding ? to the regexp.

- Carsten






Hi Carsten,

sorry to come up again with this. I have lines in my org file like these 
(headlines only, no content):


 TODO [#B] Heizungskeller: Abluftrohr einbauen
 TODO [#B] Briefkasten abdichten mit transparentem Silikon
 TODO [#B] Badewanne OG1 abdichten

Showing these in my agenda with the new E option results in:

 TODO [#B] Heizungskeller: Abluftrohr einbauen
    TODO [#B] Briefkasten abdichten mit transparentem Silikon
 TODO [#B] Briefkasten abdichten mit transparentem Silikon
    TODO [#B] Badewanne OG1 abdichten
 TODO [#B] Badewanne OG1 abdichten

it looks like if there is no body line at all the next line appearing 
will be taken even if it is a headline.



- Rainer


___
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: Release 6.30

2009-09-06 Thread Carsten Dominik

Fixed, thanks.

- Carsten

On Sep 6, 2009, at 8:58 PM, Rainer Stengele wrote:


Carsten Dominik schrieb:

...

The reason for this was that the last line did not have a newline  
after it,

because that is being removed before the regular expressions are
applied.  I have changed this now, so that the \n is still present.
Another fix would have been to make the final newline optional by
adding ? to the regexp.
- Carsten




Hi Carsten,

sorry to come up again with this. I have lines in my org file like  
these (headlines only, no content):


 TODO [#B] Heizungskeller: Abluftrohr einbauen
 TODO [#B] Briefkasten abdichten mit transparentem Silikon
 TODO [#B] Badewanne OG1 abdichten

Showing these in my agenda with the new E option results in:

 TODO [#B] Heizungskeller: Abluftrohr einbauen
   TODO [#B] Briefkasten abdichten mit transparentem Silikon
 TODO [#B] Briefkasten abdichten mit transparentem Silikon
   TODO [#B] Badewanne OG1 abdichten
 TODO [#B] Badewanne OG1 abdichten

it looks like if there is no body line at all the next line  
appearing will be taken even if it is a headline.



- Rainer




___
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: Release 6.30

2009-09-05 Thread Rainer Stengele

Hi Carsten,

excellent, thanks a lot!

I now have have started with this regexp:

...
 '(org-agenda-entry-text-exclude-regexps (quote (^.*- State 
\DONE\.*\n ^.*erzeugt:.*\n)))

...


which works except in cases like these:

...
 - State DONE   [2008-02-24 So 20:52]
 - State DONE   [2008-02-24 So 20:52]
 erzeugt: [2008-01-12 Sa 21:40]
...

or

...
 - State DONE   [2008-02-24 So 20:51]
 - State DONE   [2008-02-24 So 20:51]
 - State DONE   [2008-02-24 So 20:51]
 - State DONE   [2008-02-24 So 20:51]
 - State DONE   [2008-02-24 So 20:50]
 - State DONE   [2008-02-24 So 20:50]
 erzeugt: [2008-01-12 Sa 21:40]
...


The agenda weeds out alle lines except the last line erzeugt 


Rainer


Carsten Dominik schrieb:

Hi Rainer,

On Sep 4, 2009, at 12:03 PM, Rainer Stengele wrote:


Hi Carsten,

Thanks for releasing all the new features!
It is amazing to see new features - which mostly make a lot of sense 
for me - coming up all the time.



Carsten Dominik schrieb:

Hi,
I am releasing Org-mode version 6.30.
Enjoy!
- Carsten
Changes in Version 6.30
===

...

New mode to show some entry body text in the agenda

There is now a new agenda sub-mode called
`org-agenda-entry-text-mode'.  It is toggled with the `E' key.
When active, all entries in the agenda will be accompanied by a
few lines from the outline entry.  The amount of text can be
customized with the variable `org-agenda-entry-text-maxlines'.



this already avoids displaying drawer lines.
I also see lines like:

- State DONE   from WARTEN [2009-08-04 Di 16:19]
- State DONE   from WARTEN [2009-07-02 Do 09:43]
...

and in my remeber templates I always create lines like:

 created: [2009-08-03 Mo 11:46]

with the creation date of the entry.
Would it be possible and make sense to set up a variable for a regexp 
to exclude lines like the ones above from showing?


Yes, I agree this would make sense.

There is now a variable and a hook for this purpose:

org-agenda-entry-text-exclude-regexps

org-agenda-entry-text-cleanup-hook


HTH

- Carsten




rainer




___
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: Release 6.30

2009-09-04 Thread Rainer Stengele

Hi Carsten,

Thanks for releasing all the new features!
It is amazing to see new features - which mostly make a lot of sense for 
me - coming up all the time.



Carsten Dominik schrieb:

Hi,

I am releasing Org-mode version 6.30.

Enjoy!

- Carsten

 Changes in Version 6.30
 ===


...


New mode to show some entry body text in the agenda


There is now a new agenda sub-mode called
`org-agenda-entry-text-mode'.  It is toggled with the `E' key.
When active, all entries in the agenda will be accompanied by a
few lines from the outline entry.  The amount of text can be
customized with the variable `org-agenda-entry-text-maxlines'.



this already avoids displaying drawer lines.
I also see lines like:

 - State DONE   from WARTEN [2009-08-04 Di 16:19]
 - State DONE   from WARTEN [2009-07-02 Do 09:43]
...

and in my remeber templates I always create lines like:

  created: [2009-08-03 Mo 11:46]

with the creation date of the entry.
Would it be possible and make sense to set up a variable for a regexp to 
exclude lines like the ones above from showing?


rainer



___
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: Release 6.30

2009-09-04 Thread Carsten Dominik

Hi Rainer,

On Sep 4, 2009, at 12:03 PM, Rainer Stengele wrote:


Hi Carsten,

Thanks for releasing all the new features!
It is amazing to see new features - which mostly make a lot of sense  
for me - coming up all the time.



Carsten Dominik schrieb:

Hi,
I am releasing Org-mode version 6.30.
Enjoy!
- Carsten
Changes in Version 6.30
===

...

New mode to show some entry body text in the agenda

There is now a new agenda sub-mode called
`org-agenda-entry-text-mode'.  It is toggled with the `E' key.
When active, all entries in the agenda will be accompanied by a
few lines from the outline entry.  The amount of text can be
customized with the variable `org-agenda-entry-text-maxlines'.



this already avoids displaying drawer lines.
I also see lines like:

- State DONE   from WARTEN [2009-08-04 Di 16:19]
- State DONE   from WARTEN [2009-07-02 Do 09:43]
...

and in my remeber templates I always create lines like:

 created: [2009-08-03 Mo 11:46]

with the creation date of the entry.
Would it be possible and make sense to set up a variable for a  
regexp to exclude lines like the ones above from showing?


Yes, I agree this would make sense.

There is now a variable and a hook for this purpose:

org-agenda-entry-text-exclude-regexps

org-agenda-entry-text-cleanup-hook


HTH

- Carsten




rainer




___
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: Release 6.30

2009-09-02 Thread Tassilo Horn
Carsten Dominik carsten.domi...@gmail.com writes:

 it is this commit:

 bbc27c011ab5d44d37dca662d1a393d429dbe4b3

That commit is in, but grepping for separate-frame in all *.el files
gives no result and the docs don't mention it, too.

,[ C-h v org-agenda-window-setup RET ]
| org-agenda-window-setup is a variable defined in `org-agenda.el'.
| Its value is reorganize-frame
| 
| Documentation:
| How the agenda buffer should be displayed.
| Possible values for this option are:
| 
| current-windowShow agenda in the current window, keeping all other 
windows.
| other-frame   Use `switch-to-buffer-other-frame' to display agenda.
| other-window  Use `switch-to-buffer-other-window' to display agenda.
| reorganize-frame  Show only two windows on the current frame, the current
|   window and the agenda.
| See also the variable `org-agenda-restore-windows-after-quit'.
`

Looking at git show bbc27c011ab5d44d37dca662d1a393d429dbe4b3 it seems
to me, that there's no new value, but that other-frame now uses a
dedicated window.

Bye,
Tassilo



___
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: Release 6.30

2009-09-02 Thread Carsten Dominik


On Sep 2, 2009, at 10:11 AM, Tassilo Horn wrote:


Carsten Dominik carsten.domi...@gmail.com writes:


it is this commit:

bbc27c011ab5d44d37dca662d1a393d429dbe4b3


That commit is in, but grepping for separate-frame in all *.el files
gives no result and the docs don't mention it, too.

,[ C-h v org-agenda-window-setup RET ]
| org-agenda-window-setup is a variable defined in `org-agenda.el'.
| Its value is reorganize-frame
|
| Documentation:
| How the agenda buffer should be displayed.
| Possible values for this option are:
|
| current-windowShow agenda in the current window, keeping all  
other windows.
| other-frame   Use `switch-to-buffer-other-frame' to display  
agenda.
| other-window  Use `switch-to-buffer-other-window' to display  
agenda.
| reorganize-frame  Show only two windows on the current frame, the  
current

|   window and the agenda.
| See also the variable `org-agenda-restore-windows-after-quit'.
`

Looking at git show bbc27c011ab5d44d37dca662d1a393d429dbe4b3 it  
seems

to me, that there's no new value, but that other-frame now uses a
dedicated window.


Yes, this seems to have been a typo in the release notes.  You need to  
use the value `other-frame'.


- Carsten



Bye,
Tassilo



___
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: Release 6.30

2009-09-02 Thread Andrew Hyatt
Yep, that was my confusion.  Thanks!

On Wed, Sep 2, 2009 at 5:30 AM, Carsten
Dominikcarsten.domi...@gmail.com wrote:

 On Sep 2, 2009, at 10:11 AM, Tassilo Horn wrote:

 Carsten Dominik carsten.domi...@gmail.com writes:

 it is this commit:

 bbc27c011ab5d44d37dca662d1a393d429dbe4b3

 That commit is in, but grepping for separate-frame in all *.el files
 gives no result and the docs don't mention it, too.

 ,[ C-h v org-agenda-window-setup RET ]
 | org-agenda-window-setup is a variable defined in `org-agenda.el'.
 | Its value is reorganize-frame
 |
 | Documentation:
 | How the agenda buffer should be displayed.
 | Possible values for this option are:
 |
 | current-window    Show agenda in the current window, keeping all other
 windows.
 | other-frame       Use `switch-to-buffer-other-frame' to display agenda.
 | other-window      Use `switch-to-buffer-other-window' to display agenda.
 | reorganize-frame  Show only two windows on the current frame, the
 current
 |                   window and the agenda.
 | See also the variable `org-agenda-restore-windows-after-quit'.
 `

 Looking at git show bbc27c011ab5d44d37dca662d1a393d429dbe4b3 it seems
 to me, that there's no new value, but that other-frame now uses a
 dedicated window.

 Yes, this seems to have been a typo in the release notes.  You need to use
 the value `other-frame'.

 - Carsten


 Bye,
 Tassilo



 ___
 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



___
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: Release 6.30

2009-09-01 Thread Bernt Hansen
Carsten Dominik carsten.domi...@gmail.com writes:

 New command to submit a bug report
 ---

 There is now a special command `M-x org-submit-bug-report'.  This
 command will create a mail buffer with lots of useful details.
 In particular, it contains complete version information for Emacs
 and Org-mode.  It will also (if you agree to it) contain all
 non-standard settings of org-mode and outline-mode related
 variables.  Even if you do not sent your emails from within
 Emacs, please still use this command to generate the information
 and then copy it into your mail program.

 The command will not generate and include a `*Backtrace*' buffer,
 please do this yourself if you have hit an error.  For more
 information, see the [feedback section] of the manual.

 [feedback section]: http://orgmode.org/manual/Feedback.html#Feedback


This is cool.  There's a minor typo in the mail text - patch follows.

-Bernt


___
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