Re: [O] Implemented word count for subtrees

2011-04-28 Thread Eric S Fraga
Simon Guest simon.gu...@tesujimath.org writes: At Wed, 27 Apr 2011 18:51:06 +0100, Eric S Fraga wrote: This is quite nice. Thanks! I cannot help you with the mark problem; hopefully others can. One suggestion, however: I wonder if you could introduce the word count in a different way?

Re: [O] Implemented word count for subtrees

2011-04-28 Thread Eric S Fraga
Sébastien Vauban wxhgmqzgw...@spammotel.com writes: Hi Simon, Simon Guest wrote: Dear Org mode people, I implemented word counting for Org mode sub-trees. That is, count each sub-tree, and accumulate totals into the parent heading lines. Others have asked about this, so I attach my code

Re: [O] Making an index in latex export --- surprisingly difficult

2011-04-28 Thread Eric S Fraga
Robert Goldman rpgold...@sift.info writes: [...] I looked at that thread and unfortunately it petered out (partly because it went off into a different direction to solve an easier problem with conflicting style files). The last message from Eric Fraga states: Oh well, there goes that

Re: [O] Maxima persistence between code blocks

2011-04-28 Thread Eric S Fraga
Derek Thomas derekctho...@gmail.com writes: I'm interested in using org-mode with babel to organize my maxima code. Am I correct in my reading of ob-maxima.el that the babel module for maxima doesn't support persistent variables between code blocks? Correct, basically. If so, this seems

Re: [O] Conflict between Org-Mode versions?

2011-04-28 Thread Eric S Fraga
Michael Hannon jm_han...@yahoo.com writes: [...] FWIW, in Emacs I typed:     C-h v orgTAB and got no fewer than 931 completions.  A lot of knobs to turn! yes, indeed! the info manual is your friend here. it is very difficult to figure out what you need to set from just the list of org-

Re: [O] Making an index in latex export --- surprisingly difficult

2011-04-28 Thread Robert Goldman
On 4/28/11 Apr 28 -4:28 AM, Eric S Fraga wrote: Robert Goldman rpgold...@sift.info writes: [...] I looked at that thread and unfortunately it petered out (partly because it went off into a different direction to solve an easier problem with conflicting style files). The last message

Re: [O] Missing Introduction and About sections in LaTeX export

2011-04-28 Thread Eric S Fraga
Avdi Grimm gro...@inbox.avdi.org writes: Update: my initial problem with missing sections has gone away as mysteriously as it came. Just to add that I do have similar problems every now and again: some sections fail to export, usually the first or first two. Subsequently, after editing the

[O] Build error in git HEAD with org-bibtex.el

2011-04-28 Thread Christian Egli
Hi all When doing a `make update` I get the following compile error: ~/src/org-mode $ make update git pull Already up-to-date. /usr/bin/make clean make[1]: Entering directory `/home/eglic/src/org-mode' [snip] emacs -batch -q -no-site-file -eval (setq load-path (cons (expand-file-name \./lisp/\)

Re: [O] Missing Introduction and About sections in LaTeX export

2011-04-28 Thread Nick Dokos
[forgot to cc: the list] Sébastien Vauban wxhgmqzgw...@spammotel.com wrote: Hi Avdi, Nick Dokos wrote: Avdi Grimm a...@avdi.org wrote: On Wed, Apr 27, 2011 at 5:41 PM, Nick Dokos nicholas.do...@hp.com wrot= e: Just star them by hand in the tex file after exporting for the last

[O] Translate #+INDEX to Latex \index{} on export

2011-04-28 Thread rpgoldman
The following email contains a patch that will cause the latex export preprocessor to rewrite #+INDEX: lines in an org file into LaTeX style \index{} entries. As far as I can tell, this should be The Right Thing --- latex doesn't seem to do anything bad if there are index entries without

[O] [PATCH] Make the latex export preprocessor rewrite #+INDEX to \index.

2011-04-28 Thread rpgoldman
From: Robert P. Goldman rpgold...@real-time.com --- lisp/org-latex.el | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index e7307ef..731d6e6 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1775,6 +1775,8 @@

Re: [O] Making an index in latex export --- surprisingly difficult

2011-04-28 Thread Eric S Fraga
Robert Goldman rpgold...@sift.info writes: [...] If the file is indeed in the /current/ directory, then a simple fix may be to use %b for the file argument to makeindex? I have no problems with bibtex using , | org-latex-to-pdf-process is a variable defined in `org-latex.el'. | Its

