Re: [Orgmode] XEmacs + XP - reasonable make * org-mode = ?

2007-11-29 Thread Carsten Dominik
On Nov 29, 2007 6:09 PM, Michael Wilson <[EMAIL PROTECTED]> wrote:

> Good afternoon,
>
> Is there a manual install procedure I can use to get org-mode up and
> running on xemacs on win xp?  I've tried byte-compiling things and dropping
> them in my load path (with the couple additional files in .\xemacs\), adding
> the requisite few lines in .emacs (a couple key hooks, ".org" mapping,
> (require org-install) etc.)
>
> And when I try to M-x org-mode on an empty "stuff.org" file I get:
>
>   "Wrong number of arguments: #,2"
>
> which is where I get stuck.  Is the makefile doing anything more exotic
> than byte compiling and moving the elisp files?


Org-mode does not use make-char-table, so this is coming from some other
XEmacs library.
Maybe you can produce a backtrace so that we can find this...

- Carsten



>
>
> TIA,
>
> - M
>
>
>
> ___
> 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] Re: how to get daily clock summaries

2007-11-29 Thread Mark A. Hershberger
Rainer Stengele <[EMAIL PROTECTED]> writes:

> #+BEGIN: clocktable :maxlevel 0 :scope file
>  :tstart "<2007-11-28 Mi 00:00>" :tend "<2007-11-28 Mi 23:59>"

Looking at the docs, it looks like you could do:

#+BEGIN: clocktable :block today

-- 
http://hexmode.com/
GPG Fingerprint: 7E15 362D A32C DFAB E4D2  B37A 735E F10A 2DFC BFF5

The most beautiful experience we can have is the mysterious.
-- Albert Einstein, The World As I See it



___
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] XEmacs + XP - reasonable make * org-mode = ?

2007-11-29 Thread Michael Wilson
Solved it.  My ~/emacs/ folder has indeed been accreting cruft for nigh on
15 years.  I had something funky in there that must've been tickled by
org-mode.  It's gone from 45meg down to 3m and works just duckily.

Thanks everyone o/

- M

On Nov 29, 2007 12:20 PM, Michael Wilson <[EMAIL PROTECTED]> wrote:

> But it doesn't strike me that byte compiling or not is the problem.  I
> tried without it first.  My fear is that I've accumulated so much cruft in
> my ~/emacs/. folder that there's a really nasty chemical reaction going on
> in there.
>
>
> On Nov 29, 2007 12:17 PM, Tim O'Callaghan <[EMAIL PROTECTED]>
> wrote:
>
> > I have a similar setup. I just don't bother byte compiling them.
> >
> > It takes longer to start up, but it makes my site lisp usable under
> > Emacs.
> >
> > Regards,
> >
> > Tim.
> >
> >
> > On 29/11/2007, Michael Wilson <[EMAIL PROTECTED]> wrote:
> > > Good afternoon,
> > >
> > > Is there a manual install procedure I can use to get org-mode up and
> > running
> > > on xemacs on win xp?  I've tried byte-compiling things and dropping
> > them in
> > > my load path (with the couple additional files in .\xemacs\), adding
> > the
> > > requisite few lines in .emacs (a couple key hooks, ".org" mapping,
> > (require
> > > org-install) etc.)
> > >
> > > And when I try to M-x org-mode on an empty "stuff.org" file I get:
> > >
> > >   "Wrong number of arguments: # > make-char-table>,2"
> > >
> > > which is where I get stuck.  Is the makefile doing anything more
> > exotic than
> > > byte compiling and moving the elisp files?
> > >
> > > TIA,
> > >
> > > - M
> > >
> > >
> > >
> > > ___
> > > 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] org-5.15 & emacs 21 compatibility: time-date.el version issue

2007-11-29 Thread Eric J Haywiser

Dear orgers,

Sometime between org-5.10 and org-5.15 the agenda command C-a a began 
initiatating a call to a new command time-subtract.


Unfortunately, time-subtract is not present in the time-date.el
that is shipped with some emacs 21.

In the older date-time.el subtract-time is provided instead.

Adding the following to ones startup under emacs 21 seems resolve this:

