Re: [Orgmode] [PATCH] Fix Subtle Heading Creation Bugs

2008-10-22 Thread Carsten Dominik

Hi Peter,

I have applied your full patch, thanks.

Please verify the push, I did have a little technical problem when  
applying, so please make sure it worked correctly.


Thanks.

- Carsten
On Oct 18, 2008, at 2:10 AM, Peter Jones wrote:



Since commit 238d0d1 (Improve consistency for inserting new headlines)
a few minor inconsistencies were introduced to heading creation with
the control key, A.K.A. org-insert-heading-respect-content.  This
patch resolves those subtle bugs.

This patch changes org-insert-heading-respect-content so that it:

- Creates a new heading even if point is in a plain list
  (force-heading is set to true, behavior before 238d0d1)
- If the previous heading was closed, keep it closed
  (keeps the previous heading in the state it was before C-RET)

It also includes changes for org-insert-todo-heading and the OrgMode
manual.

Thanks Carsten for making the changes in 238d0d1 for me.  With the
attached patch, heading creation is now perfect (for me at least ;).

From 200826587af4bd40995d1d45381006ed0639f7e9 Mon Sep 17 00:00:00 2001
From: Peter Jones [EMAIL PROTECTED]
Date: Fri, 17 Oct 2008 17:26:11 -0600
Subject: [PATCH] Fix Subtle Heading Creation Bugs

Since commit 238d0d1 (Improve consistency for inserting new headlines)
a few minor inconsistencies were introduced to heading creation with
the control key, A.K.A. org-insert-heading-respect-content.  This
patch resolves those subtle bugs.

This patch changes org-insert-heading-respect-content so that it:

- Creates a new heading even if point is in a plain list
  (force-heading is set to true, behavior before 238d0d1)
- If the previous heading was closed, keep it closed
  (keeps the previous heading in the state it was before C-RET)
