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

2011-04-27 Thread Eric Schulte
Darlan Cavalcante Moreira writes: > Hello list, > > I have changed my Emacs initialization from the .emacs file (loading > several .el files) to org-mode by using the excellent starter kit. I use a > single .org file with the initialization code broken down into level-1 > headings, possible with

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

2011-04-27 Thread Darlan Cavalcante Moreira
Hello list, I have changed my Emacs initialization from the .emacs file (loading several .el files) to org-mode by using the excellent starter kit. I use a single .org file with the initialization code broken down into level-1 headings, possible with subheadings. This works very well, but I'd li

Re: [O] [ANN] org-bibtex.el --- convert between Org headings and bibtex entries

2011-04-27 Thread Eric Schulte
Hi Matt, Matt Lundin writes: > Hi Eric, > > "Eric Schulte" writes: > >> Matt Lundin writes: >> >> [...] I understand I may add to the types variable.  When using org-bibtex-create, I can enter any arbitrary field as a PROPERTY; however, org-bibtex ignores anything outside of the

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

2011-04-27 Thread Michael Hannon
> From: Jambunathan K Is there something else that I can/should do to make sure that the original Org-Mode is really gone?   >> >>>Restart your emacs to make sure that you don't have any remnants, but >>>otherwise this seems fullproof to me. >> >> Hi, Nick.  Yes, I did res

Re: [O] Implemented word count for subtrees

2011-04-27 Thread Simon Guest
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? I do use my headings and having the dots and

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

2011-04-27 Thread Nick Dokos
Avdi Grimm wrote: > On Wed, Apr 27, 2011 at 5:41 PM, Nick Dokos 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 for > > details) bu

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

2011-04-27 Thread Avdi Grimm
Update: my initial problem with missing sections has gone away as mysteriously as it came. Still looking for a way to use the "starred" form for LaTeX export of certain headlines. -- Avdi Grimm http://avdi.org

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

2011-04-27 Thread Jambunathan K
>>> Is there something else that I can/should do to make sure that the original >>> Org-Mode is really gone? >>>  > >>Restart your emacs to make sure that you don't have any remnants, but >>otherwise this seems fullproof to me. > > Hi, Nick.  Yes, I did restart Emacs but had the same problems. Us

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

2011-04-27 Thread Michael Hannon
> From: Nick Dokos >> Is there something else that I can/should do to make sure that the original >> Org-Mode is really gone? >>  >Restart your emacs to make sure that you don't have any remnants, but >otherwise this seems fullproof to me. Hi, Nick.  Yes, I did restart Emacs but had the same

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

2011-04-27 Thread Nick Dokos
Avdi Grimm wrote: > I have an Org document I'm exporting to PDF through LaTeX using the > "report" class. > > The two first top-level sections in the document, titled "About" and > "Introduction", are completely missing from the generated .tex and > PDF. The exported files start on the third sec

Re: [O] example or source blocks with captions

2011-04-27 Thread Thomas S. Dye
Aloha Neilen Marais, A while back I took a stab at an overly ambitious project that I've subsequently dropped. In that project I did manage to establish captions that work with org-special-blocks. What follows is a cut and paste job from the bones of the project that might help you solve

[O] Missing Introduction and About sections in LaTeX export

2011-04-27 Thread Avdi Grimm
I have an Org document I'm exporting to PDF through LaTeX using the "report" class. The two first top-level sections in the document, titled "About" and "Introduction", are completely missing from the generated .tex and PDF. The exported files start on the third section. Coincidentally(?) those a

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

2011-04-27 Thread Nick Dokos
[forgot to cc: the list] Michael Hannon wrote: > Is there something else that I can/should do to make sure that the original > Org-Mode is really gone? > Restart your emacs to make sure that you don't have any remnants, but otherwise this seems fine to me. > Here are a couple of the inconsist

[O] Conflict between Org-Mode versions?

2011-04-27 Thread Michael Hannon
Greetings.  I'm trying to learn about Org-Mode.  My goal is mainly to learn to use the Babel extension, but I'm trying to get a good feel for Org-Mode before I do that. I've been having some difficulties with inconsistencies between the behavior described in Org-Mode tutorials and the behavior of

Re: [O] example or source blocks with captions

2011-04-27 Thread Sébastien Vauban
Hi Neilen, Neilen Marais wrote: > Is it possible to caption a #+begin_src or #+begin_example block? Doing > > #+CAPTION: dipole_analytical_balanis.mac > #+begin_example > > #+end_example > > doesn't seem to do the trick. I would find this useful to include > suggested filenames when quoting s

Re: [O] Implemented word count for subtrees

2011-04-27 Thread Eric S Fraga
Simon Guest writes: > 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 below. This is quite nice. Thanks! I cannot help you wit

