Re: [Orgmode] Trying to write an elisp function to move subtree to end of file

2010-09-22 Thread Nick Dokos
Charles Cave charles_c...@optusnet.com.au wrote:

 I am writing an elisp function to move the subtree (at the point/cursor)
 to the end of the file.  The code from .elisp is shown
 
 I get an error message Invalid function: (org-cut-subtree)
 
 (defun move-subtree-to-end ()
   (interactive)
   (save-excursion (
   (org-cut-subtree)
   (end-of-buffer)
(org-paste-subtree))
   )
 )
 (global-set-key (kbd C-c e) 'move-subtree-to-end)
 

A few too many parens: try

(defun move-subtree-to-end ()
  (interactive)

  (save-excursion
(org-cut-subtree)
(end-of-buffer)
(org-paste-subtree))
)

HTH,
Nick

 To give you background, my todo list/journal has been captured in 
 a date tree and I would like to move an item to the end of the buffer.
 The reason for this will be explained in an upcoming article!
 
 Refiling is not applicable as (I don't think) the target can be defined.
 
 A date tree looks like:
 
 * 2010
 ** 2010-07 July...
 ** 2010-08 August...
 ** 2010-09 September
 *** 2010-09-21 Tuesday
  Headline of added entry
  Headline of another entry
 *** 2010-09-22 Wednesday
 
 
 Thanks!
 Charles
 
 
 
 ___
 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


Re: [Orgmode] does #+PROPERTY still exist ?

2010-09-22 Thread Nick Dokos
Vincent Belaïche vincent@hotmail.fr  wrote:

 In the org manual node `(org) Property syntax' one can read the
 following:
 
 
 --8-coupez ici--début--8---
If you want to set properties that can be inherited by any entry
 in a file, use a line like 
  #+PROPERTY: NDisks_ALL 1 2 3 4
 --8-coupez ici---fin---8---
 
 However this does not seem to work.

In what way does it fail to work?

AFAICT, it works as advertised: after inserting the above line, I try to
insert a NDisks property with 

   C-c C-x p NDisksRET5RET

and it complains (No match).  If I use e.g. 3 instead of 5, the
property is inserted.

Nick

 
 What I did to get the same effect is place a property drawer before the
 first title, and then set 
 
 #+OPTIONS: skip:t
 
 In order to disable export of this drawer (because I am exporting
 drawers in general).
 
 I would like to know whether this is a bug, and if yes I can provide a
 patch to the manual with work-around explained above.
 
 BR,
Vincent.
 
 PS: #+PROPERTY does not work with completion `C-M-i' either
 
 
 
 ___
 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: does #+PROPERTY still exist ?

2010-09-22 Thread Noorul Islam K M
Nick Dokos nicholas.do...@hp.com writes:

 Vincent Belaïche vincent@hotmail.fr  wrote:

 In the org manual node `(org) Property syntax' one can read the
 following:
 
 
 --8-coupez ici--début--8---
If you want to set properties that can be inherited by any entry
 in a file, use a line like 
  #+PROPERTY: NDisks_ALL 1 2 3 4
 --8-coupez ici---fin---8---
 
 However this does not seem to work.

 In what way does it fail to work?

 AFAICT, it works as advertised: after inserting the above line, I try to
 insert a NDisks property with 

C-c C-x p NDisksRET5RET

 and it complains (No match).  If I use e.g. 3 instead of 5, the
 property is inserted.


In the below example 


#+PROPERTY: Age 25
#+COLUMNS: %25ITEM %Age

* Heading 1
* Heading 2


When I try to use column view to edit the property it is not using the
format that I mentioned at the file level.

But the following one works


* Heading 1
  :PROPERTIES:
  :Age: 25
  :COLUMNS: %25ITEM %Age
  :END:
* Heading 2


Looks like the file level settings are not working.

Thanks and Regards
Noorul

--

 Nick

 
 What I did to get the same effect is place a property drawer before the
 first title, and then set 
 
 #+OPTIONS: skip:t
 
 In order to disable export of this drawer (because I am exporting
 drawers in general).
 
 I would like to know whether this is a bug, and if yes I can provide a
 patch to the manual with work-around explained above.
 
 BR,
Vincent.
 
 PS: #+PROPERTY does not work with completion `C-M-i' either
 
 
 
 ___
 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

___
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] [PATCH] Apply patch for hour/minute repeater support

2010-09-22 Thread Nick Dokos
Manish mailtomanish.sha...@gmail.com wrote:

 Hello Andrew,
 
 I copied the diff from --- to the version number at the end of the
 diff to a file and ran a git apply patch file while on a local
 branch. It fails with fatal: corrupt patch at line 12 which is:
 
 ,
 | @cindex timestamp, with repeater interval
 `
 
 Any clues what I could be doing wrong?
 

Don't edit the message file: ``git apply'' and ``git am'' are perfectly
capable of stripping out the irrelevant stuf.

I did

   $ git checkout -b foo master

to create a ``foo'' branch and then

   $ git am  ~/Mail/org/25794
   Applying: Apply patch for hour/minute repeater support

(that's the file that contains Andrew's mail message - no editing involved).
As you can see, it worked without a hitch.

HTH,
Nick

___
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] Org capture with predefined entries from a list?

2010-09-22 Thread Bastien
Hi Miguel,

Miguel Ruiz rbeni...@yahoo.es writes:

 You should explore using multiple keys for the capture template
 definition -- see the manual:

 Do you mean I should generate all the combinations and assign a
 template to each one? 

Yes.

 Can you provide any kind of minimal example? 

(setq org-capture-templates
  '((l LifeHacking)  
(lw LifeHacking write something) 
(lw+ LH write something clever entry
   (file+headline ~/org/bzg.org LifeHacking)
   * INPROGRESS My new clever writing\n\n%? :prepend t)
(lw- LH write something stupid entry
   (file+headline ~/org/bzg.org LifeHacking)
   * INPROGRESS My new stupid writing\n\n%? :prepend t)))

M-x org-capture RET will let you select the l menu entry for
LifeHacking, then the w menu entry which is more specific, etc.  
You can easily emulate the example you gave in your previous email.

HTH,

-- 
 Bastien

___
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] [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-22 Thread David Maus
Sebastian Rose wrote:
Is there a reason for this distinction between multibyte and unibyte?
I favour the shotgun-approach if not.  It's bullet-proof.

The JavaScript function `encodeURIComponent()' encodes the German Umlaut
`ü' as `%C3%B6' regardless of the sources encoding actually.  That's why
I wrote the two functions `org-protocol-unhex-string' and
`org-protocol-unhex-compound' (s. org-protocol.el).

Ah, yes.  From my understandig of the RFC %C3%BC is a valid
representation of the ü character.  

I do not yet fully understand
how to unescape such a representation.  E.g. Is %C3%BC a hexencoded
multibyte char or a succession of two singlebyte chars?

I'll have to take a look at that RFC you mentioned :)

Me too :D

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpoDBBR1KfZV.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] Re: [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-22 Thread David Maus
Sébastien Vauban wrote:
Hi David,

David Maus wrote:
 Sébastien Vauban wrote:
 With current git pull, and such an Org file (in UTF-8 encoding):
 ...
 I get the following error when trying to export it via PDFLaTeX:

 The problem is, that the 'É' character is not in Org's default list for link
 escapes but `string-match' matches for the lower case character. Adding more
 chars to `org-link-escape-chars' would solve the problem, but this seems to
 be a broder issue:

The funny thing, though, is that I don't have any link!
At least explicitly...

The link is somehow created by the source block.  I don't use babel
and the document exports fine.

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpzDT2hk0MyX.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] Re: Bug? org.el:org-open-at-point

2010-09-22 Thread David Maus
Achim Gratz wrote:
David Maus dm...@ictsoc.de writes:

 Okay, I've pushed a change to master that adds two functions
 `org-wl-open-nntp' and `org-gnus-open-nntp' to open nntp: links with
 WL or Gnus, respectively.

Thanks, that looks good.  Gnus still doesn't do anything and silently
ignores the link, but I'm almost certain that this is due to GNUS and
how it's currently configured on my end rather than Org...  Amusingly,
when not registering the link handler, Org creates a new headline at the
end of the buffer with the link content.

Did you register the link type?

This works for me:

