Re: [Orgmode] Problems with Properties and Columns

2008-02-11 Thread Carsten Dominik


On Feb 10, 2008, at 11:24 PM, Bastien wrote:


Ian Barton [EMAIL PROTECTED] writes:



Taking the snippet below as an example. If I try to add a  
Property below My
Bank using C-c C-x p I am offered completions for the Properties  
defined

under Web Site Passwords, not Bank Details. Is this a bug, or am I
misunderstanding the scope of the Columns directive?


The COLUMN property just defines the column view, not the properties
themselves.  When you set a property with `C-c C-x p', the prompt  
offers
completion over all the properties that are found in the current  
buffer.


Does that answer your question?



Thanks Bastien. Yes and no:) In my example if I type ACC in the mini
buffer Emacs returns No Match, whereas I assume it should offer
ACCOUNTNO as a completion.


This is not the current behavior.

You have to actually use a property as a property (not as a column in
the :COLUMNS: property) so that the prompt offers it for completion.

But I agree it would be useful if Org were recognizing values in
:COLUMNS: as properties, even when they are not yet in use.


Yes, I just fixed this, 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


Re: [Orgmode] using org for meeting agendas and minutes?

2008-02-11 Thread Eric Schulte
On Monday, February 11, at 13:34, Adam Spiers wrote:
  On Sat, Feb 09, 2008 at 12:56:07PM +, Adam Spiers wrote:

[snipped]...

  Hmm, actually column view doesn't let you filter the table so that
  there are only rows corresponding to headers containing the 'ACTION'
  keyword, so it looks like a custom dynamic block writer function will
  be required.  Is there an appropriate API I could use for extracting
  all headers containing a given keyword from an org buffer?

I believe the TODO entries are saved as special properties, so you
should be able to access them using the properties API, which I have
found easy to use (and I'm far from facile with elisp).

(info (org)Special Properties)

(info (org)Using the property API)

although I don't know how you would cycle through all of the headers
in an org file...


___
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] auto-fill bug

2008-02-11 Thread Carsten Dominik
Probably you have set the value of comment-start to # somewhere in  
your

customization?  There is something wring with the line wrapping in
combination with this setting, I have not yet understood what.  So for  
now,

leave comment-start alone.

- Carsten

On Feb 11, 2008, at 1:32 PM, Adam Spiers wrote:


I just found some strange behaviour with auto-fill mode on:

- 8 - 8 - 8 - 8 - 8  
-

#+TITLE: test title

* First heading
 - Turn this into a long sentence to see the bug.

- 8 - 8 - 8 - 8 - 8  
-


If you extend the sentence by adding only words and spaces, when it
wraps, indentation is broken and a # appears from nowhere:

- 8 - 8 - 8 - 8 - 8  
-

#+TITLE: test title

* First heading
 - Turn this into a long sentence to see the bug.  Or you can start a
#new sentence; either way you get that strange #-prefixed  
outdentation.
- 8 - 8 - 8 - 8 - 8  
-


The odd thing is that if there is nothing in the buffer after the
point when you start (not even a newline) then the bug vanishes.

Reproduced with a recent git clone claiming to be 5.20, and also with
5.17.  Thanks!


___
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] auto-fill bug

2008-02-11 Thread Adam Spiers
Carsten Dominik ([EMAIL PROTECTED]) wrote:
 Probably you have set the value of comment-start to # somewhere in
 your customization?  There is something wring with the line wrapping
 in combination with this setting, I have not yet understood what.
 So for now, leave comment-start alone.

Actually it's set to  , which is even more puzzling ... :-/


___
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] ul HTML export bug?

2008-02-11 Thread Adam Spiers
Test case with recent git clone:

- 8 - 8 - 8 - 8 - 8 -
#+OPTIONS: H:1 toc:nil

* Heading
** Sub-heading a
** Sub-heading b
   This is some paragraph text.
** Sub-heading c
   This is some paragraph text.
- 8 - 8 - 8 - 8 - 8 -

generates:

- 8 - 8 - 8 - 8 - 8 -
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
   http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;

[snipped]

body
h1 class=titletest/h1

div class=outline-2
h21 Heading/h2

ul
liSub-heading abr/
/li
/ul
ul
liSub-heading bbr/
This is some paragraph text.
/li
/ul
ul
liSub-heading cbr/
This is some paragraph text.
/li
/ul
/div
div id=postamblep class=author Author: Adam Spiers
a href=mailto:[EMAIL PROTECTED]lt;[EMAIL PROTECTED]gt;/a
/p
p class=date Date: 2008/02/11 14:24:27/p
/div/body
- 8 - 8 - 8 - 8 - 8 -

Each sub-heading becomes a singleton unordered list, which results in
unwanted spacing in between each.  Also, couldn't the br/ be
replaced with p ?  So ideally I would expect the following
instead:

- 8 - 8 - 8 - 8 - 8 -
ul
  liSub-heading a
  /li
  liSub-heading b
pThis is some paragraph text./p
  /li
  liSub-heading c
pThis is some paragraph text./p
  /li
/ul
- 8 - 8 - 8 - 8 - 8 -

Thanks!


___
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] Finding tasks without a specific property set

2008-02-11 Thread Bernt Hansen
Hi all,

I'm using properties to track estimated effort on tasks.  I have the
following setup for estimaged effort for tasks and use column view to
set the values normally.

,[ .emacs settings for property Effort ]
| (setq org-global-properties '((Effort_ALL . 0 0:10 0:30 1:00 2:00 3:00 
4:00 5:00 6:00 7:00 8:00)))
| (setq org-columns-default-format %40ITEM(Task) %17Effort(Estimated 
Effort){:} %CLOCKSUM)
|
| (custom-set-variables
|  '(org-agenda-custom-commands (quote ((W Waiting Tasks tags /WAITING 
nil) 
| (n Next Tasks tags /NEXT nil) 
| (N Next Tasks - No Specified Duration 
tags 
-Effort=\0:10\-Effort=\0:30\-Effort=\1:00\-Effort=\2:00\-Effort=\3:00\-Effort=\4:00\-Effort=\5:00\-Effort=\6:00\-Effort=\7:00\-Effort=\8:00\/NEXT
 nil)
| (h Next Home Tasks tags @home/NEXT 
nil)
| (w Next Work Tasks tags @work/NEXT 
nil)
| (E Errands To Run tags 
@errand/-DONE-CANCELLED nil)
| (S Stuff To Do Someday tags 
/SOMEDAY nil)
`