[O] serious calendar integration bug

2011-04-28 Thread Matt Price
forgot to reply to the list.. -- Forwarded message -- From: Matt Price mopto...@gmail.com Date: Wed, Apr 27, 2011 at 6:11 PM Subject: Re: [O] serious calendar integration bug To: David Maus dm...@ictsoc.de On Wed, Apr 27, 2011 at 3:11 PM, David Maus dm...@ictsoc.de wrote:

Re: [O] Build error in git HEAD with org-bibtex.el

2011-04-28 Thread Matt Lundin
Christian Egli christian.e...@sbs.ch writes: Hi all When doing a `make update` I get the following compile error: ~/src/org-mode $ make update git pull Already up-to-date. /usr/bin/make clean make[1]: Entering directory `/home/eglic/src/org-mode' [snip] emacs -batch -q -no-site-file

Re: [O] serious calendar integration bug

2011-04-28 Thread Nick Dokos
Matt Price mopto...@gmail.com wrote: hmm.  There's definitely something funny going on, I presume with emacs rather than org, and (again presumably) something to do with my configs or installed packages. The function that's failing is org-eval-in-calendar:  debug(error

Re: [O] Missing Introduction and About sections in LaTeX export

2011-04-28 Thread Avdi Grimm
On Wed, Apr 27, 2011 at 5:41 PM, Nick Dokos nicholas.do...@hp.com wrote: Just star them by hand in the tex file after exporting for the last time: it'll take two seconds. You may be able to do it from Org by writing a custom function (C-h v org-export-latex-classes RET for details) but I

Re: [O] Agenda clock report - show currently clocked task?

2011-04-28 Thread Bernt Hansen
Sébastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: Hi Bernt, Bernt Hansen wrote: Nathan Neff nathan.neff-re5jqeeqqe8avxtiumw...@public.gmane.org writes: Does the clock report in the agenda exclude time spent in the currently clocked task? Is there a way to

[O] org-export-latex-verbatim-wrap has no effect on Babel results

2011-04-28 Thread Avdi Grimm
I have customized my org-export-latex-verbatim-wrap to create a shaded box for verbatim text. However, when I have Babel source code blocks which export results, the results are always rendered with plain \begin{verbatim}...\end{verbatim}. I've been grepping through the code, but I can't figure

[O] Any way to identify a DEADLINE or SCHEDULED item via org-agenda-prefix-format?

2011-04-28 Thread Anupam Sengupta
Hello, In my custom agenda block, I wanted to distinguish between SCHEDULED and DEADLINE items using a small character flag. The docstring for `org-agenda-prefix-format' mentions %s as the one to use for the scheduled/deadline string (as is used in the default agenda) - however, this string does

Re: [O] Build error in git HEAD with org-bibtex.el

2011-04-28 Thread Eric Schulte
Hi Christian, Thanks for sharing this. I've just pushed up a fix for the problem you mentioned below. That will teach me to push a big change without consulting the compiler first. Best -- Eric Christian Egli christian.e...@sbs.ch writes: Hi all When doing a `make update` I get the

Re: [O] Starter-kit: How to disable some heading from the initialization

2011-04-28 Thread Darlan Cavalcante Moreira
Thanks Eric, Adding the property :TANGLE: no did the trick. I guess I was so sure the correct value was nil, since it is what I use when adding this to the source blocks, that I didn't even try the more obvious no as a value. -- Darlan At Wed, 27 Apr 2011 21:43:52 -0600, Eric Schulte wrote:

Re: [O] Build error in git HEAD with org-bibtex.el