(load-library "time-date")
(if (not(fboundp 'time-subtract))
(defalias 'time-subtract 'subtract-time)
  )

Would distributing such tweaks/backports in an emacs21
subdir of org much like the xemacs tweaks be appropriate?


___
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 with org-startup-folded?

2007-11-29 Thread Wanrong Lin


Update on my own investigation/confusion on this problem:

I have two lines like this in my org mode configuration
(setq org-agenda-file-regexp "\\.org\\'")
(add-to-list 'auto-mode-alist `(,org-agenda-file-regexp . org-mode))

By inserting some "message" statements (that is how far I can go on 
debugging elisp code)  in org-mode function, I found that when I visit a 
".org" file for the fist time, "org-mode" function is not called at all! 
But the file does open as an normal org-mode file (with "Org" appearing 
in the mode-line), except the text is not folded. If I kill the buffer 
and open the fine again, "org-mode" function is invoked and hence text 
is folded.


I can certainly work around this problem by forcing org-mode to be 
called every time I open an org file. But can somebody help me out here? 
Why org-mode is not called at all when the file is opened for the first 
time? Who is keeping track whether the file is opened the first time or 
not? Thanks a lot.


Wanrong

Wanrong Lin wrote:

Just an update on the problem:

I found that if I add the per-file option like this, the "overview" 
mode is always on when I visit an org file, whether it is the first 
time or not.

#+STARTUP: fold

But the global option does not work fully as I described before.

Wanrong

Wanrong Lin wrote:

Hi,

I like to have newly opened org-mode files in overview (folded) mode. 
With org-startup-folded set to t, this seems to only work partially. 
That is, when I firstly open an file, say xyz.org file, the file is 
unfolded. But if I kill the buffer, and open the same file again, it 
will be folded. At first I thought this is because the interference 
from the "session" package. But I removed that package and nothing 
changed. I am using the latest (5.15) org-mode.


Thanks if someone can look into this.

Wanrong








___
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: search for dates as tag or property

2007-11-29 Thread Bastien
Fabian Braennstroem <[EMAIL PROTECTED]> writes:

> Is there a function which puts all links of the current tree
> in a kill-ring, which I could use for an external python script?

Maybe this:

(defun my-collect-links-in-subtree ()
  "Return a list containing all links in current subtree."
  (interactive)
  (let (list end)
(save-excursion
  (org-back-to-heading)
  (setq end (save-excursion 
  (outline-forward-same-level 1) (point)))
  (while (re-search-forward org-any-link-re end t)
(add-to-list 'list (match-string-no-properties 0
list))

Then:

(setq your-list-of-links (my-collect-links-in-subtree))

will store the list of links for the current subtre...  I think there is
no need for this in Org itself, though.

> BTW: The small tutorial will follow a bit later :-)

Looking forward to reading it!  Thanks,

-- 
Bastien


___
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-refile hack to show headings

2007-11-29 Thread John Rakestraw
I really the heading refile system developed first by Max Mikhanosha
and then adapted/adopted by Carsten in org 5.14. However, I found it
difficult sometimes to remember the particular heading to which I
wanted to move the new item -- the auto-complete is helpful, but only
if I can remember just how a heading starts. I have a simple (and
probably inelegant) hack that works well enough for me, and I thought
others might be interested in it as well. 

In my set-up my projects are 2d-level headings; this simply shows the
2d-level headings in a buffer and then calls org-refile. If others who
know lisp think this is worth doing, I suspect they can show us a much
better way to do it. But I thought that for once I'd propose a way to
do something rather than simply asking for yet another feature.

**
(defun org-show-headings-for-refile ()
  (interactive)
  (hide-sublevels 2)
  (show-entry)
  (org-refile))
**

-- 
John Rakestraw


signature.asc
Description: PGP signature
___
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] Go to the just saved Remember block

2007-11-29 Thread Bastien
Rainer Stengele <[EMAIL PROTECTED]> writes:

> Many times I create a task fro a remember template (which is a great
> feature!) and want to immediately go the created task and "work on
> it".

If by "working on it" you mean: adding text and headlines in the task
subtree, you can do this while you're in the remember buffer.

If by "working on it" you mean: process it into another TODO state, then
it's likely that you will work on this task while also working on other
tasks, no?  Then isn't `C-u M-x org-remember' enough to get back to the
last remembered task?

As usual, maybe my own habits make your point unclear to me...

-- 
Bastien


___
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] Latex Export

2007-11-29 Thread Russell Adams
I'm starting to learn Latex, and thought I'd ask if anyone had
pointers regarding Org/Latex integration.

My ultimate goal is to be able to export quality documents written in
Org with complete header/footer/letterhead and formatting in LaTeX in
PDF.

I understand I need to learn more about TeX along the way, and am
already reading and experimenting.

I'm sure I'm not the first, and wanted to see what others had
accomplished with Latex.

Thanks.

--
Russell Adams[EMAIL PROTECTED]

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

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


signature.asc
Description: Digital signature
___
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] Latex Export

2007-11-29 Thread Giovanni Ridolfi
On Thu, Nov 29, 2007 at 09:15:06PM -0600, Russell Adams wrote:
>
> My ultimate goal is to be able to export quality documents written in
> Org with complete header/footer/letterhead and formatting in LaTeX in
> PDF.

I think that the Latex-exporter is *not* suited for such complex task.
I also think that it shouldn't (K.I.S.S.). 

IMHO you should either learn LaTeX (please, have a look to "A not so short
introduction to LaTeX" ) and write your documents in Emacs or use an
editor in which you can really define every parameter such as lyx.

Cheers,
Giovanni


___
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] Latex Export

2007-11-29 Thread Russell Adams
On Fri, Nov 30, 2007 at 07:21:26AM +0100, Giovanni Ridolfi wrote:
> On Thu, Nov 29, 2007 at 09:15:06PM -0600, Russell Adams wrote:
> >
> I think that the Latex-exporter is *not* suited for such complex task.
> I also think that it shouldn't (K.I.S.S.). 

Actually, a basic TOC, sections, tables etc... I think it fits the
bill. I'm moving into Latex because I kept doing an HTML export and
moving that into Word so I could apply more formatting.

If I can use an option to throw on a header/footer, or specify a
separate document format, that'd do it.

> IMHO you should either learn LaTeX (please, have a look to "A not so short
> introduction to LaTeX" ) and write your documents in Emacs or use an
> editor in which you can really define every parameter such as lyx.

I might use Emacs to write TeX. ;]

Russell

--
Russell Adams[EMAIL PROTECTED]

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

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


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


[Orgmode] how to get daily clock summaries

2007-11-29 Thread Rainer Stengele
I'd like to get daily clock summaries! I want to be able to see how much time I 
worked on which project day by day.
Such an overview would also show me the open "non-clocked" time per day.

Any ideas to get such a view (agenda?) with existing means?

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


[Orgmode] Re: how to get daily clock summaries

2007-11-29 Thread Rainer Stengele
Rainer Stengele schrieb:
> I'd like to get daily clock summaries! I want to be able to see how much time 
> I worked on which project day by day.
> Such an overview would also show me the open "non-clocked" time per day.
> 
> Any ideas to get such a view (agenda?) with existing means?
> 
> 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
> 

OK - this does it for one day:

#+BEGIN: clocktable :maxlevel 0 :scope file :tstart "<2007-11-28 Mi 00:00>" 
:tend "<2007-11-28 Mi 23:59>"
Clock summary at [2007-11-29 Do 10:24].

| L | Headline | Time   |
|---+--+|
|   | *Total time* | *1:38* |
|---+--+|
#+END:

I could copy / modify this block for each day.
It would anyway be nice to get a compact overview for several days.

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 version 5.15

2007-11-29 Thread John Wiegley
Hello Carsten, the Makefile for 5.15 makes reference to a file  
"provide.el".  What is that?


John


___
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] saveplace

2007-11-29 Thread Kevin Brubeck Unhammer
Hi,

What's the best way to make a hook that runs show-entry on finding an org-mode 
file, but after the save-place-hook? (Seeing as putting show-entry in org-mode-
hook doesn't work, since save-place goes afterwards.) Should I just append 
something to find-file-hook that runs show-entry iff we're in org-mode?

--
Kevin Brubeck Unhammer




___
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 5.14] -- org-remember

2007-11-29 Thread John Rakestraw
Hi Carsten --

> I cannot reproduce this, can you make me a backtrace, please?

Sure. (I should also say I'm using Fedora 7, emacs 22.1.1, and org
5.15.)

I entered C-u C-c r

Backtrace --

Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p
nil) buffer-substring(312400 nil)
  (progn (buffer-substring (point) (mark)))
  (if current-prefix-arg (progn (buffer-substring ... ...)))
  (when current-prefix-arg (buffer-substring (point) (mark)))
  (list (when current-prefix-arg (buffer-substring ... ...)))
  call-interactively(remember)