---
lisp/org.el |   11 +--
1 files changed, 9 insertions(+), 2 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 9c08ba4..541cf3a 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -4607,7 +4607,7 @@ but create the new hedline after the current  
line.

   (match-string 0))
   (error *
 (blank (cdr (assq 'heading org-blank-before-new-entry)))
-pos)
+pos should-hide-previous-heading)
(cond
 ((and (org-on-heading-p) (bolp)
   (or (bobp)
@@ -4622,6 +4622,9 @@ but create the new hedline after the current  
line.

  nil)
 (t
  ;; in the middle of the line
+  (save-excursion
+(end-of-line)
+(setq should-hide-previous-heading (org-invisible-p)))
  (org-show-entry)
  (let ((split
 (org-get-alist-option org-M-RET-may-split-line 'headline))
@@ -4652,6 +4655,10 @@ but create the new hedline after the current  
line.

(setq pos (point))
(end-of-line 1)
(unless (= (point) pos) (just-one-space) (backward-delete-char 1))
+(when (and org-insert-heading-respect-content should-hide- 
previous-heading)

+(save-excursion
+  (outline-previous-visible-heading 1)
+  (hide-entry)))
(run-hooks 'org-insert-heading-hook)

(defun org-get-heading (optional no-tags)
@@ -4675,7 +4682,7 @@ but create the new hedline after the current  
line.

(defun org-insert-heading-respect-content ()
  (interactive)
  (let ((org-insert-heading-respect-content t))
-(call-interactively 'org-insert-heading)))
+(org-insert-heading t)))

(defun org-insert-todo-heading-respect-content ()
  (interactive)
--
1.6.0


From e7de89ce7a1bd3ab2259159fdb65b052d74370a0 Mon Sep 17 00:00:00 2001
From: Peter Jones [EMAIL PROTECTED]
Date: Fri, 17 Oct 2008 17:57:47 -0600
Subject: [PATCH] Update documentation WRT C-RET

---
doc/org.texi |5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/doc/org.texi b/doc/org.texi
index 31996e0..b76fcaf 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -897,8 +897,9 @@ of a headline), then a headline like the current  
one will be inserted

after the end of the subtree.
@kindex [EMAIL PROTECTED]
@item [EMAIL PROTECTED]
-Just like @[EMAIL PROTECTED], but if the heading is inserted after  
the current,

-insert it actually after the entire subtree.
+Just like @[EMAIL PROTECTED], except when adding a new heading below  
the
+current heading, the new heading is placed after the body instead  
of before

+it.  This command works from anywhere in the entry.
@kindex [EMAIL PROTECTED]
@item [EMAIL PROTECTED]
Insert new TODO entry with same level as current heading.
--
1.6.0


From 4f7aed562ae93759fb1638378029aeef3cc70e79 Mon Sep 17 00:00:00 2001
From: Peter Jones [EMAIL PROTECTED]
Date: Fri, 17 Oct 2008 18:03:38 -0600
Subject: [PATCH] Also fix org-insert-todo-heading

---
lisp/org.el |   10 +-
1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index 541cf3a..5e4d6a5 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -4684,18 +4684,18 @@ but create the new hedline after the current  

[Orgmode] Re: Debugging the publishing process?

2008-10-22 Thread Ángel de Vicente

Hi,

thanks Bernt (and Sebastian) for the help with this. In the end it turned  
out that I had two places with the ORG files and apparently it was getting  
quite confused with both. Getting rid of one of them and just leaving the  
6.09a one did the trick. (I hadn't touched this computer for a bit more  
than two months, so one forgets what is installed... :)


Thanks a lot,
Ángel de Vicente

En Tue, 21 Oct 2008 13:20:06 +0100, Bernt Hansen [EMAIL PROTECTED]  
escribió:



Ángel de Vicente [EMAIL PROTECTED] writes:


I wonder if anyone can give me a tip... I'm just trying to figure out
the  publishing process in Org-mode, but I'm not getting any
results.. is there  a way to debug what ORG-MODE is trying to do?

I started with a basic setting, and defined a minimal (but I think
valid)  org-publish-project-alist as:

(setq org-publish-project-alist
  '((OWD
 :base-directory ~/org/
 :publishing-directory ~/OWD)))

In ~/org I have a number of .org files that get properly exported to
HTML  with C-c C-e h

but if I try to publish them with C-c C-e A, nothing appear in ~/OWD,
and  have no clue where it went wrong.

By the way, I have version 6.04c installed (although the info manual
says  it is 6.09a) (I just installed from the download link at
http://orgmode.org/index.html#sec-4)


This works fine for me in 6.09a (as reported by M-x org-version)

,[ minimal.emacs ]
| (global-font-lock-mode t)
|
| (add-hook 'org-mode-hook '(lambda () (flyspell-mode 1)))
|
| (add-to-list 'load-path (expand-file-name ~/git/org-mode/lisp))
| (add-to-list 'auto-mode-alist '(\\.org$ . org-mode))
| (require 'org-install)
|
| (define-key global-map \C-cl 'org-store-link)
| (define-key global-map \C-ca 'org-agenda)
|
| (setq org-publish-project-alist
|   '((OWD
|:base-directory /tmp/org/
|:publishing-directory /tmp/OWD)))
`

I created /tmp/org and /tmp/OWD and then

emacs -q -l minimal.emacs

created /tmp/org/test.org and C-c C-e A creates /tmp/OWD/test.html

,[ test.org ]
| * First file
| Data for the first topic goes here
| #+BEGIN_EXAMPLE
| an example
| #+END_EXAMPLE
| This is after the example.
| * Export me
| here is some data
|
| More stuff
`

,[ test2.org ]
| * Another file
| * with stuff
| Whee it works fine.
`

The publishing process normally writes details to the message window (if
you click in the message window it open the *Messages* buffer so you can
scroll through the messages.)

,[ *Messages* ]
| Exporting... [2 times]
| Wrote /tmp/OWD/test2.html
| Exporting... done
| Publishing file /tmp/org/test.org
| Exporting... [3 times]
| Wrote /tmp/OWD/test.html
| Exporting... done
`

If I do it a second time without touching the files I get

,
| Skipping unmodified file /tmp/org/test2.org
| Skipping unmodified file /tmp/org/test.org
`

I'm sure there have been lots of changes since 6.04c that affect
publishing so I would recommend upgrading to the most recent version of
org-mode first and trying again.

Regards,
Bernt




--
--
http://www.iac.es/galeria/angelv/

High Performance Computing Support PostDoc
Instituto de Astrofísica de Canarias


___
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: Error exporting indirect buffer to ASCII

2008-10-22 Thread Vladi Solutka
Hi!

  I get a wrong type argument: stringp, nil when exporting to ASCII  
  from
  an indirect buffer. I guess the problem is in the file
 
  org-6.09a/org-exp.el at line 1052:
 
  (file-name-nondirectory (buffer-file-name))

 have you customized org-export-run-in-background?

No, C-h v org-export-run-in-background results in:

---snip--
org-export-run-in-background is a variable defined in `org-exp.el'.
Its value is nil
---snip--


--- \\/ladi




___
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: Error exporting indirect buffer to ASCII

2008-10-22 Thread Carsten Dominik
Well, the code snippet you mentioned is only reached if that variable  
is set, or f you export using a double prefix argument..


Anyway, I believe this problem is now fixed, get back to me if it  
persists in the latest git version.


- Carsten

On Oct 22, 2008, at 10:02 AM, Vladi Solutka wrote:


Hi!


I get a wrong type argument: stringp, nil when exporting to ASCII
from
an indirect buffer. I guess the problem is in the file

org-6.09a/org-exp.el at line 1052:

(file-name-nondirectory (buffer-file-name))



have you customized org-export-run-in-background?


No, C-h v org-export-run-in-background results in:

---snip--
org-export-run-in-background is a variable defined in `org-exp.el'.
Its value is nil
---snip--


--- \\/ladi




___
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] [PATCH] Allow storing clock status between emacs sessions.

2008-10-22 Thread Helge Gudmundsen
Any chance that this patch will make it to the git repo?


___
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] Allow storing clock status between emacs sessions.

2008-10-22 Thread Carsten Dominik

Hi Helge,

this is a non-trivial patch, and  have not yet had the time to look at  
it carefully.  And I am too close to the next release 6.10, which will  
likely be the final version that will make it into Emacs 23, so I do  
not feel comfortable to add it now.  After 6.10, good chances, yes.


You can help by stress testing it, so that we can find bugs even  
before we install it.


- Carsten

On Oct 22, 2008, at 10:45 AM, Helge Gudmundsen wrote:


Any chance that this patch will make it to the git repo?


___
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] [PATCH] Allow storing clock status between emacs sessions.

2008-10-22 Thread James TD Smith
Hi Carsten, 

On 2008-10-22 11:18:59(+0200), Carsten Dominik wrote:
 this is a non-trivial patch, and  have not yet had the time to look at  
 it carefully.  And I am too close to the next release 6.10, which will  
 likely be the final version that will make it into Emacs 23, so I do  
 not feel comfortable to add it now.  After 6.10, good chances, yes.
 
 You can help by stress testing it, so that we can find bugs even  
 before we install it.

I've already noticed a few minor problems, and will be posting a revised version
of the patch soon, so keeping it out of 6.10 is probably best.

If you want, I will split out the patch into three smaller patches; the
changelog corrections, resuming clocking from an open clock line on clocking in,
and saving/restoring `org-clock-history' and the running clock. The changelog
corrections at least ought to make it into 6.10 :).

James

--
|-James TD Smith-email/[EMAIL PROTECTED]-|


___
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] Timestamps and `org-table-copy-down'

2008-10-22 Thread James TD Smith
In a table column containing timestamps, pressing S-return with the cursor on
the brackets surrounding the timestamp results the insertion of a copy of the
timestamp with the active status toggled. Repeated a few times you end
up with this:

,
| | Date |
| |--|
| | [2008-10-15 Wed] |
| | 2008-10-15 Wed |
| | [2008-10-15 Wed] |
| | 2008-10-15 Wed |
| | [2008-10-15 Wed] |
| | 2008-10-15 Wed |
`

Is this supposed to happen? The documentation for `org-table-copy-down' mentions
incrementing the day/month/year but not changing the active/inactive state.

James

--
|-James TD Smith-email/[EMAIL PROTECTED]-|







___
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: Sync org-mode files in different computers

2008-10-22 Thread Ian Barton



Hi, I am a new emacs user and I am exploring org-mode which is really amazing.

I would like to know how I sync org-mode files in different computer over local 
network and over the internet.


Hi,

I personally use git to sync my org-mode files but there are lots of
tools available to sync files across multiple machines.

Some options are:

  - put your org-mode files in a source control system (git, svn,
whatever system you are used to) and check out the files on all your
target systems

I use bzr (another vcs). My system is to place my org files on a server 
at home and mount the org directory as an nfs share on my local 
computers. Thus when I am at home I can access org files from any 
computer on my home network, or just run emacs on the server.



Every evening a cron job automatically commits any changes to my 
server's bzr repo and at the same time pushes the updates to an external 
web server.


On my notebook I have a local bzr branch of my org files. This covers 
most bases when I am away:


If I remember before I go out, I can pull the latest changes from my 
home server to my notebook and just carry on working. If I forget to 
pull my changes I can pull all changes up to last evening's commit from 
the Internet.


If all the above fails, I can just work on the branch I have on my 
notebook. This isn't usually more than a couple of days old. When I get 
to somewhere with an Internet connection I can use bzr to merge the 
changes on my notebook to the latest version.


It also means that I have at least three copies of my org files in 
different places, so disk failures, etc won't result in much, or any, 
lost work.


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] [PATCH] Allow storing clock status between emacs sessions.

2008-10-22 Thread Helge Gudmundsen
Sure thing, I will test it (he said, while frantically typing 'man
patch' in a terminal window).

Best regards,
Helge

(and once again, thanks for org-mode, which has ended my search for
the perfect note-taking and organizing application)


On Wed, Oct 22, 2008 at 10:18 AM, Carsten Dominik
[EMAIL PROTECTED] wrote:
 Hi Helge,

 this is a non-trivial patch, and  have not yet had the time to look at it
 carefully.  And I am too close to the next release 6.10, which will likely
 be the final version that will make it into Emacs 23, so I do not feel
 comfortable to add it now.  After 6.10, good chances, yes.

 You can help by stress testing it, so that we can find bugs even before we
 install it.

 - Carsten

 On Oct 22, 2008, at 10:45 AM, Helge Gudmundsen wrote:

 Any chance that this patch will make it to the git repo?


 ___
 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] How to move DEADLINE/SCHEDULED to the same line as Head line?

2008-10-22 Thread Larry . Liu
Now in my configuration, head lines with a DONE/DEADLINE stamp looks like
* DONE Ask Manish the database username/password for PRD.
  CLOSED: [2008-10-01 Wed 10:00]

* DONE Review the issues of 9-27
  DEADLINE: 2008-09-30 Tue 18:00


But the format I prefer is as below, you can see  DONE/DEADLINE is on the
same line as the head title)

* DONE Ask Manish the database username/password for PRD.  CLOSED:
[2008-10-01 Wed 10:00]

* DONE Review the issues of 9-27   DEADLINE: 2008-09-30 Tue 18:00

Is this configurable and if it is, where can I find related documents or
what's the variable to configure this?

Thanks :)


-- 
--
Larry.Liu
Mobile: 13911483964
---
___
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: Error exporting indirect buffer to ASCII

2008-10-22 Thread Vladi Solutka
Hi!

 Well, the code snippet you mentioned is only reached if that variable  
 is set, or f you export using a double prefix argument..
 
 Anyway, I believe this problem is now fixed, get back to me if it  
 persists in the latest git version.

I just took the latest git snapshot and get the same error
(after doing an M-x org-export-as-ascii from an indirect org buffer):

---snip
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  file-name-nondirectory(nil)
  org-export-as-ascii(nil)
  call-interactively(org-export-as-ascii)
  execute-extended-command(nil)
  call-interactively(execute-extended-command)
---snip

As far as I can see, the variable org-export-run-in-background is never
referenced in the function 'org-export-as-ascii'. 

Instead, in org-exp.el:2193 the filename is build up from using 
'buffer-file-name' (line 2199) which is nil since the indirect 
buffer doesn't have an associated filename.

--- \\/ladi




___
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] After a custom agenda as follows I get a wrongly sorted result

2008-10-22 Thread Rainer Stengele

Hi!

After a custom agenda as follows I get a wrongly sorted (see time gird) result 
(see below)



(setq org-agenda-custom-commands
  '(
...
(00 agenda + prio a todos sorted prio up
 ((agenda prio ABC agenda
  ((org-agenda-ndays 1)
   (org-agenda-overriding-header Today's Agenda  + Prio A todos 
)))
  (alltodo alle todos
   ((org-agenda-skip-function
 (lambda nil
   (or (org-agenda-skip-entry-if (quote notregexp) 
\\=.*\\[#A\\])
   (org-agenda-skip-entry-if 'scheduled 'deadline 
)))
 ((org-agenda-sorting-strategy '(priority-down
...




...
  ADMIN:  Scheduled:  TODO whatever 
:ADMIN:
  LPM:Scheduled:  INARBEIT whatever 
:LPM:
  Diary:  Simchat Torah
  16:00..
  13:00..
   9:00..
...



is this a bug or a config issue?

Rainer



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


Re: [Orgmode] org-mode and git

2008-10-22 Thread Tim O'Callaghan
Also does anyone have a working Xemacs git support?

Tim

2008/10/22 Richard Riley [EMAIL PROTECTED]:

 Hi folks,

 I had used bog standard RCS behind vc before (works fine for little
 stand alone projects), but recently loaded up the vc-git.el and added it
 to the supported backends for vc but some problems trying to update my
 org-mode install using it. Is it mature enough for this.

 What, if any, git interface for emacs do you guys recommend?


 --
 The system of nature, of which man is a part, tends to be self-balancing, 
 self-adjusting, self-cleansing.  Not so with technology.  ~E.F. Schumacher, 
 Small is Beautiful, 1973


 ___
 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] How to move DEADLINE/SCHEDULED to the same line as Head line?

2008-10-22 Thread Manish
  On Wed, Oct 22, 2008 at 3:48 PM, Larry. Liu wrote:
   Now in my configuration, head lines with a DONE/DEADLINE stamp looks like
   * DONE Ask Manish the database username/password for PRD.
 CLOSED: [2008-10-01 Wed 10:00]

How do you know I work on databases? :)

   * DONE Review the issues of 9-27
 DEADLINE: 2008-09-30 Tue 18:00
  
   But the format I prefer is as below, you can see  DONE/DEADLINE is on the
   same line as the head title)
   * DONE Ask Manish the database username/password for PRD.  CLOSED:
   [2008-10-01 Wed 10:00]
   * DONE Review the issues of 9-27   DEADLINE: 2008-09-30 Tue 18:00
   Is this configurable and if it is, where can I find related documents or
   what's the variable to configure this?

I am not sure if this is configurable.  But have you looked at column
view, particularly org-columns-default-format?

-- 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] org-mode and git

2008-10-22 Thread Manish
  On Wed, Oct 22, 2008 at 5:03 PM, Richard Riley wrote:
  
   Hi folks,
  
   I had used bog standard RCS behind vc before (works fine for little
   stand alone projects), but recently loaded up the vc-git.el and added it
   to the supported backends for vc but some problems trying to update my
   org-mode install using it. Is it mature enough for this.

You mean update org-mode from within Emacs?  Interesting.  I will have
to try that.

  
   What, if any, git interface for emacs do you guys recommend?

I know of two DVC [1] and xgit.  DVC is probably more comprehensive.

-- 
Manish
1. http://download.gna.org/dvc/


___
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 and git

2008-10-22 Thread Phil Jackson
Richard Riley [EMAIL PROTECTED] writes:

 What, if any, git interface for emacs do you guys recommend?

I would highly recommend magit[1]. I've been using it for a while now
and it far better fits around the way /I/ use git :)

You'll need a version[2] of git that supports --graph on the log
command.

Cheers,
Phil

Footnotes: 
[1]  http://zagadka.vm.bytemark.co.uk/magit/magit.html
[2]  http://www.kernel.org/pub/software/scm/git/docs/git-log.html
-- 
 Philip Jackson
 web:http://www.shellarchive.co.uk
 photos: http://www.flickr.com/photos/[EMAIL PROTECTED]/


___
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: org-mode and git

2008-10-22 Thread Richard Riley

Phil Jackson [EMAIL PROTECTED] writes:

 Richard Riley [EMAIL PROTECTED] writes:

 What, if any, git interface for emacs do you guys recommend?

 I would highly recommend magit[1]. I've been using it for a while now
 and it far better fits around the way /I/ use git :)

 You'll need a version[2] of git that supports --graph on the log
 command.

 Cheers,
 Phil

 Footnotes: 
 [1]  http://zagadka.vm.bytemark.co.uk/magit/magit.html
 [2]  http://www.kernel.org/pub/software/scm/git/docs/git-log.html

Looks good, a shame vc-git doesn't seem to work though. I will look into
why as another set of non standard keys will make my head explode :-(
Having said that its time to do some housekeeping anyway as there are
few niggly little things I run into with packages and emacs 23 at the
moment.

C-x v v is a revelation in VC :-;




___
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: org-mode and git

2008-10-22 Thread Phil Jackson
Richard Riley [EMAIL PROTECTED] writes:

 Looks good, a shame vc-git doesn't seem to work though. I will look into
 why as another set of non standard keys will make my head explode :-(
 Having said that its time to do some housekeeping anyway as there are
 few niggly little things I run into with packages and emacs 23 at the
 moment.

 C-x v v is a revelation in VC :-;

It's great if you're working on only one file and want to commit all of
its hunks, yes.

Cheers,
Phil
-- 
 Philip Jackson
 web:http://www.shellarchive.co.uk
 photos: http://www.flickr.com/photos/[EMAIL PROTECTED]/


___
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] How to move DEADLINE/SCHEDULED to the same line as Head line?

2008-10-22 Thread Larry . Liu
On Wed, Oct 22, 2008 at 5:07 PM, Manish [EMAIL PROTECTED]wrote:

  On Wed, Oct 22, 2008 at 3:48 PM, Larry. Liu wrote:
   Now in my configuration, head lines with a DONE/DEADLINE stamp looks
 like
   * DONE Ask Manish the database username/password for PRD.
 CLOSED: [2008-10-01 Wed 10:00]

 How do you know I work on databases? :)


:) Manish is my supervisor here :D




   * DONE Review the issues of 9-27
 DEADLINE: 2008-09-30 Tue 18:00
  
   But the format I prefer is as below, you can see  DONE/DEADLINE is on
 the
   same line as the head title)
   * DONE Ask Manish the database username/password for PRD.  CLOSED:
   [2008-10-01 Wed 10:00]
   * DONE Review the issues of 9-27   DEADLINE: 2008-09-30 Tue 18:00
   Is this configurable and if it is, where can I find related documents or
   what's the variable to configure this?

 I am not sure if this is configurable.  But have you looked at column
 view, particularly org-columns-default-format?


Seems it's not this variable, this variable is control the display of column
view, not the behavior when adding a stamp like CLOSE or DEADLINE



 -- Manish




-- 
--
Larry.Liu
Mobile: 13911483964
---
___
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] org-plot questions

2008-10-22 Thread JBash
Hi,

First of all, thanks to all for the work on org-mode and org-plot.

A question about org-plot...

Question 1:
When I include an index column in the first column of the table,  I am
getting evenly spaced data points, with the xtic labels being coming from
the 'ind:' column (2, in the first data set here).

The behavior I expected was to use the second column (Frequency) as the
independent variable, and to get a plot with 3 groups of 3 points, near
frequencies of 1, 10, and 20. as I get with the 'Data Set B' group.

Is this expected and correct?

I know that this will also include the first column in the plot, which leads
to my next question.

Question 2:
When I try to use the deps option, I either get an error or an undesired
result.  For example, if I include a deps:3,4, I get a Wrong type
argument error.  If I enclose the 3,4 in single quotes (eg. deps:'3,4'), I
get only the third column plotted, and not both third and fourth as I
expected.  What am I doing wrong?
A comment - enclosing the argument for deps in single quotes, if that is the
intention, seems inconsistent with the arguments for other options of that
type (ind, for example).

Question 3:
Is there a way to produce 2 different plots from the same table data?

Thanks again for the help.
Jerry

** Data Set A
#+PLOT: ind:2
| Index | Frequency |  Amplitude | Phase | Delta | Peak |
| 1 |   0.9 |  9 | 6 | 5 |  198 |
| 2 |   1.0 | 10 | 9 | 7 |  212 |
| 3 |   1.1 | 11 | 8 | 3 |  144 |
| 4 |   9.9 | 19 |12 | 9 |  235 |
| 5 |  10.0 | 18 | 7 |12 |  222 |
| 6 |  10.1 | 22 |14 | 4 |  187 |
| 7 |  19.9 | 14 |11 | 6 |  220 |
| 8 |  20.0 | 20 |15 |14 |  213 |
| 9 |  20.1 | 18 |16 |11 |  201 |

** Data Set B
#+PLOT: ind:1
| Frequency | Amplitude | Phase | Delta | Peak |
|---+---+---+---+--|
|   0.9 | 9 | 6 | 5 |  198 |
|   1.0 |10 | 9 | 7 |  212 |
|   1.1 |11 | 8 | 3 |  144 |
|   9.9 |19 |12 | 9 |  235 |
|  10.0 |18 | 7 |12 |  222 |
|  10.1 |22 |14 | 4 |  187 |
|  19.9 |14 |11 | 6 |  220 |
|  20.0 |20 |15 |14 |  213 |
|  20.1 |18 |16 |11 |  201 |
___
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] Allow storing clock status between emacs sessions.

2008-10-22 Thread Carsten Dominik


On Oct 22, 2008, at 11:42 AM, James TD Smith wrote:


Hi Carsten,

On 2008-10-22 11:18:59(+0200), Carsten Dominik wrote:
this is a non-trivial patch, and  have not yet had the time to look  
at
it carefully.  And I am too close to the next release 6.10, which  
will

likely be the final version that will make it into Emacs 23, so I do
not feel comfortable to add it now.  After 6.10, good chances, yes.

You can help by stress testing it, so that we can find bugs even
before we install it.


I've already noticed a few minor problems, and will be posting a  
revised version

of the patch soon, so keeping it out of 6.10 is probably best.

If you want, I will split out the patch into three smaller patches;  
the
changelog corrections, resuming clocking from an open clock line on  
clocking in,
and saving/restoring `org-clock-history' and the running clock. The  
changelog

corrections at least ought to make it into 6.10 :).


Did I mess up the ChangeLog again?  Sorry about that, maybe a merge  
problem.  I think git merge does not like the ChangeLog file  
structure


Yes, please, this patch separately.

- 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] Timestamps and `org-table-copy-down'

2008-10-22 Thread Carsten Dominik

This is a bug, fixed, thanks.

- Carsten

On Oct 22, 2008, at 11:47 AM, James TD Smith wrote:

In a table column containing timestamps, pressing S-return with the  
cursor on
the brackets surrounding the timestamp results the insertion of a  
copy of the

timestamp with the active status toggled. Repeated a few times you end
up with this:

,
| | Date |
| |--|
| | [2008-10-15 Wed] |
| | 2008-10-15 Wed |
| | [2008-10-15 Wed] |
| | 2008-10-15 Wed |
| | [2008-10-15 Wed] |
| | 2008-10-15 Wed |
`

Is this supposed to happen? The documentation for `org-table-copy- 
down' mentions
incrementing the day/month/year but not changing the active/inactive  
state.


James

--
|-James TD Smith-email/[EMAIL PROTECTED]-|







___
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] org-plot questions

2008-10-22 Thread Eric Schulte
JBash [EMAIL PROTECTED] writes:

 Hi,

 First of all, thanks to all for the work on org-mode and org-plot.

 A question about org-plot...

 Question 1:
 When I include an index column in the first column of the table,  I am 
 getting evenly spaced data points,
 with the xtic labels being coming from the 'ind:' column (2, in the first 
 data set here).

 The behavior I expected was to use the second column (Frequency) as the 
 independent variable, and to get a
 plot with 3 groups of 3 points, near frequencies of 1, 10, and 20. as I get 
 with the 'Data Set B' group.

 Is this expected and correct?


Hi Jerry,

Not exactly expected, but I believe it is the correct behavior for now.
Notice that you are missing an hline in your table after the headers.
Without an obvious division between the headers, and the table data
org-plot can not tell that the data is numeric, and should be
interpreted as such, so it applies the values of the index column as
xlabels to evenly spaced points (as if they were strings).  Try the
following table, and you should get a result more inline with
expectations.

#+PLOT: ind:2 with:points
| Index | Frequency | Amplitude | Phase | Delta | Peak |
|---+---+---+---+---+--|
| 1 |   0.9 | 9 | 6 | 5 |  198 |
| 2 |   1.0 |10 | 9 | 7 |  212 |
| 3 |   1.1 |11 | 8 | 3 |  144 |
| 4 |   9.9 |19 |12 | 9 |  235 |
| 5 |  10.0 |18 | 7 |12 |  222 |
| 6 |  10.1 |22 |14 | 4 |  187 |
| 7 |  19.9 |14 |11 | 6 |  220 |
| 8 |  20.0 |20 |15 |14 |  213 |
| 9 |  20.1 |18 |16 |11 |  201 |


 I know that this will also include the first column in the plot, which leads 
 to my next question.

 Question 2:
 When I try to use the deps option, I either get an error or an undesired 
 result.  For example, if I include
 a deps:3,4, I get a Wrong type argument error.  If I enclose the 3,4 in 
 single quotes (eg. deps:'3,4'),
 I get only the third column plotted, and not both third and fourth as I 
 expected.  What am I doing wrong?
 A comment - enclosing the argument for deps in single quotes, if that is the 
 intention, seems inconsistent
 with the arguments for other options of that type (ind, for example).


Sorry, the documentation is wrong and it specifies that the dependent
columns should be specified as a comma separated list, when in actuality
they should be specified as a standard lisp list inside parenthesis
separated by spaces.  Thanks for catching this, I will submit a patch
to the documentation.

#+PLOT: ind:1 deps:(3 4)
| Frequency | Amplitude | Phase | Delta | Peak |
|---+---+---+---+--|
|   0.9 | 9 | 6 | 5 |  198 |
|   1.0 |10 | 9 | 7 |  212 |
|   1.1 |11 | 8 | 3 |  144 |
|   9.9 |19 |12 | 9 |  235 |
|  10.0 |18 | 7 |12 |  222 |
|  10.1 |22 |14 | 4 |  187 |
|  19.9 |14 |11 | 6 |  220 |
|  20.0 |20 |15 |14 |  213 |
|  20.1 |18 |16 |11 |  201 |


 Question 3:
 Is there a way to produce 2 different plots from the same table data?


Currently no there is not.  In the current setup all of the plot lines
adjacent to a table are collected and used to generate a single plot for
the table.  I does seem like a good idea to allow multiple plots from a
single table.  Two ideas that come to mind are...

1) keep all of the plot lines adjacent with the table, but number them
   into any number of different plots.  For example the following would
   specify plots 1 and 2 for a table

#+PLOT1: title:the first plot
#+PLOT1: ind:1 with:points
#+PLOT2: title:the second plot on the same table
#+PLOT2: ind:2 deps:(3 4) with:lines
| Frequency | Amplitude | Phase | Delta | Peak |
|---+---+---+---+--|
|   0.9 | 9 | 6 | 5 |  198 |
|   1.0 |10 | 9 | 7 |  212 |
|   1.1 |11 | 8 | 3 |  144 |
|   9.9 |19 |12 | 9 |  235 |
|  10.0 |18 | 7 |12 |  222 |
|  10.1 |22 |14 | 4 |  187 |
|  19.9 |14 |11 | 6 |  220 |
|  20.0 |20 |15 |14 |  213 |
|  20.1 |18 |16 |11 |  201 |

2) the only other mechanism which occurs to me is to somehow label the
   table with a unique ID, and then allow the plot lines to be located
   anywhere in the org-mode file and include the table ID as a new
   argument to the PLOT lines.  This approach seems more flexible if
   more complicated.

Thanks for the bug reports and ideas -- Eric


 Thanks again for the help.
 Jerry

 ** Data Set A
 #+PLOT: ind:2
 | Index | Frequency |  Amplitude | Phase | Delta | Peak |
 | 1 |   0.9 |  9 | 6 | 5 |  

Re: [Orgmode] Re: Error exporting indirect buffer to ASCII

2008-10-22 Thread Carsten Dominik

OK, thanks, I got it now.  Fixed.

- Carsten

On Oct 22, 2008, at 1:18 PM, Vladi Solutka wrote:


Hi!


Well, the code snippet you mentioned is only reached if that variable
is set, or f you export using a double prefix argument..

Anyway, I believe this problem is now fixed, get back to me if it
persists in the latest git version.


I just took the latest git snapshot and get the same error
(after doing an M-x org-export-as-ascii from an indirect org  
buffer):


---snip
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
 file-name-nondirectory(nil)
 org-export-as-ascii(nil)
 call-interactively(org-export-as-ascii)
 execute-extended-command(nil)
 call-interactively(execute-extended-command)
---snip

As far as I can see, the variable org-export-run-in-background is  
never

referenced in the function 'org-export-as-ascii'.

Instead, in org-exp.el:2193 the filename is build up from using
'buffer-file-name' (line 2199) which is nil since the indirect
buffer doesn't have an associated filename.

--- \\/ladi




___
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] After a custom agenda as follows I get a wrongly sorted result

2008-10-22 Thread Carsten Dominik

Hi Rainer,


You need to add time-up to the sorting strategy.  Time grid lines are  
just added to the list of matches and then still need to be sorted in.


HTH

- Carsten

On Oct 22, 2008, at 1:24 PM, Rainer Stengele wrote:


Hi!

After a custom agenda as follows I get a wrongly sorted (see time  
gird) result (see below)




(setq org-agenda-custom-commands
 '(
...
(00 agenda + prio a todos sorted prio up
 ((agenda prio ABC agenda
  ((org-agenda-ndays 1)
		   (org-agenda-overriding-header Today's Agenda  + Prio A todos  
)))

  (alltodo alle todos
   ((org-agenda-skip-function
 (lambda nil
		   (or (org-agenda-skip-entry-if (quote notregexp) \\=.*\\[#A\ 
\])

   (org-agenda-skip-entry-if 'scheduled 'deadline 
)))
 ((org-agenda-sorting-strategy '(priority-down
...




...
 ADMIN:  Scheduled:  TODO  
whatever :ADMIN:
 LPM:Scheduled:  INARBEIT  
whatever :LPM:

 Diary:  Simchat Torah
 16:00..
 13:00..
  9:00..
...



is this a bug or a config issue?

Rainer



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




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


Re: [Orgmode] HTML-export: arbitrary target directories when using setup files

2008-10-22 Thread Sebastian Rose
Sebastian Rose [EMAIL PROTECTED] writes:

Just for everyone to know:

This is fixed in current git version.

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


[Orgmode] Re: bug or missing feature in undone repeating todos?

2008-10-22 Thread Wes Hardaker
 On Tue, 21 Oct 2008 15:37:51 +0200, Carsten Dominik [EMAIL PROTECTED] 
 said:

 * TODO foo 2008-10-17 Fri +2d

CD ? The example you had in your mail was:

Yep.  You're right that I blew the example and realized what the issue
was after reading your response.  See, you helped!
-- 
In the bathtub of history the truth is harder to hold than the soap,
 and much more difficult to find.  -- Terry Pratchett


___
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] How to move DEADLINE/SCHEDULED to the same line as Head line?

2008-10-22 Thread Carsten Dominik

Hi Larry,

this is possible, but not recommended.

You can configure the variable `org-insert-labeled-timestamps-at- 
point' to request that the deadline etc is inserted at point, and then  
you need to make sure that the cursor always is there where you want  
it inserted.


However, the internals of project planning work more consistently if  
you allow Org to pus these into the second line, and then use other  
means like the agenda, the timeline, or column view to look at and  
edit these time stamps.


- Carsten

On Oct 22, 2008, at 12:18 PM, Larry.Liu wrote:

Now in my configuration, head lines with a DONE/DEADLINE stamp looks  
like


* DONE Ask Manish the database username/password for PRD.
  CLOSED: [2008-10-01 Wed 10:00]

* DONE Review the issues of 9-27
  DEADLINE: 2008-09-30 Tue 18:00


But the format I prefer is as below, you can see  DONE/DEADLINE is  
on the same line as the head title)


* DONE Ask Manish the database username/password for PRD.   
CLOSED: [2008-10-01 Wed 10:00]


* DONE Review the issues of 9-27   DEADLINE: 2008-09-30 Tue  
18:00


Is this configurable and if it is, where can I find related  
documents or what's the variable to configure this?


Thanks :)


--
--
Larry.Liu
Mobile: 13911483964
---
___
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] Enhancement request : publish page limits

2008-10-22 Thread Sebastian Rose

org-info.js ;-)

???

Make the de facto standard for viewing text in the internet !!!

:-D


Richard Riley [EMAIL PROTECTED] writes:
 I didn't spot anything in the manual, but it would be nice if publish
 automatically split large published org files into multiple html files
 based on a num entries per page setting. This would then effectively
 work as a handy  blogging client IMO (ok no replies etc). Clearly it
 would need to render a navigation widget too. (page 1,2,4,5 .. next 5 )
 etc. Does anyone have something like this or suggestions along the same
 path?

-- 
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: [EMAIL PROTECTED], [EMAIL PROTECTED]
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] Sync org-mode files in different computers

2008-10-22 Thread Jason F. McBrayer
[EMAIL PROTECTED] (Flávio de Souza) writes:

 I would like to know how I sync org-mode files in different computer
 over local network and over the internet.

I think most people will agree that the best way to sync org-mode files
is to keep them under some kind of version control system.  The
advantage that has over something like rsync is that if you happen to
make changes in different places (laptop and home, for example) without
synchronizing in between (because you forget, or because your network
connection is down, or something), then you can merge your edits in some
way more fine-grained than newest change wins.

I started out using Subversion (svn) to keep my org-mode files, and am
now using Mercurial (hg), which has both the advantages of being a dvcs
(every working copy is also a complete repository) and of being easier
to set up.  Many people also like git or bzr.  For just the purposes of
syncing your org-mode files, which one you choose isn't very important. 

-- 
+---+
| Jason F. McBrayer[EMAIL PROTECTED]  |
| If someone conquers a thousand times a thousand others in |
| battle, and someone else conquers himself, the latter one |
| is the greatest of all conquerors.  --- The Dhammapada|


___
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: Enhancement request : publish page limits

2008-10-22 Thread Sebastian Rose
Richard Riley [EMAIL PROTECTED] writes:

 Hi,

 Do you have an example?

 The link

 http://orgmode.org/worg/code/org-info-js/org-info.js.html

 mentioned in the info file is dead.


http://orgmode.org/worg/code/org-info-js/index.html

-- 
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: [EMAIL PROTECTED], [EMAIL PROTECTED]
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


[Orgmode] Re: Enhancement request : publish page limits

2008-10-22 Thread Sebastian Rose

Patch to fix this in doc/org.texi (pulled an hour ago).


diff --git a/doc/org.texi b/doc/org.texi
index 0ae852e..b2ce486 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -7688,7 +7688,7 @@ as well, press @kbd{?} for an overview of the available 
keys).  The second
 view type is a @emph{folding} view much like Org provides it inside Emacs.
 The script is available at @url{http://orgmode.org/org-info.js} and you can
 find the documentation for it at
[EMAIL PROTECTED]://orgmode.org/worg/code/org-info-js/org-info.js.html}.  We are
[EMAIL PROTECTED]://orgmode.org/worg/code/org-info-js/index.html}.  We are
 serving the script from our site, but if you use it a lot, you might not want
 to be dependent on @url{orgmode.org} and prefer to install a local copy on
 your own web server.


Richard Riley [EMAIL PROTECTED] writes:
 Hi,

 Do you have an example?

 The link

 http://orgmode.org/worg/code/org-info-js/org-info.js.html

 mentioned in the info file is dead.

 r.


 Sebastian Rose [EMAIL PROTECTED] writes:

 org-info.js ;-)

 ???

 Make the de facto standard for viewing text in the internet !!!

 :-D


 Richard Riley [EMAIL PROTECTED] writes:
 I didn't spot anything in the manual, but it would be nice if publish
 automatically split large published org files into multiple html files
 based on a num entries per page setting. This would then effectively
 work as a handy  blogging client IMO (ok no replies etc). Clearly it
 would need to render a navigation widget too. (page 1,2,4,5 .. next 5 )
 etc. Does anyone have something like this or suggestions along the same
 path?

-- 
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: [EMAIL PROTECTED], [EMAIL PROTECTED]
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] org-plot questions

2008-10-22 Thread JBash
Thanks, Eric!

It's a great tool... I like how it, within org, makes it easy to keep the
data organized an yet easily accessible.

Another quick org-plot question...

I found that to turn on the grid, I use:
#+PLOT: set:grid

So, to set an axis label, I tried
#+PLOT: set:xlabel(Frequency)
and
#+PLOT: set:xlabel Frequency
and a few other things, but didn't hit on the right combination.  What's the
correct syntax?

--snip--


 Notice that you are missing an hline in your table after the headers.


Sorry, I should have seen that.


  When I try to use the deps option, I either get an error or an undesired
 result.  For example, if I include
  a deps:3,4, I get a Wrong type argument error.  If I enclose the 3,4
 in single quotes (eg. deps:'3,4'),



 Currently no there is not.  In the current setup all of the plot lines
 adjacent to a table are collected and used to generate a single plot for
 the table.  I does seem like a good idea to allow multiple plots from a
 single table.  Two ideas that come to mind are...

 1) keep all of the plot lines adjacent with the table, but number them
   into any number of different plots.  For example the following would
   specify plots 1 and 2 for a table

 #+PLOT1: title:the first plot
 #+PLOT1: ind:1 with:points
 #+PLOT2: title:the second plot on the same table
 #+PLOT2: ind:2 deps:(3 4) with:lines
 | Frequency | Amplitude | Phase | Delta | Peak |
 |---+---+---+---+--|
 |   0.9 | 9 | 6 | 5 |  198 |
 |   1.0 |10 | 9 | 7 |  212 |
 |   1.1 |11 | 8 | 3 |  144 |
 |   9.9 |19 |12 | 9 |  235 |
 |  10.0 |18 | 7 |12 |  222 |
 |  10.1 |22 |14 | 4 |  187 |
 |  19.9 |14 |11 | 6 |  220 |
 |  20.0 |20 |15 |14 |  213 |
 |  20.1 |18 |16 |11 |  201 |

 2) the only other mechanism which occurs to me is to somehow label the
   table with a unique ID, and then allow the plot lines to be located


This feature (multiple plots from a single table) would be a very nice
addition, with either approach.



 Thanks for the bug reports and ideas -- Eric


You're welcome, and thanks for your help.

Jerry
___
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: Enhancement request : publish page limits

2008-10-22 Thread Sebastian Rose
Richard,

there is a tutorial at org/worg:
http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php

which shows how I handle the HTML export here. It's shorter to read,
than the old org-info documentation, and covers a nice way to handle
recursive exporting of entire directory trees and glue them together
by org-info.js.


I like this example most, currently, since it shows how `i TAB' is
handled with fixed-toc:

http://orgmode.org/worg/org-faq.php


Regards,

   Sebastian


 Sebastian Rose [EMAIL PROTECTED] writes:
 Patch to fix this in doc/org.texi (pulled an hour ago).


 diff --git a/doc/org.texi b/doc/org.texi
 index 0ae852e..b2ce486 100644
 --- a/doc/org.texi
 +++ b/doc/org.texi
 @@ -7688,7 +7688,7 @@ as well, press @kbd{?} for an overview of the 
 available keys).  The second
  view type is a @emph{folding} view much like Org provides it inside Emacs.
  The script is available at @url{http://orgmode.org/org-info.js} and you can
  find the documentation for it at
 [EMAIL PROTECTED]://orgmode.org/worg/code/org-info-js/org-info.js.html}.  We 
 are
 [EMAIL PROTECTED]://orgmode.org/worg/code/org-info-js/index.html}.  We are
  serving the script from our site, but if you use it a lot, you might not 
 want
  to be dependent on @url{orgmode.org} and prefer to install a local copy on
  your own web server.


 Richard Riley [EMAIL PROTECTED] writes:
 Hi,

 Do you have an example?

 The link

 http://orgmode.org/worg/code/org-info-js/org-info.js.html

 mentioned in the info file is dead.

 r.


 Sebastian Rose [EMAIL PROTECTED] writes:

 org-info.js ;-)

 ???

 Make the de facto standard for viewing text in the internet !!!

 :-D


 Richard Riley [EMAIL PROTECTED] writes:
 I didn't spot anything in the manual, but it would be nice if publish
 automatically split large published org files into multiple html files
 based on a num entries per page setting. This would then effectively
 work as a handy  blogging client IMO (ok no replies etc). Clearly it
 would need to render a navigation widget too. (page 1,2,4,5 .. next 5 )
 etc. Does anyone have something like this or suggestions along the same
 path?

-- 
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: [EMAIL PROTECTED], [EMAIL PROTECTED]
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: Any iPhone devellopers here

2008-10-22 Thread David Neu
Hi,

Just thought I'd see if there were any reactions, positive or
negative, to this idea.

Cheers,
David

On Mon, Oct 13, 2008 at 10:45 AM, David Neu [EMAIL PROTECTED] wrote:
 Hi Carsten,

 I'm new to orgmode, and must say that I've found it be an incredibly
 intuitive and powerful emacs mode!

 When I saw this thread it resonated with my search for a strategy for
 doing GTD while using a list app that isn't mobile.  That is, if you
 don't have your list manager with you in different contexts (e.g.
 @errands, @phone), it seems challenging to work from your lists.
 The only context in which I seem to have my lists available is
 @computer.  I guess I could print out my lists, check off completed
 items or add new items, but this seems suboptimal.

 I am a developer, but not an iPhone developer, and had the following
 idea.  Suppose you restrict your goal to: have orgmode actions and
 appointments available on your mobile device (i.e. iPhone),  and have
 these items truly synchronized between orgmode and the iPhone; changes
 in orgmode would be reflected on the iPhone and vice versa.

 Now, if you use the Calendar Store as the mechanism for exchange (see
 http://developer.apple.com/leopard/overview/calendarstore.html), then
 in view of

 1. We do now have a system to assign unique IDs to entries, so the
   cross-identification could be made to work.

 it seems that the goal can be accomplished.

 The strategy is based on not trying to get an orgmode app going on a
 mobile device, but getting your actions and appoinments synchronized
 between orgmode and iCal, and if you have an iPhone, Apple handles the
 synchronization between your Mac and your iPhone for  you.  Therefore,
 if implemented, the functionality could even be used by orgmode Mac
 users without an iPhone.

 I hope this reply is on topic, and would be interested in your thoughts.

 Thanks for orgmode!

 Cheers,
 David



___
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] calling org-remember with an argument to select remember-type?

2008-10-22 Thread Søren Pedersen
Hey all

I am trying to call org-remember and automatically select making a journal entry
(associated with the character j).

I have tried the following:

(org-remember j)
(org-remember ?J)

describe-function on org-remember mentions org-force-remember-template-char so I
have also tried: 

(let ((org-force-remember-template-char ?j))
  (org-remember))

(let ((org-force-remember-template-char j))
  (org-remember))

But all of these display the prompt to select which remember-type to create.

As might be apparent I am not really proficient in elisp, so I am hoping you
guys can help me out 

kind regards
Søren Pedersen



___
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] calling org-remember with an argument to select remember-type?

2008-10-22 Thread Manish
  On Thu, Oct 23, 2008 at 12:48 AM, Søren Pedersen wrote:
   Hey all
  
   I am trying to call org-remember and automatically select making a
journal entry
   (associated with the character j).
  
   I have tried the following:
  
   (org-remember j)
   (org-remember ?J)
  
   describe-function on org-remember mentions
org-force-remember-template-char so I
   have also tried:
  
   (let ((org-force-remember-template-char ?j))
(org-remember))
  
   (let ((org-force-remember-template-char j))
(org-remember))
  
   But all of these display the prompt to select which remember-type to create.
  

Following section of manual seems to suggests that you have more than
one template defined and available in that specific mode.

,[ http://orgmode.org/manual/Remember-templates.html#Remember-templates ]
| When you call M-x org-remember (or M-x remember) to remember
| something, Org will prompt for a key to select the template (if you
| have more than one template) and then prepare the buffer [...]
`

So either you need to delete other templates or if you call this
template in a specific mode then you can consider defining template so
that it is the only available template in that mode (please see the
URL of the quoted section for details.)  I haven't had a chance to
test this yet but seems like a plausible solution.

HTH,
-- 
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] how to wrap headings

