Re: [Orgmode] Error "while: Stack overflow in regexp matcher"

2009-08-31 Thread Carsten Dominik

Hi,

Sebastien has now (off-list) made it possible for me to
reproduce this bug.  Which is why it finally has been fixed.

- Carsten

On Jul 15, 2009, at 11:12 AM, Sébastien Vauban wrote:


Hello,

I'm trying to publish my `.emacs' file onto the Web, for interested  
people to

come and copy stuff they find valuable. My turn to do it.

I did that in the past with Muse, no problem.

But, now, I wanna do it with the real system... and I've always an  
error when

trying to publish my config file:

   "while: Stack overflow in regexp matcher".

Nothing gets published. Of course, my `.emacs' file is quite long,  
but that

worked within similar technology (htmlize [¹]) with Muse.

This is my simplified `dot-emacs.org' file:

--8<---cut here---start->8---
#+TITLE:Emacs Init File
#+LANGUAGE: en


* Init File

 Here is my init file:

#+INCLUDE: "~/.emacs" src emacs-lisp

 Rather long, no?
--8<---cut here---end--->8---

Can anyone help me, please, suggesting me how to go one step further  
to the

light?

Best regards,
 Seb

[¹] Yes, I'm using the version of Carsten, being Emacs 23 user.

--
Sébastien Vauban



___
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


===
PLEASE NOTE NEW ADDRESS
===
prof.dr. Carsten Dominikdomi...@uva.nl
Astronomical Institute 'Anton Pannekoek'
www.astro.uva.nl/~dominik
Faculty of Science, University of Amsterdam phone   
+31-20-5257477/7491
SCIENCE PARK 904, ROOM C4-106   fax +31-20-5257484
1098 XH Amsterdam, The Netherlands
mail: PO BOX 94249, 1090GE, Amsterdam






___
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 issues when external links are used inside tables.

2009-08-31 Thread Carsten Dominik

Hi Yuva,

sorry that it took so long for me to look at this problem.

This is a very strange one, in particular because it is different
inside versus outside of tables.  Could be classified as a LaTeX
problem if you ask me.

However, I have implemented a work-around now, so this problem *should*
go away now.  Please verify and report back.

Thanks for your report and patience.

- Carsten

On Jun 15, 2009, at 1:34 PM, Yuva wrote:


hi,
  If I try to use link abbrevations inside tables, there are some  
issues
when exporting to latex. Say for example, if we consider the  
following eg :


8<-8<

#+TITLE: Simple refs stuff
#+AUTHOR:Yuva
#+EMAIL:
#+DATE:
#+DESCRIPTION:
#+KEYWORDS:
#+LANGUAGE:  en
#+OPTIONS:   H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+OPTIONS:   TeX:t LaTeX:nil skip:t d:nil todo:t pri:nil tags:not-in- 
toc

#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0
path:http://orgmode.org/org-info.js
#+EXPORT_SELECT_TAGS: export
#+EXPORT_EXCLUDE_TAGS: noexport
#+LINK_UP:
#+LINK_HOME:

* Bug-References

#+CAPTION: References
#+LABEL: tbl:references
#+LINK: bugzilla http://10.1.2.9/bugzilla/show_bug.cgi?id=
#+LINK: ads http://adsabs.harvard.edu/cgi-bin/nph-abs_connect?author= 
%s&db_key=AST

| bug  | link |
|--+--|
| 129  | [[bugzilla:129]] |
| test | [[ads:test]] |


8<-8<

If the link contains this ampersand '&' character, which has special  
meaning
inside latex table, org mode generates incompatible .tex file. With  
the
latest org-mode {from git sources}, I have the following generated  
output :




8<-8<

% Created 2009-06-15 Mon 16:51
\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{hyperref}


\title{Simple refs stuff}
\author{Yuva}
\date{15 June 2009}

\begin{document}



\setcounter{tocdepth}{3}
\tableofcontents
\vspace*{1cm}
\section{Bug-References}
\label{sec-1}


\begin{table}[htb]
\caption{\label{tbl:references}References}
\begin{center}
\begin{tabular}{ll}
bug   &  link

 \\
\hline
129   &  \href{http://10.1.2.9/bugzilla/show_bug.cgi?id=129}{http://10.1.2.9/bugzilla/show 
\_bug.cgi?id=129}

  \\