2011-04-28 Thread Eric Schulte
Matt Lundin m...@imapmail.org writes: Christian Egli christian.e...@sbs.ch writes: Hi all When doing a `make update` I get the following compile error: ~/src/org-mode $ make update git pull Already up-to-date. /usr/bin/make clean make[1]: Entering directory `/home/eglic/src/org-mode'

Re: [O] [PATCH] Make the latex export preprocessor rewrite #+INDEX to \index.

2011-04-28 Thread Robert Goldman
On 4/28/11 Apr 28 -7:33 AM, Nick Dokos wrote: rpgold...@sift.info wrote: From: Robert P. Goldman rpgold...@real-time.com --- lisp/org-latex.el | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) ... Very nice! Did a small test and it works as advertised.

Re: [O] [PATCH] Make the latex export preprocessor rewrite #+INDEX to \index.

2011-04-28 Thread Robert Goldman
My mistake -- I made the template wrong; it wasn't a case-fold issue, after all. I have a patch that will do this now. Will post it soon. Cheers, r

[O] [PATCH] Add an easy template for index (i), and move include file to I from i.

2011-04-28 Thread rpgoldman
From: Robert P. Goldman rpgold...@real-time.com Implement Nick Dokos' suggestion for inserting #+INDEX. Notes about this patch: 1. It breaks some old user-visible behavior, since i changes meaning. Per Nick's posting, we expect that if index is used, it will be used more commonly than

Re: [O] Build error in git HEAD with org-bibtex.el

2011-04-28 Thread Matt Lundin
Eric Schulte schulte.e...@gmail.com writes: Matt Lundin m...@imapmail.org writes: [...] And with bleeding edge emacs (compiled from the repos yesterday), I'm getting an additional error: In toplevel form: org-bibtex.el:114:1:Warning: global/dynamic var `description' lacks a prefix

[O] Fwd: example or source blocks with captions

2011-04-28 Thread Thomas S. Dye
(forgot to cc the list) Begin forwarded message: From: Thomas S. Dye t...@tsdye.com Date: April 28, 2011 5:42:32 AM HST To: Sébastien Vauban wxhgmqzgw...@spammotel.com Subject: Re: [O] example or source blocks with captions Aloha Seb, On Apr 27, 2011, at 9:46 PM, Sébastien Vauban wrote: Hi

Re: [O] org-bibtex.el

2011-04-28 Thread Eric Schulte
Thomas S. Dye t...@tsdye.com writes: Hi Eric, This is fitting very nicely into my workflow. Thanks. Here are some reactions after a bit more experience with the package. It would be nice to be able to call org-bibtex-create with an option to fill in required and optional fields. I

Re: [O] Footnotes in LaTeX export

2011-04-28 Thread Thomas S. Dye
Aloha Nicolas, On Apr 26, 2011, at 8:38 AM, Nicolas Goaziou wrote: Hello, Thomas S. Dye t...@tsdye.com writes: I'm exporting a subtree to LaTeX and am having problems with footnotes. 1) If I enter a footnote with C-c C-x f everything works as expected in the Org-mode buffer, but on

Re: [O] [babel] hemorrhaging at the bleeding edge: using clojure

2011-04-28 Thread Eric S Fraga
Eric Schulte schulte.e...@gmail.com writes: [...] I would suggest using that latest version of ELPA, and adding the following repository sources to your ELPA archives... [...] Once you have slime working, then Babel code blocks should be trivial (they rely on a slime session). Be sure to

Re: [O] serious calendar integration bug

2011-04-28 Thread Matt Price
On Thu, Apr 28, 2011 at 8:43 AM, Nick Dokos nicholas.do...@hp.com wrote: Matt Price mopto...@gmail.com wrote: One thing is to make sure that it is the first select-window which is failing: there is a second one in there as well. Toggling debug-on-error and getting a full backtrace

Re: [O] [babel] hemorrhaging at the bleeding edge: using clojure

2011-04-28 Thread Eric S Fraga
(followup to my long email a few minutes ago) I should have added that the output I expect does all appear in the =*slime-repl clojure*= buffer even if it never appears in the org buffer. Maybe I've misunderstood what ob-clojure is meant to do? thanks, eric -- : Eric S Fraga (GnuPG:

Re: [O] [babel] hemorrhaging at the bleeding edge: using clojure

2011-04-28 Thread Eric Schulte
[...] The problem is that nothing appears in the org file; instead, I get the following error message: Evaluate this clojure code block (simple) on your system? (y or n) y executing Clojure code block (simple)... org-babel-execute:clojure: Invalid read syntax: # This is very confusing...

Re: [O] Patch --- adding an easy template for #+index