Re: [O] Footnotes in LaTeX export

2011-04-27 Thread Sébastien Vauban
Hi Matt, Matt Lundin wrote: > Sébastien Vauban writes: >> Hi Nick and all, >> >> Nick Dokos wrote: >>> Thomas S. Dye wrote: What is an ECM? >>> >>> I don't know how widespread it is in French-speaking milieus, but I believe >>> Seb Vauban is responsible for introducing it into this mailing l

Re: [O] serious calendar integration bug

2011-04-27 Thread David Maus
At Wed, 27 Apr 2011 11:06:38 -0400, Matt Price wrote: > > [1 ] > > [2 ] > Hi folks, > > Using a recent git version of org-mode (release_7.5.209.g1a687) with a fairly > recent emacs-snapshot (20110408-1, a package from the debian emacs-snapshot > ppa, but running under ubuntu maverick), I'm h

[O] Maxima persistence between code blocks

2011-04-27 Thread Derek Thomas
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? If so, this seems like a severe limitation. I did some searching and found this guide (htt

Re: [O] Easily adding notes to a TODO item

2011-04-27 Thread Matt Lundin
Shawn Willden writes: > On Wed, Apr 27, 2011 at 6:42 AM, Matt Lundin wrote: >> I'm not too familiar with invoking sexp expansion within capture >> templates and am not sure whether you can expand an item within a sexp. > > It does work, sort of. My function is of the form: > > if path match

Re: [O] Footnotes in LaTeX export

2011-04-27 Thread Matt Lundin
Sébastien Vauban writes: > Hi Nick and all, > > Nick Dokos wrote: >> Thomas S. Dye wrote: >>> What is an ECM? >> >> I don't know how widespread it is in French-speaking milieus, but I believe >> Seb Vauban is responsible for introducing it into this mailing list (see >> http://thread.gmane.org

[O] Export to LaTeX class beamer

2011-04-27 Thread Tait John
Hi When I export to class beamer, much of the content can be pushed off the bottom of the slide. Other than restricting the amount of content under headings, is there a simple way of allowing the content to spill onto the next slide? Thanks John ***

Re: [O] LaTeX beamer class text

2011-04-27 Thread Matt Lundin
John Tait writes: > Hi >   > When I export an Org file to LaTeX class beamer, much of the content > can be pushed off the bottom of the slide if it doesn't all fit on one > slide. >   > Other than restricting the amount of text content under headings, is > there a simple way of allowing content t

[O] example or source blocks with captions

2011-04-27 Thread Neilen Marais
Hi, Is it possible to caption a #+begin_src or #+begin_example block? Doing #+CAPTION: dipole_analytical_balanis.mac #+begin_example #+end_example doesn't seem to do the trick. I would find this useful to include suggested filenames when quoting source on a web page. Thanks Neilen

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

2011-04-27 Thread Eric S Fraga
"Eric Schulte" writes: [...] > I would suggest using that latest version of ELPA, and adding the > following repository sources to your ELPA archives... Done. Thanks for the more comprehensive list of archives. [...] > This should result in the correct collection of packages being made > ava

Re: [O] [BUG][babel] ":result output table" doesn't work for python code blocks

2011-04-27 Thread Eric S Fraga
"Eric Schulte" writes: >>> perhaps the data could be printed as an Org-mode table, and then the >>> "output raw" :results combination could be used, or the output could > >>> be sent through another code block to convert the string to a table. >> >> That's what I do at the moment, actually. >> >>

[O] serious calendar integration bug

2011-04-27 Thread Matt Price
Hi folks, Using a recent git version of org-mode (release_7.5.209.g1a687) with a fairly recent emacs-snapshot (20110408-1, a package from the debian emacs-snapshot ppa, but running under ubuntu maverick), I'm having a really terrible calendar bug -- not sure if it comes from org or from emacs, but

Re: [O] Can I get match count?

2011-04-27 Thread Osamu OKANO
Hi! Thank you for your advice. I made a growl script and set to crontab. It works correctly. #+BEGIN_SRC sh m=`emacsclient -e '(org-agenda-match-count "TODO=\"TODO\"STYLE=\"habit\"+SCHEDULED<=\"\"")'` if [ "0" -ne $m ] then growlnotify \ /t:"org habit" \ /s:true \ /sile

Re: [O] Easily adding notes to a TODO item

2011-04-27 Thread Shawn Willden
On Wed, Apr 27, 2011 at 6:42 AM, Matt Lundin wrote: > I'm not too familiar with invoking sexp expansion within capture > templates and am not sure whether you can expand an item within a sexp. It does work, sort of. My function is of the form: if path matches regexp return complicat

Re: [O] [BUG][babel] ":result output table" doesn't work for python code blocks

2011-04-27 Thread Eric Schulte
>> perhaps the data could be printed as an Org-mode table, and then the >> "output raw" :results combination could be used, or the output could >> be sent through another code block to convert the string to a table. > > That's what I do at the moment, actually. > > Mind you, org is able to take the

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

2011-04-27 Thread Eric Schulte
Eric S Fraga writes: > Hi all! > > I have started using clojure for some serious programming and, > obviously, org comes to mind as my development environment, having very > successfully used org+babel for Octave code development. Clojure is > installed just fine and I have been using leiningen

Re: [O] Display missing/overlapping clock ranges

2011-04-27 Thread Sébastien Vauban
Hi Carsten and all, Carsten Dominik wrote: > these are pretty good ideas, and since it is a holiday, I have some time, so > I have tried an implementation and just pushed it to the master. > > This introduces a new key in the agenda, "v c", which will check for > clocking issues and display them i

Re: [O] Easily adding notes to a TODO item

2011-04-27 Thread Matt Lundin
Shawn Willden writes: > On Tue, Apr 26, 2011 at 10:40 AM, Matt Lundin wrote: >> Shawn Willden writes: >>> I'd also like to be able to easily take notes using something like >>> "remember", but with the notes by default automatically appended to >>> the text under the task I'm currently clocked

[O] LaTeX beamer class text

2011-04-27 Thread John Tait
Hi When I export an Org file to LaTeX class beamer, much of the content can be pushed off the bottom of the slide if it doesn't all fit on one slide. Other than restricting the amount of text content under headings, is there a simple way of allowing content to spill onto the next slide? Thanks

Re: [O] Display missing/overlapping clock ranges

2011-04-27 Thread Carsten Dominik
On Apr 24, 2011, at 11:48 PM, Rainer Stengele wrote: > Am 24.04.2011 17:30, schrieb Carsten Dominik: >> On 13.4.2011, at 23:06, Bernt Hansen wrote: >> >>> Paul Mead writes: >>> Rainer Stengele writes: > I do clock every task I work on during the whole day. > At the end of t

[O] revert all org buffers which changed on disk

2011-04-27 Thread Daniel Clemente
Hi. org-revert-all-org-buffers loads all buffers from disk even if they didn't change. This can be very slow if you have hundreds of org files. The code below adds an extra check to only revert files which changed (according to verify-visited-file-modtime). It may be better to have only one

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

2011-04-27 Thread Sébastien Vauban
Hi Bernt, Bernt Hansen wrote: > Nathan Neff writes: >> Does the clock report in the agenda exclude time spent in the currently >> clocked task? >> >> Is there a way to turn this on? > > org-clock-report-include-clocking-task Don't you find that, when set, the current elapsed time should also be

Re: [O] [BUG][babel] ":result output table" doesn't work for python code blocks

2011-04-27 Thread Eric S Fraga
"Eric Schulte" writes: [...] > > Hi Eric, > > Does the matlab/octave `disp' function display tabular data in the same > manner as it is written literally in source code? Hi Eric! No, unfortunately not. Arrays (tabular data) are written out using only whitespace for formatting: --8<--

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

2011-04-27 Thread Eric S Fraga
Hi all! I have started using clojure for some serious programming and, obviously, org comes to mind as my development environment, having very successfully used org+babel for Octave code development. Clojure is installed just fine and I have been using leiningen for project management up to now (

Re: [O] Footnotes in LaTeX export

2011-04-27 Thread Sébastien Vauban
Hi Nick and all, Nick Dokos wrote: > Thomas S. Dye wrote: >> What is an ECM? > > I don't know how widespread it is in French-speaking milieus, but I believe > Seb Vauban is responsible for introducing it into this mailing list (see > http://thread.gmane.org/gmane.emacs.orgmode/16375/focus=16453 a

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

2011-04-27 Thread Thomas S. Dye
Aloha Nick, Brilliant. Thanks! Tom On Apr 26, 2011, at 8:35 PM, Nick Dokos wrote: Robert Goldman wrote: 4. Modify the org-latex-to-pdf-process to ("pdflatex -interaction nonstopmode -output-directory %o %f" "makeindex -o %b.ind %b.idx" "pdflatex -interaction nonstopmode -output- dire

Re: [O] underscores exported as in html

2011-04-27 Thread aaron barclay
C-c C-c was the magic I was missing. Thanks all for the help. aaron. On 27 April 2011 14:32, Jambunathan K wrote: > aaron barclay writes: > > > interesting. I have this in but thought I must be misunderstanding the > > manual. If I have the line in as below, but it is not working as > > expe