[Orgmode] Setting org-log-into-drawer in a property

2009-05-19 Thread Daniel J. Sinder
Most of my tasks have only one state change (TODO-DONE), so I like to 
be able to quickly see my log notes by fully expanding all headings in a 
sub-tree.  Thus, I do NOT use the LOGBOOK property.


However, for repeating items the list of log entries can get quite long. 
 If I fully expand a sub-tree with a repeating task, the log notes push 
the rest of the tree off the screen.  I'd rather if *only* repeating 
tasks (and perhaps select other tasks) used the LOGBOOK property to keep 
the log notes hidden in a drawer.


This brings me to my question and possible feature request.  The LOGGING 
property allows us to set logging preference on a sub-tree basis.  Is it 
possible to set the value of org-log-into-drawer on a sub-tree basis, 
either via the LOGGING property or some other property?  If not, would 
it be possible to add this capability?


Thanks,
Dan



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


Re: [Orgmode] ascii export of links to notes broken?

2009-05-19 Thread Carsten Dominik

Hi Samuel,

now I can reproduce the problem.

It happens because you are marking exactly a subtree,
and the headline of the subtree becomes the *title* of
the exported, and indeed, links in titles are not formatted
correctly - the same is true for HTML export.

A worg-around would be to start the region *before* the headline,
then it will not be accepted as exactly one subtree and the
headline will just become a headline, not a title.

HTH

- Carsten

On May 18, 2009, at 7:05 PM, Samuel Wales wrote:


===
#this is a comment because of a vague recollection that the
#first line isn't supposed to be a headline.  has that been
#fixed?

* this is a headline with a link.  [[http://google.com][a search  
engine]]

this is body text.  i put point on the headline at bol, then
do c-spc c-spc down down down down c-c c-e A and it fails by
not including notes.
* this is how i ran it
emacs -Q --load ~/el/tests-and-publish/org-testcase.el
* more notes
transient-mark-mode is nil
===

That is the exact buffer.  The exact range is as described with the
keystrokes.  The exact command is c-c c-e A.

HIH

On Sun, May 17, 2009 at 22:30, Carsten Dominik
carsten.domi...@gmail.com wrote:
Can you please send me the exact buffer you are using, the exact  
range that

is covered by the active region, and the command you then use?

So far I have not been abe to reproduce what you are saying.

- Carsten

On May 18, 2009, at 12:33 AM, Samuel Wales wrote:


The bug occurs when the region is active.  It does not occur when I
have a file dedicated to the subtree, mark a region, but don't  
have an
active region (transient-mark-mode is off).  When I do the latter  
but

it is part of a larger file there is a wrong type argument error.