2011-04-28 Thread Bernt Hansen
rpgold...@sift.info writes: The next message will contain a patch that provides a new easy template for adding index entries, per Nick Dokos's suggestion. Hi Robert, Just a FYI: you can include the above information right in your patch after the --- and before the diffstat like this:

Re: [O] Patch --- adding an easy template for #+index

2011-04-28 Thread Robert Goldman
On 4/28/11 Apr 28 -2:11 PM, Bernt Hansen wrote: rpgold...@sift.info writes: The next message will contain a patch that provides a new easy template for adding index entries, per Nick Dokos's suggestion. Hi Robert, Just a FYI: you can include the above information right in your patch

Re: [O] [babel] hemorrhaging at the bleeding edge: using clojure

2011-04-28 Thread Eric S Fraga
Eric Schulte schulte.e...@gmail.com writes: [...] The problem is that nothing appears in the org file; instead, I get the following error message: Evaluate this clojure code block (simple) on your system? (y or n) y executing Clojure code block (simple)... org-babel-execute:clojure:

Re: [O] [babel] hemorrhaging at the bleeding edge: using clojure

2011-04-28 Thread Eric Schulte
Eric S Fraga e.fr...@ucl.ac.uk writes: Eric Schulte schulte.e...@gmail.com writes: [...] The problem is that nothing appears in the org file; instead, I get the following error message: Evaluate this clojure code block (simple) on your system? (y or n) y executing Clojure code block

[O] Run lisp code in macros?

2011-04-28 Thread amscopub-mail
Is there a way to apply text transformations to arguments in macros? For example, say that you want to change the first argument to capital letters? or transpose the letters of the second argument? How would you do that? I imagine you would have to run elisp code, perhaps babel is the answer?

Re: [O] org-src-fontify-natively makes things very, very slow

2011-04-28 Thread Carsten Dominik
On 21.3.2011, at 18:06, Eric S Fraga wrote: Hello again, going back to the original subject of this thread (although thanks all for your inputs on yasnippet ;-), I have started working on a new document and am finding the slowdown of navigation (next-line) very annoying. In this

[O] Restrict agenda search to specific org files

2011-04-28 Thread Marcelo de Moraes Serpa
Hello list, I'd like to know if it's possible to create custom agenda search commands that will search only specific files (a subset) from the agenda list. It would be nice if we could also override the agenda file list and just specify the file(s) in the command. Thanks, Marcelo.

Re: [O] Patch --- adding an easy template for #+index

2011-04-28 Thread Bernt Hansen
Robert Goldman rpgold...@sift.info writes: On 4/28/11 Apr 28 -2:11 PM, Bernt Hansen wrote: rpgold...@sift.info writes: The next message will contain a patch that provides a new easy template for adding index entries, per Nick Dokos's suggestion. Hi Robert, Just a FYI: you can include

Re: [O] serious calendar integration bug

