[Orgmode] org-mode import/export and opml ?

2008-09-13 Thread Bruce Hackett

Hi,
I'm a new user of org-mode, but I'm addicted already. Great work!
I have an outliner app on my cell phone that can ingest opml-coded 
files. It would be nice if I could get some kind of sync between my org 
files and the cell phone. In one of the threads there is mention of an 
ongoing effort to write an org-to-opml filter. Is there any more 
progress on that effort?

Bruce



___
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] feature inquiry

2008-09-13 Thread Carsten Dominik

Hi Stuart,

such a functionality does not currently exist and I do find it too  
specialized to write it.


- Carsten

On Aug 31, 2008, at 9:29 PM, Stuart McLean wrote:


Hello everyone,

I have a large number of tasks that I do in a cyclic fashion, or at
least would _like_ to do regularly. I do this via a SCHEDULED keyword
under a TODO heading with a repeat like so

* cyclic category 1
** cyclic task 1
  SCHEDULED: <2008-07-31 Sun .+1d>

I would like the following functionality: a checkbox cookie [/] or
something similar so that I could track compliance to a particular
cyclic task over the period of a month (or whatever) until I archive  
the
group of tasks. It would be easy to see if you did a task 31 days  
out 31

or 20 out of 31 and so on. I think this would be a good incentive for
trying to "up the score" so to speak.

If anyone has any ideas how to implement this, or if I am missing the
boat entirely and this functionality already exists, I would love to
hear it.

Thanks,

Stuart


___
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] Strange key binding problem

2008-09-13 Thread Carsten Dominik

Hi Samuel

On Aug 31, 2008, at 10:35 PM, Samuel Wales wrote:


The keybinding for ESC right remains bound to forward-word even after
loading org.


I you run Org-mode under X windows, org normally does not use this key  
binding,
since meta-right does the same job.  If you would like to insist using  
it,
you can, using the lates git-released version, by setting org-use- 
extra-keys.


HTH.

- Carsten





What am I doing wrong below?  I must be missing something obvious.

;;[emacs is carbon emacs 22 on mac os x tiger, which runs as gui]
;;[org is 6.06b]
;;emacs -q from the default terminal
;;eval the following forms using c-x c-e
(defun alpha-add-path (p) (setq load-path (cons p load-path)))
(alpha-add-path "[valid path]/org/lisp")
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
;;c-x c-f [myorgfile].org
;;result loads and colorizes correctly.  TAB works correctly for the  
mode.

;;m-x org-version
;;result "Org-mode version 6.06b"
;;c-h c ESC right
;;result "ESC  (translated from  ) runs the
command forward-word"


___
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] Top-level headers in org-sparse-tree

2008-09-13 Thread Carsten Dominik

Hi Iris,

Org considers the version of the file with only top-levels shown as  
the most folded version and does not provide commands that will hide  
these.