test  &  \href{http://adsabs.harvard.edu/cgi-bin/nph-abs_connect?author=test&db_key=AST 
}{http://adsabs.harvard.edu/cgi-bin/nph-abs\_connect?author=test\&db 
\_key=AST}

\\
\end{tabular}
\end{center}
\end{table}


\end{document}


8<-8<

'pdflatex' simply fails to produce a pdf because '&' has creeped in  
due to

'#+LINK: ads' expansion. This simple problem can be solved by treating
'&' as special character, and replace it with '\&'. For above example,
just replace 'test&db' with 'test\&db' IN-THE-FIRST-ARG-OF \href.  
Well, I
am new to elisp, and I am still figuring out how to counter this  
issue.

[Oh! what a lame excuse!].

Thanks,

--
YUVA


___
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


===
PLEASE NOTE NEW ADDRESS
===
prof.dr. Carsten Dominikdomi...@uva.nl
Astronomical Institute 'Anton Pannekoek'
www.astro.uva.nl/~dominik
Faculty of Science, University of Amsterdam phone   
+31-20-5257477/7491
SCIENCE PARK 904, ROOM C4-106   fax +31-20-5257484
1098 XH Amsterdam, The Netherlands
mail: PO BOX 94249, 1090GE, Amsterdam






___
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: Subversion for backups?

2009-08-31 Thread Sébastien Vauban
Hi Rainer,

Rainer Stengele wrote:
> I have a server in my office running the subversion server.
>
> Access is by port forwarding the subversion port via ssh - no matter being
> under windows (putty) or under Linux (ssh).
>
> In this way I have my subversion server and repository virtually "local",
> that is acces is always via svn://localhost/repository

Just for my own understanding, why to you want your repository to appear as
local?  In case you wanna change the physical location of the SVN server, and
don't want to update any of the working copies?  Something like that, or are
there other major reasons for this setup?

Thanks,
  Seb

-- 
Sébastien Vauban



___
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] Remaining time (in column view)

2009-08-31 Thread Carsten Dominik


On Aug 17, 2009, at 10:53 AM, Daniel Clemente wrote:



 Column view (C-c C-x C-c) is useful to show how much time I have  
estimated for a task and how much time I have clocked for it. It  
also seems helpful to show „how much time it remains“, which is the  
difference {estimated time} - {clocked time} for that task. It can  
be positive, negative (overrun) or empty (if you didn't estimate the  
effort). It is useful to choose the next task to do from a set of  
partially worked-on tasks.


 Just like there is a special column called CLOCKSUM ([1]), ¿is  
there something like CLOCKREM to show the remaining time?


Hi Daniel,

there is nothing like this yet, and I do not have the time currently
to implement it - but I would accept a patch to this effect.

- 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] bug in org-latex.el

2009-08-31 Thread John Rakestraw
Hi, List --

I'm reluctant to post this to the list, because I know next to nothing
about lisp. But here goes.

I'm writing in org and exporting to pdf via C-C C-E d. The exporter was
stumbling over a URL in the text, with the error message indicating
that "org-export-latex-protect-special" is void. I made two small
changes in org-export.el; now the export works and the URL is indeed
clickable in the pdf. See the patch below.

Of course, I could well have broken something

Org-mode version 6.29trans (release_6.29c.110.gca19.dirty)
GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu

--John

