Re: [Orgmode] Re: Two questions about latex export

2009-04-28 Thread Giovanni Ridolfi

--- Lun 27/4/09, Robert Goldman rpgold...@sift.info ha scritto:
  1.  I am making a table of conditional
  probabilities.  This means the
  table headers look like this: p(e|\omega), for
  example.  The vbar in the
  header confuses orgmode.  It thinks that's a
  column-delimiter.  

\vert

  more importantly:
  
  2.  I put an eqnarray* environment in my org
  file.  

#+BEGIN_LaTeX

\begin{eqnarray}
\label{integralpha293}

\alpha=\Gamma

\end{eqnarray}

#+END_LaTeX

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


[Orgmode] Re: org-mode on sloooow computer

2009-04-28 Thread Rainer Stengele
Carsten Dominik schrieb:
 I have just pushed one more optimization which may improve things a bit
 for you, Rainer.
 
 - Carsten
 ...


Hi Carsten,

results see here:


before your last optimsation:

org-run-agenda-series 1   1.797 
1.797

after your optimisation (see below):

org-run-agenda-series 1   1.703 
1.703
org-agenda1   1.703 
1.703
org-let2  2   
1.39  0.695000
org-agenda-list   1   
1.281000  1.281000
org-agenda-get-day-entries12  1.202 
0.100166
org-agenda-get-scheduled  10  
0.796999  0.0797
org-end-of-subtree1533
0.44  0.0002870189
org-time-string-to-absolute   1635
0.236000  0.0001443425
org-prepare-agenda3   
0.218999  0.073
org-prepare-agenda-buffers1   
0.202999  0.202999
org-parse-time-string 18050.188 
0.0001041551
org-agenda-get-timestamps 10  0.14  
0.014000
org-todo-list 1   0.109 
0.109
org-agenda-get-deadlines  10  0.094 
0.0094
org-closest-date  240 0.094 
0.000391
org-back-to-heading   22060.094 
4.26...e-005
org-finalize-agenda   3   0.094 
0.031333
org-let   1   0.094 
0.094
org-outline-level 15330.094 
6.13...e-005
org-agenda-get-todos  2   0.093 
0.0465
org-date-to-gregorian 480 0.078 
0.0001625
org-agenda-fontify-priorities 1   0.078 
0.078
org-get-entries-from-diary5   0.063 
0.0126
org-agenda-skip   32200.063 
1.95...e-005
org-agenda-skip-if167 0.063 
0.0003772455
org-agenda-skip-entry-if  167 0.063 
0.0003772455
org-refresh-category-properties   2   
0.047000  0.023500
org-get-todo-state335 0.047 
0.0001402985
org-agenda-get-blocks 10  0.046 
0.0046
org-agenda-files  4   0.032 
0.008
org-get-effort72  0.031 
0.000430
org-entry-get 72  0.031 
0.000430
org-format-agenda-item74  0.031 
0.0004189189
org-at-date-range-p   219 0.031 
0.0001415525
org-get-wdays 150 0.016 
0.000106
org-entries-lessp 219 0.016 
7.30...e-005
org-agenda-get-sexps  10  0.016 
0.0016
org-agenda-align-tags 1   0.016 
0.016
org-finalize-agenda-entries   5   0.016 
0.0032
org-check-agenda-file 14  0.015 
0.0010714285
org-get-property-block72  0.015 
0.000208



So it looks like I have come from 1.797 down to 1.703.
And by the way - the times are even now varying between
org-run-agenda-series 1   1.563 
1.563
and little over 2 seconds.


Will I see much improvement when archiving a lot of subtrees inside the org 
file?


Thanks so much for this special Rainer optimisation ;)
I also dream of always carrying around a small netbook running mainly emacs 
with org-mode ...


Rainer


 On Apr 24, 2009, at 3:37 PM, Rainer Stengele wrote:
 
 Hi Carsten,

 strange enough the latest git 

[Orgmode] Problem with org-publish :include

2009-04-28 Thread Rick Moynihan

Hi all,

I am using org-mode v6.26d (from the git repo) and keep all my org files 
in a single ~/org directory.  I'm trying to setup a new org-publish 
project that publishes a single org-mode file (meeting-notes.org) and 
excludes all the others.  Here's the relevant bit of my 
org-publish-project-alist:


(setq org-publish-project-alist
  (list
   '(minutes . (:base-directory /home/rick/org/
:base-extension org
  :publishing-directory /home/rick/public_html/minutes
  :exclude \\.org$
  :include meeting-notes.org
  :with-section-numbers nil
  :table-of-contents nil
  :style link rel=stylesheet href=\mystyle.css\ 
type=\text/css\))


; ...

))

The problem is that I can't seem to get the :include property working. 
With the above settings crashing on org-publish-project with the error:


Wrong type argument: sequencep, 101

I have narrowed it down to the include parameter, but don't know what is 
wrong with my config.  I have also tried setting :include to a (list 
meeting-notes.org) with a similar error.


Is this a bug in org-mode, my config or something else.  Any help 
greatfully appreciated!!!


R.


___
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: Two questions about latex export

2009-04-28 Thread Robert Goldman
Giovanni Ridolfi wrote:
 --- Lun 27/4/09, Robert Goldman rpgold...@sift.info ha scritto:
 1.  I am making a table of conditional
 probabilities.  This means the
 table headers look like this: p(e|\omega), for
 example.  The vbar in the
 header confuses orgmode.  It thinks that's a
 column-delimiter.  
 
 \vert

Thanks!  That fixed my problem!  Strangely, \vert doesn't appear in The
Latex Companion (or at least not in its index).

 
 more importantly:

 2.  I put an eqnarray* environment in my org
 file.  
 
 #+BEGIN_LaTeX
 
 \begin{eqnarray}
 \label{integralpha293}
 
 \alpha=\Gamma
 
 \end{eqnarray}
 
 #+END_LaTeX