One of the things I do regularly (as part of my weekly review) is find
NEXT tasks with no Effort property so I can use column view to add a
value for each task with no effort estimate.  I'm currently using a
custom agenda view (N) for this.

,[ Tags search for NEXT tasks with no Effort property assigned ]
| Headlines with TAGS match: 
-Effort=0:10-Effort=0:30-Effort=1:00-Effort=2:00-Effort=3:00-Effort=4:00-Effort=5:00-Effort=6:00-Effort=7:00-Effort=8:00/NEXT
`

I haven't found a better way to do this other than to list all possible
Effort property values in a tags search.  What I really want to match is
any NEXT task with no Effort property (or a Effort property value that
is blank)

Is there a way to do that?

I could just do a todo search for NEXT and go to column view and scan
down the list for blank entries... but my list of NEXT tasks is long
(currently 140).  Hmmm actually that isn't too bad and the NEXT todo
search is much faster than my Next Tasks - No Specified Duration
search which takes 6-10 seconds to execute.

Maybe I answered my own question :)

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


Re: [Orgmode] using org for meeting agendas and minutes?

2008-02-11 Thread Adam Spiers
On Sat, Feb 09, 2008 at 12:56:07PM +, Adam Spiers wrote:

[snipped]

   (3) Allow actions to be captured and then automatically extracted
   into a simple tabulated report which clearly shows actions
   grouped by owner.

[snipped]

 For (3) and (4), my current thinking is to have workflow defined by
 TODO keywords, e.g. 
 
   #+SEQ_TODO: ACTION WAITING | DONE
 
 and to have action ownership defined via tags, e.g.
 
   #+TAGS: { Alice(a) Bob(b) Carys(c) }
 
 Then a dynamic columnview block at the end of the file could easily
 extract all actions and summarise them so that each owner of action(s)
 can easily see them.  This is where sorting of rows in column view
 would be really useful!

Hmm, actually column view doesn't let you filter the table so that
there are only rows corresponding to headers containing the 'ACTION'
keyword, so it looks like a custom dynamic block writer function will
be required.  Is there an appropriate API I could use for extracting
all headers containing a given keyword from an org buffer?


___
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] Problems with Properties and Columns

2008-02-11 Thread Ian Barton
Thanks. I keep my org files in a Truecrypt container, where they should 
be safe from prying eyes.


Ian.



On a separate note, I'd recommend a tool like pwsafe
(http://nsd.dyndns.org/pwsafe/) for password storage unless you
encrypt your Org files.

Russell

On Sun, Feb 10, 2008 at 09:45:13PM +, Ian Barton wrote:
Taking the snippet below as an example. If I try to add a Property below 
My Bank using C-c C-x p I am offered completions for the Properties 
defined under Web Site Passwords, not Bank Details. Is this a bug, or am 
I misunderstanding the scope of the Columns directive?


Ian.

* Web Site Passwords.
  :PROPERTIES:
  :COLUMNS:  %25ITEM %USER %PASSWORD %URL %NOTES
  :END:

** Allaboutsymbian
   :PROPERTIES:
   :USER:
   :URL: http://www.allaboutsymbian.com
   :PASSWORD: sakskass
   :NOTES: some notes
   :
   :END:

* Bank Details.
  :PROPERTIES:
  :COLUMNS:  %25ITEM %ACCOUNTNO %NOTES
  :END:
** My Bank







___
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] auto-fill bug

2008-02-11 Thread Adam Spiers
I just found some strange behaviour with auto-fill mode on:

- 8 - 8 - 8 - 8 - 8 -
#+TITLE: test title

* First heading
  - Turn this into a long sentence to see the bug.

- 8 - 8 - 8 - 8 - 8 -

If you extend the sentence by adding only words and spaces, when it
wraps, indentation is broken and a # appears from nowhere:

- 8 - 8 - 8 - 8 - 8 -
#+TITLE: test title

* First heading
  - Turn this into a long sentence to see the bug.  Or you can start a
#new sentence; either way you get that strange #-prefixed outdentation.
- 8 - 8 - 8 - 8 - 8 -

The odd thing is that if there is nothing in the buffer after the
point when you start (not even a newline) then the bug vanishes.

Reproduced with a recent git clone claiming to be 5.20, and also with
5.17.  Thanks!


___
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] importing html

2008-02-11 Thread Rick Moynihan

Brian Gough wrote:

Is there an html-org mode converter?  I have some web pages I want to
import into org. Thanks.



Whenever I need to parse HTML, I turn to hpricot.  A fantastic Ruby 
based parser which does a great job of handling worst of the webs HTML.


http://code.whytheluckystiff.net/hpricot/

It makes simple screen scraping and file-format conversion the job of 
minutes.


R.


___
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] title vs document heading in HTML export

2008-02-11 Thread Adam Spiers
Two feature requests: please would it be possible to:

  a) control what goes in title separately from the document header
 (the text inside the first h1 by default), and

  b) wrap the initial #+TEXT inside a CSS class?

Would be much appreciated if it's easy to do, thanks!


___
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] Check-box cookies in column view

2008-02-11 Thread Daniel J. Sinder
Org-mode supports the cookies [/] and [%] to summarize the check 
status of the plain-list checkboxes below the headline.


However, for check-box style properties, the summary-type in 
:COLUMNS: allows only an all-or-none summary (that is, the parent 
heading's column is marked [X] on if *all* children are [X]).


Is there a way to get plain-list style status (% done, or x/y done) 
in column view for properties that are of checkbox type?


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] Problems with Properties and Columns

2008-02-11 Thread Russell Adams
On a separate note, I'd recommend a tool like pwsafe
(http://nsd.dyndns.org/pwsafe/) for password storage unless you
encrypt your Org files.

Russell

On Sun, Feb 10, 2008 at 09:45:13PM +, Ian Barton wrote:
 Taking the snippet below as an example. If I try to add a Property below 
 My Bank using C-c C-x p I am offered completions for the Properties 
 defined under Web Site Passwords, not Bank Details. Is this a bug, or am 
 I misunderstanding the scope of the Columns directive?
 
 Ian.
 
 * Web Site Passwords.
   :PROPERTIES:
   :COLUMNS:  %25ITEM %USER %PASSWORD %URL %NOTES
   :END:
 
 ** Allaboutsymbian
:PROPERTIES:
:USER:
:URL: http://www.allaboutsymbian.com
:PASSWORD: sakskass
:NOTES: some notes
:
:END:
 
 * Bank Details.
   :PROPERTIES:
   :COLUMNS:  %25ITEM %ACCOUNTNO %NOTES
   :END:
 ** My Bank
 
 
 ___
 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


--
Russell Adams[EMAIL PROTECTED]

PGP Key ID: 0x1160DCB3   http://www.adamsinfoserv.com/

Fingerprint:1723 D8CA 4280 1EC9 557F  66E8 1154 E018 1160 DCB3


___
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