2011-04-28 Thread Daniel Clemente
El Thu, 28 Apr 2011 08:02:33 -0400 Matt Price va escriure:  debug(error (wrong-type-argument window-live-p nil))   select-window(nil)   org-eval-in-calendar(nil t) I often experience a similar bug but with frames instead of windows: ;Debugger entered--Lisp error: (wrong-type-argument

Re: [O] [ANN] Inkmacs

2011-04-28 Thread Marcelo de Moraes Serpa
This is *really* cool. That's what I love about org and the org community in general. Orgmode is by far the best PIM *framework/platform* out there, and this is what we need, more integrations (as well as more pre-packaged org solutions). Evernote is nice and just works, but I'd never leave org,

[O] Sub-tree word count v2

2011-04-28 Thread Simon Guest
At Thu, 28 Apr 2011 09:34:35 +0100, Eric S Fraga wrote: However, it would be helpful if the modification flag were not changed by asking for the word count. I don't know enough elisp to suggest what to change but you should be able to add the text properties without causing the buffer

Re: [O] Sub-tree word count v2

2011-04-28 Thread Samuel Wales
This looks great, Simon. Is it possible to make it so that you can show the overlays for just a subtree or region instead of the entire buffer? Also, I have a plugin-compatible backend that will get you the /exact/ word count (uses w3m). If you're interested you can have it be an alternate

Re: [O] LaTeX beamer class text

2011-04-28 Thread John Tait
Thanks Matt. It works really well. I need to set org-use-property-inheritance to t, so that subheadings follow through, but it's really easy. Cheers John On Wed, Apr 27, 2011 at 5:20 PM, Matt Lundin m...@imapmail.org wrote: John Tait johngt...@gmail.com writes: Hi When I export an Org

[O] syntax bugs in footnotes

2011-04-28 Thread Samuel Wales
Latest git, Emacs 22, my blog exporter settings to HTML, which are enclosed. The bugs will probably work with default export. Bug 1: commented incomplete footnote interacts with link in later text. Result is that comments get exported. IMO comments should be absolute except in the case of #+

Re: [O] Sub-tree word count v2

2011-04-28 Thread Eric S Fraga
Simon Guest simon.gu...@tesujimath.org writes: At Thu, 28 Apr 2011 09:34:35 +0100, Eric S Fraga wrote: However, it would be helpful if the modification flag were not changed by asking for the word count. I don't know enough elisp to suggest what to change but you should be able to add the

Re: [O] org-src-fontify-natively makes things very, very slow

2011-04-28 Thread Eric S Fraga
Carsten Dominik carsten.domi...@gmail.com writes: On 21.3.2011, at 18:06, Eric S Fraga wrote: Hello again, going back to the original subject of this thread (although thanks all for your inputs on yasnippet ;-), I have started working on a new document and am finding the slowdown of

[O] [PATCH] org-preview-latex-fragment in indirect buffers

2011-04-28 Thread Darlan Cavalcante Moreira
Hello, I frequently use indirect buffers with org but org-preview-latex-fragment does not work when in an indirect buffer. The reason is that org-preview-latex-fragment uses buffer-file-name to get the name of the file associated with the current buffer, but this is nil for indirect buffers. To

Re: [O] syntax bugs in footnotes

2011-04-28 Thread Samuel Wales
3 bugs confirmed with default export. -- The Kafka Pandemic: http://thekafkapandemic.blogspot.com/2010/12/welcome-to-kafka-pandemic-two-forces_9182.html I support the Whittemore-Peterson Institute (WPI) === I want to see the original (pre-hold) Lo et al. 2010 NIH/FDA/Harvard MRV paper.

[O] v3, with support for narrowing

2011-04-28 Thread Simon Guest
At Thu, 28 Apr 2011 15:47:07 -0700, Samuel Wales wrote: Is it possible to make it so that you can show the overlays for just a subtree or region instead of the entire buffer? Hi Samuel, Good idea! So I just fixed it to handle narrowing properly, so narrow to your region or subtree of interest

Re: [O] v3, with support for narrowing

2011-04-28 Thread Eric Abrahamsen
On Fri, Apr 29 2011, Simon Guest wrote: At Thu, 28 Apr 2011 15:47:07 -0700, Samuel Wales wrote: Is it possible to make it so that you can show the overlays for just a subtree or region instead of the entire buffer? Hi Samuel, Good idea! So I just fixed it to handle narrowing properly, so

Re: [O] v3, with support for narrowing

2011-04-28 Thread Nick Dokos
Eric Abrahamsen e...@ericabrahamsen.net wrote: On Fri, Apr 29 2011, Simon Guest wrote: At Thu, 28 Apr 2011 15:47:07 -0700, Samuel Wales wrote: Is it possible to make it so that you can show the overlays for just a subtree or region instead of the entire buffer? Hi Samuel, Good

Re: [O] v3, with support for narrowing

2011-04-28 Thread Eric Abrahamsen
On Fri, Apr 29 2011, Nick Dokos wrote: Eric Abrahamsen e...@ericabrahamsen.net wrote: On Fri, Apr 29 2011, Simon Guest wrote: At Thu, 28 Apr 2011 15:47:07 -0700, Samuel Wales wrote: Is it possible to make it so that you can show the overlays for just a subtree or region instead of

Re: [O] convert orgmode to docx

2011-04-28 Thread Jambunathan K
Fabian Braennstroem f.braennstr...@gmx.de writes: Hi Bastien, thanks for the info! Do you have a hint, how I could do the export in batchmode from the console in Linux? You can use the following to convert from org to odt (with suitable changes to the -L option). --8---cut