-- 
John Rakestraw


signature.asc
Description: PGP signature
___
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 with org-startup-folded?

2007-11-29 Thread Wanrong Lin

Just an update on the problem:

I found that if I add the per-file option like this, the "overview" mode 
is always on when I visit an org file, whether it is the first time or not.

#+STARTUP: fold

But the global option does not work fully as I described before.

Wanrong

Wanrong Lin wrote:

Hi,

I like to have newly opened org-mode files in overview (folded) mode. 
With org-startup-folded set to t, this seems to only work partially. 
That is, when I firstly open an file, say xyz.org file, the file is 
unfolded. But if I kill the buffer, and open the same file again, it 
will be folded. At first I thought this is because the interference 
from the "session" package. But I removed that package and nothing 
changed. I am using the latest (5.15) org-mode.


Thanks if someone can look into this.

Wanrong





___
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] Go to the just saved Remember block

2007-11-29 Thread Rainer Stengele
Many times I create a task fro a remember template (which is a great feature!) 
and want to immediately go the created task and "work on it".
What do you think. WOuld thi sbe a candidate for an option 
"org-visit-saved-remember" or similar?

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] Re: [Org-mode 5.14] -- org-remember

2007-11-29 Thread Carsten Dominik
You need to bind `org-remember to `C-c r', not `remember'.