Two answers:

1.  eqnarray *without* the BEGIN and END blocks works.  I believe that
this is because org-mode knows eqnarray, but not eqnarray*.  I am
inclined to think that this is a buglet, and we should put support for
eqnarray* into org-mode.

2.  I don't believe that the BEGIN and END blocks approach is
equivalent.  If I understand correctly, the use of these BEGIN and END
blocks says put this in only when I am exporting to Latex.  From the
manual: ...you can add special code
that should only be present in LaTeX export with the following
constructs: [#+LaTeX and #+BEGIN_LaTeX ... #+END_LaTeX].

Adding those delimiters changes the meaning of my document.  *Without*
those delimiters, my equation goes in an HTML or ASCII export (in some
form); with those delimiters, the equation will only be exported when
exporting to LaTeX

Best,
Robert


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


Re: [Orgmode] ascii export error

2009-04-28 Thread Eraldo Helal

 So what's in your site-init file?

 Do M-x locate-library RET site-start RET

Library is file /etc/emacs/site-start.el


 to find the file and take a look at it. You can send it to me and I'll
 take a look, but if you feel like honing your skills, you can try your
 hand at it.  The basic idea is bisection: after copying the file to a
 safe place, you take half the file, throw it away and see if the problem
 persists. If it does you cut the remaining part again in half;
 otherwise, you try the othe half.

 Of course, you have to be careful about the cutting: don't cut in the
 middle of the function e.g. And half is just a manner of speaking. If
 you can throw large chunks of the file away and still get the problem,
 then whatever remains is the culprit. Even if you don't understand why
 something is broken, then you have made the life of whoever follows up
 on it much simpler.

 In your case, you probably want to check any changes to load-path.


the file /etc/emacs/site-start.el is empty... there are only comments. oO

the ascii export from org works if starting emacs with --no-site-file, and
does not if this is missing.
___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] ascii export error

2009-04-28 Thread Eraldo Helal
I discovered that there is a directory: /etc/emacs/site-start.dhttp://paste.org/6848Does this also get loaded by default and ignored with --no-site-file ? // that would make some sense again (to me)



signature.asc
Description: OpenPGP 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] ascii export error

2009-04-28 Thread Eraldo Helal
Is it save to just delte that directory: /etc/emacs/site-start.dBecause I guess the error lies somewhere in there.Or is this directory important for something?On Tue, Apr 28, 2009 at 22:46, Eraldo Helal off...@eraldo.at wrote:I discovered that there is a directory: /etc/emacs/site-start.dhttp://paste.org/6848Does this also get loaded by default and ignored with --no-site-file ? // that would make some sense again (to me)




signature.asc
Description: OpenPGP 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


[Orgmode] Fast tag selection: defining multiple-key shortcutst

2009-04-28 Thread Varnit Suri
Hi all,

I am just wondering if there 's a way to define two characters (rather
than one) for the fast tag selection.

Here's what I did:

(setq org-tag-alist '((HOME . ?h)
  (FAMILY . fa)
  (MONEY . mo)
  (BILLS . bi)))

So HOME can be inserted using an 'h', but FAMILY using 'fa'. I 'm trying
to do this coz I have way too many tags that start with the same letter,
so multiple characters are more intuitive.

Any ideas?


Thanks,

Varnit
 



___
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: Fast tag selection: defining multiple-key shortcutst

2009-04-28 Thread Leo
On 2009-04-29 01:37 +0100, Varnit Suri wrote:
 Hi all,

 I am just wondering if there 's a way to define two characters (rather
 than one) for the fast tag selection.

 Here's what I did:

 (setq org-tag-alist '((HOME . ?h)
 (FAMILY . fa)
 (MONEY . mo)
 (BILLS . bi)))

 So HOME can be inserted using an 'h', but FAMILY using 'fa'. I 'm trying
 to do this coz I have way too many tags that start with the same letter,
 so multiple characters are more intuitive.

 Any ideas?

The current implementation of tag selection works well with a small
number of tags. I have 6 tags myself.

How many tags do you use? Remember you don't need to use the characters
in the tag string. For example you can assign 0-9 for the most used
ones.

Another solution is to reimplement this using ido i.e. it requires users
to type the whole string but uses ido to narrow down the selection
quickly.

 Thanks,

 Varnit

-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.



___
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 view tasks with certain Property tag in Agenda view

2009-04-28 Thread Varnit Suri
Thanks! This worked!

Varnit
 

-Original Message-
From: Matthew Lundin [mailto:matthew.lun...@valpo.edu] 
Sent: Monday, April 27, 2009 10:25 PM
To: Varnit Suri
Cc: Manish; emacs-orgmode@gnu.org
Subject: Re: [Orgmode] How to view tasks with certain Property tag in
Agenda view

Hi Varnit,

Varnit Suri vs...@brocade.com writes:

 So here's my code:

 (setq org-agenda-custom-commands
   '((h Agenda and Home-related tasks
((agenda  ((org-agenda-skip-function
 '(org-agenda-skip-entry-if 'regexp :HOME:

 The only problem I 'm left to solve is, that this skips entries with
the
 tag HOME, rather than including them. I 'm only trying a way to do the
 inverse match (ie skip entries that don't match HOME), but I havent
been
 able to nail the syntax.

--8---cut here---start-8---
(setq org-agenda-custom-commands
  '((h Agenda and Home-related tasks
 ((agenda  ((org-agenda-skip-function
 '(org-agenda-skip-entry-if 'notregexp :HOME:
--8---cut here---end---8---

I think this should do it.

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