[Orgmode] Re: with-parsed-tramp-file-name

2010-09-29 Thread Noorul Islam K M
"Austin F. Frank"  writes:

> Hello!
>
> Recently I discovered that I can no longer evaluate R source code blocks
> on a file opened using TRAMP.  I've recreated the bug using a minimal
> config.  The process to reproduce this bug is described below.
>
>
> Using Org-mode version 7.01trans (release_7.01h.746.g72c5) with the
> following minimal configuration:
>
> ;; specific to my setup
> (add-to-list 'load-path (expand-file-name "~/src.remote/org-mode/lisp/"))
> (add-to-list 'load-path (expand-file-name 
> "/usr/local/share/emacs/site-lisp/"))
>
> ;; general instructions
> (require 'tramp)
> (require 'tramp-sh)   ; have to do this to set tramp-remote-path?
> (require 'ess-site)
> (require 'org-install)
>
> (setq debug-on-error t)
>
> ;; active Babel languages
> (org-babel-do-load-languages
>  'org-babel-load-languages
>  '((R . t)))
>
> ;; required for R to work correctly on my remote server
> (add-to-list 'tramp-remote-path 'tramp-own-remote-path)
>
> I evaluate the following code block from a file accessed using TRAMP:
>
> #+source:  R-options
> #+BEGIN_SRC R :cache no :results silent :exports none
> options(digits = 4)
> theme_set(theme_bw(18))
> theme_thesis <- theme_update(panel.margin = unit(1.5, "lines"))
> theme_set(theme_thesis)
> lattice.options(default.args = list(as.table = TRUE))
> dev.new()
> #+END_SRC
>
> And get the following backtrace:
>
> #v+
> Debugger entered--Lisp error: (invalid-function with-parsed-tramp-file-name)
>   with-parsed-tramp-file-name("/scpc:bcs:/tmp/R-22126Grk" nil nil)
>   org-babel-local-file-name("/scpc:bcs:/tmp/R-22126Grk")
>   org-babel-process-file-name("/scpc:bcs:/tmp/R-22126Grk" noquote)
>   org-babel-R-evaluate-session("*R*" "options(digits = 
> 4)\ntheme_set(theme_bw(18))\ntheme_thesis <- theme_update(panel.margin = 
> unit(1.5, \"lines\"))\ntheme_set(theme_thesis)\nlattice.options(default.args 
> = list(as.table = TRUE))\ndev.new()" value nil nil)
>   org-babel-R-evaluate("*R*" "options(digits = 
> 4)\ntheme_set(theme_bw(18))\ntheme_thesis <- theme_update(panel.margin = 
> unit(1.5, \"lines\"))\ntheme_set(theme_thesis)\nlattice.options(default.args 
> = list(as.table = TRUE))\ndev.new()" value nil nil)
>   org-babel-execute:R("options(digits = 
> 4)\ntheme_set(theme_bw(18))\ntheme_thesis <- theme_update(panel.margin = 
> unit(1.5, \"lines\"))\ntheme_set(theme_thesis)\nlattice.options(default.args 
> = list(as.table = TRUE))\ndev.new()\n" ((:cache . "no") (:comments . "") 
> (:exports . "none") (:height . "600") (:hlines . "no") (:noweb . "no") 
> (:results . "silent") (:session) (:shebang . "") (:tangle . "no") (:width . 
> "1000")))
>   org-babel-execute-src-block(nil ("R" "options(digits = 
> 4)\ntheme_set(theme_bw(18))\ntheme_thesis <- theme_update(panel.margin = 
> unit(1.5, \"lines\"))\ntheme_set(theme_thesis)\nlattice.options(default.args 
> = list(as.table = TRUE))\ndev.new()\n" ((:cache . "no") (:comments . "") 
> (:exports . "none") (:height . "600") (:hlines . "no") (:noweb . "no") 
> (:results . "silent") (:session) (:shebang . "") (:tangle . "no") (:width . 
> "1000")) "" "R-options" nil 0))
>   org-babel-execute-src-block-maybe()
>   org-babel-execute-maybe()
>   org-babel-execute-safely-maybe()
>   run-hook-with-args-until-success(org-babel-execute-safely-maybe)
>   org-ctrl-c-ctrl-c(nil)
>   call-interactively(org-ctrl-c-ctrl-c nil nil)
> #v-
>
> But I can see that `with-parsed-tramp-file-name' is a defined function
> by using C-h f, which reports:
>
> #v+
> with-parsed-tramp-file-name is a Lisp macro in `tramp.el'.
>
> (with-parsed-tramp-file-name FILENAME VAR &rest BODY)
> #v-
>
> Can anyone help me understand why I can't evaluate R source blocks on a
> remote machine?  Is there further debugging information I can provide?
>
> Thanks,
> /au

I tried to replicate this and I get the same error. If I manually load
ob.el by M-x load-file with Location as /path/to/ob.el then C-c C-c
works. But (require 'ob) is not working. Am I missing something?

Thanks and Regards
Noorul

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


Re: [Orgmode] [Buglet] org-table-current-column needs to be made (interactive)

2010-09-29 Thread Carsten Dominik


On Sep 30, 2010, at 8:07 AM, Nick Dokos wrote:

org-table-current-column is called interactively from the Tbl menu  
but is

not declared (interactive), so when the menu item is activated I get:

Debugger entered--Lisp error: (wrong-type-argument commandp org- 
table-current-column)

 call-interactively(org-table-current-column nil nil)

Alternatively, the menu entry can be deleted (but since that's how I  
found the

function, I'd like to keep the menu entry !-)


OK, it is now an interactive function that reports back with a message.

- Carsten

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


[Orgmode] [Buglet] org-table-current-column needs to be made (interactive)

2010-09-29 Thread Nick Dokos
org-table-current-column is called interactively from the Tbl menu but is
not declared (interactive), so when the menu item is activated I get:

Debugger entered--Lisp error: (wrong-type-argument commandp 
org-table-current-column)
  call-interactively(org-table-current-column nil nil)

Alternatively, the menu entry can be deleted (but since that's how I found the
function, I'd like to keep the menu entry !-)

Org version: Org-mode version 7.01trans (release_7.01h.595.g9f96)

Thanks,
Nick

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


Re: [Orgmode] Fold "preamble/options" under first header

2010-09-29 Thread Juan
>From documentation on exporting:

  The exporter recognizes special lines in the buffer which provide
  additional information.  These lines may be put anywhere in the file.

There are even some examples where all this stuff goes into the last
level 1 heading, which is marked as COMMENT.

Or you can send the whole preamble to an external file and just add a
reference with #+SETUPFILE

http://orgmode.org/manual/Export-options.html#Export-options

Regards,
.j.

On Wed, Sep 29, 2010 at 05:19:14PM -0500, John Hendy wrote:
>Is it possible to "fold" the preamble (#+latex_header, #+options, etc.)
>under a first header? Mine get rather long, especially for Beamer
>documents.
>
>I just attempted it and it appears to work, but I wanted to know if
>anyone else has tried this and succeeded or if there are any things to
>watch out for.

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


[Orgmode] Re: Filter scheduled items

2010-09-29 Thread Marcelo de Moraes Serpa
Hmm, org actually does this already.

The problem is that I was filtering by TODO items, and the scheduled
item was the parent of two TODO items (A non-TODO item tagged as
PROJECT).

So now I guess the question is:
Can I make sub-items inherit the schedule information?

Thanks!

Marcelo.

On Wed, Sep 29, 2010 at 7:16 PM, Marcelo de Moraes Serpa
 wrote:
> Hello list,
>
> Is therre a way to create an agenda view which will display only items
> that have no been scheduled to a date in the future?
>
> Thanks,
>
> Marcelo.
>

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


[Orgmode] Re: How do I convert org to OpenOffice?

2010-09-29 Thread Rustom Mody
Surely there must be some path like: org -> docbook -> (any-of)rtf,doc,odf
etc??

Here are some links but they all seem old and half done

http://wiki.services.openoffice.org/wiki/Xml
http://xml.openoffice.org/xmerge/docbook/
http://ebellot.chez.com/ooo2sdbk/ (in french)
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] [PATCH] Always run org-insert-heading-hook when creating headlines

2010-09-29 Thread Bernt Hansen
* lisp/org.el (org-insert-heading): Run org-insert-heading-hook when creating
the first heading in a file

The org-insert-heading-hook was skipped when creating the first
heading in a new org file.
---
Carsten,

You're correct -- I completely missed the list details on this one.  Here's an 
updated
patch.

Thanks for spotting this.

Regards,
Bernt



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

diff --git a/lisp/org.el b/lisp/org.el
index 75ee798..32c6c4a 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6673,7 +6673,9 @@ This is important for non-interactive uses of the 
command."
  (and (not (save-excursion (and (ignore-errors (org-back-to-heading 
invisible-ok))
 (org-on-heading-p
   (not (org-in-item-p
-  (insert "\n* ")
+  (progn
+   (insert "\n* ")
+   (run-hooks 'org-insert-heading-hook))
 (when (or force-heading (not (org-insert-item)))
   (let* ((empty-line-p nil)
 (head (save-excursion
-- 
1.7.3


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


[Orgmode] Filter scheduled items

2010-09-29 Thread Marcelo de Moraes Serpa
Hello list,

Is therre a way to create an agenda view which will display only items
that have no been scheduled to a date in the future?

Thanks,

Marcelo.

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


Re: [Orgmode] Toolbar buttons for common actions (helping emacs newbees)

2010-09-29 Thread Sebastian Rose
Richard Moreland  writes:
> Hi Olivier,
>
> The icons I have been using in MobileOrg are from Glyphish[1].   I
> don't know how they would look in a toolbar, but they are nice and
> simple.  I also checked out icons from the Tango Project[2].
>
> Hope this helps,
> Richard
>
> [1] http://glyphish.com/
> [2] http://tango.freedesktop.org/Tango_Icon_Library



Shouldn't we use tool-bar icons the way Emacs does?
Emacs uses the icons of my current Desktop theme (Gnus does not
though).


   Sebastian

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


Re: Nick Dokos: Re: [Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Alan L Tyree
On Wed, 29 Sep 2010 19:00:54 -0400
Nick Dokos  wrote:

> Forgot to cc: the list.

My fault for sending from the wrong email address :-(.

> 
> --- Forwarded Message
> 
> Date:Wed, 29 Sep 2010 18:43:57 -0400
> From:Nick Dokos 
> To:  Typhoon 
> cc:  nicholas.do...@hp.com
> Subject: Re: [Orgmode] How do I convert org to OpenOffice? 
> 
> Typhoon  wrote:
> 
> > tex4ht contains a script, oolatex, that directly converts the tex
> > file to OO. At least on my Debian system, it is not in the
> > execution path by default.
> 
> That's what I tried (and failed to make work). If you have tex4ht
> installed, you invoke it like this:
> 
> mk4ht oolatex foo.tex
> 
> Nick

I just made a symbolic link to the script (which lives
in /usr/share/tex4ht/oolatex).

I regularly use oolatex to convert a 600+ page book from LaTeX to OO.
The manuscript is fairly complicated since it has multiple indexes and
cross references, all referencing paragraph numbers rather than pages.
There are a number of macros to make this work.

The conversion is excellent except the indentation in the indexes
doesn't get preserved.



> 
> 
> --- End of Forwarded Message
> 
> 
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
> 


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206


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


[Orgmode] [babel] with-parsed-tramp-file-name

2010-09-29 Thread Austin F. Frank
Hello!

Recently I discovered that I can no longer evaluate R source code blocks
on a file opened using TRAMP.  I've recreated the bug using a minimal
config.  The process to reproduce this bug is described below.


Using Org-mode version 7.01trans (release_7.01h.746.g72c5) with the
following minimal configuration:

--8<---cut here---start->8---
;; specific to my setup
(add-to-list 'load-path (expand-file-name "~/src.remote/org-mode/lisp/"))
(add-to-list 'load-path (expand-file-name "/usr/local/share/emacs/site-lisp/"))

;; general instructions
(require 'tramp)
(require 'tramp-sh) ; have to do this to set tramp-remote-path?
(require 'ess-site)
(require 'org-install)

(setq debug-on-error t)

;; active Babel languages
(org-babel-do-load-languages
 'org-babel-load-languages
 '((R . t)))

;; required for R to work correctly on my remote server
(add-to-list 'tramp-remote-path 'tramp-own-remote-path)
--8<---cut here---end--->8---

I evaluate the following code block from a file accessed using TRAMP:

--8<---cut here---start->8---
#+source:  R-options
#+BEGIN_SRC R :cache no :results silent :exports none
options(digits = 4)
theme_set(theme_bw(18))
theme_thesis <- theme_update(panel.margin = unit(1.5, "lines"))
theme_set(theme_thesis)
lattice.options(default.args = list(as.table = TRUE))
dev.new()
#+END_SRC
--8<---cut here---end--->8---

And get the following backtrace:

#v+
Debugger entered--Lisp error: (invalid-function with-parsed-tramp-file-name)
  with-parsed-tramp-file-name("/scpc:bcs:/tmp/R-22126Grk" nil nil)
  org-babel-local-file-name("/scpc:bcs:/tmp/R-22126Grk")
  org-babel-process-file-name("/scpc:bcs:/tmp/R-22126Grk" noquote)
  org-babel-R-evaluate-session("*R*" "options(digits = 
4)\ntheme_set(theme_bw(18))\ntheme_thesis <- theme_update(panel.margin = 
unit(1.5, \"lines\"))\ntheme_set(theme_thesis)\nlattice.options(default.args = 
list(as.table = TRUE))\ndev.new()" value nil nil)
  org-babel-R-evaluate("*R*" "options(digits = 
4)\ntheme_set(theme_bw(18))\ntheme_thesis <- theme_update(panel.margin = 
unit(1.5, \"lines\"))\ntheme_set(theme_thesis)\nlattice.options(default.args = 
list(as.table = TRUE))\ndev.new()" value nil nil)
  org-babel-execute:R("options(digits = 
4)\ntheme_set(theme_bw(18))\ntheme_thesis <- theme_update(panel.margin = 
unit(1.5, \"lines\"))\ntheme_set(theme_thesis)\nlattice.options(default.args = 
list(as.table = TRUE))\ndev.new()\n" ((:cache . "no") (:comments . "") 
(:exports . "none") (:height . "600") (:hlines . "no") (:noweb . "no") 
(:results . "silent") (:session) (:shebang . "") (:tangle . "no") (:width . 
"1000")))
  org-babel-execute-src-block(nil ("R" "options(digits = 
4)\ntheme_set(theme_bw(18))\ntheme_thesis <- theme_update(panel.margin = 
unit(1.5, \"lines\"))\ntheme_set(theme_thesis)\nlattice.options(default.args = 
list(as.table = TRUE))\ndev.new()\n" ((:cache . "no") (:comments . "") 
(:exports . "none") (:height . "600") (:hlines . "no") (:noweb . "no") 
(:results . "silent") (:session) (:shebang . "") (:tangle . "no") (:width . 
"1000")) "" "R-options" nil 0))
  org-babel-execute-src-block-maybe()
  org-babel-execute-maybe()
  org-babel-execute-safely-maybe()
  run-hook-with-args-until-success(org-babel-execute-safely-maybe)
  org-ctrl-c-ctrl-c(nil)
  call-interactively(org-ctrl-c-ctrl-c nil nil)
#v-

But I can see that `with-parsed-tramp-file-name' is a defined function
by using C-h f, which reports:

#v+
with-parsed-tramp-file-name is a Lisp macro in `tramp.el'.

(with-parsed-tramp-file-name FILENAME VAR &rest BODY)
#v-

Can anyone help me understand why I can't evaluate R source blocks on a
remote machine?  Is there further debugging information I can provide?

Thanks,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc


pgp5w6Y9DTNg3.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Nick Dokos: Re: [Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Nick Dokos
Forgot to cc: the list.

--- Forwarded Message

Date:Wed, 29 Sep 2010 18:43:57 -0400
From:Nick Dokos 
To:  Typhoon 
cc:  nicholas.do...@hp.com
Subject: Re: [Orgmode] How do I convert org to OpenOffice? 

Typhoon  wrote:

> tex4ht contains a script, oolatex, that directly converts the tex file
> to OO. At least on my Debian system, it is not in the execution path by
> default.

That's what I tried (and failed to make work). If you have tex4ht installed,
you invoke it like this:

mk4ht oolatex foo.tex

Nick


--- End of Forwarded Message


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


Re: [Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Alan L Tyree
On Wed, 29 Sep 2010 17:33:32 -0400
Matt Price  wrote:

> > In any case, without much supporting evidence[1], I'd say that if
> > you are trying to get to OpenOffice this way, the road is probably
> > paved with thorns.
> >
> > Nick
> >
> > [1] I just tried a simple org->latex->oo transformation on Ubuntu
> > 8.10, with the default tex4ht distribution for this platform that
> > synaptic gave me: I tried for a few minutes without success. But I
> > am a complete ignoramus as far as OO goes, so it may very well have
> > been my error.\
> >
> 
> On Wed, Sep 29, 2010 at 4:59 PM, Nick Dokos 
> wrote:
> 
> > Charles Philip Chan  wrote:
> >
> >
> > > Nick Dokos  writes:
> > >
> > > > It is not just one file and afaik, *none* of it is written in
> > > > Perl. Some of it is C, some of it is TeX, some of it is Java
> > > > (apparently: I haven't looked at tex4ht for some years and I
> > > > don't remember any Java in there before, but there is some
> > > > now), a large amount is just text config files.
> > >
> > > I didn't take a look at the code, but mk4ht is written in perl:
> > >
> > > ,
> > > | ls -la /usr/share/texmf/bin/noarch/mk4ht
> > > | lrwxrwxrwx 1 root root 47 2010-09-07 02:10
> > /usr/share/texmf/bin/noarch/mk=
> > > 4ht -> ../../../../share/texmf/scripts/tex4ht/mk4ht.pl
> > > `
> > >
> >
> > Oh, OK, I stand corrected: there is *one* Perl file in there. The
> > rest is as I described it, except that there's also a ton of shell
> > scripts. This in particular is perhaps a little worrisome for Win32,
> > unless one is running cygwin. Not sure whether Vitton's notes
> > address this.
> >
> > In any case, without much supporting evidence[1], I'd say that if
> > you are trying to get to OpenOffice this way, the road is probably
> > paved with thorns.
> >
> > Nick
> >


There was a thread on this a while back. One of the suggestions
was to export to XHTML. Edit the XHTML file by chopping off the initial
declaration, then import into OO. I have found that Abiword will import
directly the XHTML file w/o editing.

I have found that this works well with simple documents. Don't know
about complex things.

tex4ht contains a script, oolatex, that directly converts the tex file
to OO. At least on my Debian system, it is not in the execution path by
default.

HTH,
Alan


-- 
Alan L Tyreehttp://www2.austlii.edu.au/~alan
Tel:  04 2748 6206


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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-29 Thread Sebastian Rose
Carsten Dominik  writes:
> Hi Sebastian,
>
> is this still an open issue?  If you, can you please summarize
> again and show the code you are using for your link definition?
> I am not sure if I have up to date information.
>
> - Carsten


Hi Carsten,


it's still an issue when exporting to ASCII.  The reason is, that my
"track" links have long paths (all the coordinates of the track plus
the desired filename, see the comments in the code for an example link).
That causes the "footnote" for a track to span pages (worsed case).

See the example ASCII export on the bottom of this mail.

Anyway, I'll rarely export the files to ASCII, so it's not urgent at
all.



The code is here:

   http://github.com/SebastianRose/org-osm/blob/master/org-osm-link.el


The function to export those links is:



binerAyB6wbzv.bin
Description: application/emacs-lisp





> On Sep 6, 2010, at 3:13 PM, Sebastian Rose wrote:
>> Org file:

>> * Test links
>>
>>  [[track:((9.707032442092896 52.37033874553582))test.svg][test-track]]
>>
>>


>> ASCII-export:

>> 1 Test links
>> ~
>>
>>  [test-track]
>>
>>
>>  [test-track]: track:((9.707032442092896 52.37033874553582))test.svg


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


[Orgmode] Re: Having (too) many files in org-agenda-files

2010-09-29 Thread Sébastien Vauban
Hi Carsten,

Carsten Dominik wrote:
> On Sep 29, 2010, at 10:32 AM, Sébastien Vauban wrote:
>> Carsten Dominik wrote:
>>> On Sep 28, 2010, at 8:45 PM, Sébastien Vauban wrote:
 Of course, I have many, many files in Org mode. All files I write (or
 touch) in fact.

 Of course, I would like to search through my files at some point in time.
 The problem is the load-time of my Emacs, now 221 seconds, coming from 20
 seconds before the heavy use of Org...
>>>
>>> 4 minutes of startup time is entirely unacceptable. And I think you need
>>> to identify what is causing this.
>>>
>>> fontification at display time is standard, I believe.
>>
>> It seems not, from what I see in the Messages buffer. I really don't have
>> the impression of having fiddled with that, really.

>>> You must be doing something strange [...] maybe forcing global
>>> fontification for each file or so.
>>
>> To repeat myself, no to that question. But ispell and flyspell are called
>> for Org files. Maybe there are interactions?
>>
>> [Using org-agenda-text-search-extra-files] reduces my load time from 221
>> seconds down to 92 seconds. Already a huge diff!
>
> Still bad though. I am wondering what is causing the fontification message.
> I do not get this, so it must be something in your setup. You should try to
> find out when this is happening and why.

You've seen, from my reply to Matt, why my *Messages* buffer is more verbose
than yours. It's on purpose, just to be able to figure out more easily what's
going on. Though, I don't have yet...


> Also, you might consider to remove (org-agenda-list) from .emacs. I think it
> is pretty much always a bad idea to put a command like this into your
> startup. Just make it a habit to call it early after starting Emacs.

Honestly, that would not change that much. Having to wait 92 seconds at
startup, or a long time just a few minutes later has the same impact for me.
And: don't try to make me stop using Org ;-))


> It also seems to me you some of the extra packages might be activated
> several times in each file. One possible reason could be that you have put
> the code to turn them on into several hooks like text-mode-hook,
> outline-mode-hook, and org-mode-hook. Turning on org-mode will first run
> text-mode-hook, then outline-mode-hook, then org-mode-hook . Maybe you
> are also calling font-lock-fontify-buffer explicitly in one of your hooks?

The only fontification customs that I do are here:

--8<---cut here---start->8---
;; special words
(setq keywords-critical-pattern
  
"\\(BUGS\\|FIXME\\|TODO\\|todo\\|XXX\\|[Ee][Rr][Rr][Oo][Rr]\\|[Mm][Ii][Ss][Ss][Ii][Nn][Gg]\\|[Ii][Nn][Vv][Aa][Ll][Ii][Dd]\\|[Ff][Aa][Ii][Ll][Ee][Dd]\\|[Cc][Oo][Rr][Rr][Uu][Pp][Tt][Ee][Dd]\\)")
(make-face 'keywords-critical)
(GNUEmacs (set-face-attribute 'keywords-critical nil :foreground "red" 
:background "yellow" :weight 'bold))

(setq keywords-org-critical-pattern
  "\\(BUGS\\|FIXME\\|XXX\\|[^*] 
TODO\\|[Ee][Rr][Rr][Oo][Rr]\\|[Mm][Ii][Ss][Ss][Ii][Nn][Gg]\\|[Ii][Nn][Vv][Aa][Ll][Ii][Dd]\\|[Ff][Aa][Ii][Ll][Ee][Dd]\\|[Cc][Oo][Rr][Rr][Uu][Pp][Tt][Ee][Dd]\\)")
  ; smaller subset of keywords for ensuring no 
conflict with Org mode TODO keywords

;; FIXME Highlighting all special keywords but "TODO" in Org mode is already a
;; good step. Though, a nicer integration would be that "TODO" strings in the
;; headings are not touched by this code, and that only "TODO" strings in the
;; text body would be. Don't know (yet) how to do that...
(make-face 'keywords-org-critical)
(GNUEmacs (set-face-attribute 'keywords-org-critical nil :foreground "red" 
:background "yellow" :weight 'bold))

(setq keywords-normal-pattern "\\([Ww][Aa][Rr][Nn][Ii][Nn][Gg]\\)")
(make-face 'keywords-normal)
(GNUEmacs (set-face-attribute 'keywords-normal nil :foreground "magenta2" 
:background "yellow"))

;; set up highlighting of special words for proper selected major modes only
(dolist (mode '(fundamental-mode
svn-log-view-mode
text-mode))  ; no interference with Org mode (which derives 
from text-mode)
  (font-lock-add-keywords mode
  `((,keywords-critical-pattern 1 'keywords-critical 
prepend)
(,keywords-normal-pattern 1 'keywords-normal 
prepend

;; set up highlighting of special words for Org mode only
(dolist (mode '(org-mode))
  (font-lock-add-keywords mode
  `((,keywords-org-critical-pattern 1 
'keywords-org-critical prepend)
(,keywords-normal-pattern 1 'keywords-normal 
prepend

;; add fontification patterns (even in comments) to a selected major mode
;; *and* all major modes derived from it
(defun fontify-keywords ()
  (interactive)
  (font-lock-add-keywords nil
  `((,keywords-critical-pattern 1 'keywords-critical 
prepend)
(,keywords-normal-pattern 1 'keywor

[Orgmode] Fold "preamble/options" under first header

2010-09-29 Thread John Hendy
Hi,


Is it possible to "fold" the preamble (#+latex_header, #+options, etc.)
under a first header? Mine get rather long, especially for Beamer documents.

I just attempted it and it appears to work, but I wanted to know if anyone
else has tried this and succeeded or if there are any things to watch out
for.

Currently I have:

---
* Preamble:noexport:
#+latex_class: beamer
#+author: John Hendy
#+date: \today
#+startup: beamer
#+options: toc:nil latex:t tex:t
#+latex_class_options: [presentation]
#+beamer_frame_level: 2
#+beamer_header_extra: \usetheme{default}

#+latex_header: \usepackage[usenames,dvipsnames]{xcolor}
#+latex_header: \usepackage{tikz,ifthen}
#+latex_header: \usetikzlibrary{decorations,arrows,automata,positioning}

#+latex_header: \usepackage{setspace}
#+latex_header: \setstretch{1.3}

#+latex_header: \usepackage{MinionPro}
#+latex_header: \renewcommand{\sfdefault{Myriad-LF}}

\AtBeginSection[]{
\begin{frame}
\frametitle{Outline}
\tableofcontents[currentsection]
\end{frame}}

#+title: Title

* First actual heading...
--

The output looks fine... are there any foreseeable issues with this?


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


Re: [Orgmode] Toolbar buttons for common actions (helping emacs newbees)

2010-09-29 Thread Richard Moreland
Hi Olivier,

The icons I have been using in MobileOrg are from Glyphish[1].   I
don't know how they would look in a toolbar, but they are nice and
simple.  I also checked out icons from the Tango Project[2].

Hope this helps,
Richard

[1] http://glyphish.com/
[2] http://tango.freedesktop.org/Tango_Icon_Library

On Wed, Sep 29, 2010 at 11:54 AM, Carsten Dominik
 wrote:
>
> On Sep 26, 2010, at 9:01 AM, Olivier Berger wrote:
>
>> Hi.
>>
>> Maybe it's just me, but I think there's no configuration in org-mode to
>> use the emacs (23) toolbar icons/buttons, for basic actions in org.
>>
>> I think it may be helpful for emacs noobies mainly, to have such icons
>> available when in org mode.
>>
>> I'd think of a capture icon, an agenda icon, and maybe moving arrows to
>> rework the outline, for instance...
>>
>> I'm not sure how hard this would be to add... and there's probably
>> someone smart that already tried it... however couldn't find any past
>> reference.
>
> I think this might be a good idea.  I have my toolbar turned off,
> but I would not object against a few toolbar entries for Org.  Please
> make a patch!
>
> Richard Moreland did some research into open source icons we might
> be able to use.
>
> - Carsten
>
>

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


Re: [Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Matt Price
> In any case, without much supporting evidence[1], I'd say that if you
> are trying to get to OpenOffice this way, the road is probably paved
> with thorns.
>
> Nick
>
> [1] I just tried a simple org->latex->oo transformation on Ubuntu 8.10,
> with the default tex4ht distribution for this platform that synaptic
> gave me: I tried for a few minutes without success. But I am a complete
> ignoramus as far as OO goes, so it may very well have been my error.\
>

On Wed, Sep 29, 2010 at 4:59 PM, Nick Dokos  wrote:

> Charles Philip Chan  wrote:
>
>
> > Nick Dokos  writes:
> >
> > > It is not just one file and afaik, *none* of it is written in
> > > Perl. Some of it is C, some of it is TeX, some of it is Java
> > > (apparently: I haven't looked at tex4ht for some years and I don't
> > > remember any Java in there before, but there is some now), a large
> > > amount is just text config files.
> >
> > I didn't take a look at the code, but mk4ht is written in perl:
> >
> > ,
> > | ls -la /usr/share/texmf/bin/noarch/mk4ht
> > | lrwxrwxrwx 1 root root 47 2010-09-07 02:10
> /usr/share/texmf/bin/noarch/mk=
> > 4ht -> ../../../../share/texmf/scripts/tex4ht/mk4ht.pl
> > `
> >
>
> Oh, OK, I stand corrected: there is *one* Perl file in there. The rest
> is as I described it, except that there's also a ton of shell
> scripts. This in particular is perhaps a little worrisome for Win32,
> unless one is running cygwin. Not sure whether Vitton's notes address
> this.
>
> In any case, without much supporting evidence[1], I'd say that if you
> are trying to get to OpenOffice this way, the road is probably paved
> with thorns.
>
> Nick
>
> [1] I just tried a simple org->latex->oo transformation on Ubuntu 8.10,
> with the default tex4ht distribution for this platform that synaptic
> gave me: I tried for a few minutes without success. But I am a complete
> ignoramus as far as OO goes, so it may very well have been my error.
>
I've had mixed results depending on the complexity of the original org
document.  one of us should really write a proper direct exporter, but I am
such a slow (and rotten) coder, and so behind on so many projects, that it
is not going to be me.   There is a rudimentary muse-mode exporter that
might serve as a partial inspiration:
http://osdir.com/ml/emacs.muse.general/2008-02/msg9.html
also the new rewritten export engine (what is that called again) looks a
little easier to work with than what's in current org...

if someone does do this please let us all know, I think there are plenty of
people who would really like to use it.
Matt


>
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Having (too) many files in org-agenda-files

2010-09-29 Thread Sébastien Vauban
Hi Matt,

Matt Lundin wrote:
> Sébastien Vauban writes:

First thing: no prob' for my name. The reply is important, my name much
less... isn't it, Matt (or Mattew? ;-))


>> Of course, I have many, many files in Org mode. All files I write (or
>> touch) in fact.
>>
>> Of course, I would like to search through my files at some point in time. I
>> even would like to search through your files at some point in time, I mean
>> through =org-mode/contrib/babel= and =Worg= for example.
>
> The drawback of org-mode's plain text format is that org-mode needs to load,
> parse, and fontify, and preserve in memory all files it queries (i.e.,
> agenda files). Too many agenda files can thus cause a pretty big performance
> hit (both when loading agenda files and constructing agenda views). To avoid
> this, I would recommend including only important files in org-agenda-files.
> Possible solutions for searching other files include:
>
> 1. loading the other directories when needed (e.g., through a function that
>changes the value of org-agenda-files)

Good idea.


> 2. using the variable org-agenda-text-search-extra-files (see below)

In fact, more or less the same as the above... and already foreseen. Nice.


> 3. searching other directories with external tools (grep, perl script, etc.)

Not really interested by this. I love some much the powerful and very quick
search capabilities offered by Org.


>> The problem is the load-time of my Emacs, now:
>>
>> Emacs Init startup time: 221 seconds.
>
> Do you invoke an agenda command in your emacs, such as org-agenda-to-appt?
> That would cause org-mode to load all org files.

As seen in my reply to Carsten today, yes, I have an org-agenda-list. I know
that it is looking in every pointed file. The problem is that it really takes
much time... fontifying and so.


>> coming from 20 seconds before the heavy use of Org...
>>
>> with tens of times such lines in my *Messages* buffer:
>>
>> OVERVIEW
>> Checking for library `filladapt'...
>> +-> Requiring `filladapt' (already loaded)
>> Checking for library `filladapt'... Found
>> Fontifying Axa.org... (regexps)
>> Checking for library `filladapt'... Found
>> Fontifying Axa.org... (regexps.)
>> Checking for library `filladapt'... Found
>> Fontifying Axa.org... (regexps..)
>> Checking for library `filladapt'... Found
>> +-> Requiring `outline-mode-easy-bindings' (already loaded)
>> +-> Requiring `ispell' (already loaded)
>> Evaluate code AFTER HAVING LOADED `flyspell'... [2 times]
>> Starting new Ispell process [en_US] ...
>> Checking for library `filladapt'...
>> +-> Requiring `filladapt' (already loaded)
>> Checking for library `filladapt'... Found
>
> It seems that filladapt is causing some of the verbosity (and possible
> slowness) there. When loading agenda files, my *Messages* buffer only shows:
>
> OVERVIEW [29 times]

OK, I have to tell that, in order to debug some problems, I've changed some
basic functions in order to get more verbosity in the Messages buffer. Here
they are:

--8<---cut here---start->8---
  ;; REPLACES ORIGINAL in `C source code' (dumped)
  ;; redefine require to leave a trace of packages being loaded
  (if (not (fboundp 'orig-require))
  (fset 'orig-require (symbol-function 'require))
(message "The code to redefine `require' should not be loaded twice"))

  (defvar my-require-depth 0)

  (defun require (feature &optional filename noerror)
"Leave a trace of packages being loaded."
(cond ((member feature features)
   (message "%sRequiring `%s' (already loaded)"
(concat (make-string (* 2 my-require-depth) ? ) "+-> ")
feature))
  (t
   (message "%sRequiring `%s'"
(concat (make-string (* 2 my-require-depth) ? ) "+-> ")
feature)
   (let ((my-require-depth (+ 1 my-require-depth)))
 (orig-require feature filename noerror))
   (message "%sRequiring `%s'...done"
(concat (make-string (* 2 my-require-depth) ? ) "+-> ")
feature

  (defvar missing-packages-list nil
"List of packages that `try-require' can't find.")

  ;; attempt to load a feature/library, failing silently
  (defun try-require (feature)
"Attempt to load a library or module. Return true if the
library given as argument is successfully loaded. If not, instead
of an error, just add the package to a list of missing packages."
(condition-case err
;; protected form
(progn
  (message "Checking for library `%s'..." feature)
  (if (stringp feature)
  (load-library feature)
(require feature))
  (message 

Re: [Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Nick Dokos
Charles Philip Chan  wrote:


> Nick Dokos  writes:
> 
> > It is not just one file and afaik, *none* of it is written in
> > Perl. Some of it is C, some of it is TeX, some of it is Java
> > (apparently: I haven't looked at tex4ht for some years and I don't
> > remember any Java in there before, but there is some now), a large
> > amount is just text config files.
> 
> I didn't take a look at the code, but mk4ht is written in perl:
> 
> ,
> | ls -la /usr/share/texmf/bin/noarch/mk4ht
> | lrwxrwxrwx 1 root root 47 2010-09-07 02:10 /usr/share/texmf/bin/noarch/mk=
> 4ht -> ../../../../share/texmf/scripts/tex4ht/mk4ht.pl
> `
> 

Oh, OK, I stand corrected: there is *one* Perl file in there. The rest
is as I described it, except that there's also a ton of shell
scripts. This in particular is perhaps a little worrisome for Win32,
unless one is running cygwin. Not sure whether Vitton's notes address
this.

In any case, without much supporting evidence[1], I'd say that if you
are trying to get to OpenOffice this way, the road is probably paved
with thorns.

Nick

[1] I just tried a simple org->latex->oo transformation on Ubuntu 8.10,
with the default tex4ht distribution for this platform that synaptic
gave me: I tried for a few minutes without success. But I am a complete
ignoramus as far as OO goes, so it may very well have been my error.

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


[Orgmode] Re: ditaa set-up on windows box

2010-09-29 Thread Markus Heller
Achim Gratz  writes:

> Markus Heller  writes:
>> I removed the old Java version from %PATH%, and now java -version gives
>> the correct version (1.6.0_21).
>
> Good.
>
>> But when I try to run the same ditaa code from within org-mode using
>> babel, I get error messages:
>
> Sure, you've only changed the %PATH% in the cmd window, all other
> processes still see the old value.  You need to remove it from the
> %PATH% on system level, then it should also work from Emacs.  If you
> customize exec-path in Emacs you might be able to remove the wrong path
> there (if you try, just save it "for this session only"), but you should
> really remove the old JRE completely if only for security reasons.

Actually, I did change the system %PATH% through the control panel and
environment variables, but I did not re-start emacs.  After doing that,
everything works fine :)

Oh, and I'd *love* to remove the old JRE, but that's part of another
software installation (I'm working in a company), and unfortunately, I
can't just wipe that thing off my hard drive.

Anyway, issue solved :)

Thanks to all and Cheers!!
Markus


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


Re: [Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Charles Philip Chan
Nick Dokos  writes:

> It is not just one file and afaik, *none* of it is written in
> Perl. Some of it is C, some of it is TeX, some of it is Java
> (apparently: I haven't looked at tex4ht for some years and I don't
> remember any Java in there before, but there is some now), a large
> amount is just text config files.

I didn't take a look at the code, but mk4ht is written in perl:

,
| ls -la /usr/share/texmf/bin/noarch/mk4ht
| lrwxrwxrwx 1 root root 47 2010-09-07 02:10 /usr/share/texmf/bin/noarch/mk4ht 
-> ../../../../share/texmf/scripts/tex4ht/mk4ht.pl
`

Charles

-- 
"Are [Linux users] lemmings collectively jumping off of the cliff of
reliable, well-engineered commercial software?"
(By Matt Welsh)


pgplAXB4XOCEo.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Nick Dokos
Charles Philip Chan  wrote:


> Sorry I was looking at the wrong file- it is actually written in pearl.
> 

It is not just one file and afaik, *none* of it is written in Perl. Some
of it is C, some of it is TeX, some of it is Java (apparently: I haven't
looked at tex4ht for some years and I don't remember any Java in there
before, but there is some now), a large amount is just text config files.

Installation is (apparently) still a bear. Here are (ca. 2006)
MikTeX/Win32 instructions from Phillip Viton

 http://facweb.knowlton.ohio-state.edu/pviton/support/tex4ht.html

and the main URL is

 http://www.tug.org/tex4ht/

Nick


___
Emacs-orgmode mailing list
Please 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 and Things.app - next actions and sorting items

2010-09-29 Thread Marcelo de Moraes Serpa
Yeah, I love the simplicity of orgmode, and since I spend a lot of
time in emacs, it is just natural to catpure and review stuff there,
and very fast too. However, sometimes I do miss the simplicity of flow
a more modern and polished GUI can offer.

Thanks for the tips,

Marcelo.

2010/9/29 Jeff Horn :
> I agree with Lukasz. My first reaction was to use priorities, but use
> them only for ordering. I can't find the variable in my .emacs file at
> the moment, but I know the agenda can order tasks by priority. You
> could set all your next actions to priority [#A] and they'll float to
> the top of the agenda list on a refresh.
>
> Jeff
>
> 2010/9/29 Łukasz Stelmach :
>> Marcelo de Moraes Serpa  writes:
>> [...]
>>> I wonder if it would be possible to re-order  directly on the agenda
>>> buffer, move an item up or down?
>>>
>>> Anyway, food for thought :)
>>
>> First thought: properties. Second thought: many different agenda
>> views. Conclusion: not so easy *in general* but not impossible.
>>
>> --
>> Miłego dnia,
>> Łukasz Stelmach
>>
>>
>> ___
>> Emacs-orgmode mailing list
>> Please use `Reply All' to send replies to the list.
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>
>
>
> --
> Jeffrey Horn
> Graduate Lecturer and PhD Student in Economics
> George Mason University
>
> (704) 271-4797
> jh...@gmu.edu
> jrhorn...@gmail.com
>
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-09-29 Thread Jeff Horn
+1 to power user talks and +1 to videos.

On Wed, Sep 29, 2010 at 5:45 AM, Rainer Stengele
 wrote:
> Am 28.09.2010 19:44, schrieb Carsten Dominik:
>> Hi everyone
>>
>> Please reply to this email if you'd consider to come to FOSDEM[1,2],
>> February 5 and 6 next year in Brussels, in order to join an Org-mode
>> meet-up there.
>>
>>
>> - [ ] I would come and listen
>> - [ ] I would come and give a talk in the devroom
>>
>>
>> [1]  http://www.fosdem.org/2011/
>> [2]  http://www.fosdem.org/2011/call_for_devrooms
>>
> Hi all,
>
> I will not be able to participate.
> Will there be videos?
>
> Personally I would be more interested to watch a session where a "power org 
> user" shows how he uses org daily instead of another introduction to the 
> basics.
> Maybe others too would simply like to share the ideas that have grown over 
> time by expert org users.
>
> This could also become an emacs advertisement video ...
>
> Best,
> Rainer
>
>
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>



-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

___
Emacs-orgmode mailing list
Please 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 and Things.app - next actions and sorting items

2010-09-29 Thread Jeff Horn
I agree with Lukasz. My first reaction was to use priorities, but use
them only for ordering. I can't find the variable in my .emacs file at
the moment, but I know the agenda can order tasks by priority. You
could set all your next actions to priority [#A] and they'll float to
the top of the agenda list on a refresh.

Jeff

2010/9/29 Łukasz Stelmach :
> Marcelo de Moraes Serpa  writes:
> [...]
>> I wonder if it would be possible to re-order  directly on the agenda
>> buffer, move an item up or down?
>>
>> Anyway, food for thought :)
>
> First thought: properties. Second thought: many different agenda
> views. Conclusion: not so easy *in general* but not impossible.
>
> --
> Miłego dnia,
> Łukasz Stelmach
>
>
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>



-- 
Jeffrey Horn
Graduate Lecturer and PhD Student in Economics
George Mason University

(704) 271-4797
jh...@gmu.edu
jrhorn...@gmail.com

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


Re: [Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Charles Philip Chan
Sorry I was looking at the wrong file- it is actually written in pearl.

Charles

-- 
"...[Linux's] capacity to talk via any medium except smoke signals."
(By Dr. Greg Wettstein, Roger Maris Cancer Center)


pgpfCQvKiPRYC.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Charles Philip Chan
Lennart Borgman  writes:

> Thanks Charles, but I am using Windows. I guess that this solution is
> not cross platform, or?

It is cross platform- tex4ht is written in JAVA. More info:

http://en.wikipedia.org/wiki/TeX4ht

Charles

-- 
"Never make any mistaeks."
(Anonymous, in a mail discussion about to a kernel bug report.)


pgp4tXDHbFVIQ.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Lennart Borgman
Thanks Charles, but I am using Windows. I guess that this solution is
not cross platform, or?


On Wed, Sep 29, 2010 at 7:52 PM, Charles Philip Chan
 wrote:
> Lennart Borgman  writes:
>
>> There is a way, isn't there? ;-)
>
> Export to LaTeX and use mk4ht:
>
> http://linuxsagas.wordpress.com/2008/12/08/latex-to-openoffice/
>
> Charles
>
> --
> Running Windows on a Pentium is like having a brand new Porsche but only
> be able to drive backwards with the handbrake on.
> (Unknown source)
>

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


[Orgmode] Re: ditaa set-up on windows box

2010-09-29 Thread Achim Gratz
Markus Heller  writes:
> I removed the old Java version from %PATH%, and now java -version gives
> the correct version (1.6.0_21).

Good.

> But when I try to run the same ditaa code from within org-mode using
> babel, I get error messages:

Sure, you've only changed the %PATH% in the cmd window, all other
processes still see the old value.  You need to remove it from the
%PATH% on system level, then it should also work from Emacs.  If you
customize exec-path in Emacs you might be able to remove the wrong path
there (if you try, just save it "for this session only"), but you should
really remove the old JRE completely if only for security reasons.


Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

DIY Stuff:
http://Synth.Stromeko.net/DIY.html


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


[Orgmode] Re: org and Things.app - next actions and sorting items

2010-09-29 Thread Łukasz Stelmach
Marcelo de Moraes Serpa  writes:
[...]
> I wonder if it would be possible to re-order  directly on the agenda
> buffer, move an item up or down?
>
> Anyway, food for thought :)

First thought: properties. Second thought: many different agenda
views. Conclusion: not so easy *in general* but not impossible.

-- 
Miłego dnia,
Łukasz Stelmach


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


[Orgmode] Re: ditaa set-up on windows box

2010-09-29 Thread Markus Heller
Achim Gratz  writes:

> Markus Heller  writes:
>> The root of all evil is *NOT* org-mode, but rather the fact that my OS
>> (windoze XP) insists on finding an outdated Java version (1.4).  I have
>> installed the Java 1.6 runtime environment, and as far as I can tell, all
>> my environment variables contain only pointers to this installation, yet
>> java -version shows 1.4.2_03.
>
> That should be fixable by removing the part of the %PATH% environment
> variable that contains the 1.4.2 java executable.  Once you know where
> that is, it should suggest itself which software is responsible for this.
>
>> I just figured out that this old installation is connected to another
>> piece of software, which is annoying as hell in itself.
>
> You confirmed this or is this just a guess?  I'd run the "Software"
> panel and check if the old JRE is still listed there, if yes that's a
> way to do a clean uninstall.  If not you can still use the Java control
> panel from the new JRE and disable the old one (it should find and list
> all JRE on your computer if you let it do a search).  I don't think this
> takes care of the %PATH%, which can most likely be (un)set from the
> "System" control panel.

I removed the old Java version from %PATH%, and now java -version gives
the correct version (1.6.0_21).

I can use ditaa on the command line:

H:\org\test>java -jar ditaa.jar ditaa_test.txt

DiTAA version 0.8, Copyright (C) 2004--2009  Efstathios Sideris

Running with options:
Reading file: ditaa_test.txt
Locale: en_US
Dialog.bold
Rendering to file: ditaa_test_4.png
Done in 0sec

But when I try to run the same ditaa code from within org-mode using
babel, I get error messages:

java.lang.UnsupportedClassVersionError: 
org/stathissideris/ascii2image/core/CommandLineConverter (Unsupported 
major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main" 

Here's my source:

#+begin_src ditaa :file folder_structure.png :cmdline -r -s 0.8

+---$COMPOUND_REGISTRY/
|
|--- 1H/
|
|--- 13C/
|
+--- MS/

#+end_src

#+results:
[[file:folder_structure.png]]


And my babel set up from my .emacs:

(setq org-ditaa-jar-path "~/.emacs.d/org-mode/contrib/scripts/ditaa.jar")

(add-hook 'org-babel-after-execute-hook 'org-display-inline-images)

(org-babel-do-load-languages
 'org-babel-load-languages
 '((emacs-lisp . t)
   (ditaa . t)))

Am I still missing something here?

Thanks and Cheers
Markus


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


Re: [Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Charles Philip Chan
Lennart Borgman  writes:

> There is a way, isn't there? ;-)

Export to LaTeX and use mk4ht:

http://linuxsagas.wordpress.com/2008/12/08/latex-to-openoffice/

Charles

-- 
Running Windows on a Pentium is like having a brand new Porsche but only
be able to drive backwards with the handbrake on.
(Unknown source)


pgp4Mv8GhPwIP.pgp
Description: PGP signature
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: ditaa set-up on windows box

2010-09-29 Thread Achim Gratz
Markus Heller  writes:
> The root of all evil is *NOT* org-mode, but rather the fact that my OS
> (windoze XP) insists on finding an outdated Java version (1.4).  I have
> installed the Java 1.6 runtime environment, and as far as I can tell, all
> my environment variables contain only pointers to this installation, yet
> java -version shows 1.4.2_03.

That should be fixable by removing the part of the %PATH% environment
variable that contains the 1.4.2 java executable.  Once you know where
that is, it should suggest itself which software is responsible for this.

> I just figured out that this old installation is connected to another
> piece of software, which is annoying as hell in itself.

You confirmed this or is this just a guess?  I'd run the "Software"
panel and check if the old JRE is still listed there, if yes that's a
way to do a clean uninstall.  If not you can still use the Java control
panel from the new JRE and disable the old one (it should find and list
all JRE on your computer if you let it do a search).  I don't think this
takes care of the %PATH%, which can most likely be (un)set from the
"System" control panel.


HTH,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Factory and User Sound Singles for Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#WaldorfSounds


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


[Orgmode] Re: geolocated notes

2010-09-29 Thread Łukasz Stelmach
Łukasz Stelmach  writes:

> Carsten Dominik  writes:
>
>> On Sep 27, 2010, at 1:15 PM, Łukasz Stelmach wrote:
>>
>>> I've just created a hack to for org-mode (and org-remember) to
>>> receive and parse URLs from OpenStreetMap and Google Maps. The
>>> function extracts longitude and latitude and sets GEO property of the
>>> node to geo: URI.
> [...]
>> Nice!
[...]
> [2] I'll create org-geo branch in http://github.com/steelman/org-mode

I put the code in contrib/lisp/org-geo.el. Check it out
http://github.com/steelman/org-mode/blob/org-geo/contrib/lisp/org-geo.el

-- 
Miłego dnia,
Łukasz Stelmach


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


Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-29 Thread Nicolas Goaziou
Hello,

> Carsten Dominik writes:

> Or, alternatively, put it in with an option to turn it on (default
> off, I think). And maybe we should after all limit it to a single
> character to avoid confusion. Yes, I do realise that I asked for
> several characters - but I am learning...

What will then happen if the user is cycling bullets in a 100+ items
list and hits alphabetic bullets? Besides undoing that move, there's
nothing much that could be done then. Further cycling would become
impossible.

One idea would be to count items before cycling, and skipping
alphabetic bullets for lists above 26 items. It has to be carefully
implemented, as it could get very heavy on computations with large
lists.

Also, inserting new items in an alphabetical list should check if the
27th item has been reached and change bullets back to numbers if
needed.

I'm sure there are others subtleties that I can't think of right now.

Regards,

-- Nicolas

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


Re: [Orgmode] Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-09-29 Thread Puneeth
Hi,

Should we put this on Worg and let people edit it?

On Wed, Sep 29, 2010 at 10:28 PM, Richard Moreland  wrote:
[..]
> I'm not sure what 'target projects' could mean in their suggestion for
> the description.  Any ideas?

I found this link [1] to a proposal of the GNUstep project. It gives
an idea of what is meant by 'target projects'. Essentially, it's a
list of projects that would participate in the devroom.

[1] http://www.mail-archive.com/discuss-gnus...@gnu.org/msg11361.html

>
> Hope this helps as a start, feel free to scrap it and start over if
> someone else has a better vision.

I'd been half way through writing one, when I saw this. Seems good! :)

-- Puneeth

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


[Orgmode] Re: ditaa set-up on windows box

2010-09-29 Thread Markus Heller
Carsten Dominik  writes:

> Hi everyone,
>
> once this is resolved, I believe this would be important to be added
> to the FAQ.
> Can someone please take care of this?
>
> Thanks!
>
> - Carsten

Ah, yes, thanks for reminding me to follow up on this.

> On Sep 28, 2010, at 7:00 PM, Achim Gratz wrote:
>
>> John Hendy  writes:
>>> Can you check your CLASSPATH environment variable? Mine is (not sure
>>> if it's correct, but it works...):
>>>
>>> .;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
>>
>> Unset this variable and try again.  The default CLASSPATH is simply
>> ".",
>> but you don't need to set the environment variable then.
>>
>> http://download.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html
>>
>> BTW, you can run 'java -verbose' to get more output that may show you
>> where the problem really is (like looking for files in the wrong place
>> or something like that).

The problem has not been solved, but I have confirmed that the cause is
*NOT* related to org-mode, so there's no need for a FAQ entry :)

Thanks to all the folks who tried to help, on the list and off the list.

Cheers
Markus

PS: Here's a quick summary for those interested:

The root of all evil is *NOT* org-mode, but rather the fact that my OS
(windoze XP) insists on finding an outdated Java version (1.4).  I have
installed the Java 1.6 runtime environment, and as far as I can tell, all
my environment variables contain only pointers to this installation, yet
java -version shows 1.4.2_03.

I just figured out that this old installation is connected to another
piece of software, which is annoying as hell in itself.


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


Re: [Orgmode] Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-09-29 Thread Richard Moreland
Based off of [1], we need the following: devroom name, description,
and related URLs.  For description, they suggest including the room's
topic, goals and target projects.  Something like:

Org-mode is a [some marketing words..].

The Org-mode devroom will include a collection of talks from its
author as well as speakers representing various other components of
Org-mode.  In addition, the group will discuss the direction of
Org-mode, identify additional tools that would be useful to surround
Org-mode, as well as make a plan for widening its audience and making
it more accessible to new users.

Some of our proposed talks include:
- Org-babel
- GTD with Org-mode
- Sceintific applications
- Sharing Org-mode data with other applications (TaskJuggler, ..?)
- Org-mode on the iPhone, Android and Nokia devices
- Managing websites with Org-mode (jekyll integration, built-in publishing, etc)
- Power user demonstrations/tip sharing
- The future of Org-mode

Goals:
- Expose new and existing Org-mode users to demonstrations/application
of features they might not have otherwise discovered
- Identify new applications of Org-mode, help users get started
using/customizing Org-mode for their domain
- Collect members from the Org-mode mailing list in a single place for
the first time
- Share and refine the direction of Org-mode
- Identify how contributors can help with Org-mode
development/documentation/etc.
- Plan for making Org-mode easier to get started with

Related URLs:
- http://orgmode.org
- http://orgmode.org/worg/
- http://orgmode.org/worg/org-contrib/babel/index.php
- http://orgmode.org/worg/org-tutorials/org-screencasts/index.php
- http://mobileorg.ncogni.to/
- etc.

I'm not sure what 'target projects' could mean in their suggestion for
the description.  Any ideas?

Hope this helps as a start, feel free to scrap it and start over if
someone else has a better vision.

[1] http://fosdem.org/2011/call_for_devrooms

-Richard

On Wed, Sep 29, 2010 at 12:10 PM, Carsten Dominik
 wrote:
> I do find the number of people indicating an interest to come encouraging.
>
> Is there anyone stepping forward to take charge of getting more information
> about possible costs etc?  More importantly: who will write the proposal, or
> at least make a start?
>
> - Carsten
>
> On Sep 29, 2010, at 1:32 PM, Marcel van der Boom wrote:
>
>> On di 28-sep-2010 19:44
>> Carsten Dominik  wrote:
>>
>>> Please reply to this email if you'd consider to come to FOSDEM[1,2],
>>> February 5 and 6 next year in Brussels, in order to join an Org-mode
>>> meet-up there.
>>>
>>>
>>
>> [X] I would come and listen
>> [ ] I would come and give a talk in the devroom
>>
>> marcel
>>
>> --
>> Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
>> HS-Development BV    -- http://www.hsdev.com
>> So! web applications -- http://make-it-so.info
>> Cobra build          -- http://cobra.mrblog.nl
>
>
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] The \only<> overlay in beamer

2010-09-29 Thread John Hendy
>From beamer manual:

---
On non-specified slides the \only command simply “throws its argument away”
and the argument does not
occupy any space. This leads to different heights of the text on the first
three slides and on the fourth slide. If
the text is centered vertically, this will cause the text to “wobble” and
thus \uncover should be used. However,
you sometimes wish things to “really disappear” on some slides and then
\only is useful.
---

Rafael, could you describe exactly what you want to happen? When I use
either <1> or \only<1> formats, I see the first block only one slide 1 and
the second block only on slide 2. What is it that's not happening for you?
Or could you paste the LaTeX equivalent that does work so we can see what
it's supposed to do?


Thanks,
John

* Foo
** Slide 1
***  Block1:B_block:
:PROPERTIES:
:BEAMER_envargs: <1>
:BEAMER_env: block
:END:
- bla11
- bla12
- bla13

***  Block2 :B_block:
:PROPERTIES:
:BEAMER_envargs: <2>
:BEAMER_env: block
:END:
- bla21
- bla22
- bla23


On Wed, Sep 29, 2010 at 11:12 AM, Carsten Dominik  wrote:

>
> On Sep 18, 2010, at 8:15 PM, Rafael Calsaverini wrote:
>
>  Hi there.
>>
>> I'm trying to use the \only<> command to produce a beamer presentation but
>> it seems that org-beamer filters out this. I've tried it in many different
>> ways, and didn't get the desired effect.
>>
>> Particularly, I've tried the obviously wrong thing:
>> #+STARTUP:  beamer
>> #+LaTeX_CLASS: beamer
>> #+LaTeX_CLASS_OPTIONS: [smaller, presentation]
>>
>> * Foo
>> ** Slide 1
>> \only<1> {
>> ***  Block1 :B_block:
>> :PROPERTIES:
>> :BEAMER_env: block
>> :END:
>> - bla11
>> - bla12
>> - bla13
>> }
>> \only<2>{
>> ***  Block2 :B_block:
>> :PROPERTIES:
>> :BEAMER_env: block
>> :END:
>> - bla21
>> - bla22
>> - bla23
>> }
>>
>> Which obviously break-up. And I also tried what I believe would be a nice
>> syntax for this:
>>
>> * Foo
>> ** Slide 1
>> ***  Block1:B_block:
>> :PROPERTIES:
>> :BEAMER_envargs: \only<1>
>> :BEAMER_env: block
>> :END:
>> - bla11
>> - bla12
>> - bla13
>>
>> ***  Block2 :B_block:
>> :PROPERTIES:
>> :BEAMER_envargs: \only<2>
>> :BEAMER_env: block
>> :END:
>> - bla21
>> - bla22
>> - bla23
>>
>> Apparently the parser just removes the "\only" and interprets this as <1>
>> and <2>. The resulting latex is exactly the same as if the "\only" wasn't
>> there.
>>
>> Is there a way to use the "\only<>" overlay in a clean way?
>>
>
> What does \only do?
>
> - Carsten
>
>
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-29 Thread Nathaniel Flath
I'd be fine with either (or both) of these, and can code it up once we
decide.  I find it unlikely that I'd use an alphabetical list of size
more than 26, which is why I only had one character to begin with.

Thanks,
Nathaniel Flath
On Wed, Sep 29, 2010 at 8:49 AM, Carsten Dominik
 wrote:
>
> Or, alternatively, put it in with an option to turn it on (default off, I
> think).
> And maybe we should after all limit it to a single character to avoid
> confusion.
> Yes, I do realise that I asked for several characters - but I am learning...
>
> - Carsten
>
>
>>
>> - Carsten
>>
>
>

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


[Orgmode] Re: Having (too) many files in org-agenda-files

2010-09-29 Thread Matt Lundin


Sébastien Vauban 
writes:

> Of course, I have many, many files in Org mode. All files I write (or
> touch) in fact.
>
> Of course, I would like to search through my files at some point in time.
> I even would like to search through your files at some point in time, I mean
> through =org-mode/contrib/babel= and =Worg= for example.
>

The drawback of org-mode's plain text format is that org-mode needs to
load, parse, and fontify, and preserve in memory all files it queries
(i.e., agenda files). Too many agenda files can thus cause a pretty big
performance hit (both when loading agenda files and constructing agenda
views). To avoid this, I would recommend including only important files
in org-agenda-files. Possible solutions for searching other files
include:

1. loading the other directories when needed (e.g., through a function
   that changes the value of org-agenda-files)
2. using the variable org-agenda-text-search-extra-files (see below)
3. searching other directories with external tools (grep, perl script,
   etc.)

> The problem is the load-time of my Emacs, now:
>
> Emacs Init startup time: 221 seconds.

Do you invoke an agenda command in your emacs, such as
org-agenda-to-appt? That would cause org-mode to load all org files.

> coming from 20 seconds before the heavy use of Org...
>
> with tens of times such lines in my *Messages* buffer:
>
> OVERVIEW
> Checking for library `filladapt'...
> +-> Requiring `filladapt' (already loaded)
> Checking for library `filladapt'... Found
> Fontifying Axa.org... (regexps)
> Checking for library `filladapt'... Found
> Fontifying Axa.org... (regexps.)
> Checking for library `filladapt'... Found
> Fontifying Axa.org... (regexps..)
> Checking for library `filladapt'... Found
> +-> Requiring `outline-mode-easy-bindings' (already loaded)
> +-> Requiring `ispell' (already loaded)
> Evaluate code AFTER HAVING LOADED `flyspell'... [2 times]
> Starting new Ispell process [en_US] ...
> Checking for library `filladapt'...
> +-> Requiring `filladapt' (already loaded)
> Checking for library `filladapt'... Found

It seems that filladapt is causing some of the verbosity (and possible
slowness) there. When loading agenda files, my *Messages* buffer only
shows:

OVERVIEW [29 times]

> You'll tell me: not a problem, you do that only once a day, and you
> use Emacs client/server for the rest of the time. True. A bit, because
> I sometimes have to restart Emacs for testing a fresh one (not
> impacted by defvars already defined, or deffaces, etc.).
>
> Having to wait almost 4 minutes is a real pain. So, here my
> comments/questions:
>
> - Isn't it possible to delay the fontification/ispell/etc. to when we really
>   display (i.e., pop up) the buffer?  I guess this must be a major component
>   of the time this takes.

I imagine the fontification is necessary for the agenda to function
properly. Thus, org files are parsed en masse when the agenda is called
for the first time. (Hence my question about whether you were calling
the agenda from ~/.emacs.)

>
> - Couldn't we have 2 vars: =org-agenda-files= for the files you know you want
>   have scanned for the agenda construction, and an extra list such as
>   =org-search-files= for files not containing any dates?  Then, some time
>   would have to be taken when =C-c a s=, but not before. And not if you don't
>   search for anything in your Org files during that Emacs session...
>

This already exists. See org-agenda-text-search-extra-files. 

Best,
Matt


___
Emacs-orgmode mailing list
Please 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 set faces?

2010-09-29 Thread Uwe Brauer
> On Tue, 28 Sep 2010 18:10:31 +0200, Carsten Dominik 
>  wrote:

   > On Sep 27, 2010, at 12:24 PM, Uwe Brauer wrote:


   >> (list (list lisp-regexp-4 0
   >> 'font-lock-comment-warn-face t)
   >> 
   >> 
   >> Or
   >> 
   >> (add-to-list 'org-font-lock-keywords  
   >> '(" ?\\(\\<\\*[a-zA-Z]*\\*\\>\\)" 1 'font-lock-comment-warn-face
   >> append t))

   > Org-mode sets org-font-lock-keywords while the mode is turned
   > on, locally in each org-mode buffer, because depending on setup,
   > the keywords can be different in different buffers.

   > Please take a look at the function org-set-font-lock-defaults,
I am using 6.34, this function is not documented.

   > and in particular use the hook org-font-lock-set-keywords-hook
does not exist 
   > in order to append your stuff to the variable
   > org-font-lock-keywords-extra (no, I do not know why
this neither.

So I must upgrade I presume?

Uwe 


___
Emacs-orgmode mailing list
Please 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 set faces?

2010-09-29 Thread Uwe Brauer
> On Tue, 28 Sep 2010 19:53:36 +0200, Carsten Dominik 
>  wrote:


   > Or do something more clever, like finding another hook
   > *maybe in font- lock that runs at the right time.
Well for the time being I would be even happy with an
interactive function which I call and turn font-lock-mode on
and off, so I tried 

(defun my-turn-on-or-font-org ()
(interactive)
(font-lock-add-keywords 'org-mode
  '((org-activate-links (0 font-lock-keyword-face))
("\\" (0 font-lock-warning-face t))
("\\.*" (0 font-lock-warning-face t))
("\\" (0 font-lock-warning-face t))
("\\" (0 font-lock-warning-face t))
   (" ?\\(\\%[a-zA-Z]*\\%\\)" (0 font-lock-comment-warn-face append t))
   (" ?\\(\\*[a-zA-Z]*\\*\\)" (0 font-lock-comment-warn-face append t))
(" ?\\(\\<\\*[a-zA-Z]*\\*\\>\\)" (0 font-lock-comment-warn-face append t))
;; ("^[*]+ +\\<\\(DONE\\)\\>\\(.*\\)"
;;   (1 font-lock-type-face t) (2 font-lock-string-face t))
  )
  'append))


That is from some old version of org-mode, I think.  It does
not work, and if I understand you earlier messages correctly
the reason is that in the new version there are more
keywords such as
org-font-lock-keywords-extra


Suppose I download the newest org mode, how shall I modify
the above function in order to get it to work?

Uwe 


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


[Orgmode] org and Things.app - next actions and sorting items

2010-09-29 Thread Marcelo de Moraes Serpa
Hi list,

I've taken a break of org for two weeks and started using Things.app
on OSX. It is a great app, simple and effective. However, nothing
comes close to the simplicity and powerfulness of org, mainly for
someone used to emacs. I came back to org and felt at home.

With org, I have a gtd.org file, that lists projects (items tagged as
:PROJECT:) and actionable items (Any item with a TODO). I have other
several tags for the TODO items such as :CALL:, :HOME:, :PERSONAL:,
:WORK:, etc. I then use the agenda to slice and dice as I wish, the
global todo list being the one I use the most (and sometimes
restricting this same view by tags).

One thing that I miss though is the concept of a ubiquitous Next
Actions list. I know it is simply a list, and filtering in the agenda
for TODO items could be the equivalente of that, *except* that with
Things I can reorder as I will, so, I was constantly putting the very
next action list at the top and would eventually re-negotiate this
decision throughout the day. With org, though, re-ordering is clunkier
and takes more time. I could of course, just re-order directly on my
gtd.org file, but I have a bit of additional noise there that I don't
want (non-todo items, specifically items tagged as projects).

I wonder if it would be possible to re-order  directly on the agenda
buffer, move an item up or down?

Anyway, food for thought :)

Marcelo.

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


[Orgmode] How do I convert org to OpenOffice?

2010-09-29 Thread Lennart Borgman
There is a way, isn't there? ;-)

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


Re: [Orgmode] [babel] FEATURE REQUEST: send results into file

2010-09-29 Thread Eric Schulte
"Thomas S. Dye"  writes:

> Aloha Rainer,
>
> Perhaps this will work?  Eric Schulte wrote a function to make a LaTeX
> table out of an Org-mode table.

Ah, thanks for suggesting this Tom, I'd forgotten about that function.

If you'll indulge me, I'd like to expound upon the library of babel
(lob) as I sometimes feel that it is underutilized among Babel features.
The function below is distributed in the lob in the contrib directory of
Org-mode, and by putting something like

(org-babel-lob-ingest "~/src/org/contrib/babel/library-of-babel.org")

into your Emacs initialization all of the many library of Babel
functions -- I'd recommend browsing the file as there are some
interesting functions -- will be available from any Org-mode file to be
called using call lines

#+call: booktabs(table=...)

or executable noweb references in source blocks as Tom suggests below.
This file lives in the contrib directory to ease the process of adding
user-contributed functions without the authors having to go through the
Emacs assignment process.

Best -- Eric

> You should be able to call it from within a LaTeX source block that
> tangles to a suitably named file.  There is an added benefit in the
> support for booktabs rules, so you'll need to have the booktabs
> package installed.
>
> hth,
> Tom
>
>> --8<---cut here---start->8---
>> *** booktabs
>> This block can be used to wrap a table in the latex =booktabs=
>> environment, it takes the following arguments -- all but the first two
>> are optional.
>> | arg   | description|
>> |---+|
>> | table | a reference to the table   |
>> | align | optional alignment string  |
>> | env   | optional environment, default to "tabular" |
>> | width | optional width specification string|
>>
>> #+srcname: booktabs
>> #+begin_src emacs-lisp :var table='((:head) hline (:body)) :var
>> align='() :var env="tabular" :var width='() :noweb yes :results
>> latex
>> (flet ((to-tab (tab)
>>(orgtbl-to-generic
>> (mapcar (lambda (lis)
>>   (if (listp lis)
>>   (mapcar (lambda (el)
>> (if (stringp el)
>> el
>>   (format "%S" el))) lis)
>> lis)) tab)
>> (list :lend " " :sep " & " :hline "\\hline"
>>   (org-fill-template
>>"
>> \\begin{%env}%width%align
>> \\toprule
>> %table
>> \\bottomrule
>> \\end{%env}\n"
>>(list
>> (cons "env"   (or env "table"))
>> (cons "width" (if width (format "{%s}" width) ""))
>> (cons "align" (if align (format "{%s}" align) ""))
>> (cons "table"
>>   ;; only use \midrule if it looks like there are column
>> headers
>>   (if (equal 'hline (second table))
>>   (concat (to-tab (list (first table)))
>>   "\n\\midrule\n"
>>   (to-tab (cddr table)))
>> (to-tab table))
>> #+end_src
>> --8<---cut here---end--->8---
>>
>> once loaded it can be applied as here
>>
>> --8<---cut here---start->8---
>> ** booktabs
>> #+tblname: months
>> | num | Abbrev. |
>> |-+-|
>> |   1 | Jan.|
>> |   2 | Feb.|
>> |   3 | Mar.|
>>
>> #+call: booktabs(table=months, align="r|l") :results latex :exports
>> results
>> --8<---cut here---end--->8---
>
> On Sep 28, 2010, at 10:58 PM, Rainer M Krug wrote:
>
>> Hi
>>
>> Based on a discussion in the thread "Problem with PROPERTIES
>> :OPTIONS: when exporting subtree", The idea came ub by  Mathew
>> Lundin to be able to "send the results or a source code block
>> (either executed code or exported org snippets) via babel to a
>> target in an external file.".
>>
>> The scenario or context in which the idea came up:
>>
>> I am using org babel for literate programming and I document my
>> parameters for simulations in a table in org. Now when writing a
>> paper, for which I use a different program (I use LyX), but I still
>> would like to include the tables from my original org file in them.
>> Therefore I was looking for a possibility to export ONLY the table
>> into a .tex file, so that it can be included in the LyX / LaTeX via
>> \input{theTable.tex} . Therefore I would need an export of the table
>> in LaTeX format, but no preamble or anything. As far as I was told,
>> this possibility does not exist in org.
>>
>> So Mathew's / my question is if it would be possible to include a
>> functionality to "send the results or a source code block (either
>> executed code or exported org snippets) via babel to a target in an
>> external file.".
>>
>>
>> Cheers,
>>
>> Rainer
>>
>>
>> --
>> NEW GERMAN FAX NUMBER!!!
>>

Re: [Orgmode] The \only<> overlay in beamer

2010-09-29 Thread Carsten Dominik


On Sep 18, 2010, at 8:15 PM, Rafael Calsaverini wrote:


Hi there.

I'm trying to use the \only<> command to produce a beamer  
presentation but it seems that org-beamer filters out this. I've  
tried it in many different ways, and didn't get the desired effect.


Particularly, I've tried the obviously wrong thing:
#+STARTUP:  beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [smaller, presentation]

* Foo
** Slide 1
\only<1> {
***  Block1 :B_block:
 :PROPERTIES:
 :BEAMER_env: block
 :END:
 - bla11
 - bla12
 - bla13
}
\only<2>{
***  Block2 :B_block:
 :PROPERTIES:
 :BEAMER_env: block
 :END:
 - bla21
 - bla22
 - bla23
}

Which obviously break-up. And I also tried what I believe would be a  
nice syntax for this:


Would it work to do


#+BEAMER: \only<1> {
...
#+BEAMER: }

???



* Foo
** Slide 1
***  Block1:B_block:
 :PROPERTIES:
 :BEAMER_envargs: \only<1>
 :BEAMER_env: block
 :END:
 - bla11
 - bla12
 - bla13

***  Block2 :B_block:
 :PROPERTIES:
 :BEAMER_envargs: \only<2>
 :BEAMER_env: block
 :END:
 - bla21
 - bla22
 - bla23

Apparently the parser just removes the "\only" and interprets this  
as <1> and <2>. The resulting latex is exactly the same as if the  
"\only" wasn't there.


Is there a way to use the "\only<>" overlay in a clean way?

Thank you very much.

---
Rafael Calsaverini
Dep. de Física Geral, Sala 336
Instituto de Física - Universidade de São Paulo

rafael.calsaver...@gmail.com
http://stoa.usp.br/calsaverini/weblog
CEL: (11) 7525-6222
USP: (11) 3091-6803

___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] The \only<> overlay in beamer

2010-09-29 Thread Carsten Dominik


On Sep 18, 2010, at 8:15 PM, Rafael Calsaverini wrote:


Hi there.

I'm trying to use the \only<> command to produce a beamer  
presentation but it seems that org-beamer filters out this. I've  
tried it in many different ways, and didn't get the desired effect.


Particularly, I've tried the obviously wrong thing:
#+STARTUP:  beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [smaller, presentation]

* Foo
** Slide 1
\only<1> {
***  Block1 :B_block:
 :PROPERTIES:
 :BEAMER_env: block
 :END:
 - bla11
 - bla12
 - bla13
}
\only<2>{
***  Block2 :B_block:
 :PROPERTIES:
 :BEAMER_env: block
 :END:
 - bla21
 - bla22
 - bla23
}

Which obviously break-up. And I also tried what I believe would be a  
nice syntax for this:


* Foo
** Slide 1
***  Block1:B_block:
 :PROPERTIES:
 :BEAMER_envargs: \only<1>
 :BEAMER_env: block
 :END:
 - bla11
 - bla12
 - bla13

***  Block2 :B_block:
 :PROPERTIES:
 :BEAMER_envargs: \only<2>
 :BEAMER_env: block
 :END:
 - bla21
 - bla22
 - bla23

Apparently the parser just removes the "\only" and interprets this  
as <1> and <2>. The resulting latex is exactly the same as if the  
"\only" wasn't there.


Is there a way to use the "\only<>" overlay in a clean way?


What does \only do?

- Carsten


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


Re: [Orgmode] Update for habit documentation

2010-09-29 Thread Carsten Dominik

Hi Robert,

would you like to formulate a patch to org.texi?

Thanks

- Carsten

On Sep 21, 2010, at 5:01 PM, Robert Horn wrote:


I've been using habits and found additional uses that are actually
implemented but not mentioned in the documentation.  What I've found
useful are:

1) Using a '++' repeat style for habits that have calendar  
constraints.

I use this for some activities that must be done on Monday, or on
weekends.  This works, so there is no need to change the  
implementation.


2) Using a '+' repeat style is good for activities that can have a
backlog.  For example, preparing weekly reports is something that is
aided by the habit tracking information.  This also works.

This affects bullet 4, which presently implies that the repeat  
interval

must be a '.+' style. Would the following be clear:

4. The TODO has a scheduled date, usually with a '.+' style repeat
interval.  Other repeat styles may be used.  The '++' style can handle
habits with calendar constraints, e.g., "must be done on a Monday";  
and

the '+' style can be useful for habits that can have a backlog.

R Horn

___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-09-29 Thread Carsten Dominik
I do find the number of people indicating an interest to come  
encouraging.


Is there anyone stepping forward to take charge of getting more  
information
about possible costs etc?  More importantly: who will write the  
proposal, or

at least make a start?

- Carsten

On Sep 29, 2010, at 1:32 PM, Marcel van der Boom wrote:


On di 28-sep-2010 19:44
Carsten Dominik  wrote:


Please reply to this email if you'd consider to come to FOSDEM[1,2],
February 5 and 6 next year in Brussels, in order to join an Org-mode
meet-up there.




[X] I would come and listen
[ ] I would come and give a talk in the devroom

marcel

--
Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
HS-Development BV-- http://www.hsdev.com
So! web applications -- http://make-it-so.info
Cobra build  -- http://cobra.mrblog.nl



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


Re: [Orgmode] [babel] FEATURE REQUEST: send results into file

2010-09-29 Thread Thomas S. Dye

Aloha Rainer,

Perhaps this will work?  Eric Schulte wrote a function to make a LaTeX  
table out of an Org-mode table.  You should be able to call it from  
within a LaTeX source block that tangles to a suitably named file.   
There is an added benefit in the support for booktabs rules, so you'll  
need to have the booktabs package installed.


hth,
Tom


--8<---cut here---start->8---
*** booktabs
This block can be used to wrap a table in the latex =booktabs=
environment, it takes the following arguments -- all but the first two
are optional.
| arg   | description|
|---+|
| table | a reference to the table   |
| align | optional alignment string  |
| env   | optional environment, default to "tabular" |
| width | optional width specification string|

#+srcname: booktabs
#+begin_src emacs-lisp :var table='((:head) hline (:body)) :var  
align='() :var env="tabular" :var width='() :noweb yes :results latex

(flet ((to-tab (tab)
   (orgtbl-to-generic
(mapcar (lambda (lis)
  (if (listp lis)
  (mapcar (lambda (el)
(if (stringp el)
el
  (format "%S" el))) lis)
lis)) tab)
(list :lend " " :sep " & " :hline "\\hline"
  (org-fill-template
   "
\\begin{%env}%width%align
\\toprule
%table
\\bottomrule
\\end{%env}\n"
   (list
(cons "env"   (or env "table"))
(cons "width" (if width (format "{%s}" width) ""))
(cons "align" (if align (format "{%s}" align) ""))
(cons "table"
  ;; only use \midrule if it looks like there are column  
headers

  (if (equal 'hline (second table))
  (concat (to-tab (list (first table)))
  "\n\\midrule\n"
  (to-tab (cddr table)))
(to-tab table))
#+end_src
--8<---cut here---end--->8---

once loaded it can be applied as here

--8<---cut here---start->8---
** booktabs
#+tblname: months
| num | Abbrev. |
|-+-|
|   1 | Jan.|
|   2 | Feb.|
|   3 | Mar.|

#+call: booktabs(table=months, align="r|l") :results latex :exports  
results

--8<---cut here---end--->8---


On Sep 28, 2010, at 10:58 PM, Rainer M Krug wrote:


Hi

Based on a discussion in the thread "Problem with  
PROPERTIES :OPTIONS: when exporting subtree", The idea came ub by  
Mathew Lundin to be able to "send the results or a source code block  
(either executed code or exported org snippets) via babel to a  
target in an external file.".


The scenario or context in which the idea came up:

I am using org babel for literate programming and I document my  
parameters for simulations in a table in org. Now when writing a  
paper, for which I use a different program (I use LyX), but I still  
would like to include the tables from my original org file in them.  
Therefore I was looking for a possibility to export ONLY the table  
into a .tex file, so that it can be included in the LyX / LaTeX via  
\input{theTable.tex} . Therefore I would need an export of the table  
in LaTeX format, but no preamble or anything. As far as I was told,  
this possibility does not exist in org.


So Mathew's / my question is if it would be possible to include a  
functionality to "send the results or a source code block (either  
executed code or exported org snippets) via babel to a target in an  
external file.".



Cheers,

Rainer


--
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation  
Biology, UCT), Dipl. Phys. (Germany)


Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com

___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: ditaa set-up on windows box

2010-09-29 Thread Carsten Dominik

Hi everyone,

once this is resolved, I believe this would be important to be added  
to the FAQ.

Can someone please take care of this?

Thanks!

- Carsten

On Sep 28, 2010, at 7:00 PM, Achim Gratz wrote:


John Hendy  writes:

Can you check your CLASSPATH environment variable? Mine is (not sure
if it's correct, but it works...):

.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip


Unset this variable and try again.  The default CLASSPATH is simply  
".",

but you don't need to set the environment variable then.

http://download.oracle.com/javase/6/docs/technotes/tools/windows/classpath.html

BTW, you can run 'java -verbose' to get more output that may show you
where the problem really is (like looking for files in the wrong place
or something like that).


Achim.
--
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Waldorf MIDI Implementation & additional documentation:
http://Synth.Stromeko.net/Downloads.html#WaldorfDocs


___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] table, moving cells

2010-09-29 Thread Carsten Dominik

Hi Martin,

On Sep 25, 2010, at 6:02 PM, Martin G. Skjæveland wrote:


Hi,

is there a quick way for moving a cell about in a table? I enjoy  
swapping the order of rows and columns in a table using Meta +  
[arrow], but I have not found a ways of doing the same for a single  
cell. Is it possible?


Example, with the cursor on '2' in the following table

| A | B | C |
| 1 | 2 | 3 |
| x | y | z |

and pressing [move cell left] would give me

| A | B | C |
| 2 | 1 | 3 |
| x | y | z |

Thanks!


I fail to see the use case for this.  Yes, this can
be useful sometimes, and you can use `C-c C-x C-w' and
`C-c C-x C-y' to cut and paste individual fields or
even rectangular regions.  But for pushing a cell value
to a neighboring cell, I don't see a frequent use that
would call for a special command beyond what I listed above.
Do you?

- Carsten


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


Re: [Orgmode] Toolbar buttons for common actions (helping emacs newbees)

2010-09-29 Thread Carsten Dominik


On Sep 26, 2010, at 9:01 AM, Olivier Berger wrote:


Hi.

Maybe it's just me, but I think there's no configuration in org-mode  
to

use the emacs (23) toolbar icons/buttons, for basic actions in org.

I think it may be helpful for emacs noobies mainly, to have such icons
available when in org mode.

I'd think of a capture icon, an agenda icon, and maybe moving arrows  
to

rework the outline, for instance...

I'm not sure how hard this would be to add... and there's probably
someone smart that already tried it... however couldn't find any past
reference.


I think this might be a good idea.  I have my toolbar turned off,
but I would not object against a few toolbar entries for Org.  Please
make a patch!

Richard Moreland did some research into open source icons we might
be able to use.

- Carsten


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


Re: [Orgmode] [babel] FEATURE REQUEST: send results into file

2010-09-29 Thread Eric Schulte
Hi Rainer,

I'm not sure that code blocks are the solution for this particular
problem.  The following simple function should do what you want.

--8<---cut here---start->8---
(defun schulte/current-table-to-tex (file)
  "Export the current table as latex to FILE."
  (interactive "F")
  ((lambda (tex-table) (with-temp-file file (insert tex-table)))
   (org-export-region-as-latex (org-table-begin) (org-table-end) t 'string)))
--8<---cut here---end--->8---

Best -- Eric

Rainer M Krug  writes:

> Hi
>
> Based on a discussion in the thread "Problem with PROPERTIES :OPTIONS: when
> exporting subtree", The idea came ub by Mathew Lundin to be able to "send
> the results or a source code block (either executed code or exported org
> snippets) via babel to a target in an external file.".
>
> The scenario or context in which the idea came up:
>
> I am using org babel for literate programming and I document my parameters
> for simulations in a table in org. Now when writing a paper, for which I use
> a different program (I use LyX), but I still would like to include the
> tables from my original org file in them. Therefore I was looking for a
> possibility to export ONLY the table into a .tex file, so that it can be
> included in the LyX / LaTeX via \input{theTable.tex} . Therefore I would
> need an export of the table in LaTeX format, but no preamble or anything. As
> far as I was told, this possibility does not exist in org.
>
> So Mathew's / my question is if it would be possible to include a
> functionality to "send the results or a source code block (either executed
> code or exported org snippets) via babel to a target in an external file.".
>
>
> Cheers,
>
> Rainer

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


Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists

2010-09-29 Thread Carsten Dominik


On Sep 28, 2010, at 6:12 PM, Carsten Dominik wrote:



On Sep 27, 2010, at 8:55 AM, Nicolas Goaziou wrote:


Nathaniel Flath writes:



But, there is apparently one major drawback, as I said in a
previous post. If the line starts with a word followed by a dot or
a parenthesis, Org will see a bullet there. This is bad news
because the following line will be indented, or a M-RET will delete
the word, replacing it with a) or a.



Yes, this happens - it's not something that comes up during my
normal usage, so I didn't notice. Can you think of a way to
determine if this is the case vs. a list is actually wanted?


Unfortunately, I can't see anything clean. This is tricky because
lists are the closest construct to raw text.


My feeling is that we should not apply this patch.  I see how it  
might be

nice to have such lists - but confusion is rather likely in
this case.


Or, alternatively, put it in with an option to turn it on (default  
off, I think).
And maybe we should after all limit it to a single character to avoid  
confusion.
Yes, I do realise that I asked for several characters - but I am  
learning...


- Carsten




- Carsten




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


Re: [PATCH] Re: [Orgmode] [bug] org-link-escape and (wrong-type-argument stringp nil)

2010-09-29 Thread Carsten Dominik

Hi David,

I have not have time to follow this in detail, but if you feel  
confident that this is
doing the right thing, pleas go ahead and apply the necessary  
patches.  I am an encoding moron, so I am easily convinced that you  
and Sebastian together cook up something useful. :-)


- Carsten

On Sep 27, 2010, at 7:36 AM, David Maus wrote:


Also I guess the decoding is secure.  Means we could change the
comment of this function:



(defun org-protocol-unhex-compound (hex)
 "Unhexify unicode hex-chars. E.g. `%C3%B6' is the German Umlaut `ö'.
Note: this function falls back on single byte decoding if a
character sequence is not valid utf-8.
See `org-protocol-unhex-single-byte-sequence'."




Should I send another patch against master?  (Too late here... for
me...)


Not necessary, following patch removed this sentence and added a
proper commit message (please see: Commit messages and ChangeLog
entries on http://orgmode.org/worg/org-contribute.php).

I took the new patch "under review" in patchtracker -- If someone else
wants to jump on it, just go ahead.

Best,
 -- David

Sebastian Rose (1):
 Decode single byte sequence if decoding unicode failed.

lisp/org-protocol.el |   26 +++---
1 files changed, 23 insertions(+), 3 deletions(-)


___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Sidewaystable in org?

2010-09-29 Thread brian powell
* The "Crush Tools" may be of help. See "pivot" for example:

http://code.google.com/p/crush-tools/wiki/PivotUserDocs

** Maybe this would do it for an OrgTable: pivot -d"|" table.org

On Wed, Sep 29, 2010 at 6:45 AM, Rainer M Krug  wrote:

> Hi
>
> I would like to have a table exported to LaTeX in landscape formate. I
> tried
> \begin{sidewaystable}
> THE TABLE
> \end{sidewaystable}
>
> but I did not succeed.
>
> Is there a way to produce a sideways table from org? OK - one approach
> would be to use a radio table in a LaTeX block, but I am struggling with
> those as well.
>
> Cheers,
>
> Rainer
>
> --
> NEW GERMAN FAX NUMBER!!!
>
> Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
> UCT), Dipl. Phys. (Germany)
>
> Centre of Excellence for Invasion Biology
> Natural Sciences Building
> Office Suite 2039
> Stellenbosch University
> Main Campus, Merriman Avenue
> Stellenbosch
> South Africa
>
> Cell:   +27 - (0)83 9479 042
> Fax:+27 - (0)86 516 2782
> Fax:+49 - (0)321 2125 2244
> email:  rai...@krugs.de
>
> Skype:  RMkrug
> Google: r.m.k...@gmail.com
>
>
> ___
> Emacs-orgmode mailing list
> Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Compiling multiple times the LaTeX output

2010-09-29 Thread Noorul Islam K M
Sébastien Vauban  writes:

> Hello,
>
> I've been taught of a weird observation: the page number indicated in the TOC
> of a PDFLaTeX output is wrong by one page...
>
> I've re-exported my Org document. Same observation. So, it was not a problem
> during export or so.
>
> Taking the `.tex' file, and running `pdflatex' on it shows me twice this
> message:
>
> LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
>
> After the 3rd compilation, everything is right in the PDF.
>
> Is it possible, somehow, that Org does not run `pdflatex' enough times??
>

Quoting from source code

(defcustom org-latex-to-pdf-process
  '("pdflatex -interaction nonstopmode -output-directory %o %f"
"pdflatex -interaction nonstopmode -output-directory %o %f")
  "Commands to process a LaTeX file to a PDF file.
This is a list of strings, each of them will be given to the shell
as a command.  %f in the command will be replaced by the full file name,
%b
by the file base name (i.e. without extension) and %o by the base
directory
of the file.
The reason why this is a list is that it usually takes several runs of
pdflatex, maybe mixed with a call to bibtex.  Org does not have a clever
mechanism to detect which of these commands have to be run to get to a
stable
result, and it also does not do any error checking.

Alternatively, this may be a Lisp function that does the processing, so
you
could use this to apply the machinery of AUCTeX or the Emacs LaTeX mode.
This function should accept the file name as its single argument."

Thanks and Regards
Noorul

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


Re: [Orgmode] [PATCH] Always run org-insert-heading-hook when creating headlines

2010-09-29 Thread Carsten Dominik

Hi Bernt,

this patch does not work, it calls the hook also after inserting a new  
item.


Please fix it by first reverting, and then call the hook also inside  
the if clause, right after (insert "\n") - you need progn then, of  
course.


Thanks.

- Carsten

On Sep 26, 2010, at 4:15 PM, Bernt Hansen wrote:

* lisp/org.el (org-insert-heading): Run org-insert-heading-hook when  
creating

the first heading in a file

The org-insert-heading-hook was skipped when creating the first
heading in a new org file.
---

I use an hook which creates an inactive timestamp for new headings.   
This was reported
by k-man on the mailing list stating it doesn't work for empty org  
files when creating

the first heading.

I use the following hook:

(defun bh/insert-inactive-timestamp ()
 (interactive)
 (org-insert-time-stamp nil t t nil nil nil))

(defun bh/insert-heading-inactive-timestamp ()
 (save-excursion
   (org-return)
   (org-cycle)
   (bh/insert-inactive-timestamp)))

(add-hook 'org-insert-heading-hook 'bh/insert-heading-inactive- 
timestamp)


-Bernt

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

diff --git a/lisp/org.el b/lisp/org.el
index 75ee798..667a4e4 100644
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -6752,8 +6752,8 @@ This is important for non-interactive uses of  
the command."

(when (and org-insert-heading-respect-content hide-previous)
  (save-excursion
(goto-char previous-pos)
-   (hide-subtree)))
-   (run-hooks 'org-insert-heading-hook)
+   (hide-subtree))
+  (run-hooks 'org-insert-heading-hook))

(defun org-get-heading (&optional no-tags)
  "Return the heading of the current entry, without the stars."
--
1.7.3


___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] FIXED - Cannot insert column - wrong type argument

2010-09-29 Thread Gez
Thanks, Giovanni, but I fixed it before using your sample file.  I went 
through my file with a fine-tooth comb and found a tag on a line beginning 
"PROPERTIES".  (At least I think it was that line -  it could have been the 
line below with the property value in it.  Whichever it was, it wasn't on a 
headline.)


When I removed the tag and reloaded the file, the column commands all worked 
fine.


I'm assuming that was the cause, but I was surprised though since there had 
been no error message.


Gez

- Original Message - 
From: "Giovanni Ridolfi" 

To: "Gez" 
Cc: 
Sent: Wednesday, September 29, 2010 10:36 AM
Subject: Re: [Orgmode] Cannot insert column - wrong type argument



"Gez"  writes:

Hi, Gez,


I'm having problems configuring


what do you intend with "configuring"?


the column view in
a particular file  - I can't insert/add a column.

`S-M-'
Insert a new column, to the left of the current column.

I cannot reproduce:
Org version 7.01trans , commit 9ec705cb57b77595dd9aeb17f9168fb1db9ac908.


Sample file:
---
-*- mode: org; -*-
* [2010-09-29 mer] column view
:PROPERTIES:
:COLUMNS: %25ITEM(Number)
:END:
** one
:PROPERTIES:
:Value: 100
:Age: 11
:END:
** two
:PROPERTIES:
:Value: 200
:Age: 22
:END:
-

1.  C-c C-x C-c  shows the column view with the "Number column"
2.  M-S-  asks for the property of the new column
2.1write "Age" (without " ")
3.  You'll have a two columns column view

Giovanni

___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Compiling multiple times the LaTeX output

2010-09-29 Thread Sébastien Vauban
Hello,

I've been taught of a weird observation: the page number indicated in the TOC
of a PDFLaTeX output is wrong by one page...

I've re-exported my Org document. Same observation. So, it was not a problem
during export or so.

Taking the `.tex' file, and running `pdflatex' on it shows me twice this
message:

--8<---cut here---start->8---
LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right.
--8<---cut here---end--->8---

After the 3rd compilation, everything is right in the PDF.

Is it possible, somehow, that Org does not run `pdflatex' enough times??

Best regards,
  Seb

-- 
Sébastien Vauban


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


Re: [Orgmode] Hiding Section dots ("...") when only an Archive Node is present within

2010-09-29 Thread Carsten Dominik


On Sep 29, 2010, at 3:15 PM, Uwe Schuerkamp wrote:

On 29 September 2010 15:04, Carsten Dominik  
 wrote:


On Sep 29, 2010, at 2:41 PM, Uwe Schuerkamp wrote:


Hi folks,

I've been using org-mode for the last couple of months and am very
happy with it, thanks Carsten et al. for this great tool!

I've been wondering if it's possible to hide the dots "..." when the
only thing a section contains is the ARCHIVE node?


Nope

Cheers

- Carsten


Ok, should I re-submit my question with a FEATURE REQUEST heading  
then? ;-)


Nope, I think this cannot be done easily, and it is a bad
idea.  After all, the *is* something hidden there.  Chances
are that hiding the dots will make you delete hidden text
without even knowing it.

- Carsten

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


Re: [Orgmode] Re: Having (too) many files in org-agenda-files

2010-09-29 Thread Carsten Dominik


On Sep 29, 2010, at 10:32 AM, Sébastien Vauban wrote:


Hi Carsten,

Carsten Dominik wrote:

On Sep 28, 2010, at 8:45 PM, Sébastien Vauban wrote:
Of course, I have many, many files in Org mode. All files I write  
(or touch)

in fact.

Of course, I would like to search through my files at some point  
in time. I
even would like to search through your files at some point in  
time, I mean
through =org-mode/contrib/babel= and =Worg= for example. Hence, I  
put them

in =org-agenda-files=.

The problem is the load-time of my Emacs, now 221 seconds, coming  
from 20

seconds before the heavy use of Org...

You'll tell me: not a problem, you do that only once a day, and  
you use

Emacs client/server for the rest of the time. True. A bit, because I
sometimes have to restart Emacs for testing a fresh one (not  
impacted by

defvars already defined, or deffaces, etc.).

Having to wait almost 4 minutes is a real pain. So, here my
comments/questions:

- Isn't it possible to delay the fontification/ispell/etc. to when  
we
 really display (i.e., pop up) the buffer? I guess this must be a  
major

 component of the time this takes.

- Couldn't we have 2 vars: =org-agenda-files= for the files you  
know you
 want have scanned for the agenda construction, and an extra list  
such as
 =org-search-files= for files not containing any dates? Then, some  
time
 would have to be taken when =C-c a s=, but not before. And not if  
you
 don't search for anything in your Org files during that Emacs  
session...


4 minutes of startup time is entirely unacceptable.  And I think
you need to identify what is causing this.

First of all, unless you are having to totally old Version of Emacs,


Nope. GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-03-29 on rothera, modified by Debian



fontification at display time is standard, I believe.


It seems not, from what I see in the Messages buffer. I really don't  
have the

impression of having fiddled with that, really.



You must be doing something strange, like forcing Emacs to load
all those files in org-agenda-files for example,


That, yes!  I should have explicitly written it, but -- yes -- I do  
have:


--8<---cut here---start->8---
(org-agenda-list)
--8<---cut here---end--->8---

in my .emacs.



and maybe forcing global fontification for each file or so.


To repeat myself, no to that question. But ispell and flyspell are  
called for

Org files. Maybe there are interactions?



About a separate variable for search file, that does of cause exist:
org-agenda-text-search-extra-files


Of course!

Doing this:

--8<---cut here---start->8---
(setq org-agenda-files
 (append (directory-files org-directory t "^[^\\.].*\\.org$")
 (if (file-exists-p "~/Projects/")
 (directory-files "~/Projects/" t "^[^\\.].*\\.org$")
   nil)))

(setq org-agenda-text-search-extra-files
 (append
 (if (file-exists-p "~/Public/")
 (directory-files "~/Public/" t "^[^\\.].*\\.txt$")
   nil)
 (if (file-exists-p "~/Public/www.mygooglest.com/source/sva/ 
")
 (directory-files "~/Public/www.mygooglest.com/source/sva/ 
" t "^[^\\.].*\\.txt$")

   nil)
 (if (file-exists-p "~/Examples/Org-scraps/")
 (directory-files "~/Examples/Org-scraps/" t "^[^\ 
\.].*\\.txt$")

   nil)
 (if (file-exists-p "~/Downloads/emacs/site-lisp/org- 
mode/contrib/babel/")
 (directory-files "~/Downloads/emacs/site-lisp/org- 
mode/contrib/babel/" t "^[^\\.].*\\.org$")

   nil)
 (if (file-exists-p "~/Downloads/emacs/site-lisp/Worg/")
 (directory-files "~/Downloads/emacs/site-lisp/ 
Worg/" t "^[^\\.].*\\.org$")

   nil)
 ))
--8<---cut here---end--->8---

reduces my load time from 221 seconds down to 92 seconds. Already a  
huge diff!


Still bad though.  I am wondering what is causing the fontification  
message.

I do not get this, so it must be something in your setup.  You should
try to find out when this is happening and why.

Also, you might consider to remove (org-agenda-list) from .emacs.
I think it is pretty much always a bad idea to put a command like this  
into
your startup.  Just make it a habit to call it early after starting  
Emacs.


It also seems to me you some of the extra packages might be
activated several times in each file.  One possible reason could
be that you have put the code to turn them on into several hooks
like text-mode-hook, outline-mode-hook, and org-mode-hook.
Turning on org-mode will first run text-mode-hook, then
outline-mode-hook, then org-mode-hook .
Maybe you are also calling font-lock-fontify-buffer explicitly
in one of your hooks?

Hope some of this helps.  If not, let me see you fu

Re: [Orgmode] Hiding Section dots ("...") when only an Archive Node is present within

2010-09-29 Thread Uwe Schuerkamp
On 29 September 2010 15:04, Carsten Dominik  wrote:
>
> On Sep 29, 2010, at 2:41 PM, Uwe Schuerkamp wrote:
>
>> Hi folks,
>>
>> I've been using org-mode for the last couple of months and am very
>> happy with it, thanks Carsten et al. for this great tool!
>>
>> I've been wondering if it's possible to hide the dots "..." when the
>> only thing a section contains is the ARCHIVE node?
>
> Nope
>
> Cheers
>
> - Carsten

Ok, should I re-submit my question with a FEATURE REQUEST heading then? ;-)

All the best,

Uwe

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


Re: [Orgmode] Hiding Section dots ("...") when only an Archive Node is present within

2010-09-29 Thread Carsten Dominik


On Sep 29, 2010, at 2:41 PM, Uwe Schuerkamp wrote:


Hi folks,

I've been using org-mode for the last couple of months and am very
happy with it, thanks Carsten et al. for this great tool!

I've been wondering if it's possible to hide the dots "..." when the
only thing a section contains is the ARCHIVE node?

Nope

Cheers

- Carsten



All the best & thanks in advance for your help,

Uwe

___
Emacs-orgmode mailing list
Please 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
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Having (too) many files in org-agenda-files

2010-09-29 Thread Matthew Lundin
Sébastien,

Matt Lundin  writes:

> Hi Sebastian, 

My apologies for misspelling your name!

- Matt

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


[Orgmode] Hiding Section dots ("...") when only an Archive Node is present within

2010-09-29 Thread Uwe Schuerkamp
Hi folks,

I've been using org-mode for the last couple of months and am very
happy with it, thanks Carsten et al. for this great tool!

I've been wondering if it's possible to hide the dots "..." when the
only thing a section contains is the ARCHIVE node?

All the best & thanks in advance for your help,

Uwe

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


[Orgmode] Re: Having (too) many files in org-agenda-files

2010-09-29 Thread Matt Lundin
Hi Sebastian, 

I wrote this response yesterday, but it may have gotten lost in gmane's
reverse obfuscation system for email addresses. :)

(OT: Is there a "correct" way to respond to your messages in gnus? I
subscribe to org-mode via gmane/nntp and in your emails the org-mode ML
address is obfuscated and redirected:
emacs-orgmode-mXXj517/z...@public.gmane.org.)

-

Sébastien Vauban 
writes:

> Of course, I have many, many files in Org mode. All files I write (or
> touch) in fact.
>
> Of course, I would like to search through my files at some point in time.
> I even would like to search through your files at some point in time, I mean
> through =org-mode/contrib/babel= and =Worg= for example.
>

The drawback of org-mode's plain text format is that org-mode needs to
load, parse, and fontify, and preserve in memory all files it queries
(i.e., agenda files). Too many agenda files can thus cause a pretty big
performance hit (both when loading agenda files and constructing agenda
views). To avoid this, I would recommend including only important files
in org-agenda-files. Possible solutions for searching other files
include:

1. loading the other directories when needed (e.g., through a function
   that changes the value of org-agenda-files)
2. using the variable org-agenda-text-search-extra-files (see below)
3. searching other directories with external tools (grep, perl script,
   etc.)

> The problem is the load-time of my Emacs, now:
>
> Emacs Init startup time: 221 seconds.

Do you invoke an agenda command in your emacs, such as
org-agenda-to-appt? That would cause org-mode to load all org files.

> coming from 20 seconds before the heavy use of Org...
>
> with tens of times such lines in my *Messages* buffer:
>
> OVERVIEW
> Checking for library `filladapt'...
> +-> Requiring `filladapt' (already loaded)
> Checking for library `filladapt'... Found
> Fontifying Axa.org... (regexps)
> Checking for library `filladapt'... Found
> Fontifying Axa.org... (regexps.)
> Checking for library `filladapt'... Found
> Fontifying Axa.org... (regexps..)
> Checking for library `filladapt'... Found
> +-> Requiring `outline-mode-easy-bindings' (already loaded)
> +-> Requiring `ispell' (already loaded)
> Evaluate code AFTER HAVING LOADED `flyspell'... [2 times]
> Starting new Ispell process [en_US] ...
> Checking for library `filladapt'...
> +-> Requiring `filladapt' (already loaded)
> Checking for library `filladapt'... Found

It seems that filladapt is causing some of the verbosity (and possible
slowness) there. When loading agenda files, my *Messages* buffer only
shows:

OVERVIEW [29 times]

> You'll tell me: not a problem, you do that only once a day, and you
> use Emacs client/server for the rest of the time. True. A bit, because
> I sometimes have to restart Emacs for testing a fresh one (not
> impacted by defvars already defined, or deffaces, etc.).
>
> Having to wait almost 4 minutes is a real pain. So, here my
> comments/questions:
>
> - Isn't it possible to delay the fontification/ispell/etc. to when we really
>   display (i.e., pop up) the buffer?  I guess this must be a major component
>   of the time this takes.

I imagine the fontification is necessary for the agenda to function
properly. Thus, org files are parsed en masse when the agenda is called
for the first time. (Hence my question about whether you were calling
the agenda from ~/.emacs.)

>
> - Couldn't we have 2 vars: =org-agenda-files= for the files you know you want
>   have scanned for the agenda construction, and an extra list such as
>   =org-search-files= for files not containing any dates?  Then, some time
>   would have to be taken when =C-c a s=, but not before. And not if you don't
>   search for anything in your Org files during that Emacs session...
>

This already exists. See org-agenda-text-search-extra-files. 

Best,
Matt

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


Re: [Orgmode] Re: [babel] FEATURE REQUEST: send results into file

2010-09-29 Thread Rainer M Krug
2010/9/29 Sébastien Vauban 

> Rainer,
>
> Rainer M Krug wrote:
> > 2010/9/29 Sébastien Vauban 
> >> Rainer M Krug wrote:
> >> *Side question*, because this is quite important, I think: why are you
> >> still using LyX directly?
> >
> > Because it is easier for me? Don't get me wrong - I really like org mode
> and
> > org babel - I can not imagine working without them (wait - I did that
> until
> > about a year ago...). But for writing papers for publication, other tools
> > are more suitable FOR ME: These papers do not include any literate
> > programming and no to be executed code, and I really like the interface
> of
> > LyX for writing. More even then a text editor for LaTeX (however advanced
> or
> > not it may be), it does what it is supposed to be doing: to let me
> > concentrate on the contents of the paper.
>
> On concentrating on the contents, I find it easier to (as someone to) read:
>
> --8<---cut here---start->8---
> Because:
> - reason 1
> - and reason 2
> --8<---cut here---end--->8---
>
> than:
>
> --8<---cut here---start->8---
> Because:
> \begin{itemize}
> \item reason 1
> \item and reason 2
> \end{itemize}
> --8<---cut here---end--->8---
>

Absolutely - and that is why I am using LyX and not LaTeX: in these regards
a LITTLE bit like WYSIWYG, but within the complete LaTeX power and not with
"painting" layouts like in word.

Cheers,

Rainer

>
> Same for tables...
>
> That's why I now hate going back to LaTeX. But, I know, habits can be hard
> to
> change.
>
> Best regards,
>  Seb
>
> --
> Sébastien Vauban
>
>
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-09-29 Thread Marcel van der Boom
On di 28-sep-2010 19:44
Carsten Dominik  wrote:

>Please reply to this email if you'd consider to come to FOSDEM[1,2],
>February 5 and 6 next year in Brussels, in order to join an Org-mode
>meet-up there.
>
>

[X] I would come and listen
[ ] I would come and give a talk in the devroom

marcel

-- 
Marcel van der Boom  -- http://hsdev.com/mvdb.vcf
HS-Development BV-- http://www.hsdev.com
So! web applications -- http://make-it-so.info
Cobra build  -- http://cobra.mrblog.nl

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


[Orgmode] [SOLVED] (was: change faces via custom, not permanent)

2010-09-29 Thread Uwe Brauer
> On Wed, 29 Sep 2010 12:07:13 +0200, Uwe Brauer  wrote:

   > Hello 
   > that looks strange: I changed a couple of faces via 
   > (customize-face "")
   > namely 
   > Org Code: (sample) *
   > and 
   > Org TODO: (sample) *

After restarting XEmacs everything was fine!


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


[Orgmode] Re: Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-09-29 Thread Sébastien Vauban
Hi Carsten,

Carsten Dominik wrote:
> Please reply to this email if you'd consider to come to FOSDEM, February 5
> and 6 next year in Brussels, in order to join an Org-mode meet-up there.
>
> - [X] I would come and listen

For sure, I would definitely like to be there.


> - [?] I would come and give a talk in the devroom

I'm (currently -- let's hope it will change) only a user of Org. I could
accept giving a talk if I have something _really_ interesting (for the others)
to tell or show.

Best regards,
  Seb

-- 
Sébastien Vauban


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


[Orgmode] Re: Sidewaystable in org?

2010-09-29 Thread Sébastien Vauban
Rainer,

Rainer M Krug wrote:
> I would like to have a table exported to LaTeX in landscape formate. I
> tried
> \begin{sidewaystable}
> THE TABLE
> \end{sidewaystable}
>
> but I did not succeed.

Try:

--8<---cut here---start->8---
#+LaTeX: {}\begin{sidewaystable}
THE TABLE
#+LaTeX: \end{sidewaystable}
--8<---cut here---end--->8---

See 
[[http://mid.gmane.org/AB03FCAC-884E-4AD8-8A2C-F043DDB9A159%40gmail.com][Email 
from Carsten Dominik: Re: Bug: bug in latex export]]

Best regards,
  Seb

-- 
Sébastien Vauban


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


[Orgmode] Re: [babel] FEATURE REQUEST: send results into file

2010-09-29 Thread Sébastien Vauban
Rainer,

Rainer M Krug wrote:
> 2010/9/29 Sébastien Vauban 
>> Rainer M Krug wrote:
>> *Side question*, because this is quite important, I think: why are you
>> still using LyX directly?
>
> Because it is easier for me? Don't get me wrong - I really like org mode and
> org babel - I can not imagine working without them (wait - I did that until
> about a year ago...). But for writing papers for publication, other tools
> are more suitable FOR ME: These papers do not include any literate
> programming and no to be executed code, and I really like the interface of
> LyX for writing. More even then a text editor for LaTeX (however advanced or
> not it may be), it does what it is supposed to be doing: to let me
> concentrate on the contents of the paper.

On concentrating on the contents, I find it easier to (as someone to) read:

--8<---cut here---start->8---
Because:
- reason 1
- and reason 2
--8<---cut here---end--->8---

than:

--8<---cut here---start->8---
Because:
\begin{itemize}
\item reason 1
\item and reason 2
\end{itemize}
--8<---cut here---end--->8---

Same for tables...

That's why I now hate going back to LaTeX. But, I know, habits can be hard to
change.

Best regards,
  Seb

-- 
Sébastien Vauban


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


Re: [Orgmode] Re: Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-09-29 Thread Ian Barton
On 29/09/10 08:15, Ian Barton wrote:
> Ivan Vilata i Balaguer  writes:
> 
>> Having an Org meet-up would be one more great reason to attend FOSDEM
>> this year! :)
>>
>> Carsten Dominik (2010-09-28 19:44:30 +0200) wrote:
>>
>>> Please reply to this email if you'd consider to come to FOSDEM[1,2],
>>> February 5 and 6 next year in Brussels, in order to join an Org-mode
>>> meet-up there.
>>>
>>> - [ ] I would come and listen
>>> - [ ] I would come and give a talk in the devroom
>>>
>>> [1]  http://www.fosdem.org/2011/
>>> [2]  http://www.fosdem.org/2011/call_for_devrooms

Second attempt to reply! I would like to attend and possibly talk about
using org with jekyll if anyone thinks it might be interesting.

Ian.

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


[Orgmode] Sidewaystable in org?

2010-09-29 Thread Rainer M Krug
Hi

I would like to have a table exported to LaTeX in landscape formate. I
tried
\begin{sidewaystable}
THE TABLE
\end{sidewaystable}

but I did not succeed.

Is there a way to produce a sideways table from org? OK - one approach would
be to use a radio table in a LaTeX block, but I am struggling with those as
well.

Cheers,

Rainer

-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Org-latest.zip out of sync

2010-09-29 Thread Bastien
Giovanni Ridolfi  writes:

> I just discovered that org-latest.zip[1]
> is frozen to the 19th of September  (Arrgh!) :-(

Fixed, thanks.

The zipped directory is named "org-mode-web", which is wrong.

I'll fix this over the week-end.

-- 
 Bastien

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


[Orgmode] [beamer] export a long source block as in several frames

2010-09-29 Thread zwz
Now I am preparing a presentation using the beamer feature supported by
org-mode.

When exporting, I want some long source code (more than one frame can
contain) to be arranged in several frames rather than partially
invisible.

I know there's once a discussion on the support of the frame option
allowframebreaks, but I am thinking "would it be good to add the option
by default when exporting for the frame that contains some source code?"


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


Re: [Orgmode] Re: [babel] FEATURE REQUEST: send results into file

2010-09-29 Thread Rainer M Krug
2010/9/29 Sébastien Vauban 

> Hi Rainer,
>
> Rainer M Krug wrote:
> > Based on a discussion in the thread "Problem with PROPERTIES :OPTIONS:
> when
> > exporting subtree", The idea came ub by Mathew Lundin to be able to "send
> > the results or a source code block (either executed code or exported org
> > snippets) via babel to a target in an external file.".
> >
> > The scenario or context in which the idea came up:
> >
> > I am using org babel for literate programming and I document my
> parameters
> > for simulations in a table in org. Now when writing a paper, for which I
> use
> > a different program (I use LyX), but I still would like to include the
> > tables from my original org file in them. Therefore I was looking for a
> > possibility to export ONLY the table into a .tex file, so that it can be
> > included in the LyX / LaTeX via \input{theTable.tex} . Therefore I would
> > need an export of the table in LaTeX format, but no preamble or anything.
>
> *Side question*, because this is quite important, I think: why are you
> still
> using LyX directly?
>

Because it is easier for me? Don't get me wrong - I really like org mode and
org babel - I can not imagine working without them (wait - I did that until
about a year ago...). But for writing papers for publication, other tools
are more suitable FOR ME: These papers do not include any literate
programming and no to be executed code, and I really like the interface of
LyX for writing. More even then a text editor for LaTeX (however advanced or
not it may be), it does what it is supposed to be doing: to let me
concentrate on the contents of the paper. But as I said, that is my personal
opinion, and others might prefer other approaches.


>
> For my literate programming needs, I've been able to completely forget
> about
> my past ways to do:
>
> - Nuweb (in MS Windows) extensions to LaTeX
> - Noweb (in Linux) extensions to LaTeX
>
> and switch, with much more benefits, to Org-only files.


Yes - concerning programming, literate programming, documenting the source
code, etc., org mode with org-babel is PERFECT.


> What is stopping you from being able to do so?


As I said - org is getting close to being a swiss army knife, but I tried to
open a bottle with it and my screen broke - so I still use a bottle opener
for that...


> That root cause should be fixed, IMHO -- if doable, of course...
>
>
> > As far as I was told, this possibility does not exist in org.
>
> If I understand correctly, this is, indeed, the difficulty Eric exposed us,
> when I was working on the isodoc letter (trying to convert Org blocks to
> LaTeX, and get everything assembled upon exporting).
>

Effectively, yes - except that the org block converted to LaTeX should be
available in files, which can be used from other programs as well.

Cheers,

Rainer


> Best regards,
>  Seb
>
> --
> Sébastien Vauban
>
>
> ___
> Emacs-orgmode mailing list
> Please use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Org-latest.zip out of sync

2010-09-29 Thread Giovanni Ridolfi
Hello everyoune,

I just discovered that org-latest.zip[1]
is frozen to the 19th of September  (Arrgh!) :-(

In these days Bastien was playing with worg and the exporter...
maybe something was broken. 

[1] I don't have the gunzip utility so I can't
access the tar.gz file.

cheers,

Giovanni /me really(!) disappointed for not having the latest
 shining flashing glittering Org-mode version. 

 ;-) I'm joking, Bastien. 
 Thanks in advance for fixing.

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


[Orgmode] change faces via custom, not permanent

2010-09-29 Thread Uwe Brauer
Hello 

that looks strange: I changed a couple of faces via 
(customize-face "")
namely 
Org Code: (sample) *
and 
Org TODO: (sample) *

However when I add a new =this code= string I have to turn
off and on font-lock-mode, otherwise the string is not set
in the new face.
Is this a bug (org-6.34)

Uwe Brauer 


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


Re: [Orgmode] Re: Freemind conversion and Notes

2010-09-29 Thread Lennart Borgman
On Wed, Sep 29, 2010 at 11:23 AM, Sven Bretfeld  wrote:
> Hi Lennart
>
> Lennart Borgman  writes:
>
>> "Give thanks for unknown blessings already on their way." - Native
>> American Saying.
>>
>> Can you please just remove the argument given to
>> called-interactively-p? Please see here:
>> http://old.nabble.com/called-interactively-p-td25704073.html
>
> Just without knowing what I'm actually doing (since I don't understand
> much of discussions about coding), I removed the 'any of every
> occurrence of "called-interactively-p 'any" in org-freemind.el. I seem
> to have hit the bull's eye. Now its working perfectly. Great.

Yes, that was exactly what you should do. (And byte compile and load
the new org-freemind.el of course.)

Thanks for testing it.

Carsten, could you please update org-freemind in the sources (both Org
sources and Emacs sources)?

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


[Orgmode] Re: Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-09-29 Thread Rainer Stengele
Am 28.09.2010 19:44, schrieb Carsten Dominik:
> Hi everyone
> 
> Please reply to this email if you'd consider to come to FOSDEM[1,2],
> February 5 and 6 next year in Brussels, in order to join an Org-mode
> meet-up there.
> 
> 
> - [ ] I would come and listen
> - [ ] I would come and give a talk in the devroom
> 
> 
> [1]  http://www.fosdem.org/2011/
> [2]  http://www.fosdem.org/2011/call_for_devrooms
> 
Hi all,

I will not be able to participate.
Will there be videos?

Personally I would be more interested to watch a session where a "power org 
user" shows how he uses org daily instead of another introduction to the basics.
Maybe others too would simply like to share the ideas that have grown over time 
by expert org users.

This could also become an emacs advertisement video ...

Best,
Rainer


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


Re: [Orgmode] Cannot insert column - wrong type argument

2010-09-29 Thread Giovanni Ridolfi
"Gez"  writes:

Hi, Gez, 

> I'm having problems configuring 

what do you intend with "configuring"?

> the column view in 
> a particular file  - I can't insert/add a column.  
`S-M-'
 Insert a new column, to the left of the current column.

I cannot reproduce:
Org version 7.01trans , commit  9ec705cb57b77595dd9aeb17f9168fb1db9ac908.


Sample file:
---
 -*- mode: org; -*-
* [2010-09-29 mer] column view
:PROPERTIES:
:COLUMNS: %25ITEM(Number) 
:END:
** one
:PROPERTIES:
:Value: 100
:Age: 11
:END: 
** two
:PROPERTIES:
:Value: 200
:Age: 22
:END: 
-

1.  C-c C-x C-c  shows the column view with the "Number column"
2.  M-S-  asks for the property of the new column
2.1write "Age" (without " ")
3.  You'll have a two columns column view

Giovanni

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


Re: [Orgmode] Re: Freemind conversion and Notes

2010-09-29 Thread Sven Bretfeld
Hi Lennart

Lennart Borgman  writes:

> "Give thanks for unknown blessings already on their way." - Native
> American Saying.
>
> Can you please just remove the argument given to
> called-interactively-p? Please see here:
> http://old.nabble.com/called-interactively-p-td25704073.html

Just without knowing what I'm actually doing (since I don't understand
much of discussions about coding), I removed the 'any of every
occurrence of "called-interactively-p 'any" in org-freemind.el. I seem
to have hit the bull's eye. Now its working perfectly. Great.

Thank you very much,

Sven

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


[Orgmode] Re: [babel] FEATURE REQUEST: send results into file

2010-09-29 Thread Sébastien Vauban
Hi Rainer,

Rainer M Krug wrote:
> Based on a discussion in the thread "Problem with PROPERTIES :OPTIONS: when
> exporting subtree", The idea came ub by Mathew Lundin to be able to "send
> the results or a source code block (either executed code or exported org
> snippets) via babel to a target in an external file.".
>
> The scenario or context in which the idea came up:
>
> I am using org babel for literate programming and I document my parameters
> for simulations in a table in org. Now when writing a paper, for which I use
> a different program (I use LyX), but I still would like to include the
> tables from my original org file in them. Therefore I was looking for a
> possibility to export ONLY the table into a .tex file, so that it can be
> included in the LyX / LaTeX via \input{theTable.tex} . Therefore I would
> need an export of the table in LaTeX format, but no preamble or anything.

*Side question*, because this is quite important, I think: why are you still
using LyX directly?

For my literate programming needs, I've been able to completely forget about
my past ways to do:

- Nuweb (in MS Windows) extensions to LaTeX
- Noweb (in Linux) extensions to LaTeX

and switch, with much more benefits, to Org-only files. What is stopping you
from being able to do so?  That root cause should be fixed, IMHO -- if doable,
of course...


> As far as I was told, this possibility does not exist in org.

If I understand correctly, this is, indeed, the difficulty Eric exposed us,
when I was working on the isodoc letter (trying to convert Org blocks to
LaTeX, and get everything assembled upon exporting).

Best regards,
  Seb

-- 
Sébastien Vauban


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


[Orgmode] [babel] FEATURE REQUEST: send results into file

2010-09-29 Thread Rainer M Krug
Hi

Based on a discussion in the thread "Problem with PROPERTIES :OPTIONS: when
exporting subtree", The idea came ub by Mathew Lundin to be able to "send
the results or a source code block (either executed code or exported org
snippets) via babel to a target in an external file.".

The scenario or context in which the idea came up:

I am using org babel for literate programming and I document my parameters
for simulations in a table in org. Now when writing a paper, for which I use
a different program (I use LyX), but I still would like to include the
tables from my original org file in them. Therefore I was looking for a
possibility to export ONLY the table into a .tex file, so that it can be
included in the LyX / LaTeX via \input{theTable.tex} . Therefore I would
need an export of the table in LaTeX format, but no preamble or anything. As
far as I was told, this possibility does not exist in org.

So Mathew's / my question is if it would be possible to include a
functionality to "send the results or a source code block (either executed
code or exported org snippets) via babel to a target in an external file.".


Cheers,

Rainer


-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Having (too) many files in org-agenda-files

2010-09-29 Thread Sébastien Vauban
Hi Shelagh,

Shelagh Manton wrote:
> Sébastien Vauban  writes:
> I use the jit-lock package that comes with emacs. "Stealth fontifying"
>
> It makes font-lock only happen after the buffer is loaded and when you are
> not doing anything else.

I just checked. The following is default:

--8<---cut here---start->8---
(setq font-lock-support-mode 'jit-lock-mode)
--8<---cut here---end--->8---

hence, I also have it.


> You can access the variables through customize-group RET jit-lock. It may be
> helpful here.

As you can see, I did not change anything:

--8<---cut here---start->8---
Editing a setting changes only the text in this buffer.
To apply your changes, use the Save or Set buttons.
Saving a change normally works by editing your init file.
For details, see Saving Customizations in the Emacs manual.


 Operate on all settings in this buffer that are not marked HIDDEN:
 Set for current session Save for future sessions
 Undo edits Reset to saved Erase customizations   Exit

Parent groups: Font Lock
Parent group documentation: Elisp Manual and Emacs Manual.


/- Jit Lock group: Font Lock support mode to fontify just-in-time.---\
  State: visible group members are all at standard values.

Jit Lock Chunk Size: Hide Value 500
   State: STANDARD.
   Jit-lock fontifies chunks of at most this many characters at a time. More

Jit Lock Stealth Time: Hide Value Value Menu never
   State: STANDARD.
   Time in seconds to wait before beginning stealth fontification. More

Jit Lock Stealth Nice: Hide Value Value Menu seconds: 0.5
   State: STANDARD.
   Time in seconds to pause between chunks of stealth fontification. More

Jit Lock Stealth Load: Hide Value Value Menu load: 200
   State: STANDARD.
   Load in percentage above which stealth fontification is suspended. More

Jit Lock Stealth Verbose: Hide Value Toggle  off (nil)
   State: STANDARD.
   If non-nil, means stealth fontification should show status messages.

Jit Lock Contextually: Hide Value Value Menu syntax-driven
   State: STANDARD.
   If non-nil, means fontification should be syntactically true. More

Jit Lock Context Time: Hide Value 0.5
   State: STANDARD.
   Idle time after which text is contextually refontified, if applicable.

Jit Lock Defer Time: Hide Value Value Menu never
   State: STANDARD.
   Idle time after which deferred fontification should take place. More

\- Jit Lock group end --/
--8<---cut here---end--->8---

Though, I find some values quite weird:

- jit-lock-stealth-time = nil (never)
- jit-lock-stealth-load = 200 (%!?)
- jit-lock-defer-time = nil (never)

Best regards,
  Seb

-- 
Sébastien Vauban


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


[Orgmode] Re: Problem with PROPERTIES :OPTIONS: when exporting subtree

2010-09-29 Thread Rainer M Krug
On Tue, Sep 28, 2010 at 7:29 PM, Matthew Lundin  wrote:

> Rainer M Krug  writes:
>
> > On Mon, Sep 27, 2010 at 2:03 AM, Matt Lundin  wrote:
> >
> > Rainer M Krug  writes:
> >
> > > Hi
> > >
> > > I hava a problem with exporting to LaTeX.
> > >
> > > I want to export a table to latex. I put it into a subtree,
> > containing
> > > only the table, i.e. no headers, as I want to include it into
> > another
> > > document. I thought, that using the :OPTIONS: property, I can
> > disable
> > > the headers - but it does not seem to be working - am I missing
> > > something?
> >
> > I believe the relevant property is :EXPORT_OPTIONS:.
> >
> > ...
> >
> > Have you considered radio tables? It's a nice solution for
> > including an
> > org-mode table in a LaTeX document.
> >
> > Yes - I looked into them, but I don't get them to work. Do you have an
> > org file with a radio table so that I can see it?
>
> There's a nice example in the manual:
>
> (info "(org) A LaTeX example")
>
> >
> > Actually, I don't think they would do what I want:  want to save the
> > table as LaTeX to a file and use it in a different program (LyX), so
> > that I can update the table while I am working on my simulation, and
> > that when I open LyX, I always have the up-to-date version for the
> > paper I am writing.
>
> Ah, then they wouldn't work in this scenario. Radio tables allow you to
> use the minor mode orgtbl to edit org-mode tables within a commented
> section of a source file (e.g., LaTeX, html) and then to place the
> "exported" table at a target location within the same file.
>

That what I thought.


>
> It would, however, be very nice to be able to send the results or a
> source code block (either executed code or exported org snippets) via
> babel to a target in an external file.
>

Yes - I will raise that point in a new thread.

Thanks a lot for your help,

Cheers,

Rainer


>
> Best,
> Matt
>



-- 
NEW GERMAN FAX NUMBER!!!

Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,
UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Cell:   +27 - (0)83 9479 042
Fax:+27 - (0)86 516 2782
Fax:+49 - (0)321 2125 2244
email:  rai...@krugs.de

Skype:  RMkrug
Google: r.m.k...@gmail.com
___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Re: Having (too) many files in org-agenda-files

2010-09-29 Thread Sébastien Vauban
Hi Carsten,

Carsten Dominik wrote:
> On Sep 28, 2010, at 8:45 PM, Sébastien Vauban wrote:
>> Of course, I have many, many files in Org mode. All files I write (or touch)
>> in fact.
>>
>> Of course, I would like to search through my files at some point in time. I
>> even would like to search through your files at some point in time, I mean
>> through =org-mode/contrib/babel= and =Worg= for example. Hence, I put them
>> in =org-agenda-files=.
>>
>> The problem is the load-time of my Emacs, now 221 seconds, coming from 20
>> seconds before the heavy use of Org...
>>
>> You'll tell me: not a problem, you do that only once a day, and you use
>> Emacs client/server for the rest of the time. True. A bit, because I
>> sometimes have to restart Emacs for testing a fresh one (not impacted by
>> defvars already defined, or deffaces, etc.).
>>
>> Having to wait almost 4 minutes is a real pain. So, here my
>> comments/questions:
>>
>> - Isn't it possible to delay the fontification/ispell/etc. to when we
>>   really display (i.e., pop up) the buffer? I guess this must be a major
>>   component of the time this takes.
>>
>> - Couldn't we have 2 vars: =org-agenda-files= for the files you know you
>>   want have scanned for the agenda construction, and an extra list such as
>>   =org-search-files= for files not containing any dates? Then, some time
>>   would have to be taken when =C-c a s=, but not before. And not if you
>>   don't search for anything in your Org files during that Emacs session...
>
> 4 minutes of startup time is entirely unacceptable.  And I think
> you need to identify what is causing this.
>
> First of all, unless you are having to totally old Version of Emacs,

Nope. GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
of 2010-03-29 on rothera, modified by Debian


> fontification at display time is standard, I believe.

It seems not, from what I see in the Messages buffer. I really don't have the
impression of having fiddled with that, really.


> You must be doing something strange, like forcing Emacs to load
> all those files in org-agenda-files for example,

That, yes!  I should have explicitly written it, but -- yes -- I do have:

--8<---cut here---start->8---
(org-agenda-list)
--8<---cut here---end--->8---

in my .emacs.


> and maybe forcing global fontification for each file or so.

To repeat myself, no to that question. But ispell and flyspell are called for
Org files. Maybe there are interactions?


> About a separate variable for search file, that does of cause exist:
> org-agenda-text-search-extra-files

Of course!

Doing this:

--8<---cut here---start->8---
(setq org-agenda-files
  (append (directory-files org-directory t "^[^\\.].*\\.org$")
  (if (file-exists-p "~/Projects/")
  (directory-files "~/Projects/" t "^[^\\.].*\\.org$")
nil)))

(setq org-agenda-text-search-extra-files
  (append
  (if (file-exists-p "~/Public/")
  (directory-files "~/Public/" t "^[^\\.].*\\.txt$")
nil)
  (if (file-exists-p "~/Public/www.mygooglest.com/source/sva/")
  (directory-files "~/Public/www.mygooglest.com/source/sva/" t 
"^[^\\.].*\\.txt$")
nil)
  (if (file-exists-p "~/Examples/Org-scraps/")
  (directory-files "~/Examples/Org-scraps/" t 
"^[^\\.].*\\.txt$")
nil)
  (if (file-exists-p 
"~/Downloads/emacs/site-lisp/org-mode/contrib/babel/")
  (directory-files 
"~/Downloads/emacs/site-lisp/org-mode/contrib/babel/" t "^[^\\.].*\\.org$")
nil)
  (if (file-exists-p "~/Downloads/emacs/site-lisp/Worg/")
  (directory-files "~/Downloads/emacs/site-lisp/Worg/" t 
"^[^\\.].*\\.org$")
nil)
  ))
--8<---cut here---end--->8---

reduces my load time from 221 seconds down to 92 seconds. Already a huge diff!

Thanks...

Best regards,
  Seb

-- 
Sébastien Vauban


___
Emacs-orgmode mailing list
Please 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 export =\'= as a table entry in latex

2010-09-29 Thread zwz
Carsten Dominik  writes:

> On Sep 19, 2010, at 4:29 PM, zwz wrote:
>
>> Those days when I was preparing a presentation about the special chars
>> that starts with a =\= in C programming language, I made such a table
>>
>> | \' | signle quote |
>> | \" | double quote |
>>
>> It did not work after I hit C-c C-e p.
>>
>> So I modified it as
>> | =\'= | signle quote |
>> | =\"= | double quote |
>>
>> Still it did not produce the right thing.
>
> This was at first puzzling, because you did exactly the right thing.
>
> The reason why it is not working is that quotes cannot be last
> in an emphasis string.  I do not remember the reason for this
> I am sure there was one at some point.
>
> What you can do is this:  Customize the variable org-emphasis-regexp-
> components and remove
>
>   \"
>
> and
>
>   '
>
> from the third element in that variable.
>
> The your second version above should work.
>
> - Carsten

Thanks for your instructions.
And yes, it puzzled me a lot.
Maybe there should be an easier workaround, e.g. by #+OPTIONS.



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


[Orgmode] lisp functions in column view

2010-09-29 Thread Łukasz Stelmach
Hi.

Is it possible, to have a value of a column (property) in the column
view calculated with a lisp function?

For example, I would like to compare some checking accounts (cost vs.
features) and I think using a very wide table would be cumbersome when
compared to properties and configurable column view, and I could also
take some notes. In the end I'd like to calculate a score based on
different properties (is it possible to sort the column view?).

-- 
Miłego dnia,
Łukasz Stelmach


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


[Orgmode] Re: geolocated notes

2010-09-29 Thread Łukasz Stelmach
Carsten Dominik  writes:

> On Sep 27, 2010, at 1:15 PM, Łukasz Stelmach wrote:
>
>> I've just created a hack to for org-mode (and org-remember) to
>> receive and parse URLs from OpenStreetMap and Google Maps. The
>> function extracts longitude and latitude and sets GEO property of the
>> node to geo: URI.
[...]
> Nice!

There are few things to do: accept `geo:' URIs[1] simply putting them in
the GEO property without any modification, some sanity and error checks
too. I am going to work on this for myself[2] but I will follow this thread
waiting for any suggestions too.

What I would like to achieve is a "geospatial aware todo list" that
enables one to choose todos along or near a route between two selected
points, so one can visit them when traveling. Probably there will be a
link to the Google Maps on the bootom of such a list to visualise such a
list.

[1] http://geouri.org/
[2] I'll create org-geo branch in http://github.com/steelman/org-mode

-- 
Miłego dnia,
Łukasz Stelmach


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


[Orgmode] Re: Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-09-29 Thread Christian Egli
Carsten Dominik  writes:

> Please reply to this email if you'd consider to come to FOSDEM[1,2],
> February 5 and 6 next year in Brussels, in order to join an Org-mode
> meet-up there.

Thanks for getting this started.

> - [X] I would come and listen

I always like to go to FOSDEM and eat some Belgian waffles :-)

> - [X] I would come and give a talk in the devroom

Sure, I could talk about taskjuggler integration.

-- 
Christian Egli
Swiss Library for the Blind, Visually Impaired and Print Disabled
Grubenstrasse 12, CH-8045 Zürich, Switzerland


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


Re: [Orgmode] Re: Orgmode meetup at FOSDEM, February 2011. Who would come?

2010-09-29 Thread Ian Barton
Ivan Vilata i Balaguer  writes:

> Having an Org meet-up would be one more great reason to attend FOSDEM
> this year! :)
>
> Carsten Dominik (2010-09-28 19:44:30 +0200) wrote:
>
>> Please reply to this email if you'd consider to come to FOSDEM[1,2],
>> February 5 and 6 next year in Brussels, in order to join an Org-mode
>> meet-up there.
>>
>> - [ ] I would come and listen
>> - [ ] I would come and give a talk in the devroom
>>
>> [1]  http://www.fosdem.org/2011/
>> [2]  http://www.fosdem.org/2011/call_for_devrooms


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