(org-add-link-type nntp 'org-gnus-open-nntp)

And these links open fine:

,[ *x* ]
|
| * X
|
| [[nntp://news.gmane.org/gmane.mail.imap.general][Usenet 1]]
|
| [[nntp://news.gmane.org/gmane.mail.imap.general/2005][Usenet 2]]
`

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpSCyOIooT0I.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] Re: does #+PROPERTY still exist ?

2010-09-22 Thread Nick Dokos
Noorul Islam K M noo...@noorul.com wrote:

 Nick Dokos nicholas.do...@hp.com writes:
 
  Vincent Belaïche vincent@hotmail.fr  wrote:
 
  In the org manual node `(org) Property syntax' one can read the
  following:
  
  
  --8-coupez ici--début--8---
 If you want to set properties that can be inherited by any entry
  in a file, use a line like 
   #+PROPERTY: NDisks_ALL 1 2 3 4
  --8-coupez ici---fin---8---
  
  However this does not seem to work.
 
  In what way does it fail to work?
 
  AFAICT, it works as advertised: after inserting the above line, I try to
  insert a NDisks property with 
 
 C-c C-x p NDisksRET5RET
 
  and it complains (No match).  If I use e.g. 3 instead of 5, the
  property is inserted.
 
 
 In the below example 
 
 
 #+PROPERTY: Age 25
 #+COLUMNS: %25ITEM %Age
 
 * Heading 1
 * Heading 2
 
 
 When I try to use column view to edit the property it is not using the
 format that I mentioned at the file level.
 
 But the following one works
 
 
 * Heading 1
   :PROPERTIES:
   :Age: 25
   :COLUMNS: %25ITEM %Age
   :END:
 * Heading 2
 
 
 Looks like the file level settings are not working.
 

If I evaluate the form

(org-entry-get (point) Age t)

with the point at any heading, I get 25. OTOH, even with
org-use-property-inheritance set to t, column view does not
show it. Ergo, it's a column view bug.

In org-columns-compute, I see

  ...
  (while (re-search-backward re beg t)
(setq sumpos (match-beginning 0)
  last-level level
  level (org-outline-level)
  val (org-entry-get nil property)
  ...

I suspect the val line needs to be

  val (org-entry-get nil property org-use-property-inheritance)

instead.

HTH,
Nick

___
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: does #+PROPERTY still exist ?

2010-09-22 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote:

 Noorul Islam K M noo...@noorul.com wrote:
 
  
  In the below example 
  
  
  #+PROPERTY: Age 25
  #+COLUMNS: %25ITEM %Age
  
  * Heading 1
  * Heading 2
  
  
  When I try to use column view to edit the property it is not using the
  format that I mentioned at the file level.
  
  But the following one works
  
  
  * Heading 1
:PROPERTIES:
:Age: 25
:COLUMNS: %25ITEM %Age
:END:
  * Heading 2
  
  
  Looks like the file level settings are not working.
  
 
 If I evaluate the form
 
 (org-entry-get (point) Age t)
 
 with the point at any heading, I get 25. OTOH, even with
 org-use-property-inheritance set to t, column view does not
 show it. Ergo, it's a column view bug.
 
 In org-columns-compute, I see
 
   ...
   (while (re-search-backward re beg t)
   (setq sumpos (match-beginning 0)
 last-level level
 level (org-outline-level)
 val (org-entry-get nil property)
   ...
 
 I suspect the val line needs to be
 
 val (org-entry-get nil property org-use-property-inheritance)
 
 instead.
 

No, that's not it. I think the basic problem is that
org-entry-properties ignores inheritance altogether (in particular,
it parses property names explicitly instead of using org-entry-get)[1].

Nick

[1] ... but it's late, I'm tired and I may very well be wrong - again.

___
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: does #+PROPERTY still exist ?

2010-09-22 Thread Noorul Islam K M
Nick Dokos nicholas.do...@hp.com writes:

 Nick Dokos nicholas.do...@hp.com wrote:

 Noorul Islam K M noo...@noorul.com wrote:
 
  
  In the below example 
  
  
  #+PROPERTY: Age 25
  #+COLUMNS: %25ITEM %Age
  
  * Heading 1
  * Heading 2
  
  
  When I try to use column view to edit the property it is not using the
  format that I mentioned at the file level.
  
  But the following one works
  
  
  * Heading 1
:PROPERTIES:
:Age: 25
:COLUMNS: %25ITEM %Age
:END:
  * Heading 2
  
  
  Looks like the file level settings are not working.
  
 
 If I evaluate the form
 
 (org-entry-get (point) Age t)
 
 with the point at any heading, I get 25. OTOH, even with
 org-use-property-inheritance set to t, column view does not
 show it. Ergo, it's a column view bug.
 
 In org-columns-compute, I see
 
   ...
   (while (re-search-backward re beg t)
  (setq sumpos (match-beginning 0)
last-level level
level (org-outline-level)
val (org-entry-get nil property)
   ...
 
 I suspect the val line needs to be
 
val (org-entry-get nil property org-use-property-inheritance)
 
 instead.
 

 No, that's not it. I think the basic problem is that
 org-entry-properties ignores inheritance altogether (in particular,
 it parses property names explicitly instead of using org-entry-get)[1].

 Nick

 [1] ... but it's late, I'm tired and I may very well be wrong - again.

Well, following one works. It looks like we need _ALL suffix for
inherited properties. 

--
#+COLUMNS: %25ITEM %10Age
#+PROPERTY: Age_ALL 25

* Heading 1
* Heading 2
--

Thanks and Regards
Noorul

___
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: does #+PROPERTY still exist ?

2010-09-22 Thread Noorul Islam
On Wed, Sep 22, 2010 at 2:13 PM, Noorul Islam K M noo...@noorul.com wrote:
 Nick Dokos nicholas.do...@hp.com writes:

 Nick Dokos nicholas.do...@hp.com wrote:

 Noorul Islam K M noo...@noorul.com wrote:

 
  In the below example
 
  
  #+PROPERTY: Age 25
  #+COLUMNS: %25ITEM %Age
 
  * Heading 1
  * Heading 2
  
 
  When I try to use column view to edit the property it is not using the
  format that I mentioned at the file level.
 
  But the following one works
 
  
  * Heading 1
    :PROPERTIES:
    :Age: 25
    :COLUMNS: %25ITEM %Age
    :END:
  * Heading 2
  
 
  Looks like the file level settings are not working.
 

 If I evaluate the form

     (org-entry-get (point) Age t)

 with the point at any heading, I get 25. OTOH, even with
 org-use-property-inheritance set to t, column view does not
 show it. Ergo, it's a column view bug.

 In org-columns-compute, I see

       ...
       (while (re-search-backward re beg t)
      (setq sumpos (match-beginning 0)
            last-level level
            level (org-outline-level)
            val (org-entry-get nil property)
               ...

 I suspect the val line needs to be

            val (org-entry-get nil property org-use-property-inheritance)

 instead.


 No, that's not it. I think the basic problem is that
 org-entry-properties ignores inheritance altogether (in particular,
 it parses property names explicitly instead of using org-entry-get)[1].

 Nick

 [1] ... but it's late, I'm tired and I may very well be wrong - again.

 Well, following one works. It looks like we need _ALL suffix for
 inherited properties.

 --
 #+COLUMNS: %25ITEM %10Age
 #+PROPERTY: Age_ALL 25

 * Heading 1
 * Heading 2
 --


To summarize:

Whatever Vincent said not working is working for me.

Org-mode version 7.01trans (release_7.01h.555.g90cc)
GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of
2010-01-30 on noorul

Thanks and Regards
Noorul

___
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: does #+PROPERTY still exist ?

2010-09-22 Thread Carsten Dominik


On Sep 22, 2010, at 8:58 AM, Noorul Islam K M wrote:


Nick Dokos nicholas.do...@hp.com writes:


Vincent Belaïche vincent@hotmail.fr  wrote:


In the org manual node `(org) Property syntax' one can read the
following:


--8-coupez ici--début--8---
  If you want to set properties that can be inherited by any entry
in a file, use a line like
#+PROPERTY: NDisks_ALL 1 2 3 4
--8-coupez ici---fin---8---

However this does not seem to work.


In what way does it fail to work?

AFAICT, it works as advertised: after inserting the above line, I  
try to

insert a NDisks property with

  C-c C-x p NDisksRET5RET

and it complains (No match).  If I use e.g. 3 instead of 5, the
property is inserted.



In the below example


#+PROPERTY: Age 25
#+COLUMNS: %25ITEM %Age

* Heading 1
* Heading 2


When I try to use column view to edit the property it is not using the
format that I mentioned at the file level.

But the following one works


* Heading 1
 :PROPERTIES:
 :Age: 25
 :COLUMNS: %25ITEM %Age
 :END:
* Heading 2


Looks like the file level settings are not working.


They are, but

1. inheritance is not on by default, you need to enable
   if for specific properties.

2. Column view never looks at inherited values.  That iswhy it is
   not using org-entry-get with an inheritance flag.  Column view
   only shows and edits properties that are local to each entry.
   Otherwise, editing an inherited value would silently
   edit it also for other entries.

I hope this makes it a bit clearer.

- Carsten


___
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] problem with label in latex export

2010-09-22 Thread Bastien
Hi Indraneel,

Indraneel Majumdar indran...@indraneel.info writes:

 11.
 #+ target
 Some text
 12.  More text [[target][go to]]

You're right that there is a problem.

The usual way of turning radio links invisible is to comment them, but
Org comments need to be at the beginning of the line, which breaks list
indentation.  (Btw, no need for the '+' in '#+' -- '#+' is the syntax
prefix for optional elements like blocks, etc.)

The workaround here is to add (INVISIBLE) after your target

This works:

 11. target(INVISIBLE)
 Some text
 12. More text [[target][go to]]

It exports okay in HTML and LaTeX.

I've added a FAQ entry for this -- not sure whether it should go in the
manual.

Thanks for bringing this up!

-- 
 Bastien

___
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: does #+PROPERTY still exist ?

2010-09-22 Thread Noorul Islam K M
Carsten Dominik carsten.domi...@gmail.com writes:

 On Sep 22, 2010, at 8:58 AM, Noorul Islam K M wrote:

 Nick Dokos nicholas.do...@hp.com writes:

 Vincent Belaïche vincent@hotmail.fr  wrote:

 In the org manual node `(org) Property syntax' one can read the
 following:


 --8-coupez ici--début--8---
   If you want to set properties that can be inherited by any entry
 in a file, use a line like
 #+PROPERTY: NDisks_ALL 1 2 3 4
 --8-coupez ici---fin---8---

 However this does not seem to work.

 In what way does it fail to work?

 AFAICT, it works as advertised: after inserting the above line, I
 try to
 insert a NDisks property with

   C-c C-x p NDisksRET5RET

 and it complains (No match).  If I use e.g. 3 instead of 5, the
 property is inserted.


 In the below example

 
 #+PROPERTY: Age 25
 #+COLUMNS: %25ITEM %Age

 * Heading 1
 * Heading 2
 

 When I try to use column view to edit the property it is not using the
 format that I mentioned at the file level.

 But the following one works

 
 * Heading 1
  :PROPERTIES:
  :Age: 25
  :COLUMNS: %25ITEM %Age
  :END:
 * Heading 2
 

 Looks like the file level settings are not working.

 They are, but

 1. inheritance is not on by default, you need to enable
if for specific properties.

 2. Column view never looks at inherited values.  That iswhy it is
not using org-entry-get with an inheritance flag.  Column view
only shows and edits properties that are local to each entry.
Otherwise, editing an inherited value would silently
edit it also for other entries.

I have this variable org-use-property-inheritance set as 'nil' and have
the following contents in the file.

--
#+COLUMNS: %25ITEM %10Age
#+PROPERTY: Age_ALL 1 2 3 4 5 6

* Heading 1
* Heading 2
--

With this I am able to edit Age property using C-c C-x C-c and by
pressing e on Age column for both the headings.

Thanks and Regards
Noorul

___
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: [bug] Gnus author in capture templates not working

2010-09-22 Thread Bastien
Hi Sébastien,

Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Though I had something in mind, that's effectively not expressed above: I'd
 like to get that date in the Org format, so that I can use it as a proper
 Org timestamp in entries:

 * TODO Answer mail of Bastien
   [2010-09-20 Mon 00:13]

 Would that request be feasible and accepted by you?

You can now use %:org-date for Gnus links on messages.  Slight
difference with your proposal, the output is of the form:

2010-09-20 Mon 00:13

HTH,

-- 
 Bastien

___
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] problem with label in latex export

2010-09-22 Thread Indraneel Majumdar
 Thanks Bastien, this works inline. Please put it in the manual, it's 
just one line. I've spent looking for it every inch of the manual for 
more than a day.


So will you be putting in \phantomsection for inline targets to work? I 
guess if someone is using a target then it's more likely /not/ to be 
a section heading. Putting it at a section heading doesn't hurt, but not 
having it inline makes for a useless target. Off course for Latex 
only, so probably should be in the exporter.


Indraneel

On 2010-09-22 14:40, Bastien wrote:

Hi Indraneel,

Indraneel Majumdarindran...@indraneel.info  writes:


11.
 #+target
 Some text
12.  More text [[target][go to]]

You're right that there is a problem.

The usual way of turning radio links invisible is to comment them, but
Org comments need to be at the beginning of the line, which breaks list
indentation.  (Btw, no need for the '+' in '#+' -- '#+' is the syntax
prefix for optional elements like blocks, etc.)

The workaround here is to add (INVISIBLE) after yourtarget

This works:


11.target(INVISIBLE)
 Some text
12. More text [[target][go to]]

It exports okay in HTML and LaTeX.

I've added a FAQ entry for this -- not sure whether it should go in the
manual.

Thanks for bringing this up!



___
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: does #+PROPERTY still exist ?

2010-09-22 Thread Carsten Dominik


On Sep 22, 2010, at 11:17 AM, Noorul Islam K M wrote:


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


On Sep 22, 2010, at 8:58 AM, Noorul Islam K M wrote:


Nick Dokos nicholas.do...@hp.com writes:


Vincent Belaïche vincent@hotmail.fr  wrote:


In the org manual node `(org) Property syntax' one can read the
following:


--8-coupez ici--début--8---
 If you want to set properties that can be inherited by any entry
in a file, use a line like
   #+PROPERTY: NDisks_ALL 1 2 3 4
--8-coupez ici---fin---8---

However this does not seem to work.


In what way does it fail to work?

AFAICT, it works as advertised: after inserting the above line, I
try to
insert a NDisks property with

 C-c C-x p NDisksRET5RET

and it complains (No match).  If I use e.g. 3 instead of 5, the
property is inserted.



In the below example


#+PROPERTY: Age 25
#+COLUMNS: %25ITEM %Age

* Heading 1
* Heading 2


When I try to use column view to edit the property it is not using  
the

format that I mentioned at the file level.

But the following one works


* Heading 1
:PROPERTIES:
:Age: 25
:COLUMNS: %25ITEM %Age
:END:
* Heading 2


Looks like the file level settings are not working.


They are, but

1. inheritance is not on by default, you need to enable
  if for specific properties.

2. Column view never looks at inherited values.  That iswhy it is
  not using org-entry-get with an inheritance flag.  Column view
  only shows and edits properties that are local to each entry.
  Otherwise, editing an inherited value would silently
  edit it also for other entries.


I have this variable org-use-property-inheritance set as 'nil' and  
have

the following contents in the file.

--
#+COLUMNS: %25ITEM %10Age
#+PROPERTY: Age_ALL 1 2 3 4 5 6

* Heading 1
* Heading 2
--

With this I am able to edit Age property using C-c C-x C-c and by
pressing e on Age column for both the headings.


yes.  the _ALL properties are an exception and always inherited.

- Carsten




___
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] problem with label in latex export

2010-09-22 Thread Nicolas Goaziou
Hello,

 Bastien  writes:

 You're right that there is a problem.

 The usual way of turning radio links invisible is to comment them,
 but Org comments need to be at the beginning of the line, which
 breaks list indentation. (Btw, no need for the '+' in '#+' -- '#+'
 is the syntax prefix for optional elements like blocks, etc.)

#+ is also a valid comment syntax according to the manual.

By the way, do you think lists should ignore indentation of comments,
that is lines matching ^#[ \t]+?

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


Re: [Orgmode] [Bug] Level 2 text not exported in LaTeX (well in HTML) + some comments

2010-09-22 Thread Carsten Dominik


On Sep 19, 2010, at 11:24 AM, Nicolas Goaziou wrote:


Eric S Fraga writes:



So you are saying, if I understand you correctly, that you cannot
have something like this:



--8---cut here---start-8---
1. some text
  - a nested list
  - with two items
  some more text for the first numbered item
  - another nested list - with two items
2. the second outer list item
--8---cut here---end---8---


Exactly.


If so, why not? This would seem to be quite a likely and useful
scenario.


It would require a slightly different model with an added depth of
complexity. To tell the truth, I had looked into this, but hadn't
found a satisfying (clean) solution.


One clean solution I can think of is to allow terminating a list with
a special item, like

   - one
 - a
 - b
 - @   (this means sublist ends here)

One could also have - @ to mean closing two levels.

This would allow stable indentation control.

- Carsten



For example, how should Org handle indentation of such a line, or any
line within the list? Should it round the indentation to the closest
level of a sub-list? And if you add a new line, should the user insert
spaces to reach the desired level of sub-list, or should Org TAB-cycle
indentation through every level of the list? Wouldn't this be painful
on deeply nested lists? If the list is so long that you can't display
it's first items, what happens when you want to end the 4th of 6
sub-lists? Could you remember what proper indentation is needed?

Those questions are more rhetorical than anything else. My point is
just that this kind of scenario, while certainly doable, would need
more thought, and much more work to implement. Is it _that_ useful?


I do this all the time in latex and I was sure that I had done this
before in org. Is my recollection wrong? Was this not possible
before?


As far as I remember, LaTeX exporter has never been able to parse
this, though the HTML one did.

Note that a TAB on your line of text was (i.e. in the latest stable
release) indenting it past the second nested list item. That signifies
even Org wasn't understanding properly the meaning of your list.

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


- Carsten




___
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] Exporting to html

2010-09-22 Thread Juri Artamonov
Hello Guys,

could you please advice how I can

1. To remove HTML generated by org-mode 6.31a in emacs 23 in result html
file after export it?
2. I have cf[10570] as a text in original file but emacs treat is a link
in result HTML mode, how I can force emacs to treat it as text?

Thank you,
   Juri.
___
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] Ditaa usage

2010-09-22 Thread Juri Artamonov
Hello Guys,

I'm still learning how to correctly configure orgmode. One of the items is
ditaa usage.

I have the following in my org file.

#+begin_src ditaa :file task_states.png :cmdline -r -s 0.8
 ++   +-+   ++
 ||   | |   ||
  +--+  TODO  +--+  NEXT   +--+  DONE  |
  |  | cRED   |   |  cBLU   |   | cGRE   |
  |  +--+-+---+   +--+---+--+   ++

#+end_src

#+results:
file:task_states.png

init.el
contains reference to ditaa library.

(setq org-ditaa-jar-path ~/lib/ditaa0_9.jar)

Could you please tell me what else do I need to configure in order to have
graphics in result of exporting the file into HTML?

Thank you,
Juri.
___
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] Ditaa usage

2010-09-22 Thread John Hendy
Do you have the necessary lines for babl as described here:
http://orgmode.org/worg/org-contrib/babel/languages.php#configure

http://orgmode.org/worg/org-contrib/babel/languages.php#configureNamely:



;; active Babel languages(org-babel-do-load-languages
 'org-babel-load-languages
 '((gnuplot . t)
   (ditaa . t)
   ))


You don't have to have gnuplot... just put whatever languages you want in
the form language . t and you're set.

See if that helps.


John

On Wed, Sep 22, 2010 at 7:06 AM, Juri Artamonov jartamo...@gmail.comwrote:

 Hello Guys,

 I'm still learning how to correctly configure orgmode. One of the items is
 ditaa usage.

 I have the following in my org file.

 #+begin_src ditaa :file task_states.png :cmdline -r -s 0.8
  ++   +-+   ++
  ||   | |   ||
   +--+  TODO  +--+  NEXT   +--+  DONE  |
   |  | cRED   |   |  cBLU   |   | cGRE   |
   |  +--+-+---+   +--+---+--+   ++

 #+end_src

 #+results:
 file:task_states.png

 init.el
 contains reference to ditaa library.

 (setq org-ditaa-jar-path ~/lib/ditaa0_9.jar)

 Could you please tell me what else do I need to configure in order to have
 graphics in result of exporting the file into HTML?

 Thank you,
 Juri.


 ___
 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


Re: [Orgmode] Exporting to html

2010-09-22 Thread Giovanni Ridolfi
Juri Artamonov jartamo...@gmail.com writes:

 Hello Guys,could you please advice how I can1. To remove HTML
 generated by org-mode 6.31a in emacs 23 in result html file after
 export it?2. 
Please have a look to the manual section: Export options

author:turn on/off inclusion of author name/email into exported file
 email: turn on/off inclusion of author email into exported file
 creator:   turn on/off inclusion of creator info into exported file
 timestamp: turn on/off inclusion creation time into exported file

I have cf[10570] as a text in original file but emacs treat is a link
in result HTML mode, how I can force emacs to treat it as text?

in the same section:

:OPTIONS: f:nil

Giovanni

___
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] suggestion/feature-request for dynamic blocks

2010-09-22 Thread I.S.

 On 9/21/2010 11:41 AM, Eric Schulte wrote:

Tables created by named code block are already prefixed with a
#+results: source-name line.  This allows them to be referenced by other
code blocks.  Is there some property of #+tblname: lines which is not
shared by #+results: lines which would make #+tblname: lines preferable?
Sorry for the terminology confusion. I was referring to the dynamic code 
block features of org-mode such as org-dblock-write:columnview or 
org-update-dblock. Such functions take a pair of lines like


#+BEGIN: columnview :hlines 1 :id local :maxlevel 4
#+END:

and fill them in with information automatically extracted from the 
org-mode file.


I would like to be able to specify something like

#+BEGIN: columnview :hlines 1 :id local :maxlevel 4 :dtname
#+END:

and have a #+TBLNAME get inserted in automatically so that I can then 
use org-babel to further process the results.


I think things like this would be useful for all the various kinds of 
org-dblock-write: functions and so suggested a generic library for 
writers of org-dblock-write: functions to handle things like this.


Thanks,
-I.S.

___
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] Exporting to html

2010-09-22 Thread Juri Artamonov
Giovanni, thank you,

#+OPTIONS: f:nil creator:nil

fixed both issues.

Thank you,
  Juri.

On Wed, Sep 22, 2010 at 3:24 PM, Giovanni Ridolfi giovanni.rido...@yahoo.it
 wrote:

 Juri Artamonov jartamo...@gmail.com writes:

  Hello Guys,could you please advice how I can1. To remove HTML
  generated by org-mode 6.31a in emacs 23 in result html file after
  export it?2.
 Please have a look to the manual section: Export options

author:turn on/off inclusion of author name/email into exported file
 email: turn on/off inclusion of author email into exported file
 creator:   turn on/off inclusion of creator info into exported file
 timestamp: turn on/off inclusion creation time into exported file

 I have cf[10570] as a text in original file but emacs treat is a link
 in result HTML mode, how I can force emacs to treat it as text?

 in the same section:

 :OPTIONS: f:nil

 Giovanni

___
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: Howto define formula for table regions

2010-09-22 Thread Łukasz Stelmach
Torsten Wagner torsten.wag...@gmail.com writes:

 I am just playing around with the table function of org-mode.
 I tried to create a little table to track the financial status of a
 project. I thought it would be nice to distinguish between entries which
 really had billed the account already and entries which will bill the
 account in the future. This would allow me to track and compare the
 current amount of my project account and in addition makes sure I will
 not overdraw my account by missing an outstanding transaction.

 Thus, initially my idea was to create a table like this:

 |-+--+---+++--|
 | nr. | date | title | number | amount |  sum |
 |-+--+---+++--|
 |   1 |  | inital fund   |  1 |   1000 | 1000 |

OK. Let's rebuild the table a bit

|---+--+--+---+++|
| ! |   nr | date | title | number | amount |sum |
|---+--+--+---+++|
| # |1 |  | inital fund   |  1 |   1000 |   1000 |
| # |2 |  | 1. payment to crew|  3 |   -150 |   -450 |
| # |3 |  | 1. order  |  1 |-50 |-50 |
| # |4 |  |   |||  0 |
|---+--+--+---+++|
|   |  |  | balance on account|||500 |
| ^ |  |  |   |||bal |
|---+--+--+---+++|
| # |1 |  | outstanding order |  1 |   -100 |   -100 |
| # |2 |  | 2. payment to crew|  3 |   -100 |   -300 |
|---+--+--+---+++|
|   |  |  | balance - outstanding |||100 |
| ^ |  |  |   || moveup | outbal |
|---+--+--+---+++|

The special characters in the first columns make some difference. With
`!' you get names for columns you may use in your formulae (you'll see
below). `#' forces recalculation of selected rows upon any Tab or Return
keypress, and `^' gives names to cells in the row above. You can find
more about the special characters for the first column in
info:(org)Advanced features chapter. These changes aren't a must but
they make formulae a bit more readable.


 Now I would like to add formulas for:
 1. Increasing the number of the first column (Nr.), (entry in the FAQ,
 I know), whenever I add a new row. However do this for two blocks and
 leave row 6 and the last row empty.

Be not afraid, it's easier than you think. Simply do what FAQ says but
enter :=1 in first lines of every block. If we consider the table above:

B2 = 1
B8 = 1
B = @-1 + 1

is everything you need[*].

 2. Place the multiplication of number with amount in the sum
 column

This is the easiest, just follow the manual and write
$7 = $number * $amount

 3. Add the total sums of the two blocks in row 6 and the last row
 (taking into account that the table will grow over time)

This isn't as hard as it seems too:

bal = vsum(@-i...@-i)
outbal = bal + vsum

(the numbers suggest outbal includes bal am I right).

 I know about column formulas and field formulas but I did not find a way
 to do something like for each field in column X between row a and row b
 calculate ...

There is no need for such a thing since cell formulae cover column
ones.

 As a kind of extrafor the very org-mode pros on this list
 If I fill dates into the date column, a mechanism which moves
 automatically (in the same way as I refresh calculation of formulas),
 the rows from the second block into the first block when the date passed
 would be some nice gadget

This one *is* tricky. You won't achieve it without lisp (at least
IMHO). OK, let's try:

+ I'd use an empty cell to put a Lisp formula in it: moveup.

+ The value it returnes isn't as important as its side effects: table
  rearrangement.

+ Let's use org timestamps: 2010-09-22 śro (C-c C-.), so we can use
  org-parse-time-string function.

[...]

Phew, that was a *thing* but here you are:

--8---cut here---start-8---
(save-excursion
(let* (
   (hlineA (1+ (org-table-get-descriptor-line -II)))
   (hlineB (org-table-get-descriptor-line -I) )
   (curline hlineA) theline)
  (while ( curline hlineB)
(org-goto-line curline)
(org-table-goto-column 3)
(when (time-less-p
   (apply
'encode-time
(org-parse-time-string
 (org-no-properties (org-table-get-field
   (current-time) )
  (dotimes (i 4)
(setq theline (append theline (list (org-table-get-field

Re: [Orgmode] Ditaa usage

2010-09-22 Thread Juri Artamonov
Hello John,

if I add what you provided then I have

Warning (initialization): An error occurred while loading
`c:/emacs/.emacs.d/init.el':
Symbol's function definition is void: org-babel-do-load-languages

message.

I have added this for now:

(setq org-ditaa-jar-path ~/lib/ditaa0_9.jar)

(setq org-babel-load-languages (quote ((emacs-lisp . t)
 (dot . t)
 (ditaa . t)
 (R . t)
 (python . t)
 (ruby . t)
 (gnuplot . t)
 (clojure . t)
 (sh . t

In result I don't have error message on initialization but after export I
have at least area with where the lines are shown exactly the same as I
wrote in org file but without any converting to the image.

Maybe I need something to install additionally or add something else to the
configuration?

Thank you,
  Juri.

On Wed, Sep 22, 2010 at 3:23 PM, John Hendy jw.he...@gmail.com wrote:

 Do you have the necessary lines for babl as described here:
 http://orgmode.org/worg/org-contrib/babel/languages.php#configure

 http://orgmode.org/worg/org-contrib/babel/languages.php#configureNamely:

 

 ;; active Babel languages(org-babel-do-load-languages
  'org-babel-load-languages
  '((gnuplot . t)
(ditaa . t)
))

 
 You don't have to have gnuplot... just put whatever languages you want in
 the form language . t and you're set.

 See if that helps.


 John

 On Wed, Sep 22, 2010 at 7:06 AM, Juri Artamonov jartamo...@gmail.comwrote:

 Hello Guys,

 I'm still learning how to correctly configure orgmode. One of the items is
 ditaa usage.

 I have the following in my org file.

 #+begin_src ditaa :file task_states.png :cmdline -r -s 0.8
  ++   +-+   ++
  ||   | |   ||
   +--+  TODO  +--+  NEXT   +--+  DONE  |
   |  | cRED   |   |  cBLU   |   | cGRE   |
   |  +--+-+---+   +--+---+--+   ++

 #+end_src

 #+results:
 file:task_states.png

 init.el
 contains reference to ditaa library.

 (setq org-ditaa-jar-path ~/lib/ditaa0_9.jar)

 Could you please tell me what else do I need to configure in order to have
 graphics in result of exporting the file into HTML?

 Thank you,
 Juri.


 ___
 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


Re: [Orgmode] Ditaa usage

2010-09-22 Thread Erik Iverson

On 09/22/2010 08:08 AM, Juri Artamonov wrote:

Hello John,

if I add what you provided then I have

Warning (initialization): An error occurred while loading
`c:/emacs/.emacs.d/init.el':
Symbol's function definition is void: org-babel-do-load-languages

message.


From your previous post, looks like you're using a fairly old version
of org-mode.  using source code blocks like ditaa is much simplified
in org-mode 7.01, so just upgrade to that and you'll be all set.




I have added this for now:

(setq org-ditaa-jar-path ~/lib/ditaa0_9.jar)

(setq org-babel-load-languages (quote ((emacs-lisp . t)
  (dot . t)
  (ditaa . t)
  (R . t)
  (python . t)
  (ruby . t)
  (gnuplot . t)
  (clojure . t)
  (sh . t

In result I don't have error message on initialization but after export
I have at least area with where the lines are shown exactly the same as
I wrote in org file but without any converting to the image.

Maybe I need something to install additionally or add something else to
the configuration?

Thank you,
   Juri.

On Wed, Sep 22, 2010 at 3:23 PM, John Hendy jw.he...@gmail.com
mailto:jw.he...@gmail.com wrote:

Do you have the necessary lines for babl as described here:
http://orgmode.org/worg/org-contrib/babel/languages.php#configure

http://orgmode.org/worg/org-contrib/babel/languages.php#configureNamely:



;;active Babel languages
(org-babel-do-load-languages
  'org-babel-load-languages
  '((gnuplot . t)
(ditaa . t)
))


You don't have to have gnuplot... just put whatever languages you
want in the form language . t and you're set.

See if that helps.


John

On Wed, Sep 22, 2010 at 7:06 AM, Juri Artamonov
jartamo...@gmail.com mailto:jartamo...@gmail.com wrote:

Hello Guys,

I'm still learning how to correctly configure orgmode. One of
the items is ditaa usage.

I have the following in my org file.

#+begin_src ditaa :file task_states.png :cmdline -r -s 0.8
  ++   +-+   ++
  ||   | |   ||
   +--+  TODO  +--+  NEXT   +--+  DONE  |
   |  | cRED   |   |  cBLU   |   | cGRE   |
   |  +--+-+---+   +--+---+--+   ++

#+end_src

#+results:
file:task_states.png

init.el
contains reference to ditaa library.

(setq org-ditaa-jar-path ~/lib/ditaa0_9.jar)

Could you please tell me what else do I need to configure in
order to have graphics in result of exporting the file into HTML?

Thank you,
 Juri.


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org mailto: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



___
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] Ditaa usage

2010-09-22 Thread Juri Artamonov
Erik,

I would love to update but I have emacsW32 installed and don't know how to
update orgmode inside of it.

Perhaps you can advice or maybe it's even better to reinstall first emacs
and then orgmode. What do you think?

Thank you,
   Juri.

On Wed, Sep 22, 2010 at 4:17 PM, Erik Iverson er...@ccbr.umn.edu wrote:

 On 09/22/2010 08:08 AM, Juri Artamonov wrote:

 Hello John,

 if I add what you provided then I have

 Warning (initialization): An error occurred while loading
 `c:/emacs/.emacs.d/init.el':
 Symbol's function definition is void: org-babel-do-load-languages

 message.


 From your previous post, looks like you're using a fairly old version
 of org-mode.  using source code blocks like ditaa is much simplified
 in org-mode 7.01, so just upgrade to that and you'll be all set.



 I have added this for now:

 (setq org-ditaa-jar-path ~/lib/ditaa0_9.jar)

 (setq org-babel-load-languages (quote ((emacs-lisp . t)
  (dot . t)
  (ditaa . t)
  (R . t)
  (python . t)
  (ruby . t)
  (gnuplot . t)
  (clojure . t)
  (sh . t

 In result I don't have error message on initialization but after export
 I have at least area with where the lines are shown exactly the same as
 I wrote in org file but without any converting to the image.

 Maybe I need something to install additionally or add something else to
 the configuration?

 Thank you,
   Juri.

 On Wed, Sep 22, 2010 at 3:23 PM, John Hendy jw.he...@gmail.com
 mailto:jw.he...@gmail.com wrote:

Do you have the necessary lines for babl as described here:
http://orgmode.org/worg/org-contrib/babel/languages.php#configure

http://orgmode.org/worg/org-contrib/babel/languages.php#configure
 Namely:



;;active Babel languages
(org-babel-do-load-languages
  'org-babel-load-languages
  '((gnuplot . t)
(ditaa . t)
))


You don't have to have gnuplot... just put whatever languages you
want in the form language . t and you're set.

See if that helps.


John

On Wed, Sep 22, 2010 at 7:06 AM, Juri Artamonov
jartamo...@gmail.com mailto:jartamo...@gmail.com wrote:

Hello Guys,

I'm still learning how to correctly configure orgmode. One of
the items is ditaa usage.

I have the following in my org file.

#+begin_src ditaa :file task_states.png :cmdline -r -s 0.8
  ++   +-+   ++
  ||   | |   ||
   +--+  TODO  +--+  NEXT   +--+  DONE  |
   |  | cRED   |   |  cBLU   |   | cGRE   |
   |  +--+-+---+   +--+---+--+   ++

#+end_src

#+results:
file:task_states.png

init.el
contains reference to ditaa library.

(setq org-ditaa-jar-path ~/lib/ditaa0_9.jar)

Could you please tell me what else do I need to configure in
order to have graphics in result of exporting the file into HTML?

Thank you,
 Juri.


___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org mailto: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



 ___
 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] cheatsheets in emacs

2010-09-22 Thread Rustom Mody
There is this ruby utility cheat (see http://cheat.errtheblog.com/ )
that allows one to make/use cheatsheets using ruby. The format of the
cheatsheet is yml.

I feel that it should be possible to replace ruby by emacs and the
yaml format by org-mode

Does anything like this exist?

There is of course a third aspect to the ruby solution -- providing
web-available cheatsheets (see http://cheat.errtheblog.com/b )
This I am currently not asking for because I am only trying to track
my own findings in a manageable way

___
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] Ditaa usage

2010-09-22 Thread Giovanni Ridolfi
Juri Artamonov jartamo...@gmail.com writes:

 Erik,I would love to update but I have emacsW32 installed and
 don't know how to update orgmode inside of it.
Please 
+ download the current version from http://orgmode.org

  Current Version (7.01h) 

+ then read
  http://orgmode.org/manual/Installation.html#Installation

 Perhaps you can advice or maybe it#39;s even better to reinstall
 first emacs and then orgmode. 
I don't think so ;-)

cheers,
Giovanni

___
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] Request for suggestions about best practices: tracking responses

2010-09-22 Thread Robert Goldman
Often now I have org-mode tasks that I move to WAIT status when I send
someone an email to get some next step done.

The problem is that I have a hard time getting back to those tasks when
I get a response email (or phone call).

There is nothing salient about these that means that when I get a
response email, I see the task and can mark it as completed.

Does anyone have a good solution for this?

I have a hazy idea that always having a special agenda window open with
a special agenda display of tasks awaiting responses might do the trick,
but few ideas about how to accomplish this in practice.  Presumably a
special TODO status for awaiting response, and special agenda view...
does that sound reasonable?  I notice that the manual refers to THE
agenda.  Is it possible to have multiple agenda windows so that I could
always have the waiting for response agenda up w/o cutting off my
access to other views?

thanks,
r


___
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] [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-22 Thread Sebastian Rose
David Maus dm...@ictsoc.de writes:
 Sebastian Rose wrote:
Is there a reason for this distinction between multibyte and unibyte?
I favour the shotgun-approach if not.  It's bullet-proof.

The JavaScript function `encodeURIComponent()' encodes the German Umlaut
`ü' as `%C3%B6' regardless of the sources encoding actually.  That's why
I wrote the two functions `org-protocol-unhex-string' and
`org-protocol-unhex-compound' (s. org-protocol.el).

 Ah, yes.  From my understandig of the RFC %C3%BC is a valid
 representation of the ü character.  

 I do not yet fully understand
 how to unescape such a representation.  E.g. Is %C3%BC a hexencoded
 multibyte char or a succession of two singlebyte chars?


It's a hexencoded multibyte char.

JavaScript implementations seem to turn non-ascii singlebyte chars into
multibyte chars first, then encode the result.

This means if a page is iso-8859-1 encoded (singlebyte `ü'), JavaScript
will recode the `ü'.  It's funny, but that's what I found when writing
org-protocol.el 


`org-protocol-unhex-string' and `org-protocol-unhex-compound' decode
such a representation.

The trick is in the utf-8 encoding itself.  If a byte starts with a 1,
another byte will follow.  The number of leading `1's denotes the amount
of bytes used for one character.   On a GNU/Linux system try

  sh$  man utf-8


Sebastian

___
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: Babel+gnuplot on Worg

2010-09-22 Thread John Hendy
On Mon, Sep 20, 2010 at 4:20 PM, Bastien bastien.gue...@wikimedia.frwrote:

 John Hendy jw.he...@gmail.com writes:

  Good to know. I just followed the only other example I knew of where an
 org
  file lived: http://orgmode.org/worg/org-tutorials/org-plot.org

 Mhh.. not found -- because .org files live in worg/sources/


Trying to update worg-setup.org but am not finding the worg/sources
directory you're referring to.

-
[jwhendy -- Worg]$ ls -R | grep -i source
assign-resources.png
resource-graph.png
-

Is there another directory perhaps? Anyone else familiar with the best
practice for where to locate .org files?


John




  There, it's right in the folder with the published page on worg so I just
 tried
  to do the same. I wonder if this should go in the worg-setup or some
 other page
  on contributing to worg. Like I said, a directory tree might be helpful
 with an
  explanation next to each folder of what's supposed to live inside.

 Please go ahead and edit worg-setup.org :)

 Thanks,

 --
  Bastien

___
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: Babel+gnuplot on Worg

2010-09-22 Thread Bastien
John Hendy jw.he...@gmail.com writes:

 Trying to update worg-setup.org but am not finding the worg/sources directory
 you're referring to.

The http://orgmode.org/worg/sources/ is only on the server, not on the
Worg repository.  

All .org files from the repo are automatically uploaded to this sources/
directory on the server.  

See this :

  http://orgmode.org/worg/sources/emacs.el

HTH,

-- 
 Bastien

___
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: Babel+gnuplot on Worg

2010-09-22 Thread John Hendy
AH! Perfect. So, the procedure is:

- put them wherever you want
- all sources are put in a source directory in addition to their published
content
- link to them via orgmode/worg/sources

One question, then... I've tailored the raw org-mode copy to be slightly
different than the tutorial I created. Is it possible to have a file pass an
option to not be published in #+options or elsewhere? Say I want it put in
sources for download but don't want it to get it's own .php page on worg --
is that possible?


John

On Wed, Sep 22, 2010 at 9:33 AM, Bastien bastien.gue...@wikimedia.frwrote:

 John Hendy jw.he...@gmail.com writes:

  Trying to update worg-setup.org but am not finding the worg/sources
 directory
  you're referring to.

 The http://orgmode.org/worg/sources/ is only on the server, not on the
 Worg repository.

 All .org files from the repo are automatically uploaded to this sources/
 directory on the server.

 See this :

  http://orgmode.org/worg/sources/emacs.el

 HTH,

 --
  Bastien

___
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: Babel+gnuplot on Worg

2010-09-22 Thread John Hendy
On Mon, Sep 20, 2010 at 1:08 PM, Thomas S. Dye t...@tsdye.com wrote:

 Hi John,

 Thanks for bringing this up.  I like the idea of
 a worg/org-contrib/babel/images directory and will put my images there.  I
 suppose it doesn't have to be all one way or the other, but I can imagine a
 time down the road when the babel documentation directories become cluttered
 and hard to use.


Tom, thanks for this. I moved my babel language tutorial images here. I like
this system. For other tutorial/page author, it might be nice moving forward
to give the images a helpful name. I titled mine
gnuplot-image-description.png. This way, other authors know what page the
image refers to. Just a thought.


John



 Tom

 On Sep 20, 2010, at 5:07 AM, John Hendy wrote:



 On Sun, Sep 19, 2010 at 4:31 PM, Bastien bastien.gue...@wikimedia.frwrote:

 Hi John,

 John Hendy jw.he...@gmail.com writes:

  Should this be the standard practice now? Images for something in Worg/
  org-contrib/babel/languages/ob-doc_*.org should be kept in the same
 directory?

 I'd suggest this: images linked to only one file should go in the same
 directory than this file, images useful for several files could go in
 the images/ directory.


 Actually -- sorry... I was just going to change this and wanted to re-ask
 what others think. For example, I currently have 7 images of plots in
 worg/images/babel/. I titled them gnuplot-imageName.png to try and make them
 easy to spot.

 Were I to switch to the new system, would it bother anyone to have a
 bunch of image files no in worg/org-contrib/babel/languages? Does anyone
 else care if the directory is filled with both org files and images? Or
 would anyone prefer a worg/org-contrib/babel/images directory since the
 supporting files for babel are growing with all of the documentation being
 written?

 I guess it doesn't matter much to me; I just hesitated before updating as I
 wondered what everyone else thought and might have stronger preferences
 about directory clutter and unity with file types and such.

 Thoughts?

 John


  Also, is there a list of the directories that are published and those
 that are
  not? For example, I also put a downloadable example file here:

 The only directory that is skipped at export time is FIXME/.

  I'm just wondering if the Worg instructions on how to contribute should
 include
  a directory tree of some sort so that the newer contributors like myself
 are on
  the same page as everyone else?

 I hope the recent updates on worg-setup.org can help newcomers find
 their way :)

 Don't hesitate to suggest other improvements!

 --
  Bastien


 ___
 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


Re: [Orgmode] FLOSS Weekly show about Org-mode

2010-09-22 Thread Bastien
Hi all,

Carsten's live interview for FLOSS weekly is in about one hour.

Watch live here: 

  http://live.twit.tv

Chat live : 

  #twitlive channel on the irc.twit.tv IRC server

See you there :)

-- 
 Bastien

___
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: Babel+gnuplot on Worg

2010-09-22 Thread Thomas S. Dye

Hi John,

Good idea.  I've given my image file a longer, more descriptive name.

All the best,
Tom

On Sep 22, 2010, at 4:45 AM, John Hendy wrote:




On Mon, Sep 20, 2010 at 1:08 PM, Thomas S. Dye t...@tsdye.com wrote:
Hi John,

Thanks for bringing this up.  I like the idea of a worg/org-contrib/ 
babel/images directory and will put my images there.  I suppose it  
doesn't have to be all one way or the other, but I can imagine a  
time down the road when the babel documentation directories become  
cluttered and hard to use.


Tom, thanks for this. I moved my babel language tutorial images  
here. I like this system. For other tutorial/page author, it might  
be nice moving forward to give the images a helpful name. I titled  
mine gnuplot-image-description.png. This way, other authors know  
what page the image refers to. Just a thought.



John


Tom

On Sep 20, 2010, at 5:07 AM, John Hendy wrote:




On Sun, Sep 19, 2010 at 4:31 PM, Bastien  
bastien.gue...@wikimedia.fr wrote:

Hi John,

John Hendy jw.he...@gmail.com writes:

 Should this be the standard practice now? Images for something in  
Worg/
 org-contrib/babel/languages/ob-doc_*.org should be kept in the  
same directory?


I'd suggest this: images linked to only one file should go in the  
same

directory than this file, images useful for several files could go in
the images/ directory.


Actually -- sorry... I was just going to change this and wanted to  
re-ask what others think. For example, I currently have 7 images of  
plots in worg/images/babel/. I titled them gnuplot-imageName.png to  
try and make them easy to spot.


Were I to switch to the new system, would it bother anyone to  
have a bunch of image files no in worg/org-contrib/babel/languages?  
Does anyone else care if the directory is filled with both org  
files and images? Or would anyone prefer a worg/org-contrib/babel/ 
images directory since the supporting files for babel are growing  
with all of the documentation being written?


I guess it doesn't matter much to me; I just hesitated before  
updating as I wondered what everyone else thought and might have  
stronger preferences about directory clutter and unity with file  
types and such.


Thoughts?

John

 Also, is there a list of the directories that are published and  
those that are

 not? For example, I also put a downloadable example file here:

The only directory that is skipped at export time is FIXME/.

 I'm just wondering if the Worg instructions on how to contribute  
should include
 a directory tree of some sort so that the newer contributors like  
myself are on

 the same page as everyone else?

I hope the recent updates on worg-setup.org can help newcomers find
their way :)

Don't hesitate to suggest other improvements!

--
 Bastien

___
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: Bug? org.el:org-open-at-point

2010-09-22 Thread Achim Gratz
David Maus dm...@ictsoc.de writes:
 Did you register the link type?

Yes.

 [[nntp://news.gmane.org/gmane.mail.imap.general][Usenet 1]]

This one doesn't (just like my example links).  If I add a trailing /
to the link it starts working as expected.  The link without the
trailing slash does start GNUS if not already running, but does not
enter the group buffer.

 [[nntp://news.gmane.org/gmane.mail.imap.general/2005][Usenet 2]]

This one works without the trailing / and continues to work with an
added trailing /.  I'm currently a bit short on time to investigate
this any further at the moment (version of EMACS 23.1 or GNUS 5.13
here), but maybe a trailing slash should be added to the server part if
not already there (or even generally, if the second link also works on
your side).  But it's certainly not a high priority item - for me,
anyway.


Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables


___
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] [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-22 Thread David Maus
Achim Gratz wrote:
The function org-link-escape escapes the '+' in file+sys and file+emacs
link types and creates some problems for export by doing so.  Only the
path component of a link URI should be escaped, but not the type part.

Does this still happen und could you provide an example?

I've tried

,[ *x* ]
|
| * Foo
|
| [[file+emacs:/tmp/foo.txt][foo]]
`

And export to HTML works fine:

,
| p
| a href=file:///tmp/foo.txtfoo/a
| /p
`

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpPo2sKPjW4V.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


[Orgmode] Re: Ditaa usage

2010-09-22 Thread Achim Gratz
Juri Artamonov jartamo...@gmail.com writes:
 I would love to update but I have emacsW32 installed and don't know
 how to update orgmode inside of it.

In a nutshell, you don't.  You put the new version of org-mode into the
site-lisp directory where EMACS is installed and EMACS will use the new
version because it looks there first.  If you can't install into
site-lisp, you can put orgmode into some other place and prepend that
location to the load-path in your user startup file (.emacs in your
Application and Settings folder, IIRC).  Proper installation of
org-mode requires a working make and some other programs that you can
get with MSys (or Cygwin if you need a full POSIX environment).


Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Factory and User Sound Singles for Waldorf rackAttack:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


___
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] FLOSS Weekly show about Org-mode

2010-09-22 Thread Puneeth
Hi all,

It was a wonderful interview. Always a pleasure watching Carsten talk
about org-mode.

-- Puneeth

On Wed, Sep 22, 2010 at 8:57 PM, Bastien bastien.gue...@wikimedia.fr wrote:
 Hi all,

 Carsten's live interview for FLOSS weekly is in about one hour.

 Watch live here:

  http://live.twit.tv

 Chat live :

  #twitlive channel on the irc.twit.tv IRC server

 See you there :)

 --
  Bastien

 ___
 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




-- 
Puneeth

___
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: [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-22 Thread Achim Gratz
David Maus dm...@ictsoc.de writes:
 Achim Gratz wrote:
The function org-link-escape escapes the '+' in file+sys and file+emacs
link types and creates some problems for export by doing so.  Only the
path component of a link URI should be escaped, but not the type part.

 Does this still happen und could you provide an example?

Yes it does.  The first link has been entered literally, the second
using C-c C-l.  The first link will turn into the second form as soon as
I use C-c C-l on it and can only be reverted in literal mode.

[[file+emacs:~/org/notes.org][My Notes]]
[[file%2Bemacs:~/org/notes.org][My Notes]]

The export to HTML delivers:

a href=file:///obscured/org/notes.htmlMy Notes/a
a href=#file+emacs:~/org/notes.orgMy Notes/a

Org-mode version 7.01trans (release_7.01h.557.g8de43)
GNU Emacs 23.1.1 


Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables


___
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: Bug? org.el:org-open-at-point

2010-09-22 Thread David Maus
Achim Gratz wrote:

 [[nntp://news.gmane.org/gmane.mail.imap.general][Usenet 1]]

This one doesn't (just like my example links).  If I add a trailing /
to the link it starts working as expected.  The link without the
trailing slash does start GNUS if not already running, but does not
enter the group buffer.

I can confirm this.  Looks like a bug in `org-gnus-open':  The gnus: link

[[gnus:gmane.mail.imap.general]]

Fires up Gnus, adds the group to summary but does not enter the group.

@Gnus users: Is this the expected behaviour?

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgp99FujT0ODW.pgp
Description: PGP signature


pgpTlRRFCY5mA.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] FLOSS Weekly show about Org-mode

2010-09-22 Thread Bastien
Puneeth puncha...@gmail.com writes:

 It was a wonderful interview. Always a pleasure watching Carsten talk
 about org-mode.

Indeed -- thanks to those who could join!

Here are the IRC logs.

[18:30]*** You have joined channel #twitlive
   *** Topic for #twitlive: TWiT Live Chat | Follow the Rules: 
http://j.mp/chatrules | Setup a chat client: http://j.mp/ircclients | Video @ 
http://live.twit.tv/ | Audio-only @ http://twit.am/listen.m3u | TWiT TV 
Schedule @ http://j.mp/twitcal
   *** #twitlive: topic set by cwbp!c...@moderator.twit.tv, 15:49:36 
2010/09/18
   *** Users on #twitlive: hawk jwfoxjr GadgetMan Dan_MB Elspuddy Osmonde 
Subaquinal dctoph Atluxity sheck mollydog paladin252 +Leo-Studio crucialwax 
xmanii Chris tachikoma ZmK BKuhl chiphonius RedFyre Dan Inc andyandy jobias 
ShawnR blackest_mamba Illuminati_mini Harpertown|7 chip da5id ipodman krisguy 
umop3plsdn tednuit aeiou raynet Web7758 @Dustin vesa MaxVandervelde LadyPeel 
squishy janisku7 MacNut bgilmore iPhone_15253 Rubicant david32 Web8567 
LudoTheGreat merriam Paladin27 
   *** Users on #twitlive: antoniu Euchre colinlaney hawkins 
CodyComputerGuy Randy2000 Scunizi Mhykol gregbilton Perc Goatbert test03 Davey 
RussellChamp spotlessmind zee jabraltr bob backwards Tyson xp99 [PooPsTech] 
JohnHighway advcomp2019 darkcrayon davidpolanco Xelx thomson1 deetman MechaniX 
|utp| tom3k iBunny Thor79 oT9 Scrumpy_ @Hipp +jammerb whuxford JOnny JSlo 
hal1on abc Red_Baron alephnaut Alpha Andy cherro mavhc iYorkie cescalante 
flyingout kalidor debdrup Vardyr rootrider 
   *** Users on #twitlive: Alvar bitgravity GaTechGrad Weems Blender 
phliver wenko musicman jacek rorx Sargun adamc1999 tzan4928 eric_adler Bix boon 
apecat peder bill mbe sqdldr Brisk subx mrdspecs Stu Monte Jesper @Ikon_w 
darkphan1 wyatt Dist dFunct TechKnowGuy zerobias Kapdap ChrisV Grue rick_h 
craisis oneup pras edin mexican_seafood TomWeber jolt jmaartenson sigmund 
KriLL3 pest Web4292 jumbers Thirteen MeMeMe bam Bawitdaba @Techzen jasonrm mdl 
techky Mazer xcwbp h1ro printguy 
   *** Users on #twitlive: isam eclipse ELspuddy_pc McInTEC kaervek ruok 
Guest5626 xPi xyz leahey[desktop] Damage DSG_ aurichie cmw wood Maddie 
Beaster1174 TechPepsi JurassicJon spylinux_ obd phil404|mac PcGuy Mo5 oggle 
phil404 newt rick5 grishnav @Houdini7 sjefen6 g_r_eek Hixie dt Korgun blkno1 
Shawn4523 haversman Si_ sy1 @cwbp Equalizer monkeystick djflux rickcorp 
RichardM Ravenscroft @troubled Web767 dbullis Catsceo ZenGuy thetechbuzz-MBP 
+RandalSchwartz derfman24 Ankhwatcher 
   *** Users on #twitlive: moparx shn mjollnir__ HackMaster|NOC btree 
@Wharpoley Harlan iPhone_34324 MarkSeymour @Darth_Emma Web246 Web7108 
WebWatcher steveh unfed jenvin unknown Bowler4Ever BlunderBuss ChrisJones 
MadeInNY Hak5Darren ratman4 RMF psych4 Ghworg butCuba Belimexmar83 jaymoon 
madalu CodingGeek loeakaodas Crave TTK cubsfanatic86 Macallan jrdn34x Line_ 
Tobarja dt01_MacPro JustSomeDude daropedia @Mick perfectsound whfsdude 
BrianMonroe happyface HiWEB Web620 marksweb12 
   *** Users on #twitlive: White667 reffle| Night william ZeroNeuro 
Trini_Man Omen_20 DLinv773 catinthechat DrUnKeN_TiGeR alephnauty Kazy warpig 
Sandtiger CurtisB SeanieBook Nevyn grundoon amhytti Spiegel sunkenplanet Dvad78 
cmpwi PEDRAM j-dog paul_h can0k MattBebich TrixIsOwned aos101 Ds2600 kerfuffle 
sgrsickness thegame_e fanl3ss No1 vncntl Sparticuz @lifesazoo|work Jarppa 
MaxPower9 resmo andrei weux crazyguy510 fitz melter wt8008 demogorgon Ven`Tatsu 
bz_g colint iceflatline 
   *** Users on #twitlive: P27|Ltp Web241 iPad_65930 bigmoneyhat 
Guru_Meditation dagimar2 TokenBlindGuy Velirno bear J5_JHallgren A-Plus 
gadgetuk Devlin ABruchis Ghost MoonUnit James|GlideM dieselboy Web7838 zed2012 
@KevinH|work cybyl Fireman17 Beef explodopop Web8581 armitage Hextor Web2184 
carbondated_ thegoatmilkguy Fee fanless DrDrrae Web4236 shadow nirv krijali 
toebile jrdn-ipd Sullivan erroneous Web1299 
   *** #twitlive modes: +CGJLPSTfnrt 5 #twitlive2 4:3
   *** #twitlive was created on Saturday 2010/09/18 09:22:49 AM
   J5_JHallgren Web4292: kinda like comparing a kid with 2 hr of drivers 
ed to a 30 yr prof truck driver maybe?
   Web4292 Did RandalSchwartz leave the chat or something?
   *** ADub (webu...@twitirc-3ccd064c.hcrec.com) has joined channel 
#twitlive
   *** mrpbody64 (webu...@twitirc-bbc6d6c1.callplus.net.nz) has joined 
channel #twitlive
   RandalSchwartz I'm here
   Ikon_w none taken jacek; it was just so funny to hear the name again; 
I used xenix 286, back in the day :)
   *** Hak5Darren (dar...@twitirc-d0c4c6d1.ca.comcast.net) has quit: Ping 
timeout: 121 seconds
[18:31]*** thegoatmilkguy (thegoatm...@twitirc-fe11c1bc.wa.comcast.net) has 
quit: EOF from client
   *** gadgetuk (webu...@twitirc-2c4195f6.bethere.co.uk) has quit: Ping 
timeout: 121 seconds
   *** Hak5Darren (dar...@twitirc-d0c4c6d1.ca.comcast.net) has joined 
channel #twitlive
   Ikon_w 

[Orgmode] Re: FLOSS Weekly show about Org-mode

2010-09-22 Thread Memnon Anon
Puneeth puncha...@gmail.com writes:

 It was a wonderful interview. Always a pleasure watching Carsten talk
 about org-mode.

*sigh*, I missed it.
And my wlan sucks that much, I probably would not have enjoyed a live
stream.

So, when can I download the whole thing and watch it after the fact?

Memnon


___
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: [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-22 Thread David Maus
Achim Gratz wrote:
David Maus dm...@ictsoc.de writes:
 Achim Gratz wrote:
The function org-link-escape escapes the '+' in file+sys and file+emacs
link types and creates some problems for export by doing so.  Only the
path component of a link URI should be escaped, but not the type part.

 Does this still happen und could you provide an example?

Yes it does.  The first link has been entered literally, the second
using C-c C-l.  The first link will turn into the second form as soon as
I use C-c C-l on it and can only be reverted in literal mode.

[[file+emacs:~/org/notes.org][My Notes]]
[[file%2Bemacs:~/org/notes.org][My Notes]]

The export to HTML delivers:

a href=file:///obscured/org/notes.htmlMy Notes/a
a href=#file+emacs:~/org/notes.orgMy Notes/a

Thanks for clarification.  It should be fixed now in master.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpTim51OezuO.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] Re: bug with link following --- a (partial) solution

2010-09-22 Thread David Maus
David Maus wrote:
Ah, now I see the problem: For some reason `org-store-link' removes
the colon at the end of the headline.  I reopended the issue as a bug;
setting the aforementioned variable to nil might be considered a
temporary work-around.

Okay, pushed a patch to master that should fix this problem.
`org-store-link' now keeps the headline string intact when storing a
link.

Could you test if this fixes the problem for you?

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpci1R17ii65.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] Re: Ditaa usage

2010-09-22 Thread John Hendy
On Wed, Sep 22, 2010 at 12:24 PM, Achim Gratz strom...@nexgo.de wrote:

 Juri Artamonov jartamo...@gmail.com writes:
  I would love to update but I have emacsW32 installed and don't know
  how to update orgmode inside of it.

 In a nutshell, you don't.  You put the new version of org-mode into the
 site-lisp directory where EMACS is installed and EMACS will use the new
 version because it looks there first.


This is true. I use Linux but went through setup on Win XP so that I'd be
able to help someone at work. My process:

- Grab org-mode 7.01 zip file: http://orgmode.org/org-7.01h.zip
- Put it in C:\Program Files\emacs23\org-7.01h (I installed emacs to
C:\Program Files\emacs23
- put this in init.el: (add-to-list 'load-path' ~/org-7.01h/lisp/)
and (add-to-list 'load-path' ~/org-7.01h/lisp/contrib/lisp/)

Works great. No need to even compile, though you can do that as well.


John



  If you can't install into
 site-lisp, you can put orgmode into some other place and prepend that
 location to the load-path in your user startup file (.emacs in your
 Application and Settings folder, IIRC).  Proper installation of
 org-mode requires a working make and some other programs that you can
 get with MSys (or Cygwin if you need a full POSIX environment).


 Achim.
 --
 +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

 Factory and User Sound Singles for Waldorf rackAttack:
 http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


 ___
 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


Re: [Orgmode] Re: bug with link following --- a (partial) solution

2010-09-22 Thread Robert Goldman
On 9/22/10 Sep 22 -1:11 PM, David Maus wrote:
 David Maus wrote:
 Ah, now I see the problem: For some reason `org-store-link' removes
 the colon at the end of the headline.  I reopended the issue as a bug;
 setting the aforementioned variable to nil might be considered a
 temporary work-around.
 
 Okay, pushed a patch to master that should fix this problem.
 `org-store-link' now keeps the headline string intact when storing a
 link.
 
 Could you test if this fixes the problem for you?

I'm afraid it doesn't seem to.  I am attaching a copy of my link-bug.org
file.  When I click on the links to submit through submission site: or
Bletch: headlines, I get the no such link error.

Best,
r
#+STARTUP: showall

* Notes:

* TODO Figure out org mode

Just do outlines with TODO's in them.  Change them to DONE when they are done.
You don't need to figure out how to use org-mode if you don't like.  We used it
on OBTW, and it worked fine.

If you like (I will probably do this), you can use the org-mode commands to add
deadlines and scheduling (or you can ignore them).  I will probably do this in
an incremental way so that I can further focus my mind on individual subsections
as they need to get written.  See example in 
[[*submit%20through%20submission%20site][submit through submission site:]]

* TODO submit through submission site:

* TODO Foobar

* Reference to foobar

[[*Foobar][Foobar]]

* Reference to submit...

[[*submit%20through%20submission%20site][submit through submission site]]
  
* Bletch:


* reference

[[*Bletch][Bletch:]]

* COMMENT Local variables block
# Local Variables:
# mode: org
# End:
___
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: bug with link following --- a (partial) solution

2010-09-22 Thread Robert Goldman
On 9/22/10 Sep 22 -1:36 PM, Robert Goldman wrote:
 On 9/22/10 Sep 22 -1:11 PM, David Maus wrote:
 David Maus wrote:
 Ah, now I see the problem: For some reason `org-store-link' removes
 the colon at the end of the headline.  I reopended the issue as a bug;
 setting the aforementioned variable to nil might be considered a
 temporary work-around.

 Okay, pushed a patch to master that should fix this problem.
 `org-store-link' now keeps the headline string intact when storing a
 link.

 Could you test if this fixes the problem for you?
 
 I'm afraid it doesn't seem to.  I am attaching a copy of my link-bug.org
 file.  When I click on the links to submit through submission site: or
 Bletch: headlines, I get the no such link error.

D'oh.  I'm sorry.  I didn't read carefully enough.  This DOES fix my
problem.

The problem is in STORING the link, not in matching.  I was
misdiagnosing the problem.

So when I stored a NEW link, the problem goes away.  Sorry.  I was not
clearly realizing that old links would still be busted.

Patch is good!

r

___
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: [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-22 Thread Achim Gratz
David Maus dm...@ictsoc.de writes:
 Thanks for clarification.  It should be fixed now in master.

You only wish... it doesn't escape the link type now, but adds a
colon on each call of C-c C-l:

[[file+emacs:~/org/notes.org][My Notes]]
[[file+emacs::~/org/notes.org][My Notes]]
[[file+emacs:::~/org/notes.org][My Notes]]

This messes up the HTML export even more:

a href=file:///home/gratz/org/notes.htmlMy Notes/a
a href=:~/org/notes.htmlMy Notes/a
a href=My Notes/a

Interesting, isn't it? :-)


Sorry for being a troublemaker today,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


___
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: bug with link following --- a (partial) solution

2010-09-22 Thread David Maus
Robert Goldman wrote:
On 9/22/10 Sep 22 -1:11 PM, David Maus wrote:
 David Maus wrote:
 Ah, now I see the problem: For some reason `org-store-link' removes
 the colon at the end of the headline.  I reopended the issue as a bug;
 setting the aforementioned variable to nil might be considered a
 temporary work-around.

 Okay, pushed a patch to master that should fix this problem.
 `org-store-link' now keeps the headline string intact when storing a
 link.

 Could you test if this fixes the problem for you?

I'm afraid it doesn't seem to.  I am attaching a copy of my link-bug.org
file.  When I click on the links to submit through submission site: or
Bletch: headlines, I get the no such link error.

This is expected.  I've fixed the function that stores links.  As you
can see in the link to the Bletch: headline the colon is missing in
the link (first pair of brackets).  That's why Org does not find the
headline when you try to open the link.

If you now store a link to Bletch: the colon is included in the link, e.g.

[[*Bletch][Bletch:]] (does not find headline)

vs.

[[*Bletch:][Bletch:]] (works)

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpSVtPzkrUAo.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] Re: [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-22 Thread David Maus
Achim Gratz wrote:
David Maus dm...@ictsoc.de writes:
 Thanks for clarification.  It should be fixed now in master.

You only wish... it doesn't escape the link type now, but adds a
colon on each call of C-c C-l:

Ooops, fixed now.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpAEuWTGxMzp.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


[Orgmode] Re: [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-22 Thread Achim Gratz
David Maus dm...@ictsoc.de writes:
 Ooops, fixed now.

Confirmed.


Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra


___
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] Effort columnview: Show total in different column

2010-09-22 Thread Nathan Neff
I'd like to generate a columnview that shows totals in a separate
column, like the clockreport.

Something like this:

| Total | Effort. | Task   |
|---+--+|
| 4 |  | Main Task  |
|   |2 | Sub Task 1 |
|   |2 | Sub Task  2 |

Any ideas where to start?  Currently, if I just define a columnview,
then the output looks like this:
| Est. | Task|
|--+-|
| 1:00 | * Main Task |
| 0:30 | Sub Task 1   |
| 0:30 | Sub Task 2   |

Thanks,
--Nate

___
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: [bug] Gnus author in capture templates not working

2010-09-22 Thread Sébastien Vauban
Hi Bastien,

Bastien wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Though I had something in mind, that's effectively not expressed above: I'd
 like to get that date in the Org format, so that I can use it as a proper
 Org timestamp in entries:

 * TODO Answer mail of Bastien
   [2010-09-20 Mon 00:13]

 Would that request be feasible and accepted by you?

 You can now use %:org-date for Gnus links on messages. Slight difference
 with your proposal, the output is of the form:

 2010-09-20 Mon 00:13

Didn't think of the active version. But is it too much asking for the version
I searched for?  Could we name it differently maybe?

Or do you consider that too much of a mess, and useless?

I let you decide. But I would personally consider both as useful, in fact.

Best regards,
  Seb

-- 
Sébastien Vauban


___
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: cheatsheets in emacs

2010-09-22 Thread Sébastien Vauban
Hi Rustom,

Rustom Mody wrote:
 There is this ruby utility cheat (see http://cheat.errtheblog.com/ )
 that allows one to make/use cheatsheets using ruby. The format of the
 cheatsheet is yml.

 I feel that it should be possible to replace ruby by emacs and the
 yaml format by org-mode

 Does anything like this exist?

 There is of course a third aspect to the ruby solution -- providing
 web-available cheatsheets (see http://cheat.errtheblog.com/b )
 This I am currently not asking for because I am only trying to track
 my own findings in a manageable way

For me, the reference card is exactly that, a cheat sheet. Though, not in Org.
But still viewable in Emacs with doc-view (for PDF or PS).

Best regards,
  Seb

-- 
Sébastien Vauban


___
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: Request for suggestions about best practices: tracking responses

2010-09-22 Thread Sébastien Vauban
Hi Robert,

Robert Goldman wrote:
 Often now I have org-mode tasks that I move to WAIT status when I send
 someone an email to get some next step done.

I do that as well. Though, I'm still testing what my own process must be like.


 The problem is that I have a hard time getting back to those tasks when
 I get a response email (or phone call).

 There is nothing salient about these that means that when I get a
 response email, I see the task and can mark it as completed.

 Does anyone have a good solution for this?

 I have a hazy idea that always having a special agenda window open with
 a special agenda display of tasks awaiting responses might do the trick,
 but few ideas about how to accomplish this in practice.  Presumably a
 special TODO status for awaiting response, and special agenda view...
 does that sound reasonable?  I notice that the manual refers to THE
 agenda.  Is it possible to have multiple agenda windows so that I could
 always have the waiting for response agenda up w/o cutting off my
 access to other views?

As far as I fully understand your request, what you need is a custom agenda
report:

--8---cut here---start-8---
#+BEGIN_SRC emacs-lisp
(setq org-agenda-custom-commands
  '((W Waiting
 todo WAIT nil)))
#+END_SRC
--8---cut here---end---8---

Best regards,
  Seb

-- 
Sébastien Vauban


___
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: [bug] Gnus author in capture templates not working

2010-09-22 Thread David Maus
Sébastien Vauban wrote:
Hi Bastien,

Bastien wrote:
 Sébastien Vauban wxhgmqzgw...@spammotel.com writes:

 Though I had something in mind, that's effectively not expressed above: I'd
 like to get that date in the Org format, so that I can use it as a proper
 Org timestamp in entries:

 * TODO Answer mail of Bastien
   [2010-09-20 Mon 00:13]

 Would that request be feasible and accepted by you?

 You can now use %:org-date for Gnus links on messages. Slight difference
 with your proposal, the output is of the form:

 2010-09-20 Mon 00:13

Didn't think of the active version. But is it too much asking for the version
I searched for?  Could we name it differently maybe?

Or do you consider that too much of a mess, and useless?

I've started to implement the :date property for the other mailers and
thought about:

 - date :: literal content of the date header field
 - date-timestamp :: active timestamp for the date header field
 - date-timestamp-ia :: inactive timestamp for the date header field

Best,
  -- David
-- 
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpUfEHJjvZtT.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


[Orgmode] Re: [Bug] Level 2 text not exported in LaTeX (well in HTML) + some comments

2010-09-22 Thread Sébastien Vauban
Hi Carsten and Nicolas,

Carsten Dominik wrote:
 On Sep 19, 2010, at 11:24 AM, Nicolas Goaziou wrote:
 Eric S Fraga writes:

 So you are saying, if I understand you correctly, that you cannot
 have something like this:

 --8---cut here---start-8---
 1. some text
   - a nested list
   - with two items
   some more text for the first numbered item
   - another nested list - with two items
 2. the second outer list item
 --8---cut here---end---8---

 Exactly.

 If so, why not? This would seem to be quite a likely and useful
 scenario.

 It would require a slightly different model with an added depth of
 complexity. To tell the truth, I had looked into this, but hadn't
 found a satisfying (clean) solution.

 One clean solution I can think of is to allow terminating a list with
 a special item, like

- one
  - a
  - b
  - @   (this means sublist ends here)

 One could also have - @ to mean closing two levels.

 This would allow stable indentation control.

And, in the case that such a construct would not be used, I wouldn't mind
having to manually indent the paragraph where I want to place it, as long as
the indentation is used to decide to what the text must be attached to.

(thinking at backward-compatibility solution)

Best regards,
  Seb

-- 
Sébastien Vauban


___
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] bug with spaces in regexp search

2010-09-22 Thread Samuel Wales
With the headline * text search much faster than tag search
and an agenda text search:

  {faster than} does not return it
  {faster\ than} also

I think of {...} as a single token even if it has spaces in it.

Thanks.

Samuel


Settings:

  (setf org-agenda-search-view-always-boolean t)
  (setf org-agenda-search-view-force-full-words t)

-- 
Q: How many CDC scientists does it take to change a lightbulb?
A: You only think it's dark. [CDC has denied a deadly serious
disease for 25 years]
==
Retrovirus: http://www.wpinstitute.org/xmrv/index.html -- PLEASE DONATE
===
I would like to see the original Lo et al. 2010 NIH/FDA XMRV paper.

___
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] Agenda Question

2010-09-22 Thread Andre Powell
I hope that this is not a stupid question. Is there anyway to move forward in 
the agenda view and have the scheduled and due items from the current day move 
forward as well? The reason that I ask is I typically try and review my next 
day the night before so I can print it out and be ready for the morning, with 
Murhpy's Law (like today, I was a little behind).

Any help would be appreciated.


Andre




___
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: A LaTeX class for Org-mode export

2010-09-22 Thread Srinivas Pavani
Tom,

Thanks for your quick reply.

Looks like something went wrong so I reinstalled MikTex 2.8 and tried again. I 
started off with simple PDFs and slowly built up.

I am finally able to get a pdf version that is close to yours.

- Srinivas



  

___
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: [Bug] Level 2 text not exported in LaTeX (well in HTML) + some comments

2010-09-22 Thread Nicolas Goaziou
Hello,

 Sébastien Vauban writes:

 And, in the case that such a construct would not be used, I wouldn't
 mind having to manually indent the paragraph where I want to place
 it, as long as the indentation is used to decide to what the text
 must be attached to.

Please (re-)read my rhetorical questions: this is not as simple as
it sounds.

 (thinking at backward-compatibility solution)

I have to disagree here, as those constructs were only partly
recognized (and partly broken): again, LaTeX exporter and
auto-indentation weren't aware about them.

Anyway, before thinking at backward-compatibility, the design should
be fixed first. Now, on the other hand, there's Carsten's ASCII duck
head idea...

Well, I still can't help thinking those constructs are ill-defined and
can be avoided by reorganizing the list, or using headings. Even those
do not support such constructs, for a good reason.

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] Re: cheatsheets in emacs

2010-09-22 Thread Glauber Alex Dias Prado
FYI There is also a cheat emacs interface:
http://github.com/defunkt/cheat.el

the idea is not bad if it isnt a NIH syndrom otherwise just use cheat ;)

Rustom Mody rustompm...@gmail.com writes:

 There is this ruby utility cheat (see http://cheat.errtheblog.com/ )
 that allows one to make/use cheatsheets using ruby. The format of the
 cheatsheet is yml.

 I feel that it should be possible to replace ruby by emacs and the
 yaml format by org-mode

 Does anything like this exist?

 There is of course a third aspect to the ruby solution -- providing
 web-available cheatsheets (see http://cheat.errtheblog.com/b )
 This I am currently not asking for because I am only trying to track
 my own findings in a manageable way

___
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] No link found error during export of source block when headline has link

2010-09-22 Thread Hsiu-Khuern Tang
Hi all,

When I export this file to HTML


* [[http://www.example.com][example]]

  #+BEGIN_SRC R
1
  #+END_SRC



I get a No link found error.  The responsible function seems to be

org-open-link-from-string(#([[/tmp/a.org::%5B%5Bhttp://www.example.com%5D%5Bexample%5D%5D][/tmp/a.org::[[http://www.example.com][example]]]
...)

Please see the attached backtrace.

I am using the latest version from git.  I used git bisect and found
that the first bad commit is efdf78172d9f7c0070c781d136a9b49a2a56fcc4.

--
Best,
Hsiu-Khuern.
Debugger entered--Lisp error: (error No link found)
  signal(error (No link found))
  error(No link found)
  org-open-at-point(nil #buffer a.org)
  
org-open-link-from-string(#([[/tmp/a.org::%5B%5Bhttp://www.example.com%5D%5Bexample%5D%5D][/tmp/a.org::[[http://www.example.com][example;
 2 14 (org-attr nil) 20 42 (org-attr nil) 48 55 (org-attr nil) 63 110 (org-attr 
nil)))
  org-babel-exp-src-blocks(#(1 0 1 (font-lock-fontified t fontified t)) #(R 
0 1 (fontified t font-lock-fontified t)))
  apply(org-babel-exp-src-blocks #(1 0 1 (font-lock-fontified t fontified t)) 
#(R 0 1 (fontified t font-lock-fontified t)))
  
byte-code(\306\307\211\211\211\211\211\211\211\211%'(\310\311!\211)\205#\311K*\312\216\311\313M\210eb\210`\314\315\307\306#\203\326\316\317!G\320\316\321!\227!%\322
 +\323\216\324\316\325!\326\*\316\327!,\206`\330\n\235\211\204p\322 
+\331\216\332!*%'\204%'B'\322 
+\333\216\311\f\334\224\\210*\335%-\\211.A@)\211\203\320\322 
+\336\216%/\203\257\337\202\264\340
\n#*\2110\203\317\3410\306\211#\210 
\204\317\342\334\224\334\225#\210)\334\225\2020\311\fd\\210\343\344!.
\207 [progress-marker preserve-indent headers body start func t nil fboundp 
interblock ((byte-code \203\302M\210\202\303\302!\210\302\207 
[--cl-letf-bound-- --cl-letf-save-- interblock fmakunbound] 2)) #[(start end) 
\301\302\\207 [org-export-interblocks mapcar #[... \211A@)\n\\207 
[pair x start end] 4]] 3] re-search-forward ^\\([  ]*\\)#\\+begin_\\(\\S-+\\)[ 
]*\\(.*\\)?[
\n]\\([^]*?\\)[
\n][]*#\\+end_\\S-+.*[
\n]? match-string 1 intern 2 match-data ((byte-code \301\302\\207 
[save-match-data-internal set-match-data evaporate] 3)) org-split-string 3 [   
 ]+ 4 -i ((byte-code \301\302\\207 [save-match-data-internal 
set-match-data evaporate] 3)) org-remove-indentation ((byte-code 
\301\302\\207 [save-match-data-internal set-match-data evaporate] 3)) 0 
assoc ((byte-code \301\302\\207 [save-match-data-internal set-match-data 
evaporate] 3))  apply replace-match indent-code-rigidly run-hooks 
org-export-blocks-postblock-hook type indentation types case-fold-search 
--cl-letf-bound-- --cl-letf-save-- save-match-data-internal 
org-src-preserve-indentation org-export-blocks x org-export-blocks-witheld 
replacement] 11)
  org-export-blocks-preprocess()
  run-hooks(org-export-preprocess-after-include-files-hook)
  org-export-preprocess-string(#(* [[http://www.example.com][example]]\n\n  
#+BEGIN_SRC R\n1\n  #+END_SRC\n 0 2 (fontified t face org-level-1) 2 4 
(fontified t face org-link org-no-flyspell t invisible org-link keymap (keymap 
... ... ...) mouse-face highlight font-lock-multiline t help-echo LINK: 
http://www.example.com;) 4 27 (fontified t face org-link org-no-flyspell t 
mouse-face highlight keymap (keymap ... ... ...) invisible org-link 
font-lock-multiline t help-echo LINK: http://www.example.com;) 27 28 
(fontified t face org-link org-no-flyspell t mouse-face highlight keymap 
(keymap ... ... ...) invisible org-link font-lock-multiline t help-echo LINK: 
http://www.example.com; rear-nonsticky (mouse-face highlight keymap invisible 
intangible help-echo org-linked-text)) 28 34 (fontified t face org-link 
org-no-flyspell t mouse-face highlight keymap (keymap ... ... ...) 
font-lock-multiline t help-echo LINK: http://www.example.com;) 34 35 
(fontified t face org-link org-no-flyspell t mouse-face highlight keymap 
(keymap ... ... ...) rear-nonsticky (mouse-face highlight keymap invisible 
intangible help-echo org-linked-text) font-lock-multiline t help-echo LINK: 
http://www.example.com;) 35 36 (fontified t face org-link org-no-flyspell t 
invisible org-link keymap (keymap ... ... ...) mouse-face highlight 
font-lock-multiline t help-echo LINK: http://www.example.com;) 36 37 
(fontified t face org-link org-no-flyspell t invisible org-link keymap (keymap 
... ... ...) mouse-face highlight font-lock-multiline t help-echo LINK: 
http://www.example.com; rear-nonsticky (mouse-face highlight keymap invisible 
intangible help-echo org-linked-text)) 37 38 (fontified t) 38 39 (fontified t) 
39 41 (fontified t font-lock-fontified t font-lock-multiline t face 
org-meta-line) 41 43 (font-lock-fontified t fontified t font-lock-multiline t 
face org-meta-line) 43 49 (font-lock-fontified t fontified t 

[Orgmode] Re: does #+PROPERTY still exist ?

2010-09-22 Thread Vincent Belaïche
Hello all,

Thanks for all the feedback. I am using Org-mode version 6.33x which is
the latest on emacs CVS repository --- that may be outdated as emacs is
using bazaar now.

What is not working is 

1. Auto-completion of `#+PROP' does not work
2. `C-c C-x p' does not work.

Look at the following example:

--8-coupez ici--début--8---
#+PROPERTY: toto_ALL 1 2 3

* test

Then I type here `C-c C-x p'
--8-coupez ici---fin---8---

2.1 The completion at `Property:' prompt does not propose `toto'
2.2 The completion at `Value:' prompt does not propose 1 2 or 3


Hope that this clarifies the issue.

  Vincent.

PS-1: Where can I get the latest org-mode ?
PS-2: Sorry for my first email contained an error, setting properties
before the 1st heading does not work.



___
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: does #+PROPERTY still exist ?

2010-09-22 Thread Erik Iverson

On 09/22/2010 10:13 PM, Vincent Belaïche wrote:

Hello all,

Thanks for all the feedback. I am using Org-mode version 6.33x which is
the latest on emacs CVS repository --- that may be outdated as emacs is
using bazaar now.



Yes, very outdated.  Orgmode 7.01 was released over two months ago now.

You can get the latest from http://orgmode.org

It is a very simple installation, just download and add a couple
directories to your load-path.

You can also get the latest from git, which is what I do.


What is not working is

1. Auto-completion of `#+PROP' does not work
2. `C-c C-x p' does not work.

Look at the following example:

--8-coupez ici--début--8---
#+PROPERTY: toto_ALL 1 2 3

* test

Then I type here `C-c C-x p'
--8-coupez ici---fin---8---

2.1 The completion at `Property:' prompt does not propose `toto'
2.2 The completion at `Value:' prompt does not propose 1 2 or 3


Hope that this clarifies the issue.

   Vincent.

PS-1: Where can I get the latest org-mode ?
PS-2: Sorry for my first email contained an error, setting properties
before the 1st heading does not work.



___
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


Re: [Orgmode] bug with spaces in regexp search

2010-09-22 Thread Noorul Islam
On Thu, Sep 23, 2010 at 2:06 AM, Samuel Wales samolog...@gmail.com wrote:
 With the headline * text search much faster than tag search
 and an agenda text search:

  {faster than} does not return it
  {faster\ than} also

 I think of {...} as a single token even if it has spaces in it.

 Thanks.

 Samuel


 Settings:

  (setf org-agenda-search-view-always-boolean t)
  (setf org-agenda-search-view-force-full-words t)


I have both these variables set as nil and search works.

This is what I did.

In org agenda buffer. I typed M-x org-search-view and then typed in
faster than which displayed the expected result.

release_7.01h-555-g90cc
Org-mode version 7.01trans (release_7.01h.555.g90cc)
GNU Emacs 23.1.1 (i686-pc-linux-gnu, GTK+ Version 2.12.12) of
2010-01-30 on noorul

Thanks and Regards
Noorul

___
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: does #+PROPERTY still exist ?

2010-09-22 Thread Nick Dokos
Vincent Belaïche vincent@hotmail.fr  wrote:


 Thanks for all the feedback. I am using Org-mode version 6.33x which is
 the latest on emacs CVS repository --- that may be outdated as emacs is
 using bazaar now.
 
 What is not working is 
 
 1. Auto-completion of `#+PROP' does not work

Indeed: #+PROPERTY is missing from org-get-current-options in
org-exp.el.

 2. `C-c C-x p' does not work.
 

That should say: *completion* in C-c C-x p (org-set-property)
does not work. The function itself works just fine.

 Look at the following example:
 
 --8-coupez ici--début--8---
 #+PROPERTY: toto_ALL 1 2 3
 
 * test
 
 Then I type here `C-c C-x p'
 --8-coupez ici---fin---8---
 
 2.1 The completion at `Property:' prompt does not propose `toto'
 2.2 The completion at `Value:' prompt does not propose 1 2 or 3
 

Yes. I don't know how difficult it would be to add these features.

 
 Hope that this clarifies the issue.
 

Yes, thsnks!

Nick


___
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: does #+PROPERTY still exist ?

2010-09-22 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote:

 Vincent Belaïche vincent@hotmail.fr  wrote:
 
 ...
  2.2 The completion at `Value:' prompt does not propose 1 2 or 3
  
 
 Yes. I don't know how difficult it would be to add these features.
 

Actually, pressing TAB after the value prompt *does* produce the list
of allowed values in the more-or-less current version I'm running:

Org-mode version 7.01trans (release_7.01h.500.gbbac.dirty)

Nick


___
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: Agenda Question

2010-09-22 Thread Noorul Islam K M
Andre Powell apowell...@gmail.com writes:

 I hope that this is not a stupid question. Is there anyway to move forward in 
 the agenda view and have the scheduled and due items from the current day 
 move forward as well? The reason that I ask is I typically try and review my 
 next day the night before so I can print it out and be ready for the morning, 
 with Murhpy's Law (like today, I was a little behind).

I am not sure whether there is any settings for this. But in my case if
I schedule a TODO item for today and if I did not mark it as DONE by
today then this will be displayed the next day also in Agenda.

Thanks and Regards
Noorul

___
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: does #+PROPERTY still exist ?

2010-09-22 Thread Vincent Belaïche

Thanks for the feedback,

I'll download the latest.

Yes, I just meant that *completion* does not work for property name, addition 
of property works fine. 

Vincent.

 To: nicholas.do...@hp.com
 From: nicholas.do...@hp.com
 Subject: Re: [Orgmode] Re: does #+PROPERTY still exist ?
 Date: Thu, 23 Sep 2010 00:34:19 -0400
 CC: vincent@hotmail.fr; emacs-orgmode@gnu.org; 
 
 Nick Dokos nicholas.do...@hp.com wrote:
 
  Vincent Belaïche vincent@hotmail.fr  wrote:
  
  ...
   2.2 The completion at `Value:' prompt does not propose 1 2 or 3
   
  
  Yes. I don't know how difficult it would be to add these features.
  
 
 Actually, pressing TAB after the value prompt *does* produce the list
 of allowed values in the more-or-less current version I'm running:
 
 Org-mode version 7.01trans (release_7.01h.500.gbbac.dirty)
 
 Nick
 
 
 ___
 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


Re: [Orgmode] bug with spaces in regexp search

2010-09-22 Thread Samuel Wales
Meaning?

___
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: No link found error during export of source block when headline has link

2010-09-22 Thread Noorul Islam K M
Hsiu-Khuern Tang tan...@gmail.com writes:

 Hi all,

 When I export this file to HTML

 
 * [[http://www.example.com][example]]

   #+BEGIN_SRC R
 1
   #+END_SRC
 


 I get a No link found error.  The responsible function seems to be

 org-open-link-from-string(#([[/tmp/a.org::%5B%5Bhttp://www.example.com%5D%5Bexample%5D%5D][/tmp/a.org::[[http://www.example.com][example]]]
 ...)

 Please see the attached backtrace.

 I am using the latest version from git.  I used git bisect and found
 that the first bad commit is efdf78172d9f7c0070c781d136a9b49a2a56fcc4.


The function `org-babel-exp-src-blocks' tries to execute
(org-open-link-from-string link) which is failing because link is formed
in a such a way that org-open-link-from-string does not understand the
format.

Someone familiar with babel code might take a look into it.

Thanks and Regards
Noorul

___
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