*** [[http://google.com][hi]]
text


Here is a minimal .emacs.

(require 'cl)

(defun alpha-add-path (p) (setq load-path (cons p load-path)))

(alpha-add-path (concat (getenv delorgsrc) /lisp))
(alpha-add-path (concat (getenv delpkgbef) /remember))

(add-to-list 'auto-mode-alist '(\\.org$ . org-mode))

(defvar alpha-mac-font
 -apple-courier-medium-r-normal--24-240-72-72-m-240-iso10646-1)
'(progn
 (progn
  (defconst alpha-mac-font-2
-apple-courier-medium-r-normal--*-*-*-*-*-240-*)
  (set-frame-font alpha-mac-font-2))
 )
(set-frame-font alpha-mac-font)

;;it seems to me that i never want blank lines ending a body
;;;(setf org-cycle-separator-lines 0)
(setf org-cycle-separator-lines 1)
;;;(setf org-cycle-separator-lines 2)
;;keep body indentation intact when promoting and demoting
(setf org-adapt-indentation nil)
;;;(setf org-adapt-indentation t)

;;very strange.  this gets overridden with time?
;;;(setq org-log-done t)
(setq org-log-done 'time)

(require 'org-install)

(defvar alpha-org-map (make-sparse-keymap alpha org map))
(define-key global-map [f8] alpha-org-map)
(define-key alpha-org-map [f8] 'org-remember) ;c-c r
(define-key alpha-org-map o 'org-open-at-point-global) ;c-c o

(require 'remember-autoloads)
(org-remember-insinuate)

;;http://mail.google.com/mail/x
(setf org-file-apps
'(
   ;;(auto-mode . emacs)
   ;;(\\.x?html?\\' . default)
   ;;(\\.pdf\\' . default)
   (t . emacs)))

(define-key org-mode-map \C-cc (lambda () (interactive) (org-todo
WAIT)))







--
Myalgic encephalomyelitis denialism is causing death and severe  
suffering
worse than MS.  Conflicts of interest are destroying research.  / 
You/ can
get the disease at any time permanently.  Do science and justice  
matter to

you?  Posters: 
http://www.mefreeforall.org/fileadmin/PDFs/ME_Awareness_Posters_2009.pdf
Overview: http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm




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


Re: [Orgmode] exporting splits window

2009-05-19 Thread Carsten Dominik


On May 18, 2009, at 12:38 AM, Samuel Wales wrote:


c-c c-e A with pop-up-windows set to nil splits the window and puts
the export buffer in both windows.


This is a bug.



For people who set the variable to nil, the expected behavior would be
to not split the window at all.

Any way to fix?


I have now changed this so that it is parallel to what happens
durng all other export types:  The exported buffer stays hidden
when you do `C-c C-e a'.  Realizing that often you'd
want to paste this stuff, I am pushing the exported stuff onto
the kill ring.

If you use `C-c C-e A' to export to a temporary buffer, that
buffer is still shown.

- Carsten



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


Re: [Orgmode] [ANN] org-crypt Version 0.3

2009-05-19 Thread Carsten Dominik


On May 18, 2009, at 6:40 PM, Peter Jones wrote:


Sorry for the delays in getting this posted, I've been doing a lot of
traveling lately.

The attached version of org-crypt fixes a few bugs and is just about
ready to be included in org proper.  The only thing it might need  
before

inclusion in org is automatic encryption via hooks.

I'd like to find out how people feel about that.  Should org-crypt
attach itself to org-mode-hook so that it can decrypt encrypted  
entries
after you open an org file?  At first I thought yes, but now I'm  
leaning

towards no, you should decrypt entries manually as needed.


Yes, I agree.  It would be good though to have a function
that does it for the entire buffer, just like Scot proposed.
And, this function should be ready so that is can safely be
stuck into org-mode-hook, for people who want to do automatic
decryption.


I do think that org-crypt should hook itself into before-save-hook so
that all entries that *should* be encrypted are encrypted before the
file touches the disk.  A user of org-crypt shouldn't have to worry
about setting up a hook, it should just happen automatically.


I do agree.  Does anyone know how tis will interact with
auto-safe?  Will the tree be encrypted in my face, when an
auto-safe happens.



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


Re: [Orgmode] recursive todo/checkbox statistics

2009-05-19 Thread Carsten Dominik

We have had the same discussion recently about checkboxes,
and added a variable org-hierarchical-checkbox-statistics.

However, my personal view is that the outline hierarchy is
different, because if you are organizing tasks into a hierarchy,
so it does not make sense to add TODO's on different levels.

- Carsten

On May 19, 2009, at 12:11 AM, Alexander wrote:


Hi,

Forgive me if there is an obvious way to do this that I haven't found.

Is there an easy way to calculate the total number of  tasks for a
file or a subtree?
For example, if the checkbox/todo progress cookie would calculate the
number of checkboxes/todos recursively for a subtree.

so that this:

* TODO heading 1 [1/3]
** DONE task A
** TODO task B
** TODO task C
*** TODO task C1
*** TODO task C2

would be this instead:

* TODO heading 1 [1/5]
** DONE task A
** TODO task B
** TODO task C
*** TODO task C1
*** TODO task C2

I would be fine with any other solution as well, it was just that it
seems closest to the checkbox/todo functionality.

Thanks you,

Alexander


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




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


Re: [Orgmode] Setting org-log-into-drawer in a property

2009-05-19 Thread Carsten Dominik


On May 19, 2009, at 7:54 AM, Daniel J. Sinder wrote:

Most of my tasks have only one state change (TODO-DONE), so I like  
to be able to quickly see my log notes by fully expanding all  
headings in a sub-tree.  Thus, I do NOT use the LOGBOOK property.


However, for repeating items the list of log entries can get quite  
long.  If I fully expand a sub-tree with a repeating task, the log  
notes push the rest of the tree off the screen.  I'd rather if  
*only* repeating tasks (and perhaps select other tasks) used the  
LOGBOOK property to keep the log notes hidden in a drawer.


This brings me to my question and possible feature request.  The  
LOGGING property allows us to set logging preference on a sub-tree  
basis.  Is it possible to set the value of org-log-into-drawer on a  
sub-tree basis, either via the LOGGING property or some other  
property?  If not, would it be possible to add this capability?


That does make sense.

Please use the new LOG_INTO_DRAWER property for this purpose.

- Carsten

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


Re: [Orgmode] Re: Organize Your Life In Plain Text!

2009-05-19 Thread Ian Barton



Meanwhile  have another problem:) When I try to view a page I can see
the basic navigation structure, but no style info or content. I notice
that there is no stylesheet.css in ~/blogs and I tried copying one
from the blorgit directory there. I do have an index.org, but it isn't
being processed and included in the web page index. I am guessing that
there is some problem with my Ruby installation. I have checked and I
am definitely using V1.8.


This problem is more complicated.  Blorgit relies on Emacs to actually
export org-mode files to html.  To do this it passes the org-mode files
to an Emacs server using the 'emacsclient' command.  To allow your Emacs
instance to act as a server for blorgit you need to load the
org-interaction.el file located in the backend/acts_as_org/elisp/
directory.  I have added the following to my .emacs so that this happens
automatically.

;; serve up web pages for blorgit
(load ~/src/blorgit/backend/acts_as_org/elisp/org-interaction.el)

I still have the same problem. I think the following log gives a clue:

i...@scamper:~/devel/blorgit$ ruby blorgit.rb
== Sinatra/0.9.1.1 has taken the stage on 4567 for development with
backup from WEBrick
[2009-05-18 07:02:36] INFO  WEBrick 1.3.1
[2009-05-18 07:02:36] INFO  ruby 1.8.7 (2008-08-11) [i486-linux]
[2009-05-18 07:02:36] INFO  WEBrick::HTTPServer#start: pid=14054 port=4567
emacsclient: invalid option -- 'v'
Try `emacsclient --help' for more information
127.0.0.1 - - [18/May/2009 07:02:47] GET /index HTTP/1.1 200 3504 0.0816
localhost - - [18/May/2009:07:02:47 BST] GET /index HTTP/1.1 200 3504
http://localhost:4567/index - /index
127.0.0.1 - - [18/May/2009 07:02:47] GET /stylesheet.css HTTP/1.1
200 530 0.0009
localhost - - [18/May/2009:07:02:47 BST] GET /stylesheet.css
HTTP/1.1 200 530
http://localhost:4567/index - /stylesheet.css

Seems my emacsclient doesn't like one of the options. I am using:

GNU Emacs 22.2.1 (i486-pc-linux-gnu, GTK+ Version 2.14.1)
 of 2008-09-05 on vernadsky, modified by Ubuntu


I've changed the options passed to emacsclient, so they should be more
uniform.  Please try the latest (git pull  git submodule update) and
see if that fixes the issue.  If emacsclient options problems persist,
you could try changing the options in line 21 of

 backend/acts_as_org/lib/acts_as_org.rb 


If need be I could make this information (the emacsclient command and
options) configurable.


Eric,

Thanks that has fixed my problem and I can start using Blorgit now. I am 
away next week, but when I get back I'll review the documentation on Worg.


Best wishes,

Ian.



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


Re: [Orgmode] [ANN] org-crypt Version 0.3

2009-05-19 Thread Ian Barton


The attached version of org-crypt fixes a few bugs and is just about
ready to be included in org proper.  The only thing it might need before
inclusion in org is automatic encryption via hooks.


Peter,
I have just been trying out org-crypt. With a minimal org file:

-*- mode: org; before-save-hook: (org-encrypt-entries) -*-
#+STARTUP: showall
#+STARTUP: hidestars

* Headline 1

* Headline 2 :crypt:
-BEGIN PGP MESSAGE-
Version: GnuPG v1.4.9 (GNU/Linux)

[Rest of buffer deleted]

I get the following error:

---
The local variables list in test_crypt.org contains variables that are 
risky (**).


Do you want to apply it?

** before-save-hook: (org-encrypt-entries)
---

I am presuming that this error is coming from org. Any idea what might 
be causing it?


Ian.


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


[Orgmode] re-exporting a web site

2009-05-19 Thread Eric S Fraga
Hello,

I've been through the manual and the faq but just cannot seem to find
the answer to a very simple question:  I need to re-publish
(i.e. re-export) a website that is written in org-mode because I've
changed some of the style information that is included by each .org
file.  Although I can force a re-export on individual files (C-u C-c C-e
F), I cannot force a re-export on a project (C-c C-e X).  Asking to
export the project simply skips all the unmodified files.  Trying C-u
C-c C-e X gives 

,
| org-publish-get-base-files: Wrong type argument: stringp, nil
`

Is this a bug?  I am running the latest org-mode version from git (as of
yesterday evening, in any case) on emacs version 23.0.93.1.

I know I can delete all the files in .org-timestamps/ but this is rather
a sledgehammer approach (as it will cause unnecessary re-publishing for
other projects).

Is there an easy way to re-export a project?

Thanks,
eric

-- 
MC .  -.. --- -  ..-. .-. .- --. .-  .- -  ..- -.-. .-..  .- -.-.  ..- -.-
NL Professor Eric S Fraga, UCL, http://www.homepages.ucl.ac.uk/~ucecesf/
BF ++[+[]-]++..-.++.--.



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


Re: [Orgmode] re-exporting a web site

2009-05-19 Thread Manish
On Tue, May 19, 2009 at 5:06 PM, Eric S Fraga wrote:
 Hello,

 I've been through the manual and the faq but just cannot seem to find
 the answer to a very simple question:  I need to re-publish
 (i.e. re-export) a website that is written in org-mode because I've
 changed some of the style information that is included by each .org
 file.  Although I can force a re-export on individual files (C-u C-c C-e
 F), I cannot force a re-export on a project (C-c C-e X).  Asking to
 export the project simply skips all the unmodified files.  Trying C-u
 C-c C-e X gives

 ,
 | org-publish-get-base-files: Wrong type argument: stringp, nil
 `

 Is this a bug?  I am running the latest org-mode version from git (as of
 yesterday evening, in any case) on emacs version 23.0.93.1.

 I know I can delete all the files in .org-timestamps/ but this is rather
 a sledgehammer approach (as it will cause unnecessary re-publishing for
 other projects).

 Is there an easy way to re-export a project?

Does publishing with a prefix not work?

-- 
Manish


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


[Orgmode] Re: re-exporting a web site

2009-05-19 Thread Eric S Fraga
Manish mailtomanish.sha...@gmail.com writes:

 On Tue, May 19, 2009 at 5:06 PM, Eric S Fraga wrote:
 Hello,

 I've been through the manual and the faq but just cannot seem to find
 the answer to a very simple question:  I need to re-publish
 (i.e. re-export) a website that is written in org-mode because I've
 changed some of the style information that is included by each .org
 file.  Although I can force a re-export on individual files (C-u C-c C-e
 F), I cannot force a re-export on a project (C-c C-e X).  Asking to
 export the project simply skips all the unmodified files.  Trying C-u
 C-c C-e X gives

 ,
 | org-publish-get-base-files: Wrong type argument: stringp, nil
 `

 Is this a bug?  I am running the latest org-mode version from git (as of
 yesterday evening, in any case) on emacs version 23.0.93.1.

 I know I can delete all the files in .org-timestamps/ but this is rather
 a sledgehammer approach (as it will cause unnecessary re-publishing for
 other projects).

 Is there an easy way to re-export a project?

 Does publishing with a prefix not work?

Thanks Manish.  But unfortunately that's what I tried: 
  C-u C-c C-e X projectname 
and the error message I've given above results!

Publishing to a file, with prefix, works perfectly, however.

-- 
MC .  -.. --- -  ..-. .-. .- --. .-  .- -  ..- -.-. .-..  .- -.-.  ..- -.-
NL Professor Eric S Fraga, UCL, http://www.homepages.ucl.ac.uk/~ucecesf/
BF ++[+[]-]++..-.++.--.



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


Re: [Orgmode] re-exporting a web site

2009-05-19 Thread Matthew Lundin
Hi Eric,

Eric S Fraga ucec...@ucl.ac.uk writes:

 Hello,

 I've been through the manual and the faq but just cannot seem to find
 the answer to a very simple question:  I need to re-publish
 (i.e. re-export) a website that is written in org-mode because I've
 changed some of the style information that is included by each .org
 file.  Although I can force a re-export on individual files (C-u C-c C-e
 F), I cannot force a re-export on a project (C-c C-e X).  Asking to
 export the project simply skips all the unmodified files.  Trying C-u
 C-c C-e X gives 

 ,
 | org-publish-get-base-files: Wrong type argument: stringp, nil
 `


I receive the same error when I try to export using C-u C-c C-e X.

As a temporary fix, you can use C-u C-c C-e P while visiting one of the
org files in the project. That's the method I use to update an entire
website.

- Matt


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


Re: [Orgmode] recursive todo/checkbox statistics

2009-05-19 Thread Alexander
Hi,

I've now switched to following the development version because several
things that I've wanted have been implemented in the short time I've
been using org-mode already! And I was impressed with orgmode at the
outset...

I tried version 6.26trans, and the hierarchical checkbox statistics
works as expected. But I can't get the same behavior for TODO's. I
just wanted to check that this is correct - that I'm not doing
something wrong.

Maybe I should explain more what I use org-mode for in this case to
make things clearer. I use it to keep track of the readings I have to
do for a qualifying exam. I categorize the readings according to
topic, and then track the progress of each reading as a TODO. The
reason I want to be able to check the global number of readings is to
make sure that I'm keeping the right pace. The list is pretty long
(223 entries in ~20 topics), so it's cumbersome to do by hand.

This is a better representation of the file I use:

* readings [0/0]
  :PROPERTIES:
  :COOKIE_DATA: todo
  :END:
** topic a
*** TODO book 1
*** TODO book 2
** topic b
*** TODO article 1
*** TODO article 2
** topic c
*** TODO book 1
*** TODO article 2

So is it possible to have the cookie at the top count the TODO's at
the lower levels?

If not, it's not a big problem really - I can count them reasonably
using grep and wc, but it just seems like a combination of
hierarchical-checkbox-statistics and COOKIE_DATA: todo would do it?

Best,

Alexander


On 5/19/09, Carsten Dominik carsten.domi...@gmail.com wrote:
 We have had the same discussion recently about checkboxes,
 and added a variable org-hierarchical-checkbox-statistics.

 However, my personal view is that the outline hierarchy is
 different, because if you are organizing tasks into a hierarchy,
 so it does not make sense to add TODO's on different levels.

 - Carsten

 On May 19, 2009, at 12:11 AM, Alexander wrote:

 Hi,

 Forgive me if there is an obvious way to do this that I haven't found.

 Is there an easy way to calculate the total number of  tasks for a
 file or a subtree?
 For example, if the checkbox/todo progress cookie would calculate the
 number of checkboxes/todos recursively for a subtree.

 so that this:

 * TODO heading 1 [1/3]
 ** DONE task A
 ** TODO task B
 ** TODO task C
 *** TODO task C1
 *** TODO task C2

 would be this instead:

 * TODO heading 1 [1/5]
 ** DONE task A
 ** TODO task B
 ** TODO task C
 *** TODO task C1
 *** TODO task C2

 I would be fine with any other solution as well, it was just that it
 seems closest to the checkbox/todo functionality.

 Thanks you,

 Alexander


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




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


Re: [Orgmode] re-exporting a web site

2009-05-19 Thread Nick Dokos
Matthew Lundin m...@imapmail.org wrote:

 Hi Eric,
 
 Eric S Fraga ucec...@ucl.ac.uk writes:
 
  Hello,
 
  I've been through the manual and the faq but just cannot seem to find
  the answer to a very simple question:  I need to re-publish
  (i.e. re-export) a website that is written in org-mode because I've
  changed some of the style information that is included by each .org
  file.  Although I can force a re-export on individual files (C-u C-c C-e
  F), I cannot force a re-export on a project (C-c C-e X).  Asking to
  export the project simply skips all the unmodified files.  Trying C-u
  C-c C-e X gives 
 
  ,
  | org-publish-get-base-files: Wrong type argument: stringp, nil
  `
 
 
 I receive the same error when I try to export using C-u C-c C-e X.
 
 As a temporary fix, you can use C-u C-c C-e P while visiting one of the
 org files in the project. That's the method I use to update an entire
 website.
 

As a workaround for the skipping of unmodified files: does setting

org-publish-use-timestamps-flag

to nil temporarily do the deed? I'm not sure what that will do to
the timestamps: they will probably be completely out of sync afterwards;
but that's exactly what Matt's method does (for the current project
only), so it could not be *too* bad !-)

You can also try to blow away (or move aside) the time stamps directory
(~/.org-timestamps by default, or the value of
org-publish-timestamp-directory) and try publishing again.

HTH,
Nick


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


Re: [Orgmode] re-exporting a web site

2009-05-19 Thread Nick Dokos
Nick Dokos nicholas.do...@hp.com wrote:

 As a workaround for the skipping of unmodified files: does setting
 
 org-publish-use-timestamps-flag
 
 to nil temporarily do the deed? I'm not sure what that will do to
 the timestamps: they will probably be completely out of sync afterwards;
 but that's exactly what Matt's method does (for the current project
 only), so it could not be *too* bad !-)
 

D'oh - never mind. I need more coffee.

Nick



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


Re: [Orgmode] re-exporting a web site

2009-05-19 Thread Eric S Fraga
Nick Dokos writes:
 As a workaround for the skipping of unmodified files: does setting

 org-publish-use-timestamps-flag

 to nil temporarily do the deed? I'm not sure what that will do to
 the timestamps: they will probably be completely out of sync afterwards;
 but that's exactly what Matt's method does (for the current project
 only), so it could not be *too* bad !-)

I guess that would work.  In the end, I used Matt's method (having
re-ordered my project list first so that org-mode would choose the
right project by default with the P option...).

 You can also try to blow away (or move aside) the time stamps directory
 (~/.org-timestamps by default, or the value of
 org-publish-timestamp-directory) and try publishing again.

Duh!  I did think of blowing it away as I've done that in the past but
never thought of simply moving it out of the way and then moving it
back again afterwards which would at least have retained the time
stamps for other projects.  Sigh.  I'll remember this for next time
however!

Many thanks all!

eric


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


[Orgmode] {{{macro}}} expansion not working properly for docbook export

2009-05-19 Thread Dale Smith
{{{maxro}}} expansion does not happen for docbook export until an html
export is done.  After that, macros seems to be expanded properly for
docbook export.

Thanks!
  -Dale
-- 
Dale P. Smith
da...@vtiinstruments.com
216-447-4059 x2018
216-447-8951 FAX

(Company mandated disclaimer follows...)

The information in this e-mail and any attachments is intended solely
for use by the recipient(s) to whom this e-mail is addressed and may
contain confidential and/or privileged information which is exempt
from disclosure.  If you are not an intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that you have received this e-mail
and any attachments in error and that dissemination, distribution,
review or copying of this e-mail and its attachments is strictly
prohibited.  If you have received this e-mail in error, please notify
the sender immediately and delete all electronic and paper copies of
this e-mail as well as any attachments.
Thank you.

http://www.vtiinstruments.com/images/vtiemaillogo.gif


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


Re: [Orgmode] ascii export of links to notes broken?

2009-05-19 Thread Samuel Wales
Confirmed.  Thank you.



On 2009-05-18, Carsten Dominik carsten.domi...@gmail.com wrote:
 Hi Samuel,

 now I can reproduce the problem.

 It happens because you are marking exactly a subtree,
 and the headline of the subtree becomes the *title* of
 the exported, and indeed, links in titles are not formatted
 correctly - the same is true for HTML export.

 A worg-around would be to start the region *before* the headline,
 then it will not be accepted as exactly one subtree and the
 headline will just become a headline, not a title.

 HTH

 - Carsten

 On May 18, 2009, at 7:05 PM, Samuel Wales wrote:

 ===
 #this is a comment because of a vague recollection that the
 #first line isn't supposed to be a headline.  has that been
 #fixed?

 * this is a headline with a link.  [[http://google.com][a search
 engine]]
 this is body text.  i put point on the headline at bol, then
 do c-spc c-spc down down down down c-c c-e A and it fails by
 not including notes.
 * this is how i ran it
 emacs -Q --load ~/el/tests-and-publish/org-testcase.el
 * more notes
 transient-mark-mode is nil
 ===

 That is the exact buffer.  The exact range is as described with the
 keystrokes.  The exact command is c-c c-e A.

 HIH

 On Sun, May 17, 2009 at 22:30, Carsten Dominik
 carsten.domi...@gmail.com wrote:
 Can you please send me the exact buffer you are using, the exact
 range that
 is covered by the active region, and the command you then use?

 So far I have not been abe to reproduce what you are saying.

 - Carsten

 On May 18, 2009, at 12:33 AM, Samuel Wales wrote:

 The bug occurs when the region is active.  It does not occur when I
 have a file dedicated to the subtree, mark a region, but don't
 have an
 active region (transient-mark-mode is off).  When I do the latter
 but
 it is part of a larger file there is a wrong type argument error.


 *** [[http://google.com][hi]]
 text


 Here is a minimal .emacs.

 (require 'cl)

 (defun alpha-add-path (p) (setq load-path (cons p load-path)))

 (alpha-add-path (concat (getenv delorgsrc) /lisp))
 (alpha-add-path (concat (getenv delpkgbef) /remember))

 (add-to-list 'auto-mode-alist '(\\.org$ . org-mode))

 (defvar alpha-mac-font
  -apple-courier-medium-r-normal--24-240-72-72-m-240-iso10646-1)
 '(progn
  (progn
   (defconst alpha-mac-font-2
 -apple-courier-medium-r-normal--*-*-*-*-*-240-*)
   (set-frame-font alpha-mac-font-2))
  )
 (set-frame-font alpha-mac-font)

 ;;it seems to me that i never want blank lines ending a body
 ;;;(setf org-cycle-separator-lines 0)
 (setf org-cycle-separator-lines 1)
 ;;;(setf org-cycle-separator-lines 2)
 ;;keep body indentation intact when promoting and demoting
 (setf org-adapt-indentation nil)
 ;;;(setf org-adapt-indentation t)

 ;;very strange.  this gets overridden with time?
 ;;;(setq org-log-done t)
 (setq org-log-done 'time)

 (require 'org-install)

 (defvar alpha-org-map (make-sparse-keymap alpha org map))
 (define-key global-map [f8] alpha-org-map)
 (define-key alpha-org-map [f8] 'org-remember) ;c-c r
 (define-key alpha-org-map o 'org-open-at-point-global) ;c-c o

 (require 'remember-autoloads)
 (org-remember-insinuate)

 ;;http://mail.google.com/mail/x
 (setf org-file-apps
 '(
;;(auto-mode . emacs)
;;(\\.x?html?\\' . default)
;;(\\.pdf\\' . default)
(t . emacs)))

 (define-key org-mode-map \C-cc (lambda () (interactive) (org-todo
 WAIT)))





 --
 Myalgic encephalomyelitis denialism is causing death and severe
 suffering
 worse than MS.  Conflicts of interest are destroying research.  /
 You/ can
 get the disease at any time permanently.  Do science and justice
 matter to
 you?  Posters:
 http://www.mefreeforall.org/fileadmin/PDFs/ME_Awareness_Posters_2009.pdf
 Overview: http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm




-- 
Myalgic encephalomyelitis denialism is causing death and severe suffering
worse than MS.  Conflicts of interest are destroying research.  /You/ can
get the disease at any time permanently.  Do science and justice matter to
you?  Posters: 
http://www.mefreeforall.org/fileadmin/PDFs/ME_Awareness_Posters_2009.pdf
Overview: http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm


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


Re: [Orgmode] Possible?

2009-05-19 Thread Tennis Smith
snip

 You could free up C-tab by customizing org-disputed-keys and
 org-replace-disputed-keys.  Or, maybe even better in your case,  you could
 overwrite Org's setting of C-tab in a hook, for example

 (add-hook 'org-mode-hook
(define-key 'org-mode-map [(control tab)] nil))


Cool. Thanks!



  and I use C-c for CUA copy.


 I have no idea how to recover C-c and C-x.  How can you use Emacs if these
 keys are used for something else?  I guess CUA does this by only using them
 when the region is active, but this is also not a solution because many
 commands working on the region are invoked with C-c or C-x.

 Incidentally, in my Emacs 23.0.93.1, if I turn on
 CUA mode, C-c does not do copy, even though cua-enable-cua-keys is set.


Hmmm... I'm using a very recent snapshot:
GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+ Version 2.14.4) of 2009-03-20
on hassium, modified by Debian

... and C-c/copy and C-x/cut  work fine. The only CUA settings I have in my
.emacs is:

 (cua-enable-cursor-indications t)
 (cua-enable-modeline-indications t)
 (cua-mode t nil (cua-base))

So it should absolutely work for you too.

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


Re: [Orgmode] Show parent PROJECTS for an item

2009-05-19 Thread Eraldo Helal
On Tue, May 19, 2009 at 05:01, Manish mailtomanish.sha...@gmail.com wrote:

 Of course, I do not know elisp nor do I understand Org internals so
 the idea might just be nonsense from an implementation perspective.

Nonsense or not I like the idea a lot!

It would be of great help to me.

personally I would only need one parent (the inner most) headline.
In your example that would the following:
Make a plan TODO Print a trillion dollars
but
[Take over the world/Make a plan] TODO Print a trillion dollars
is even better if the level can be customized and the order reversed.

The agenda has a prefix by default... maybe that could be/get used.

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


Re: [Orgmode] exporting splits window

2009-05-19 Thread Samuel Wales
On 2009-05-18, Carsten Dominik carsten.domi...@gmail.com wrote:
 I have now changed this so that it is parallel to what happens
 durng all other export types:  The exported buffer stays hidden
 when you do `C-c C-e a'.  Realizing that often you'd
 want to paste this stuff, I am pushing the exported stuff onto
 the kill ring.

 If you use `C-c C-e A' to export to a temporary buffer, that
 buffer is still shown.

I like the kill ring idea a lot.

c-c c-e A still pops up a window.  I am getting a split window with
the original buffer showing in one and the exported in the other, with
point in the latter.  I have pop-up-windows set to nil.  To work
around it, I think a user would have to advise with fairly complicated
code detecting the window configuration beforehand, in order to
determine whether other-window was used or whether a new window was
popped up.

Thanks.


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


Re: [Orgmode] re-exporting a web site

2009-05-19 Thread Nick Dokos
Eric S Fraga ucec...@ucl.ac.uk wrote:

 Nick Dokos writes:
  As a workaround for the skipping of unmodified files: does setting
 
  org-publish-use-timestamps-flag
 
  to nil temporarily do the deed? I'm not sure what that will do to
  the timestamps: they will probably be completely out of sync afterwards;
  but that's exactly what Matt's method does (for the current project
  only), so it could not be *too* bad !-)
 
 I guess that would work.  In the end, I used Matt's method (having
 re-ordered my project list first so that org-mode would choose the
 right project by default with the P option...).
 

I did not try the experiment, but as I indicated in my D'oh response
to me :-), I think you would run into the same bug that you ran into
originally: org-publish with a prefix arg sets
org-publish-use-time-stamps-flag to nil around the subordinate
org-publish-projects call, so these methods are (probably) equivalent. Can
you get a stack trace? 

Thanks,
Nick




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


Re: [Orgmode] Re: re-exporting a web site

2009-05-19 Thread Manish
  On Tue, May 19, 2009 at 7:19 PM, Eric S Fraga wrote:
   Manish mailtomanish.sha...@gmail.com writes:
  
   On Tue, May 19, 2009 at 5:06 PM, Eric S Fraga wrote:
   Hello,
  
   I've been through the manual and the faq but just cannot seem to find
   the answer to a very simple question: I need to re-publish
   (i.e. re-export) a website that is written in org-mode because I've
   changed some of the style information that is included by each .org
   file. Although I can force a re-export on individual files (C-u C-c C-e
   F), I cannot force a re-export on a project (C-c C-e X). Asking to
   export the project simply skips all the unmodified files. Trying C-u
   C-c C-e X gives
  
   ,
   | org-publish-get-base-files: Wrong type argument: stringp, nil
   `
  
   Is this a bug? I am running the latest org-mode version from git (as of
   yesterday evening, in any case) on emacs version 23.0.93.1.
  
   I know I can delete all the files in .org-timestamps/ but this is rather
   a sledgehammer approach (as it will cause unnecessary re-publishing for
   other projects).
  
   Is there an easy way to re-export a project?
  
   Does publishing with a prefix not work?
  
   Thanks Manish. But unfortunately that's what I tried:
   C-u C-c C-e X projectname
   and the error message I've given above results!

Sorry about that.  Lesson learnt: never respond while half-asleep. :-/

-- 
Manish


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


Re: [Orgmode] re-exporting a web site

2009-05-19 Thread Sebastian Rose

I do

for f in $(find ~/org/ -name '*.org'); do touch ${f}; done

Sebastian


Eric S Fraga ucec...@ucl.ac.uk, Eric S Fraga ucec...@ucl.ac.uk
writes:
 Nick Dokos writes:
 As a workaround for the skipping of unmodified files: does setting

 org-publish-use-timestamps-flag

 to nil temporarily do the deed? I'm not sure what that will do to
 the timestamps: they will probably be completely out of sync afterwards;
 but that's exactly what Matt's method does (for the current project
 only), so it could not be *too* bad !-)

 I guess that would work.  In the end, I used Matt's method (having
 re-ordered my project list first so that org-mode would choose the
 right project by default with the P option...).

 You can also try to blow away (or move aside) the time stamps directory
 (~/.org-timestamps by default, or the value of
 org-publish-timestamp-directory) and try publishing again.

 Duh!  I did think of blowing it away as I've done that in the past but
 never thought of simply moving it out of the way and then moving it
 back again afterwards which would at least have retained the time
 stamps for other projects.  Sigh.  I'll remember this for next time
 however!

 Many thanks all!

 eric


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


-- 
Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover
Tel.:  +49 (0)511 - 36 58 472
Fax:   +49 (0)1805 - 233633 - 11044
mobil: +49 (0)173 - 83 93 417
Email: s.r...@emma-stil.de, sebastian_r...@gmx.de
Http:  www.emma-stil.de


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


Re: [Orgmode] re-exporting a web site

2009-05-19 Thread Carsten Dominik

Thanks to everyone who contributed to this thread.

This was a stupid bug, fixed now.

- Carsten

On May 19, 2009, at 1:36 PM, Eric S Fraga wrote:


Hello,

I've been through the manual and the faq but just cannot seem to find
the answer to a very simple question:  I need to re-publish
(i.e. re-export) a website that is written in org-mode because I've
changed some of the style information that is included by each .org
file.  Although I can force a re-export on individual files (C-u C-c  
C-e

F), I cannot force a re-export on a project (C-c C-e X).  Asking to
export the project simply skips all the unmodified files.  Trying C-u
C-c C-e X gives

,
| org-publish-get-base-files: Wrong type argument: stringp, nil
`

Is this a bug?  I am running the latest org-mode version from git  
(as of

yesterday evening, in any case) on emacs version 23.0.93.1.

I know I can delete all the files in .org-timestamps/ but this is  
rather
a sledgehammer approach (as it will cause unnecessary re-publishing  
for

other projects).

Is there an easy way to re-export a project?

Thanks,
eric

--
MC .  -.. --- -  ..-. .-. .- --. .-  .- -  ..- -.-. .-..  .-  
-.-.  ..- -.-

NL Professor Eric S Fraga, UCL, http://www.homepages.ucl.ac.uk/~ucecesf/
BF ++[+[]-]++..-.+ 
+.--.




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




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


[Orgmode] html export with htmlized code blocks

2009-05-19 Thread Dirk-Jan C. Binnema
Hi all,

I sometimes use blocks of code in my org-files; currently, to make them
look nice, I put the code in a buffer with their major mode (e.g, a blog
perl in a buffer with perl-mode), then convert it to html with htmlize,
and copy the result html back in an org-mode html block.

#+BEGIN_HTML
pre/pre
#+END_HTML

I seems that I should be able to automate that a bit... ie., maybe
something like:

#+BEGIN_CODE(perl)
print hello, world!;
#+END_CODE

And *somehow* make that execute the steps I mentioned, and get something
like; so I'd need to cut-out only the stuff within pre/pre the
htmlize-generated html (it generates top-level html stuff which we
should ignore I guess).
 
pre
span class=cperl-nonoverridableprint/span span class=stringhello, 
world!\n/span;/pre


But I'm not really sure if that would be the best approach. Did anyone
do something like this before? Any tips?

Thanks,
Dirk.

-- 
Dirk-Jan C. Binnema  Helsinki, Finland
e:d...@djcbsoftware.nl   w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C


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


Re: [Orgmode] re-exporting a web site

2009-05-19 Thread Eric S Fraga
Carsten Dominik writes:
 Thanks to everyone who contributed to this thread.
 
 This was a stupid bug, fixed now.

Thanks Carsten!


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


Re: [Orgmode] re-exporting a web site

2009-05-19 Thread Eric S Fraga
Sebastian Rose writes:
 I do

 for f in $(find ~/org/ -name '*.org'); do touch ${f}; done

That would definitely work!  I think I got stuck in rut, but a good
one this time: org-mode!  I should have thought of using the rest of
the system to solve my problem.

Again, thanks to all.


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


Re: [Orgmode] html export with htmlized code blocks

2009-05-19 Thread Dan Davison
Dirk-Jan C. Binnema djcb.b...@gmail.com writes:

 Hi all,

 I sometimes use blocks of code in my org-files; currently, to make them
 look nice, I put the code in a buffer with their major mode (e.g, a blog
 perl in a buffer with perl-mode), then convert it to html with htmlize,
 and copy the result html back in an org-mode html block.

 #+BEGIN_HTML
 pre/pre
 #+END_HTML

 I seems that I should be able to automate that a bit... ie., maybe
 something like:

 #+BEGIN_CODE(perl)
 print hello, world!;
 #+END_CODE

 And *somehow* make that execute the steps I mentioned, and get something
 like; so I'd need to cut-out only the stuff within pre/pre the
 htmlize-generated html (it generates top-level html stuff which we
 should ignore I guess).
  
 pre
 span class=cperl-nonoverridableprint/span span class=stringhello, 
 world!\n/span;/pre


 But I'm not really sure if that would be the best approach. Did anyone
 do something like this before?

Hi Dirk,

I think what you are describing is achieved by

* some heading
#+BEGIN_SRC perl
print hello, world!;
#+END_SRC

Then you just export the buffer as HTML.

See 

http://orgmode.org/manual/Literal-examples.html#Literal-examples

Sorry if I've misunderstood.

Dan


  Any tips?

 Thanks,
 Dirk.


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


Re: [Orgmode] html export with htmlized code blocks [SOLVED]

2009-05-19 Thread Dirk-Jan C. Binnema
Hi Dan,

Op Tue 19 May 2009, om 21:10 (+0200) schreef Dan Davison:

 
 Dirk-Jan C. Binnema djcb.b...@gmail.com writes:
 
 
  I seems that I should be able to automate that a bit... ie., maybe
  something like:
 
  #+BEGIN_CODE(perl)
  print hello, world!;
  #+END_CODE
 
 
  But I'm not really sure if that would be the best approach. Did anyone
  do something like this before?
 
 Hi Dirk,
 
 I think what you are describing is achieved by
 
 * some heading
 #+BEGIN_SRC perl
 print hello, world!;
 #+END_SRC
 
 Then you just export the buffer as HTML.
 
 See 
 
 http://orgmode.org/manual/Literal-examples.html#Literal-examples
 
 Sorry if I've misunderstood.

Wow, exactly what I was looking for! [/me falls from chair in
amazement]. Org-mode is even more fantastic than I thought. Silly me for
not finding that in the docs.

Thanks!!
Dirk.

-- 
Dirk-Jan C. Binnema  Helsinki, Finland
e:d...@djcbsoftware.nl   w:www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C


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


Re: [Orgmode] html export with htmlized code blocks

2009-05-19 Thread Sebastian Rose
Hi Dirk,


if you _really_ do this (it's not first of april, is it?) it's about time
to join this list ;-)

...and take a look into

  * the great Org-mode manual:
http://orgmode.org/manual/HTML-export.html#HTML-export
http://orgmode.org/manual/Publishing.html#Publishing 

  * the tutorials on Worg:
http://orgmode.org/worg/
http://orgmode.org/worg/org-tutorials/
http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php

  * and type `M-x org-export-htmlize-generate-css RET'


Regards

   Sebastian


Dirk-Jan C. Binnema djcb.b...@gmail.com writes:
 Hi all,

 I sometimes use blocks of code in my org-files; currently, to make them
 look nice, I put the code in a buffer with their major mode (e.g, a blog
 perl in a buffer with perl-mode), then convert it to html with htmlize,
 and copy the result html back in an org-mode html block.

 #+BEGIN_HTML
 pre/pre
 #+END_HTML

 I seems that I should be able to automate that a bit... ie., maybe
 something like:

 #+BEGIN_CODE(perl)
 print hello, world!;
 #+END_CODE

 And *somehow* make that execute the steps I mentioned, and get something
 like; so I'd need to cut-out only the stuff within pre/pre the
 htmlize-generated html (it generates top-level html stuff which we
 should ignore I guess).
  
 pre
 span class=cperl-nonoverridableprint/span span class=stringhello, 
 world!\n/span;/pre


 But I'm not really sure if that would be the best approach. Did anyone
 do something like this before? Any tips?

 Thanks,
 Dirk.


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


Re: [Orgmode] Show parent PROJECTS for an item

2009-05-19 Thread Marcelo de Moraes Serpa
Wow, didn't think this observation would generate so much buzz :) Great to
know other org-mode users feel the need for it too.

Another aspect is that when you archive and item (when it's DONE) it's nice
to know it's context. If you have a NEXT ACTION that belongs to a project
and this specific NA is already DONE, if you archive it you'll loose
context. (you might want to data mine the archive file later, never knows
:)).

Anyway, as you could note, these additions are GTD-specific, since I'm a
GTD-proponent. And org-mode was so far the best system to implement GTD
after plain paper.

Maybe we could create a GTD extension to org-mode? I'd love to help in the
development, but I have no idea on how the code is structured and or how
easy is to add / modify current features (coupling, plugin model, etc). Is
there any document that explains it?

Thanks,

Marcelo.

On Tue, May 19, 2009 at 10:48 AM, Eraldo Helal ad...@eraldo.at wrote:

 On Tue, May 19, 2009 at 05:01, Manish mailtomanish.sha...@gmail.comwrote:

 Of course, I do not know elisp nor do I understand Org internals so
 the idea might just be nonsense from an implementation perspective.

 Nonsense or not I like the idea a lot!

 It would be of great help to me.

 personally I would only need one parent (the inner most) headline.
 In your example that would the following:
 Make a plan TODO Print a trillion dollars
 but
 [Take over the world/Make a plan] TODO Print a trillion dollars
 is even better if the level can be customized and the order reversed.

 The agenda has a prefix by default... maybe that could be/get used.

 Greetings from Austria,
 Eraldo

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


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


[Orgmode] Gather all high-priority (A) items in the agenda view

2009-05-19 Thread Marcelo de Moraes Serpa
Hello list!

Is there a way to query for all the high-priority items in the agenda view?

Thanks,

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


Re: [Orgmode] Show parent PROJECTS for an item

2009-05-19 Thread Eraldo Helal
My wording!
You seem to have found a comrade.
I would further suggest getting in touch (apart from the mailing list and
exchanging ideas and current setup).

On Tue, May 19, 2009 at 23:27, Marcelo de Moraes Serpa
celose...@gmail.comwrote:

 Wow, didn't think this observation would generate so much buzz :) Great to
 know other org-mode users feel the need for it too.

 Another aspect is that when you archive and item (when it's DONE) it's nice
 to know it's context. If you have a NEXT ACTION that belongs to a project
 and this specific NA is already DONE, if you archive it you'll loose
 context. (you might want to data mine the archive file later, never knows
 :)).

 Anyway, as you could note, these additions are GTD-specific, since I'm a
 GTD-proponent. And org-mode was so far the best system to implement GTD
 after plain paper.

 Maybe we could create a GTD extension to org-mode? I'd love to help in the
 development, but I have no idea on how the code is structured and or how
 easy is to add / modify current features (coupling, plugin model, etc). Is
 there any document that explains it?

 Thanks,

 Marcelo.

 On Tue, May 19, 2009 at 10:48 AM, Eraldo Helal ad...@eraldo.at wrote:

 On Tue, May 19, 2009 at 05:01, Manish mailtomanish.sha...@gmail.comwrote:

 Of course, I do not know elisp nor do I understand Org internals so
 the idea might just be nonsense from an implementation perspective.

 Nonsense or not I like the idea a lot!

 It would be of great help to me.

 personally I would only need one parent (the inner most) headline.
 In your example that would the following:
 Make a plan TODO Print a trillion dollars
 but
 [Take over the world/Make a plan] TODO Print a trillion dollars
 is even better if the level can be customized and the order reversed.

 The agenda has a prefix by default... maybe that could be/get used.

 Greetings from Austria,
 Eraldo

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



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


Re: [Orgmode] Show parent PROJECTS for an item

2009-05-19 Thread Matthew Lundin
Hi Marcelo,

Marcelo de Moraes Serpa celose...@gmail.com writes:

 Another aspect is that when you archive and item (when it's DONE) it's
 nice to know it's context. If you have a NEXT ACTION that belongs to a
 project and this specific NA is already DONE, if you archive it you'll
 loose context. (you might want to data mine the archive file later,
 never knows :)).

Org-mode already can save context info as properties. See the variable
org-archive-save-context-info.

,[From 2.6.2 in the Manual]
| When a subtree is moved, it receives a number of special properties
| that record context information like the file from where the entry
| came, it's outline path the archiving time etc. Configure the variable
| org-archive-save-context-info to adjust the amount of information
| added.
`

 Maybe we could create a GTD extension to org-mode? I'd love to help in
 the development, but I have no idea on how the code is structured and
 or how easy is to add / modify current features (coupling, plugin
 model, etc). Is there any document that explains it?

In your view, what aspects of GTD are not yet possible within org-mode?
It seems to me that org-mode offers the ability to implement everything
in GTD (contexts, natural project planning, calendar, multiple views of
the same data, etc). How exactly one implements GTD, of course, is up to
the user.

As a place to start customizing, I would recommend creating custom
agenda commands. This tutorial offers some custom commands for use with
GTD:

http://orgmode.org/worg/org-tutorials/org-custom-agenda-commands.php

And, of course, there is Charles Cave's excellent tutorial on
implementing GTD in org-mode:

http://orgmode.org/worg/org-tutorials/index.php

Hope this helps,

Matt


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


Re: [Orgmode] Show parent PROJECTS for an item

2009-05-19 Thread Eraldo Helal
On Wed, May 20, 2009 at 00:29, Matthew Lundin m...@imapmail.org wrote:

 Org-mode already can save context info as properties. See the variable
 org-archive-save-context-info.

I do not have this variable (Org-Version:6.26trans).

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


[Orgmode] positioning inline image

2009-05-19 Thread Marvin Doyley

Hi everyone,

Does anyone knows how to vary the position of inline images. The  
default position appear to be is center, but it would be nice to vary  
the location especially when exporting as html



Regards,
Marvin


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


Re: [Orgmode] Show parent PROJECTS for an item

2009-05-19 Thread Marcelo de Moraes Serpa
Eraldo,

Good to know that! I definetly would like to get in touch with you with more
time to discuss it. Meanwhile, Carsten (or any other org-savvy developer)
could point us into the right direction on which is the best way to start
hacking org (towards makeing extensions for it).

I have many, many pragmatic ideas/twists (note the pragmatic, I don't want
bloat!) for improving the GTD workflow with org. What is already excellent
could be the perfect GTD implementation for you, and me, and everyone :)

I will gather them and share them with you soon.

Btw, you gotta read the new Making it All Work book, awesome!

Marcelo.



On Tue, May 19, 2009 at 5:55 PM, Eraldo Helal ad...@eraldo.at wrote:



 On Wed, May 20, 2009 at 00:29, Matthew Lundin m...@imapmail.org wrote:

 Org-mode already can save context info as properties. See the variable
 org-archive-save-context-info.

 I do not have this variable (Org-Version:6.26trans).

 Eraldo


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


Re: [Orgmode] Show parent PROJECTS for an item

2009-05-19 Thread Nick Dokos
Eraldo Helal ad...@eraldo.at wrote:

 On Wed, May 20, 2009 at 00:29, Matthew Lundin m...@imapmail.org wrote:
 
  Org-mode already can save context info as properties. See the variable
  org-archive-save-context-info.
 
 I do not have this variable (Org-Version:6.26trans).
 

You probably need to load org-archive.el[c] first (or use an archive
command that will autoload that file): the variable is defined there.

HTH,
Nick

---
org-archive-save-context-info is a variable defined in `org-archive.el'.
Its value is 
(time file olpath category todo itags)


Documentation:
Parts of context info that should be stored as properties when archiving.
When a subtree is moved to an archive file, it loses information given by
context, like inherited tags, the category, and possibly also the TODO
state (depending on the variable `org-archive-mark-done').
This variable can be a list of any of the following symbols:

time   The time of archiving.
file   The file where the entry originates.
ltags  The local tags, in the headline of the subtree.
itags  The tags the subtree inherits from further up the hierarchy.
todo   The pre-archive TODO state.
category   The category, taken from file name or #+CATEGORY lines.
olpath The outline path to the item.  These are all headlines above
   the current item, separated by /, like a file path.

For each symbol present in the list, a property will be created in
the archived entry, with a prefix PRE_ARCHIVE_, to remember this
information.

You can customize this variable.


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


Re: [Orgmode] Show parent PROJECTS for an item

2009-05-19 Thread Manish
On Wed, May 20, 2009 at 2:57 AM, Marcelo de Moraes Serpa wrote:
 Wow, didn't think this observation would generate so much buzz :) Great to
 know other org-mode users feel the need for it too.

 Another aspect is that when you archive and item (when it's DONE) it's nice
 to know it's context. If you have a NEXT ACTION that belongs to a project
 and this specific NA is already DONE, if you archive it you'll loose
 context. (you might want to data mine the archive file later, never knows
 :)).

Err.  I only meant to encode the hierarchy for agenda display
purposes.  So the TODO items themselves remain untouched.  As Matthew
already pointed out there are already ways to save context when
archiving.

-- 
Manish


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


Re: [Orgmode] Show parent PROJECTS for an item

2009-05-19 Thread Carsten Dominik


On May 20, 2009, at 1:06 AM, Marcelo de Moraes Serpa wrote:


Eraldo,

Good to know that! I definetly would like to get in touch with you  
with more time to discuss it. Meanwhile, Carsten (or any other org- 
savvy developer) could point us into the right direction on which is  
the best way to start hacking org (towards makeing extensions for it).


http://orgmode.org/manual/Hacking.html#Hacking

http://orgmode.org/worg/org-configs/index.php

http://orgmode.org/worg/org-configs/org-hooks.php

For example extensions, see

http://orgmode.org/worg/org-contrib/index.php

HTH

- Carsten




I have many, many pragmatic ideas/twists (note the pragmatic, I  
don't want bloat!) for improving the GTD workflow with org. What is  
already excellent could be the perfect GTD implementation for you,  
and me, and everyone :)


I will gather them and share them with you soon.

Btw, you gotta read the new Making it All Work book, awesome!

Marcelo.



On Tue, May 19, 2009 at 5:55 PM, Eraldo Helal ad...@eraldo.at wrote:


On Wed, May 20, 2009 at 00:29, Matthew Lundin m...@imapmail.org  
wrote:

Org-mode already can save context info as properties. See the variable
org-archive-save-context-info.
I do not have this variable (Org-Version:6.26trans).

Eraldo






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


Re: [Orgmode] positioning inline image

2009-05-19 Thread Carsten Dominik


On May 20, 2009, at 12:56 AM, Marvin Doyley wrote:


Hi everyone,

Does anyone knows how to vary the position of inline images. The  
default position appear to be is center, but it would be nice to  
vary the location especially when exporting as html


I am not sure.

http://orgmode.org/manual/Images-in-HTML-export.html#Images-in-HTML-export

shows how to add attributes to the img tag, but that may not be enough.

I don't know much about HTML.  Can you describe what kind of HTML code  
you'd like to generate to vary the position of an image?


- Carsten



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


Re: [Orgmode] Setting org-log-into-drawer in a property

2009-05-19 Thread Daniel J. Sinder

As Carsten Dominik so eloquently wrote on 5/19/2009 1:38 AM:


On May 19, 2009, at 7:54 AM, Daniel J. Sinder wrote:

Most of my tasks have only one state change (TODO-DONE), so I like 
to be able to quickly see my log notes by fully expanding all 
headings in a sub-tree.  Thus, I do NOT use the LOGBOOK property.


However, for repeating items the list of log entries can get quite 
long.  If I fully expand a sub-tree with a repeating task, the log 
notes push the rest of the tree off the screen.  I'd rather if *only* 
repeating tasks (and perhaps select other tasks) used the LOGBOOK 
property to keep the log notes hidden in a drawer.


This brings me to my question and possible feature request.  The 
LOGGING property allows us to set logging preference on a sub-tree 
basis.  Is it possible to set the value of org-log-into-drawer on a 
sub-tree basis, either via the LOGGING property or some other 
property?  If not, would it be possible to add this capability?


That does make sense.

Please use the new LOG_INTO_DRAWER property for this purpose.

- Carsten


Carsten,

I subscribed to this list in April '06, and I remember suggesting the 
logging feature later that year 
(http://article.gmane.org/gmane.emacs.orgmode/612).  The next release 
(version 4.50) included logging.  Incredibly, three years later, despite 
the explosive growth of orgmode and its community of users  developers, 
you still implemented my feature request (coincidentally related to 
logging) within a day!


Three years ago, I eagerly absorbed each new feature.  Now, although I'm 
still an avid user of orgmode, the growth in my personal use lags behind 
the pace of development, and there are many new features that I have not 
even touched.  In fact, I often can't even keep up with the volume of 
this list.  Yet, the new features have little or no impact on the 
features I do use, even though I keep my version nearly at the bleeding 
edge via git.  This is just great software design and management!


Anyway, this is my way of saying a profound thank you for a great tool 
and superb support.


Dan



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