2008-10-22 Thread Rich E
Hi,

I just have a simple question:  how can I wrap the headings so they
don't go off the visual window?

Thanks,
Rich


___
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] how to wrap headings

2008-10-22 Thread Mike Newman
On Wed, 22 Oct 2008 23:23:54 +0200
Rich E [EMAIL PROTECTED] wrote:

 Hi,
 
 I just have a simple question:  how can I wrap the headings so they
 don't go off the visual window?
 
 Thanks,
 Rich
 
 
 ___
 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
 
A simple approach that will work for all lines is
'toggle-truncate-lines'.

If you are using a recent development version of Emacs, you can try
'visual-line-mode', which will also affect all lines in the file.

-- 
Mike


___
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: how to wrap headings

2008-10-22 Thread Bernt Hansen
Rich E [EMAIL PROTECTED] writes:

 I just have a simple question:  how can I wrap the headings so they
 don't go off the visual window?

M-x set-truncate-lines

It toggles line wrapping on and off.

-Bernt


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


[Orgmode] Re: calling org-remember with an argument to select remember-type?

2008-10-22 Thread Søren Pedersen
Manish mailtomanish.sharma at gmail.com writes:

 
   On Thu, Oct 23, 2008 at 12:48 AM, Søren Pedersen wrote:
Hey all
   