If the sparse tree exposes an entry deep in the hierarchy, it will  
also show the entire headline hierarchy above it.  In another reply to  
your message, Giovanni has pointed out correctly that the variable org- 
show-hierarchy-above can be used to turn off this feature.  However,  
the top-level headlines are always excluded from this, they are always  
visible.  Maybe you have set up your file in a way that each project  
is a top-level headline?  A way out would then be to demote all these  
to level two under a top-level headline "Projects" or so.  If you then  
turn off `org-show-hierarchy-above', maybe you will get closer to the  
view you did expect.


HTH

- Carsten

On Sep 9, 2008, at 4:06 PM, Iris Jackson wrote:


Hi,

I recently started using org mode and I really like it.  I have a  
single file that contains all information about a project like  
TODOs, project specs, user documentation, development notes, etc.   
For example, the way I generate the project specs is to first create  
a sparse tree matching on the tag I assigned to the specs, then HTML  
exporting it.


The problem I encountered is that org-tags-sparse-tree shows top- 
level headers even if they don't contain the selected tag.  Is there  
a simple way to turn that off?  For example, if I have a top level  
section called "Bugs", and it does not contain the "project spec"  
tag, then I don't want it to show up in the result :-)


I think this functionality is controlled by org-make-tags-matcher on  
line 9382 of org.el (version 6.06b), but this function is too  
intimidating for me to try to change it.


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




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


Re: [Orgmode] Current Date in Agenda View

2008-09-13 Thread Carsten Dominik
Hi David, no, there is not.  You can always press "." in the agenda,  
that will get you to "today" and position the cursor at that day.


Another possibility is to customize the variable org-agenda-time-grid  
with M-x customize-variable RET org-agenda-time-grid and to turn of the
"show grid in single day agenda" and "show grid only if any timed..."  
boxes.  Then "today" will always stick out by showing the time grid.


HTH

- Carsten

On Sep 10, 2008, at 4:09 AM, David A. Gershman wrote:



Is there a way to "highlight" the current date in the Agenda view?
Something to draw ones eye to the current date.

Thanks.
---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman


___
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] Changed behavior with checkbox tokens

2008-09-13 Thread Carsten Dominik


On Aug 20, 2008, at 3:56 AM, Eddward DeVilla wrote:


Hi all,

I've been really behind on org-mode release and recently got to a 6.x
release.  I've noticed the following 6.06b.

* b list [0/3]
 - [-] [6/7] Stooge
   - [ ] Larry
   - [X] Curly
   - [X] Moe
   - [X] Shemp
   - [X] Joe
   - [X] Joe
   - [X] Joe
 - [-] [4/5] Marx
   - [ ] Groucho
   - [X] Harpo
   - [X] Chico
   - [X] Gummo
   - [X] Zeppo
 - [ ] [0/3] Eternal
   - [-] Laurel and Hardy
 - [ ] Stan
 - [X] Oliver
   - [-] [1/2] Abbott and Costello
 - [ ] Lou
 - [X] Bud
   - [-] [1/2] Martin and Lewis
 - [ ] Jerry
 - [X] Dean

The [-] tokens are new and I do love them and have wanted something
like them since before I was begging for what became the [/] and [%]
tokens.  On the other hand, I'm a little surprised by what the [/]
tokens got filled in with.  Is there a new file or custom option that
I missed or is it no longer possible to get sub levels to feed back up
to the Todo item?



Hi Ed,

no, you are right that it is no longer possible to capture the state  
of several levels of children and grandchildren with this.  However, I  
think the new is the more consistent and cleaner behavior, so I will  
leave it like this.


- 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] Patch to fix indent error when current line is in SRC block

2008-09-13 Thread Carsten Dominik

Hi Tseng,

thank you, I am accepting the patch.

- Carsten

On Sep 8, 2008, at 2:46 PM, S.P.Tseng wrote:



I add function 'org-edit-src-find-region-and-lang' to the begin of the
'org-indent-line-function'. When current line is in SRC block do  
nothing.


So, you can use below code to indent the whole buffer.
,
| (defun my-iwb ()
|   "indent whole buffer"
|   (interactive)
|   (delete-trailing-whitespace)
|   (indent-region (point-min) (point-max) nil)
|   (untabify (point-min) (point-max)))
`

---
lisp/org.el |  141 + 
+-

1 files changed, 71 insertions(+), 70 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 26e8117..1ac78b0 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -1647,7 +1647,7 @@ end of the second format."
org-mode generates a time duration."
  :group 'org-time
  :type 'string)
-
+
(defcustom org-deadline-warning-days 14
  "No. of days before expiration during which a deadline becomes  
active.

This variable governs the display in sparse trees and in the agenda.
@@ -2512,7 +2512,7 @@ Otherwise, return nil."
 (<= org-clock-marker (point-at-eol)))