***
--- org-latex.el2009-08-31 11:58:39.576924147 -0400
+++ org-latex.el_new2009-08-31 12:00:12.642986362 -0400
@@ -1572,7 +1572,7 @@
  (insert (format "\\hyperref[%s]{%s}"
  (org-remove-initial-hash
   (org-solidify-link-text raw-path))
- (org-export-latex-protect-special
desc
+ (org-export-latex-protect-string desc
 (path 
  (when (org-at-table-p)
;; There is a strange problem when we have a link in a
table, @@ -1581,7 +1581,7 @@
(setq path (org-export-latex-protect-amp path)
  desc (org-export-latex-protect-amp desc)))
  (insert (format "\\href{%s}{%s}" path
- (org-export-latex-protect-special
desc
+ (org-export-latex-protect-string desc
 (t (insert "\\texttt{" desc "}")))
 
 (defun org-export-latex-protect-amp (s)
***

-- 
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] Can effort be edited conveniently outside column view?

2009-08-31 Thread Michael Gilbert

Bernt, Manish, Carsten --

Thank you each for perspectives and tips. I now have more options for  
more contexts for effort editing. Thank you!


-- M

P.S. An FWIW, effort editing a bunch of items in context of each other  
works very well in column view for me. But since I tend to compose and  
take notes in outline view, the one-off method Carsten described is  
very helpful.





___
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 on sloooow computer

2009-08-31 Thread Leo
On 2009-08-31 18:49 +0100, Daniel Martins wrote:
> My org-version is 6.21b
>
> GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
>  of 2009-08-01 on radon, modified by Debian

Have you tried a more recent org version? I think Carsten has done some
profiling a while back. I haven't noticed any slowdown since all my org
files are relatively small. I am running org "6.29c".

Leo

-- 
Emacs uptime: 14 days, 3 hours, 44 minutes, 35 seconds



___
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] Display parent in agenda mode

2009-08-31 Thread Andrew M. Nuxoll
When I'm viewing an agenda (using my custom agenda command), I like to 
hit 'f' to put it in follow mode so I can see the context of the entry 
I'm viewing.  However, in many cases there are enough entries under a 
given heading that the heading has scrolled off the screen.  Is there a 
way to have follow mode condense the view it shows to only show the 
parents and children but not the siblings?  Otherwise I have to tab over 
to the .org file and page up which gets old pretty fast.


(I did read the manual but didn't see a solution.  I'm sorry if I missed 
it.)


Thanks,
:AMN:



___
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 on sloooow computer

2009-08-31 Thread Matt Lundin
Daniel Martins  writes:

> This version is 30 days old.

Actually, org-mode 6.21b was released on Feb. 2, 2009.

But org-mode does change quickly. :)

> To do not create problems with my Ubuntu distribution it is a bit hard
> to try newer versions but I can try if this is
>
>  I feel that there is something critical beyond an upgrade but I do not
> know how to find the core of the problem
>
> Other modes are not slow

You can always try out a new version of org-mode without changing
anything in your emacs installation. Simply download
(http://orgmode.org/org-6.29c.zip), unzip, byte-compile the files
(either from the command line or dired), and add the new directory to
your load path.

See this FAQ for more information:

http://orgmode.org/worg/org-faq.php#installing-org-without-make-tools

Best,
Matt


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


[Orgmode] Re: org-mode on sloooow computer

2009-08-31 Thread Matt Lundin
Daniel Martins  writes:

> My org-agenda is incredibly slow. Please help me understand what is
> happening
>
> My computer is not so slow. It is a dual core
>
>  Intel(R) Pentium(R) D CPU 2.80GHz
> with 2GB of RAM
>
> My organizer.org has 21000 lines
>
> I can split it in a couple of files if this is the solution.
>
> My org-version is 6.21b
>
> GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
>  of 2009-08-01 on radon, modified by Debian

As a first step, I would recommend upgrading to the most recent version
of org-mode. As the conversation you forwarded suggests, there have been
a bunch of optimizations since 6.21b. Other than that, I'm not sure what
would be causing the slowness -- I have thousands of lines in my org
files and the agenda appears almost instantaneously on a very modest
Atom processor. Are other emacs modes slow on the machine?

Best,
Matt



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


Re: [Orgmode] Re: org-mode on sloooow computer

2009-08-31 Thread Daniel Martins
This version is 30 days old.
To do not create problems with my Ubuntu distribution it is a bit hard to
try newer versions but I can try if this is

 I feel that there is something critical beyond an upgrade but I do not know
how to find the core of the problem

Other modes are not slow

Daniel


2009/8/31 Leo 

> On 2009-08-31 18:49 +0100, Daniel Martins wrote:
> > My org-version is 6.21b
> >
> > GNU Emacs 23.1.50.1 (i486-pc-linux-gnu, GTK+ Version 2.12.9)
> >  of 2009-08-01 on radon, modified by Debian
>
> Have you tried a more recent org version? I think Carsten has done some
> profiling a while back. I haven't noticed any slowdown since all my org
> files are relatively small. I am running org "6.29c".
>
> Leo
>
> --
> Emacs uptime: 14 days, 3 hours, 44 minutes, 35 seconds
>
>
>
> ___
> 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] bug in org-latex.el

2009-08-31 Thread Carsten Dominik

Ooops, I messed up, yes.

Fixed now, thanks.  You were close, but not quite right with your patch.

- Carsten

On Aug 31, 2009, at 8:22 PM, John Rakestraw wrote:


Hi, List --

I'm reluctant to post this to the list, because I know next to nothing
about lisp. But here goes.

I'm writing in org and exporting to pdf via C-C C-E d. The exporter  
was

stumbling over a URL in the text, with the error message indicating
that "org-export-latex-protect-special" is void. I made two small
changes in org-export.el; now the export works and the URL is indeed
clickable in the pdf. See the patch below.

Of course, I could well have broken something

Org-mode version 6.29trans (release_6.29c.110.gca19.dirty)
GNU Emacs 23.1.1 (x86_64-redhat-linux-gnu

--John

***
--- org-latex.el2009-08-31 11:58:39.576924147 -0400
+++ org-latex.el_new2009-08-31 12:00:12.642986362 -0400
@@ -1572,7 +1572,7 @@
  (insert (format "\\hyperref[%s]{%s}"
  (org-remove-initial-hash
   (org-solidify-link-text raw-path))
- (org-export-latex-protect-special
desc
+ (org-export-latex-protect-string desc
 (path
  (when (org-at-table-p)
;; There is a strange problem when we have a link in a
table, @@ -1581,7 +1581,7 @@
(setq path (org-export-latex-protect-amp path)
  desc (org-export-latex-protect-amp desc)))
  (insert (format "\\href{%s}{%s}" path
- (org-export-latex-protect-special
desc
+ (org-export-latex-protect-string desc
 (t (insert "\\texttt{" desc "}")))

(defun org-export-latex-protect-amp (s)
***

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




___
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] setting date for org -> latex exporter

2009-08-31 Thread John Rakestraw
Hi --

I'm learning more about exporting from org-mode to latex, but I've run
into a wall. I suspect there's a simple fix, but I can't find it.

I'm setting the documentclass as 'article' (using #+LATEX_CLASS:
article). I see in org-latex.el how the exporter builds the topmatter.
I'd like to do something different with the date in the topmatter.
Here's what it does now (as shown in the tex file):

\title{Here's the title}
\author{John Rakestraw}
\date{31 August 2009}

I'd like it either not to have a date at all, or to have "Fall 2009"
instead of today's date. I've tried setting the date in the org file
using "#+LATEX_HEADER: \date{Fall 2009}" and "#+LATEX_HEADER: \date{}".
But these don't change anything. (Actually, these insertions generate
the lines I expect in the tex file, but in each case it's overruled by
the line inserted by the routine in org-latex.el that inserts the
topmatter.)

I found these lines (978ff) in org-latex.el:

 ;; insert the date
 (format "\\date{%s}\n"
 (format-time-string
  (or (plist-get opt-plist :date)
  org-export-latex-date-format)))

This seems to imply that I can set a date option. How do I do that?

(I can get no date by commenting out these lines in org-latex.el, but
that seems a clumsy solution.)

Thanks.

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


[Orgmode] Re: org-mode on sloooow computer

2009-08-31 Thread Daniel Martins
*You can always try out a new version of org-mode without changing
anything in your emacs installation. Simply download
(http://orgmode.org/org-6.29c.zip), unzip, byte-compile the files
(either from the command line or dired), and add the new directory to
your load path.*


I did all but it complains about a

org-agenda-list: Symbol's function definition is void: elp-wrapper

Daniel

2009/8/31 Matt Lundin 

> Daniel Martins  writes:
>
> > This version is 30 days old.
>
> Actually, org-mode 6.21b was released on Feb. 2, 2009.
>
> But org-mode does change quickly. :)
>
> > To do not create problems with my Ubuntu distribution it is a bit hard
> > to try newer versions but I can try if this is
> >
> >  I feel that there is something critical beyond an upgrade but I do not
> > know how to find the core of the problem
> >
> > Other modes are not slow
>
> You can always try out a new version of org-mode without changing
> anything in your emacs installation. Simply download
> (http://orgmode.org/org-6.29c.zip), unzip, byte-compile the files
> (either from the command line or dired), and add the new directory to
> your load path.
>
> See this FAQ for more information:
>
> http://orgmode.org/worg/org-faq.php#installing-org-without-make-tools
>
> Best,
> Matt
>
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: org-mode on sloooow computer

2009-08-31 Thread Leo
On 2009-08-31 22:03 +0100, Daniel Martins wrote:
> I did all but it complains about a org-agenda-list: Symbol's function
> definition is void: elp-wrapper
>
> Daniel

Maybe put (autoload 'elp-wrapper "elp") somewhere in your .emacs. This
will get your org mode to compile.

But you may want to figure out where that elp-wrapper is used. The
vanilla org mode does not seem to use it.

-- 
Emacs uptime: 14 days, 6 hours, 51 minutes, 8 seconds



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


Re: [Orgmode] setting date for org -> latex exporter

2009-08-31 Thread Ed Hirgelt


On Aug 31, 2009, at 2:02 PM, John Rakestraw wrote:



I'd like it either not to have a date at all, or to have "Fall 2009"
instead of today's date.


#+Date: Fall 2009

will take care of it.

Ed



___
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: Subversion for backups?

2009-08-31 Thread Rainer Stengele

Sébastien Vauban schrieb:

Hi Rainer,

Rainer Stengele wrote:

I have a server in my office running the subversion server.

Access is by port forwarding the subversion port via ssh - no matter being
under windows (putty) or under Linux (ssh).

In this way I have my subversion server and repository virtually "local",
that is acces is always via svn://localhost/repository


Just for my own understanding, why to you want your repository to appear as
local?  In case you wanna change the physical location of the SVN server, and
don't want to update any of the working copies?  Something like that, or are
there other major reasons for this setup?

Thanks,
  Seb



Seb,

reason is I use my notebook at home and at work.
At work my repository is under

svn:///repository

at home it cannot of course be that intranet servername, it would have to be

svn:///repository

Having the "localhost" server solves the problem.
I simply use different port forwarding scripts at home and at work.

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 on sloooow computer

2009-08-31 Thread Daniel Martins
I had simply added load-path of version 6.29 and tried to load it without
sucess

Following the hints in

http://orgmode.org/worg/org-hacks.php#compiling-org-without-make

I could installed the new version and the times diminished.

However they are still high.

I possibly have to rearrange something in my configuration but I do not know
what!


Daniel



org-agenda1
8.954259  8.954259
org-agenda-list   1
8.222621  8.222621
org-agenda-get-day-entries27
6.067647  0.224727
org-agenda-get-scheduled  24
1.895439  0.0789766250
org-agenda-get-deadlines  24
1.848125  0.0770052083
org-finalize-agenda   1
1.682567  1.682567
org-get-tags-at   739
1.520450  0.0020574424
org-agenda-to-appt1
1.478704  1.478704
org-end-of-subtree3021
1.369184  0.0004532221
org-up-heading-safe   2959
1.308930  0.0004423555
org-agenda-get-todos  3
1.204345  0.401448
org-format-agenda-item678
1.097759  0.0016191135
org-finalize-agenda-entries   8
1.002133  0.125266625
org-back-to-heading   8152
0.754493  9.255...e-05
org-agenda-get-restriction-and-command1
0.731547  0.731547
org-agenda-get-timestamps 24
0.697096  0.029045
org-agenda-highlight-todo 512
0.508219  0.0009926152
org-get-effort667
0.458700  0.0006877061
org-prepare-agenda-buffers2
0.448168  0.224084
org-prepare-agenda1
0.375422  0.375422
org-entry-get 667
0.315292  0.0004727016
org-agenda-get-sexps  21
0.312268  0.0148699047
org-get-property-block667
0.308818  0.0004629970
org-time-string-to-absolute   2455
0.224560  9.147...e-05
org-get-entries-from-diary7
0.217991  0.0311415714
org-agenda-align-tags 1
0.196897  0.196897
org-add-props 1928
0.187093  9.703...e-05
org-get-priority  665
0.179140  0.0002693849
org-parse-time-string 2599
0.166962  6.424...e-05
org-agenda-skip   5746
0.160889  2.800...e-05
org-closest-date  519
0.160495  0.0003092408
org-get-todo-state766
0.148052  0.0001932793
org-date-to-gregorian 1039
0.14695   0.0001414340
org-trim  578
0.121958  0.000211
org-agenda-get-blocks 24
0.105531  0.0043971666
org-outline-level 8200
0.086815  1.058...e-05
org-at-date-range-p   490
0.067445  0.0001376448
org-fit-window-to-buffer  2
0.049170  0.024585
org-fit-agenda-window 1
0.047655  0.047655
org-on-heading-p  502
0.047236  9.409...e-05
org-refresh-category-properties   6
0.044592  0.007432
org-entries-lessp 2350
0.030351  1.291...e-05
org-agenda-add-inherited-tags 678
0.014381  2.121...e-05
org-diary-sexp-entry  413
0.011737  2.841...e-05
org-split-string  2007
0.010103  5.033...e-06
org-agenda-new-marker 1100
0.009452  8.593...e-06
org-downcase-keep-props   2741
0.007495  2.734...e-06
org-calendar-holiday  7
0.005071  0.0007244285
org-add-prop-inherited2613
0.004416  1.690...e-06
org-get-time-of-day   158
0.003477  2.201...e-05
org-fontify-priorities

Re: [Orgmode] small emacs for using org on Android

2009-08-31 Thread Sven Bretfeld
 writes:

>can anyone recommend a small emacs implementation that will run org?
>I have Debian running on my G1 phone (see here:
>http://www.emacswiki.org/emacs/EmacsOnAndroid), 
>and have been running Emacs 22 on it successfully. 
>However it doesn't leave me much memory for other apps.

If you have a flatrate and if you don't mind to have a computer
constantly running at home, you can use the Android app ConnectBot (or
normal ssh on Debian) to do your Emacs work including org stuff. This is
much easier and faster than running Emacs on the phone itself.

Greetings

Sven


___
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 "while: Stack overflow in regexp matcher"

2009-08-31 Thread Bernt Hansen
Carsten Dominik  writes:

> Sebastien has now (off-list) made it possible for me to
> reproduce this bug.  Which is why it finally has been fixed.

Cool!  I actually ran into this bug a couple of days ago.  My solution
at the time was to rip out half of the stuff in my
#+begin_example...#+end_example and put the entire thing in a :noexport:
task so I still had the original.

It works great now!  Thanks for fixing it.

-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] Release 6.30

2009-08-31 Thread Carsten Dominik

Hi,

I am releasing Org-mode version 6.30.

Enjoy!

- Carsten

 Changes in Version 6.30
 ===

Inconsistent changes
~

Agenda now uses `f' and `b' to move through time
=

Up to now, the Org-mode agenda used the cursor keys `left' and
`right' to switch the agenda view forward an backward through
time.  However, many people found this confusing, and others
wanted to be able to do cursor motion in the agenda, for example
to select text.  Therefore, after an extensive discussion on
`emacs-orgm...@gnu.org', it was decided to use the `b' and
`f' keys instead, and to let the cursor keys do cursor motion
again.

Agenda follow mode is now on the `F' key
=

This was necessary to free up the `f' key, see above.

Details


Maintenance


New command to submit a bug report
---

There is now a special command `M-x org-submit-bug-report'.  This
command will create a mail buffer with lots of useful details.
In particular, it contains complete version information for Emacs
and Org-mode.  It will also (if you agree to it) contain all
non-standard settings of org-mode and outline-mode related
variables.  Even if you do not sent your emails from within
Emacs, please still use this command to generate the information
and then copy it into your mail program.

The command will not generate and include a `*Backtrace*' buffer,
please do this yourself if you have hit an error.  For more
information, see the [feedback section] of the manual.

[feedback section]: http://orgmode.org/manual/Feedback.html#Feedback

New contributed package org-track.el
-

This package allows to keep up-to-date with current Org
development, using only Emacs on-board means.  So if you don't
want or cannot use `git', but still want to run the latest and
hottest Org-mode, this is for you.

Thanks to Sebastian Rose for this contribution.

Agenda
===

Agenda now uses `f' and `b' to move through time
-

Up to now, the Org-mode agenda used the cursor keys `left' and
`right' to switch the agenda view forward an backward through
time.  However, many people found this confusing, and others
wanted to be able to do cursor motion in the agenda, for example
to select text.  Therefore, after an extensive discussion on
`emacs-orgm...@gnu.org', it was decided to use the `b' and
`f' keys instead, and to let the cursor keys do cursor motion
again.

Agenda follow mode is now on the `F' key
-

This was necessary to free up the `f' key, see above.

The agenda can be put into a dedicated frame
-

When the variable `org-agenda-window-setup' has the value
`separate-frame', then the new frame created to show the agenda
will now have the window marked as /dedicated/.  As a
consequence, exiting the agenda while the agenda is the only
window on the frame will kill that frame.

This was a request by Henry Atting.

New mode to show some entry body text in the agenda


There is now a new agenda sub-mode called
`org-agenda-entry-text-mode'.  It is toggled with the `E' key.
When active, all entries in the agenda will be accompanied by a
few lines from the outline entry.  The amount of text can be
customized with the variable `org-agenda-entry-text-maxlines'.

This was a request by Anthony Fairchild, Manish, and others.

Improve following links from the agenda


`C-c C-o' in the agenda will now offer all links in the headline
and text of an entry.  If there is only a single link, it will be
followed immediately.

Avoid some duplicate entries
-

There is a new variable that can be used to avoid some duplicate
agenda entries: `org-agenda-skip-scheduled-if-deadline-is-shown'
If that is set, it avoids that an entry shows up in the agenda for
today for both a scheduling and a deadline entry.  See the
docstring of the variables for more details.

This partially addresses a request by Samuel Wales.

Mark the running clock in the agenda.
--

If the entry currently being clocked is present in the agenda, it
will be highlighted with the face `org-agenda-clocking'.

This was a request by Rainer Stengele.


Export
===

Allow LaTeX export to use the listings package
---

The LaTeX `listings' package can now be used for formatting
fontified source code in many programming languages.  For more
information, see
http://thread.gmane.org/gmane.emacs.orgmode/16269
http://orgmode.org/worg/org-faq.php#fontified_source_code_w_latex

Thanks to Eric Schulte for this patch.

Remove table rows that only contain width and alignment markers
-

Re: [Orgmode] Re: org-mode on sloooow computer

2009-08-31 Thread Carsten Dominik

Hi Daniel,

On Aug 31, 2009, at 11:25 PM, Daniel Martins wrote:



I had simply added load-path of version 6.29 and tried to load it  
without sucess


Following the hints in

http://orgmode.org/worg/org-hacks.php#compiling-org-without-make

I could installed the new version and the times diminished.

However they are still high.

I possibly have to rearrange something in my configuration but I do  
not know what!



Looking at the elp timings, things are evenly spread, not single  
function

eating all the time.  Which means that there is no good way to make Org
faster to make these times get smaller.

So here is stuff for you to check:

1. Looks like you are using a 7 day agenda.  Consider using a day agenda

   (setq org-agenda-ndays 1)

2. Looks like you are including all TODO entries into your agenda.
   Consider not doing this.  Have you set org-agenda-include-all-todo ?

3. You seem to get 678 matches.  Assuming that it's a week agenda, this
   still makes 100 matches a day.  Have you that many items scheduled?

4. Consider archiving stuff that is no longer active.

5. Did you compile the Lisp files?






Daniel



org-agenda 
1   8.954259  8.954259
org-agenda-list
1   8.222621  8.222621
org-agenda-get-day-entries 
27  6.067647  0.224727
org-agenda-get-scheduled   
24  1.895439  0.0789766250
org-agenda-get-deadlines   
24  1.848125  0.0770052083
org-finalize-agenda
1   1.682567  1.682567
org-get-tags-at
739 1.520450  0.0020574424
org-agenda-to-appt 
1   1.478704  1.478704
org-end-of-subtree 
30211.369184  0.0004532221
org-up-heading-safe
29591.308930  0.0004423555
org-agenda-get-todos   
3   1.204345  0.401448
org-format-agenda-item 
678 1.097759  0.0016191135
org-finalize-agenda-entries
8   1.002133  0.125266625
org-back-to-heading
81520.754493  9.255...e-05
org-agenda-get-restriction-and-command 
1   0.731547  0.731547
org-agenda-get-timestamps  
24  0.697096  0.029045
org-agenda-highlight-todo  
512 0.508219  0.0009926152
org-get-effort 
667 0.458700  0.0006877061
org-prepare-agenda-buffers 
2   0.448168  0.224084
org-prepare-agenda 
1   0.375422  0.375422
org-entry-get  
667 0.315292  0.0004727016
org-agenda-get-sexps   
21  0.312268  0.0148699047
org-get-property-block 
667 0.308818  0.0004629970
org-time-string-to-absolute
24550.224560  9.147...e-05
org-get-entries-from-diary 
7   0.217991  0.0311415714
org-agenda-align-tags  
1   0.196897  0.196897
org-add-props  
19280.187093  9.703...e-05
org-get-priority   
665 0.179140  0.0002693849
org-parse-time-string  
25990.166962  6.424...e-05
org-agenda-skip
57460.160889  2.800...e-05
org-closest-date   
519 0.160495  0.0003092408
org-get-todo-state 
766 0.148052  0.0001932793
org-date-to-gregorian  
10390.14695   0.0001414340
org-trim   
578 0.121958  0.000211
org-agenda-get-blocks  
24  0.105531  0.0043971666
org-outline-level  
82000.086815  1.058...e-05
org-at-date-range-p
490 0.067445  0.0001376448
org-fit-window-to-buffer   
2   0.0

Re: [Orgmode] Display parent in agenda mode

2009-08-31 Thread Carsten Dominik


On Aug 31, 2009, at 8:36 PM, Andrew M. Nuxoll wrote:

When I'm viewing an agenda (using my custom agenda command), I like  
to hit 'f' to put it in follow mode so I can see the context of the  
entry I'm viewing.  However, in many cases there are enough entries  
under a given heading that the heading has scrolled off the screen.   
Is there a way to have follow mode condense the view it shows to  
only show the parents and children but not the siblings?  Otherwise  
I have to tab over to the .org file and page up which gets old  
pretty fast.


(I did read the manual but didn't see a solution.  I'm sorry if I  
missed it.)


Hi Andrew,

no, there i nothing in Org to do this by default.

However, you can hack it like this:

(defun my-compact-follow ()
  (ignore-errors
(save-excursion
  (while (org-up-heading-safe))
  (hide-subtree)))
  (let ((org-show-siblings nil)
(org-show-hierarchy-above t))
(org-reveal))
  (save-excursion
(org-back-to-heading t)
(show-children)))

(add-hook 'org-agenda-after-show-hook 'my-compact-follow)


Hope this helps

- Carsten



Thanks,
:AMN:



___
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] make update error

2009-08-31 Thread Thomas S. Dye

Aloha all,

Apologies in advance for a question well below the prevailing software  
expertise on this list and somewhat off topic.  I looked around for an  
answer to this with no luck.


I'm trying to update the org-mode installation on my Mac, like this:

sudo make update

git pull counts, compresses, receives objects, resolves deltas,  
updates and fails with this message:


error: Entry 'Makefile' not uptodate. Cannot merge.

As far as I know Makefile is up-to-date.

Any help appreciated.  Org-mode is an indispensable part of my work  
life now.


All the best,
Tom


___
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 issues when external links are used inside tables.

2009-08-31 Thread Yuva
hi Carsten,

On Mon, Aug 31, 2009 at 6:01 PM, Carsten Dominik wrote:
> Hi Yuva,
>
> sorry that it took so long for me to look at this problem.
I think I should thank you for your reply ;-)

>
> This is a very strange one, in particular because it is different
> inside versus outside of tables.  Could be classified as a LaTeX
> problem if you ask me.
Well, I don't know much about latex. Its one of the reasons why I've switched
to org-mode.

>
> However, I have implemented a work-around now, so this problem *should*
> go away now.  Please verify and report back.
I have pulled the latest 6.30 and its working great! Thanks for the solution
once again.

>
> Thanks for your report and patience.
>
> - Carsten
>
[snip]


-- 
YUVA


___
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 update error

2009-08-31 Thread Nick Dokos
Thomas S. Dye  wrote:

> Aloha all,
> 
> Apologies in advance for a question well below the prevailing software  
> expertise on this list and somewhat off topic.  I looked around for an  
> answer to this with no luck.
> 
> I'm trying to update the org-mode installation on my Mac, like this:
> 
> sudo make update
> 
> git pull counts, compresses, receives objects, resolves deltas,  
> updates and fails with this message:
> 
> error: Entry 'Makefile' not uptodate. Cannot merge.
> 
> As far as I know Makefile is up-to-date.
> 

You probably changed it without realizing it. If you don't care about
the changes (you can check with "git diff": it will tell you what's
different between your repository and the working tree), you can
checkout the original version of the Makefile and then do the pull:

   git checkout Makefile
   git pull

This will probably do it, but if worse comes to worse, you can always
just throw away the whole repository and start from scratch:

   git clone git://repo.or.cz/org-mode.git .


You might also want to have a local branch, where you can keep any local
modifications, e.g. if the changes to the Makefile were deliberate and
you wanted to keep them, then you could save the Makefile temporarily
(mv Makefile /tmp/Makefile), do the above commands, then create the local 
branch:

   git branch local

change to it:

   git checkout local

(note that checkout has a couple of related but different meanings).
Move the modified Makefile back and commit the changes:

   mv /tmp/Makefile .
   git commit -a

When it it time to pull again, you can change back to the (pristine)
master branch and pull:

   git checkout master
   git pull

Then you can rebase your local changes on top of the new bits:

   git rebase master local

It's a good way to keep a few local modifications and carry them forward
to any new version of org (of course, if the new version and your changes
change the same area of a file, you might end up with merge conflicts that
you'll have to resolve: but most of the time, it just works).

HTH,
Nick







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