I am trying to call org-remember and automatically select making a
 journal entry

I figured it out myself (by, what else, reading the source):


(org-remember nil ?j)

Does what I want.

org-remember takes 2 optional variables, the first one designating whether to 
jump directly to the place where the rememeber will be placed, and the second 
one being what I was looking for. 

kind regards
Søren Pedersen



___
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] [PATCH] Fixed trivial misspelling in docstring to org-refile.

2008-10-22 Thread Robert Goldman
---
 lisp/org.el |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lisp/org.el b/lisp/org.el
index d9cf394..30a9ce7 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -7243,7 +7243,7 @@ and will therefore always be up-to-date.

 At the target location, the entry is filed as a subitem of the target
heading.
 Depending on `org-reverse-note-order', the new subitem will either be the
-first of the last subitem.
+first or the last subitem.

 With prefix arg GOTO, the command will only visit the target location,
 not actually move anything.
-- 
1.5.6.4


___
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: how to wrap headings

2008-10-22 Thread Sebastian Rose

Funny enough, yesterday I wrote this one here:



(defun my-toggle-truncate-lines ()
  Toggle truncate-lines.
  (interactive)
  (setq truncate-lines (if truncate-lines nil t)))



I've bound it to H-t (I like those windows keys in Linux/GNU :-) and use
it a lot (since yesterday). It's so usefull, that I wonder if something
like this is in emacs already???




Bernt Hansen wrote:

Rich E [EMAIL PROTECTED] writes:


I just have a simple question:  how can I wrap the headings so they
don't go off the visual window?


M-x set-truncate-lines

It toggles line wrapping on and off.

-Bernt


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





___
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-plot questions

2008-10-22 Thread Samuel Wales
On Wed, Oct 22, 2008 at 15:43, Eric Schulte [EMAIL PROTECTED] wrote:
 I agree this isn't obvious, if you have a suggestion for improving the
 syntax please let me know.

I haven't looked into this matter, so this comment might not be
relevant, but I do have a suggestion that I had earlier written for
the *general* problem of choosing a syntax for new functionality when
you don't have obvious models to follow.

Some of the desiderata for a syntax include: consistent, easy to
parse, hard to corrupt, simple to quote, simple to escape (especially
with things like regexps that are already complicated), supports being
confident that exporting will not exhibit unexpected behavior, easier
for the user to remember without reference materials, flexible,
extensible, supports macros, nestable, pretty-printable, a published
reference standard, and print-readable (serializing).  If your syntax
has those, then you're doing well.

If you don't have a model to follow (such as org or gnuplot), then
Lisp (el because this is el or cl because it's a standard that is
similar to el and meticulously speced) has usually had a lot of
thought put into its syntax.  You might get a joke or two, but we know
better.  :)

Again, perhaps not relevant, but maybe food for thought for future
questions about syntax.


___
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] How to remove the automatically generated css codes from exported HTML file?

2008-10-22 Thread Larry . Liu
 Hi,

I want to remove the css style codes generated automatically by Org-mode in
the exported html file, I have set the variable style for html export and
itself works fine, but the css definition generated by Org-mode
automatically doesn't get removed, and it affects the display of exported
file, how can I remove it?

Thanks :)

-- 
--
Larry.Liu
Mobile: 13911483964
---
___
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