- Carsten

On Nov 29, 2007 3:31 PM, John Rakestraw <[EMAIL PROTECTED]> wrote:

> Hi Carsten --
>
> > I cannot reproduce this, can you make me a backtrace, please?
>
> Sure. (I should also say I'm using Fedora 7, emacs 22.1.1, and org
> 5.15.)
>
> I entered C-u C-c r
>
> Backtrace --
>
> Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p
> nil) buffer-substring(312400 nil)
>  (progn (buffer-substring (point) (mark)))
>  (if current-prefix-arg (progn (buffer-substring ... ...)))
>  (when current-prefix-arg (buffer-substring (point) (mark)))
>  (list (when current-prefix-arg (buffer-substring ... ...)))
>  call-interactively(remember)
>
>
> --
> John Rakestraw
>
___
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 version 5.15

2007-11-29 Thread Carsten Dominik
It is a mini file containing only "(provide 'org-install)"

The next version will work again without this file, it was just a stupid
quick fix.

- Carsten

On Nov 29, 2007 1:23 PM, John Wiegley <[EMAIL PROTECTED]> wrote:

> Hello Carsten, the Makefile for 5.15 makes reference to a file
> "provide.el".  What is that?
>
> John
>
___
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 get daily clock summaries

2007-11-29 Thread Carsten Dominik
On Nov 29, 2007 10:55 AM, Rainer Stengele <[EMAIL PROTECTED]> wrote:

> Rainer Stengele schrieb:
> > I'd like to get daily clock summaries! I want to be able to see how much
> time I worked on which project day by day.
> > Such an overview would also show me the open "non-clocked" time per day.
> >
> > Any ideas to get such a view (agenda?) with existing means?
> >
> > 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
> >
>
> OK - this does it for one day:
>
> #+BEGIN: clocktable :maxlevel 0 :scope file :tstart "<2007-11-28 Mi
> 00:00>" :tend "<2007-11-28 Mi 23:59>"
> Clock summary at [2007-11-29 Do 10:24].
>
> | L | Headline | Time   |
> |---+--+|
> |   | *Total time* | *1:38* |
> |---+--+|
> #+END:
>
> I could copy / modify this block for each day.
> It would anyway be nice to get a compact overview for several days.


Much easier will be


#+BEGIN: clocktable :maxlevel 0 :scope file :block today

There is no simple way to do it for several days like this.  I'll put it on
my list, hope to get around to it some time.

- 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] XEmacs + XP - reasonable make * org-mode = ?

2007-11-29 Thread Michael Wilson
Good afternoon,

Is there a manual install procedure I can use to get org-mode up and running
on xemacs on win xp?  I've tried byte-compiling things and dropping them in
my load path (with the couple additional files in .\xemacs\), adding the
requisite few lines in .emacs (a couple key hooks, ".org" mapping, (require
org-install) etc.)

And when I try to M-x org-mode on an empty "stuff.org" file I get:

  "Wrong number of arguments: #,2"

which is where I get stuck.  Is the makefile doing anything more exotic than
byte compiling and moving the elisp files?

TIA,

- M
___
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