;; The clock is running here
(setq org-clock-start-time
- (apply 'encode-time
+ (apply 'encode-time
 (org-parse-time-string (match-string 1
(org-update-mode-line)))
 (t
@@ -2683,8 +2683,8 @@ collapsed state."
;; Autoload ID code

(org-autoload "org-id"
- '(org-id-get-create org-id-new org-id-copy org-id-get
-   org-id-get-with-outline-path-completion
+ '(org-id-get-create org-id-new org-id-copy org-id-get
+   org-id-get-with-outline-path-completion
   org-id-get-with-outline-drilling
   org-id-goto org-id-find))

@@ -5572,7 +5572,7 @@ the language, a switch telling of the content  
should be in a single line."

   (string-match "\\\n\n")
("e" "#+begin_example\n?\n#+end_example"
 "\n?\n")
@@ -8179,7 +8179,7 @@ expands them."
   (t (newline
(setq start (point))
(if (string-match "%file" rpl)
-   (setq rpl (replace-match
+   (setq rpl (replace-match
   (concat
"\""
(save-match-data
@@ -8188,7 +8188,7 @@ expands them."
   t t rpl)))
(insert rpl)
(if (re-search-backward "\\?" start t) (delete-char 1
-
+

(defun org-complete (&optional arg)
  "Perform completion on word at point.
@@ -8587,7 +8587,7 @@ For calling through lisp, arg is also  
interpreted in the following way:

(condition-case nil
(outline-forward-same-level 1)
  (error (end-of-line 1)
-   (replace-match
+   (replace-match
 (if is-percent
 (format "[%d%%]" (/ (* 100 cnt-done) (max 1 cnt-all)))
   (format "[%d/%d]" cnt-done cnt-all)))
@@ -8609,7 +8609,7 @@ when there is a statistics cookie in the  
headline!

   (let (org-log-done org-log-states)   ; turn off logging
 (org-todo (if (= n-not-done 0) \"DONE\" \"TODO\"
")
-   
+
(defun org-local-logging (value)
  "Get logging settings from a property VALUE."
  (let* (words w a)
@@ -10195,12 +10195,12 @@ the scanner.  The following items can be  
given here:

 ((eq match t)   (setq matcher t))
 ((eq match nil) (setq matcher t))
 (t (setq matcher (if match (org-make-tags-matcher match) t
-
+
(when (eq scope 'tree)
  (org-back-to-heading t)
  (org-narrow-to-subtree)
  (setq scope nil))
-
+
(if (not scope)
(progn
  (org-prepare-agenda-buffers
@@ -10489,7 +10489,7 @@ If yes, return this value.  If not, return  
the current value of the variable."

  (move-marker org-entry-property-inherited-from (point))
  (throw 'ex tmp))
(or (org-up-heading-safe) (throw 'ex nil)
-  (or tmp
+  (or tmp
  (cdr (assoc property org-file-properties))
  (cdr (assoc property org-global-properties))
  (cdr (assoc property org-global-properties-fixed))
@@ -12021,11 +12021,11 @@ If EXCLUDE-TMP is non-nil, ignore  
temporary buffers."

(lambda (b) (string-match "\*Org .*Export" (buffer-name b
   ((eq predicate 'agenda)
(lambda (b)
- (with-current-buffer b
+ (with-current-buffer b
(and (eq major-mode 'org-mode)
 (setq bfn (buffer-file-name b))
 (member (file-truename bfn) agenda-files)
-  (t (lambda (b) (with-current-buffer b
+  (t (lambda (b) (with-current-buffer b
(or (eq major-mode 'org-mode)
(string-match "\*Org .*Export"
  (buffer-name b)
@@ -12243,7 +12243,7 @@ When a buffer is unmodified, it is just  
killed.  When modified, it is saved

(append org-done-keywords-for-agenda org-d

Re: [Orgmode] Searching for tags or todo keywords

2008-09-13 Thread Carsten Dominik

Hi Peter,

as you have seen, changing the logic is not easy, for a number of  
reasons.
I would like to have parenthesis, but since the parsing is done by  
string processing, any parenthesis in one of the search strings would  
be difficult to handle.


Some work-arounds:

1. Have you thought about using a sparse tree?  Or is you stuff in  
different files?


2. You could use categories to mark the entries.  Basically make each  
project its own category.


3. Have you tried follow mode in the agenda?  Then you will always  
see, in another window, the embedding of the entry you are looking at.



HTH

- Carsten

On Aug 22, 2008, at 3:21 PM, Peter Westlake wrote:


I only discovered org-mode a couple of weeks ago, so apologies if this
is a FAQ, or the patch is in the wrong format.

I would like to define an agenda command to show TODO items in the
context of the projects to which they belong, like this:

 todo:   .Widget project
 todo:   ..TODO Gather widget requirements
 todo:   .Gadget project
 todo:   ..TODO Plan the end of project party

That would be a search like:

 (LEVEL=2) | (/TODO)

But LEVEL=2|/TODO is interpreted as (LEVEL=2|) & (/TODO)
because / has the lowest precedence.

/TODO|LEVEL=2 treats LEVEL as a TODO word instead of a tag.

Is there any way around this, short of implementing parentheses?

One possibility might be to make operators that are like / but bind  
most

tightly, one to say "this is a todo keyword" and one to say "this is a
tag". For instance, if \ was like / but high precedence, and % was the
opposite of \, my query would become:

 \TODO | %LEVEL=2

Having looked at the code, that looks almost as hard as parens.

Next idea: since "/" means "and this TODO expression", add "\" meaning
"or this TODO expression". So my query becomes:

 LEVEL=2\TODO

This is a lot easier to implement. In fact, this patch does it:

diff -wu /usr/share/emacs/site-lisp/org-mode/org.el
/home/pwestlake/elisp/org.el
--- /usr/share/emacs/site-lisp/org-mode/org.el  2008-06-17
20:36:44.0 +0100
+++ /home/pwestlake/elisp/org.el2008-08-22 14:13:44.031536000
+0100
@@ -9381,17 +9381,26 @@
   tagsmatch todomatch tagsmatcher todomatcher kwd matcher
   orterms term orlist re-p str-p level-p level-op
   prop-p pn pv po cat-p gv)
-(if (string-match "/+" match)
+(cond ((string-match "/+" match)
   ;; match contains also a todo-matching request
-   (progn
 (setq tagsmatch (substring match 0 (match-beginning 0))
   todomatch (substring match (match-end 0)))
 (if (string-match "^!" todomatch)
 (setq todo-only t todomatch (substring todomatch 1)))
 (if (string-match "^\\s-*$" todomatch)
- (setq todomatch nil)))
+   (setq todomatch nil))
+   (setq todo-op 'and todo-op-default t))
+  ((string-match "+" match)
+   (setq tagsmatch (substring match 0 (match-beginning 0))
+ todomatch (substring match (match-end 0)))
+   (if (string-match "^!" todomatch)
+   (setq todo-only t todomatch (substring todomatch 1)))
+   (if (string-match "^\\s-*$" todomatch)
+   (setq todomatch nil))
+   (setq todo-op 'or todo-op-default nil))
+
  ;; only matching tags
-  (setq tagsmatch match todomatch nil))
+  (t (setq tagsmatch match todomatch nil todo-op-default t
todo-op 'and)))

;; Make the tags matcher
(if (or (not tagsmatch) (not (string-match "\\S-" tagsmatch)))
@@ -9447,7 +9456,7 @@
   (list 'progn '(setq org-cached-props nil) tagsmatcher)))
;; Make the todo matcher
(if (or (not todomatch) (not (string-match "\\S-" todomatch)))
-   (setq todomatcher t)
+   (setq todomatcher todo-op-default)
  (setq orterms (org-split-string todomatch "|") orlist nil)
  (while (setq term (pop orterms))
   (while (string-match re term)
@@ -9471,7 +9480,7 @@

;; Return the string and lisp forms of the matcher
(setq matcher (if todomatcher
- (list 'and tagsmatcher todomatcher)
+ (list todo-op tagsmatcher todomatcher)
   tagsmatcher))
(cons match0 matcher)))


Regards,

Peter.




___
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: Very slow agenda view

2008-09-13 Thread Carsten Dominik


On Aug 15, 2008, at 7:05 PM, Jason F. McBrayer wrote:


Rainer Stengele <[EMAIL PROTECTED]> writes:

takes several seconds on my EmacsW32 3 GHz CPU. After changing the  
tag

inheritance setting to nil the view shows in about 1 second! Which is
good enough!


I have the same behaviour here; I had thought that the slowness was
mainly due to some of my agenda files being on a slow flash drive, but
tag inheritance turns out to be a much bigger factor.  Which is kind  
of
unfortunate, as some of my searches depended on tag inheritance, but  
I'm

willing to re-tag some things to get my agenda showing faster.


One thing that might help is the following:

A tags/property search will suffer only a little from tag inheritance,  
because it systematically walks through all headlines with all tags  
anyway.


Another view like the daily/weekly agenda view or the TODO list will  
suffer from tag inheritance, because each matching entry will scan  
upward the hierarchy to find out what the inherited tags are, just so  
that the agenda view can display the tags *on demand*.


So you could turn on tag inheritance for tags matches and turn it off  
for other views, using the command-specific option settings, like so:


("A" agenda "prio A agenda"
((org-agenda-skip-function
  (lambda nil
(org-agenda-skip-entry-if (quote notregexp) "\\=.*\\[#A\ 
\]")))

 (org-agenda-ndays 3)
 (org-deadline-warning-days -1)
 (org-use-tag-inheritance nil)
 (org-agenda-overriding-header "Today's Priority #A tasks: ")))

The disadvantage will be that the "T" key in the agenda will no longer  
show any inherited tags, and also that the new filtering-by-tag (the  
"/" key in the aganda) will ignore inherited tags.


HTH

- 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] About diary and time tracking

2008-09-13 Thread Carsten Dominik

Hi Rustom,

On Aug 4, 2008, at 8:25 AM, Rustom Mody wrote:


I gather (dont recall exactly from where) that there are alternatives
to using the builtin emacs diary (Subsection: Calendar Diary
Integration in Section Agenda views).


the main alternative is to use the Org scheduling possibilities, and  
to include diary sexp entries directly into Org files.



Likewise I think Carsten has written somewhere that the time tracking
setup of Sacha Chua at
http://sachachua.com/wp/2007/12/30/clocking-time-with-emacs-org/
has largely been incorporated into later versions of org.


This mainly referes to the following:

1. You can request that clocking in an entry will switch its TODO  
state, see the variable org-`clock-in-switch-to-state'


2. The clock time tables accept a ":step" parameter that allows to  
split the report into steps like days or weeks.


HTH

- 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] Bug with clock-out note left out of :CLOCK: drawer

2008-09-13 Thread Carsten Dominik

Fixed, thanks for the report.

- Carsten

On Aug 12, 2008, at 9:43 AM, [EMAIL PROTECTED] wrote:


Hi,

I use `#+STARTUP: lognoteclock-out' to take notes when clock-out.
When I clock-out for the first time, the note is layout just under the
clock-out record.  When I clock-in and clock-out the same item for the
second time, the first note is left out of `:CLOCK:' drawer.

--
Kind regards,

Tian Qiu


___
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] Correct Way to Create Sibling Headings

2008-09-13 Thread Carsten Dominik

Hi Peter,

thank you for your thoughtful post.  I tend to agree that there is  
some consistency missing in this area.  Following your post, I am  
changing the interface like this:


M-RET and M-S-RET will remain the same, i.e. they will insert the  
heading directly after the current line, therefore making any content  
of the entry part of the new entry.  I believe this still makes sense,  
because it feels more like direct editing of the text file.  In this  
case, the idea is that if you want to insert the new heading after all  
the content, you would first move the cursor to after the content.


I am redefining C-RET and C-S-RET in the way you propose.  The will  
now also insert a new heading *before* the current if the cursor is at  
the beginning of the line.  And they will achieve the insertion  
without folding siblings.


Finally, I am introducing a new option `org-insert-heading-respect- 
content', default nil.  If you set this to t, M-RET and M-S-RET will  
behave just like C-RET and C-S-RET, respectively, so in this way you  
can make this behavior the default.


I hope this will work for everyone, let me know if not.

- Carsten



On Sep 11, 2008, at 11:08 PM, Peter Jones wrote:


I'm aware of two ways to create a sibling heading (a heading directly
after the current heading):

 1. M-return (org-meta-return)
 2. C-return (org-insert-heading-after-current)

They both operate slightly differently, but neither seem to do what I
want.

org-meta-return creates a heading directly after the current heading,
but before the properties and content of the original heading.
org-insert-heading-after-current collapses the current heading before
creating the next heading, keeping properties and content in their
correct location.

I tend to use org-insert-heading-after-current to get around this side
effect of org-meta-return, but org-insert-heading-after-current  
doesn't

support the same features that org-meta-return does:

- Using the shift key to make the new heading a TODO item
- Creating a heading *above* the current heading when used at the BOL

Plus, org-insert-heading-after-current also collapses the open  
headings

around it, which is often not what I want since it removes context
information.

I guess I have two questions:

 1. Is there a bug in org-meta-return that assigns the properties and
content of the current heading to the newly created heading?

 2. What is the intended difference between M-return and C-return?

Thanks.

--
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US



___
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] Current Date in Agenda View

2008-09-13 Thread David A. Gershman


> Hi David, no, there is not.  You can always press "." in the agenda,  
> that will get you to "today" and position the cursor at that day.

Doh!  Missed that one...that works fine.  Thanks!


---
David A. Gershman
[EMAIL PROTECTED]
http://dagertech.net/gershman/
"It's all about the path!" --d. gershman


___
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: Correct Way to Create Sibling Headings

2008-09-13 Thread Peter Jones
Carsten Dominik <[EMAIL PROTECTED]> writes:
> M-RET and M-S-RET will remain the same, i.e. they will insert the
> heading directly after the current line, therefore making any content
> of the entry part of the new entry.  I believe this still makes sense,
> because it feels more like direct editing of the text file.  In this
> case, the idea is that if you want to insert the new heading after all
> the content, you would first move the cursor to after the content.
>
> I am redefining C-RET and C-S-RET in the way you propose.  The will
> now also insert a new heading *before* the current if the cursor is at
> the beginning of the line.  And they will achieve the insertion
> without folding siblings.
>
> Finally, I am introducing a new option `org-insert-heading-respect-
> content', default nil.  If you set this to t, M-RET and M-S-RET will
> behave just like C-RET and C-S-RET, respectively, so in this way you
> can make this behavior the default.

Great!  I can't wait to update and try this out.

-- 
Peter Jones, http://pmade.com
pmade inc.  Louisville, CO US



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


Re: [Orgmode] org-mode import/export and opml ?

2008-09-13 Thread Carsten Dominik


On Sep 12, 2008, at 3:07 PM, Bruce Hackett wrote:


Hi,
I'm a new user of org-mode, but I'm addicted already. Great work!
I have an outliner app on my cell phone that can ingest opml-coded  
files. It would be nice if I could get some kind of sync between my  
org files and the cell phone. In one of the threads there is mention  
of an ongoing effort to write an org-to-opml filter. Is there any  
more progress on that effort?


No, there is not.

- 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] Make timestamps appear in each item header of the _archive file

2008-09-13 Thread Carsten Dominik

Hi,
On Sep 13, 2008, at 6:33 AM, munco munco wrote:


Hi

When I archive (C-c-x-a) a TODO item to my _archive file I would like
the close timestamp to also appear in the header of that TODO item in
the _archive file (e.g.

** DONE <2008-09-13 Sat 14:27> Email Org-mode list my problem...

)


Things used to work like this, but we changed it because the archive  
moment is not
as special as the moment when you actually mark the item as DONE,  
which will be recorded if you set org-log-done.


Putting the time stamp into the headline may seem useful, but it is  
ugly, and you can use column view or th agenda to look at the  
timestamps if you need to.


HTH

- 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