Re: [O] Agenda restrict to buffer

2012-07-12 Thread andrea crotti
2012/7/12 Bastien b...@gnu.org: (defun my-org-agenda-command () (interactive) (org-agenda-set-restriction-lock 'file) (org-agenda nil %)) Note that you need to be in your .org file for this to work, so this isn't really suited for a global keybinding, only for org-mode-map. HTH,

[O] Agenda restrict to buffer

2012-07-11 Thread andrea crotti
I never quite understood how to pass arguments to org-agenda without using it interactively.. I want a simple thing, a command that shows the agenda with the TODO entries from a given file So supposing the buffer projects.org is open I tried this: (defun my-org-agenda () (interactive)

Re: [O] [PATCH] org-goto before headline

2012-02-12 Thread Andrea Crotti
On 02/10/2012 02:42 PM, Toby Cubitt wrote: On Fri, Feb 10, 2012 at 02:19:27PM +, Andrea Crotti wrote: What is exactly the reason for org-goto to need to be at least in the first headline to work? I always get this error when I just try to jump in the first line: byte-code: Before first

Re: [O] [PATCH] org-goto before headline

2012-02-10 Thread Andrea Crotti
On 02/10/2012 02:42 PM, Toby Cubitt wrote: On Fri, Feb 10, 2012 at 02:19:27PM +, Andrea Crotti wrote: What is exactly the reason for org-goto to need to be at least in the first headline to work? I always get this error when I just try to jump in the first line: byte-code: Before first

Re: [O] just made orgmode-7.8.02

2011-12-29 Thread Andrea Crotti
On 12/29/2011 07:02 PM, Jude DaShiell wrote: Then perhaps something more is wrong. I downloaded orgmode-7.8.02 and installed that after having run the standard gitclone command to clone org-mode on this system. I did that because the gitclone process pulled version 5.23 for me and also created

Re: [O] back to a multiple-file configuration

2011-12-17 Thread Andrea Crotti
On 12/12/2011 07:43 AM, Gustav Wikström wrote: I've also had this problem, but this related to the use of multiple computers and more than one OS that all needed some specific tweaks to be able to run. I'm also using org-babel for my init. A section from my init.org http://init.org follows

[O] back to a multiple-file configuration

2011-12-10 Thread Andrea Crotti
For quite a long time I had my emacs configuration in a big org-mode file (https://github.com/AndreaCrotti/Emacs-configuration). The file has is more than 3500 lines now, and I think the experiment has failed in a sense. The problem is that this even if this style is great to produce nice

Re: [O] back to a multiple-file configuration

2011-12-10 Thread Andrea Crotti
On 12/10/2011 06:31 PM, Andrea Crotti wrote: For quite a long time I had my emacs configuration in a big org-mode file (https://github.com/AndreaCrotti/Emacs-configuration). The file has is more than 3500 lines now, and I think the experiment has failed in a sense. The problem

[O] fill-paragraph?

2011-12-09 Thread Andrea Crotti
I lilke the fill-paragraph behaviour that I get in org-mode, and I was wondering if I could use it also in other modes. Using (turn-on-orgstruct) doesn't change the behaviour, and actually how does it work? I mean M-q in org-mode is still bound to the exact same function, how come it

[O] pylint to org reporting

2011-12-07 Thread Andrea Crotti
Since I've been studying PyLint a little bit I tried to write my own reporter, and in particular I wrote a reporter that writes in org-mode ;) For example running (on a random source file): org_pylint_reporter.py src_obj_check.py I get something like: * TODO

[O] underscore behaviour

2011-10-13 Thread Andrea Crotti
I use names with _ very often, and I like to export to PDF, because it' the one that looks nicest. But the _ in latex means something different, and I find my output a bit messed up. Isn't it possible to add an automatic quote for every _ when exporting to latex/pdf maybe? Or is there a

Re: [O] FR: revivable marks in agenda

2011-10-13 Thread Andrea Crotti
On 10/13/2011 03:41 AM, Samuel Wales wrote: I have an agenda view for urgent and now tags. I just spent a lot of time choosing which ones to mark to remove the tags. I then did B - to remove the tags. I was a little too quick and told it to remove urgent. It did not offer the possibility to

Re: [O] FR: revivable marks in agenda

2011-10-13 Thread Andrea Crotti
On 10/13/2011 05:57 PM, Samuel Wales wrote: On 2011-10-13, Andrea Crottiandrea.crott...@gmail.com wrote: Well in general you should use some revision control system, Those do not store things that never save to disk. Sorry I don't understand the answer... If you're talking about tags and

[O] do it today, or well, tomorrow

2011-10-12 Thread Andrea Crotti
There is a nice little app for android called do it tomorrow, where you can plan easily for one day, and move them to the next day easily. I was trying to do the same in org-mode, so my idea is that: - in the morning I fill some tasks which I should do during the day - at night I move to the next

Re: [O] do it today, or well, tomorrow

2011-10-12 Thread Andrea Crotti
On 10/12/2011 03:54 PM, Dave Abrahams wrote: Binding `org-agenda-date-later' to a key like `f' ought to work out for you. 'f' is already bound to next-week, and it's also quite useful. Shift-right work great thanks! The problem is that shift-arrow in general is a disputed key for me, so I

Re: [O] do it today, or well, tomorrow

2011-10-12 Thread Andrea Crotti
On 10/12/2011 04:55 PM, Carsten Dominik wrote: An alternative is to use the scheduling mechanism. * TODO My Task SCHEDULED:2011-10-12 Wed This task will automatically be forwarded to the following day, until it is done. - Carsten Fantastic! I only see the habit page on the manual now,

[O] broken links

2011-10-10 Thread Andrea Crotti
Just to mention, that on this page http://orgmode.org/GoogleTech.html the links below that bring to the presentation pdf/swf are broken..

[O] pycallgraph to org-mode

2011-10-05 Thread Andrea Crotti
I'm programming in Python and I have to understand how a quite complicated code base actually works. So I thought that using pycallgraph might help me, but the resulting figures are just normally too big, and also it's annoying to go and look at the code from the graph. So I had the following

Re: [O] rst-mode tables

2011-09-26 Thread Andrea Crotti
Achim Gratz strom...@nexgo.de writes: Which is why you can switch between table.el and org tables with C-c C-c (to recognize an existing table) and then C-c ~ to convert it between the two formats if possible. You do lose some formatting going back and forth, though. Very nice thanks a

Re: [O] rst-mode tables

2011-09-21 Thread Andrea Crotti
On 09/21/2011 10:23 AM, Jambunathan K wrote: Andrea Crottiandrea.crott...@gmail.com writes: I'm writing in RST a lot of documentation, and I noticed that RST-tables are very similar to org-mode tables. This makes me think that I could use happily turn-on-orgtbl and use it, but the tables are

Re: [O] Git merge tool for Org files

2011-08-20 Thread Andrea Crotti
On 08/18/2011 12:45 PM, Carsten Dominik wrote: Hi, I was wondering if anyone here has the skills and interest to write a git merge driver for Org mode files, in the way http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=blob;f=lib/git-merge-changelog.c does this for GNU style ChangeLog

Re: [O] Git merge tool for Org files

2011-08-20 Thread Andrea Crotti
On 08/20/2011 04:42 PM, Carsten Dominik wrote: I have no idea, but I would think that it could also be written in Perl, for example. Yes from what I understand from the source it can be any executable that outputs things as git expects them. There are no compile time dependencies on git as

Re: [O] patch org-mode Makefile - solve a couple debian build problems and a slackware build problem

2011-07-08 Thread Andrea Crotti
Bastien b...@altern.org writes: Indeed. I'll apply every patch that - doesn't break current Makefile commands - does add a new func (even tiny) for specific distro Please send some :) One way to make the whole deployment really portable could also be to pass from plain Makefile to the

[O] Bug in #+INCLUDE?

2011-07-07 Thread Andrea Crotti
I experienced a weird behavior when including a C++ file, and after an update to the latest revision of org-mode the problem is still there. It's very simple to reproduce, with a test.org and test.cpp file as attached, trying to export to pdf (and latex) org-mode puts in the output file footnote

[O] [babel] python sessions

2011-07-03 Thread Andrea Crotti
I wanted to use sessions in python to do some nice literate programming and splitting functions, but it doesn't work as expected. Here below a very simple example in python and ruby, where in ruby everything seems to work well while in python it doesn't... And by the way, what is that

Re: [O] [babel] python sessions

2011-07-03 Thread Andrea Crotti
Eric Schulte schulte.e...@gmail.com writes: This is true, in addition to being a language which is dependent upon whitespace characters, python has been tricky due to the many independent inferior python modes (python.el, python-mode.el, etc...) and to the fact that I personally and not very

Re: [O] [babel] python sessions

2011-07-03 Thread Andrea Crotti
Eric Schulte schulte.e...@gmail.com writes: From what I hear the situation should improve in Emacs24, as there is a ground up re-write which should contain much of the functionality of python-mode.el with the Emacs-amenable license of python.el. Nice to know, I use python-mode.el and

[O] beamer code and auctex

2011-03-22 Thread Andrea Crotti
I'm trying to put some nicely colored code in my org-beamer presentation. On one machine I have minted but it's not found and the other is not installed, but I guess that's a latex problem. With lstlisting it kind of work but the font is way too big and not very nice, but I'll try again maybe to

Re: [O] java snippet code not exported

2011-03-21 Thread andrea crotti
2011/3/21 Eric S Fraga e.fr...@ucl.ac.uk: Andrea Crotti andrea.crott...@gmail.com writes: This works just fine for me.  No errors at all and the code (html) generated seems fine.  Try latest git version maybe in case the problem has somehow been fixed in the 30+ commits made 2since

[O] java snippet code not exported

2011-03-20 Thread Andrea Crotti
I was carrying around this issue since long time, but today I finally understood what exactly the source is. Suppose I have this very simple orgfile, if I try to export it to html I get the error as below. Can anyone else reproduce it? I guess is font-locking problem but that should be a

[O] org-passwords

2011-03-15 Thread Andrea Crotti
Last week I finally wrote all my passwords in a crypted org file, using properties and column mode. This is very nice, and taking inspiration from the wonderful org-contacts, I decided to open on github org-passwords. https://github.com/AndreaCrotti/org-passwords This VERY simple initial

Re: [O] [Org-contacts] 3 2 1 go?

2011-03-08 Thread Andrea Crotti
Julien Danjou jul...@danjou.info writes: You can set any properties anyway. Org-contacts just use some of them. For example I use LOCATION as a property to store my contacts' home addresses, which I usually set using C-c M-L provided by org-google-maps[1]. Just say out loud what you'd like

Re: [O] [Org-contacts] 3 2 1 go?

2011-03-08 Thread Andrea Crotti
Julien Danjou jul...@danjou.info writes: Well, do not count on me for that. I use git, it does the job. :) Sure I also do ;) For synchronization I meant between different programs/protocol not different machines... When everything will work it won't be too necessary, but at least to switch to

[O] Abstract

2011-03-08 Thread Andrea Crotti
Is the abstract section somehow supported in org-mode? I can easily write * Abstract but for example then it goes into the index and it gets numerated if num:t in the #+OPTIONS. thanks, Andrea

Re: [O] [Org-contacts] 3 2 1 go?

2011-03-07 Thread Andrea Crotti
About the script used to import from AddressBook.app, I update it here https://github.com/AndreaCrotti/scripts/blob/master/contacts_to_org.py Now it creates as many contacts for the name as many as the email addresses. One thing I haven't found in fact is how to support multiple emails, is that

Re: [O] [Org-contacts] 3 2 1 go?

2011-03-05 Thread Andrea Crotti
Michael Käufl org-m...@lists.michael-kaeufl.de writes: No it's not. As you can see here [1], Julien Danjou has already started to inlucde more features. For now org-contacts supportes mail addresses and irc nicknames. And I'm sure a lot more will follow. Good to know :) So I think I will

[Orgmode] Exporting to html

2011-02-09 Thread Andrea Crotti
I have a quite huge file with a lot of code blocks in many possible languages. Now the problem is that I'm not able to export it to html/pdf. Some other times it happened that pdf export was not working, but it was quite easy to spot the mistake and fix it. But with html export I'm not

[Orgmode] Re: Back from FOSDEM

2011-02-07 Thread Andrea Crotti
Bastien bastien.gue...@wikimedia.fr writes: Hi all, we have had a good time at FOSDEM. It was great to meet Carsten, Stefan Vollmar, Sebastien Vauban, Jose E. Marchesi, Brian Gough and others. Special thanks to Stefan, who presented a very nice use cas at his lab, and to Sébastien who

[Orgmode] CV with org?

2011-02-07 Thread Andrea Crotti
Long time ago I wrote my CV with latex and the currvita package. Now before I just modify that maybe some of you has a better option to create it in org-mode. I can still use currvita in orgmode of course, but if there is a better option I would be glad to hear it :) Thanks

[Orgmode] Re: GNU devroom at FOSDEM 2011

2011-02-02 Thread Andrea Crotti
Carsten Dominik carsten.domi...@gmail.com writes: Hi everyone, I will be at the meeting on Saturday, and I hope to meet some of you! If you have an org-mode T-Shirt - I think it would be fun to wear it - I will. Most of all, I will be very pleased to finally meet Bastien in person. -

[Orgmode] Re: Suppressing src block evaluationon publish?

2011-02-01 Thread Andrea Crotti
Loris Bennett loris.benn...@fu-berlin.de writes: Hi, I have an org file containing several src blocks which generate images using ditaa. When I publish to PDF via LaTeX, the images are all generated every time, which makes publishing rather slow. Is there some way to toggle the evaluation

[Orgmode] Re: Suppressing src block evaluationon publish?

2011-02-01 Thread Andrea Crotti
Loris Bennett loris.benn...@fu-berlin.de writes: Hi, I have an org file containing several src blocks which generate images using ditaa. When I publish to PDF via LaTeX, the images are all generated every time, which makes publishing rather slow. Is there some way to toggle the evaluation

[Orgmode] Overlays and elisp code

2011-01-31 Thread Andrea Crotti
I found a strange behaviour which might be a bug, but maybe of my configuration. This is org mode version: Org-mode version 7.4 (release_7.4.199.g8be1.dirty) and emacs: GNU Emacs 23.2.1 (x86_64-apple-darwin10.3.0, NS apple-appkit-1038.29) of 2010-05-09 on linc To reproduce the bug I do - go

[Orgmode] org-latex and figures

2011-01-27 Thread Andrea Crotti
I could not understand why on earth my pdf had all the images after the whole document. Then I found this: http://www.eng.cam.ac.uk/help/tpl/textprocessing/float_hint.html and found out that the default for a figure was \begin{figure}[ptb] while in the generated latex file from org I had

[Orgmode] Re: [BEAMER] make text fit in a slide

2011-01-20 Thread Andrea Crotti
iem...@gmail.com writes: Hi Andrea, I use the following line to allow frame breaks #+BIND: org-beamer-frame-default-options [allowframebreaks] Perfect nice, but now I also get Slide I for all the slides, even if there isn't a second one... I might only need it in one case (for the

[Orgmode] Re: [BEAMER] make text fit in a slide

2011-01-20 Thread Andrea Crotti
chris.m.mal...@gmail.com writes: Hi Andrea, I stand corrected - you are getting a lot of useful information here! :-) Yes true :) Thanks everyone, the per frame setting is perfect. And since I'm here another thing I'm not getting. If I want to have a situation like this below

[Orgmode] Re: [BEAMER] make text fit in a slide

2011-01-20 Thread Andrea Crotti
Chris Malone chris.m.mal...@gmail.com writes: Hi Andrea, Here I can help some :). What I have done in the past is take advantage of the fact that org-mode will close a beamer =columns= environment if the column width is set to 0 (or 1):

[Orgmode] Re: [BEAMER] make text fit in a slide

2011-01-20 Thread Andrea Crotti
Chris Malone chris.m.mal...@gmail.com writes: Hi Andrea, In the example I showed, I set the block to an =ignoreheading= block by using =C-c C-b i=. This, as best I can tell, generates a block but comments out the part which gives the block its title. Doing this overrides the alertblock

[Orgmode] Re: Bibtex and beamer

2011-01-19 Thread Andrea Crotti
Jeff Horn jrhorn...@gmail.com writes: On Wed, Jan 19, 2011 at 4:14 PM, Andrea Crotti andrea.crott...@gmail.com wrote: Only one thing is not clear, how do I tell org-mode to call pdflatex/bibtex enough times to get all the links correctly setup. If you're using a *nix system, you might try

[Orgmode] [BEAMER] make text fit in a slide

2011-01-19 Thread Andrea Crotti
Would it be possible with some trick to automatically make the font resize when the frame doesn't fit in the slide? Or maybe would that be possible otherwise to split the slide in two parts automatically? I always wondered how to do it but never really found out. And how do I in general could

[Orgmode] Re: Disputed keys

2010-12-20 Thread Andrea Crotti
Eric S Fraga e.fr...@ucl.ac.uk writes: Isn't switching to frame a function of your window manager and not emacs? That is, shouldn't this be a case of telling your window manage, whatever that may be, to switch frames when these keys are pressed? Or am I missing something fundamental here?

[Orgmode] Re: Disputed keys

2010-12-20 Thread Andrea Crotti
Stefan Vollmar voll...@nf.mpg.de writes: Dear Andrea, I have this in my .emacs file (defun my-org-mode-stuff () (define-key org-mode-map [(meta tab)] 'previous-user-buffer) (local-set-key (kbd S-right) 'forward-char-mark) (local-set-key (kbd S-left) 'backward-char-mark)

[Orgmode] Re: Disputed keys

2010-12-20 Thread Andrea Crotti
Suvayu Ali fatkasuvayu+li...@gmail.com writes: I think Andrea meant to say switching window. But none the less, Emacs has the ability to switch frames, `C-x 5 o' or even your regular switch-buffer'. But I think it does it by talking to the window manager. This can be very useful when you

[Orgmode] Disputed keys

2010-12-18 Thread Andrea Crotti
I wanted finally to fix the following problem, I would like to use meta-left/right to switch frame, and that's one of the keys that orgmode uses. I added the two values here to the org-disputed-keys --8---cut here---start-8--- [(meta left)] Value:

[Orgmode] org beamer conflicts

2010-12-10 Thread Andrea Crotti
I noticed a strange problem. My emacs configuration uses orgmode from git, and loads it in this way: (defun make-conf-path (path) (expand-file-name (concat base path))) (add-to-list 'load-path (make-conf-path org-mode/lisp)) (add-to-list 'load-path (make-conf-path org-mode/contrib/babel/lisp))

[Orgmode] TODO hooks

2010-08-16 Thread Andrea Crotti
After another time that I forgot something I came up with the same idea. Suppose I live in address X, and whenever I change my address I have to notify Y, Z, W. Now how could I handle this automatically? I would like that, whenever my address changes I get a todo telling me to contact Y, Z, W.

[Orgmode] Re: TODO hooks

2010-08-16 Thread Andrea Crotti
Jan Böcker jan.boec...@jboecker.de writes: Just make a checklist somewhere: * DONE Notify people of my current address - [X] Y - [X] Z - [X] W When your address changes, change the todo state to TODO and do M-x org-reset-checkbox-state-subtree to uncheck all the boxes. Of course, you

[Orgmode] Re: Finally jekyll and org-jekyll

2010-08-12 Thread Andrea Crotti
Ian Barton li...@manor-farm.org writes: Hi Andrea, I don't use org-jekyll myself. You can view my tutorial on the way I di it at http://orgmode.org/worg/org-tutorials/org-jekyll.php . Basically what you need to do is to organize your system so that org publishes your .org files to html in

[Orgmode] From todos to tracking

2010-08-12 Thread Andrea Crotti
I was wondering if there is something that would be able to convert a org-mode buffer (with todos) to a web page (even static) that resembles a tracking system. I don't mean also the way back (writing from the web page to the org mode) but also one way it would be nice, because TODO in the normal

[Orgmode] Re: From todos to tracking

2010-08-12 Thread Andrea Crotti
Bastien bastien.gue...@wikimedia.fr writes: Andrea Crotti andrea.crott...@gmail.com writes: I was wondering if there is something that would be able to convert a org-mode buffer (with todos) to a web page (even static) that resembles a tracking system. I don't mean also the way back

[Orgmode] Finally jekyll and org-jekyll

2010-08-11 Thread Andrea Crotti
I've been struggling for already too much time and I really don't get anywhere the few informations I need. I want to finally build my page with jekyll and org-mode, and I also have org-jekyll which looks pretty cool, but anything I tried until now didn't work The question basically is, what do

[Orgmode] Strange error in html exporting

2010-08-01 Thread Andrea Crotti
I just updated today to --8---cut here---start-8--- Org-mode version 7.01trans (release_7.01g.55.g0cafa.dirty) --8---cut here---end---8--- and I found many nice new features, great job! The gantt exporting is real cool, pity

[Orgmode] Nice links bookmarks

2010-07-27 Thread Andrea Crotti
I was wondering how many people add nice links in the footnotes like [1] I use turn-on-orgstruct and turn-on-orgtbl when I write messages and I suspect that it could be an orgmode feature, but I could not find it. If I add a footnote I get a similar result but not exactly the same... Thansk a

[Orgmode] Re: word count checklist?

2010-07-27 Thread Andrea Crotti
I feel that maybe a minor mode would be a good choice for this. You could set a file variable (something like // -*- compile-command: gcc -Wall -o dest file -*- ) where you set the max and the minor mode with a hook on every key could update a value in the modeline. I'm not sure I can do it but I

[Orgmode] Re: Installation - no way

2010-07-27 Thread Andrea Crotti
Have a look also here http://www.ourcomments.org/Emacs/EmacsW32Util.html It looks a bit old and I'm not sure it contains org-mode but it should be a bit easier for beginners. It will be quite hard anyway if you don't use it every day for some time to grasp the main concepts.

[Orgmode] Re: Nice links bookmarks

2010-07-27 Thread Andrea Crotti
I meant exactly what Eric said, footnote.el is quite cool in fact. But we can achieve the same result with org-mode (even in his minor-mode version), so why don't use it? With this variable moreover we get the same style: (setq org-footnote-auto-label 'plain) The only thing that puzzles me is

[Orgmode] Re: Automatic clock-in

2010-04-20 Thread Andrea Crotti
Benjamin Andresen be...@in-ulm.de writes: Hey Andrea, Maybe C-u M-x org-clock-in RET does what you want. br, benny Ah great that's really nice, I always forget to try the magic C-u first... So by the way what is the real function called when prefixing C-u? I mean, can I call it directly?

[Orgmode] Re: Let's TALK about it

2010-04-19 Thread Andrea Crotti
Andrea Crotti andrea.crott...@gmail.com writes: My talk has been accepted :) So now I really have to prepare something! I thought that for showing the power of org-mode and babel I could use something I already have No news? Here I'm also putting some slides, they should just contains list

[Orgmode] Automatic clock-in

2010-04-19 Thread Andrea Crotti
I'm using more and more the very nice clock functions provided by org-mode. I added this --8---cut here---start-8--- (global-set-key \C-c\C-x\C-o 'org-clock-out) --8---cut here---end---8--- So I can clock out from every

[Orgmode] Re: Tangling

2010-04-12 Thread Andrea Crotti
Dan Davison davi...@stats.ox.ac.uk writes: Andrea Crotti andrea.crott...@gmail.com writes: Hi Andrea, I think that should be (add-to-list 'load-path (concat conf org-mode/lisp)) (add-to-list 'load-path (concat conf org-mode/contrib/lisp)) (require 'org-install) (require 'org-babel-init

[Orgmode] Freemind exportation

2010-04-12 Thread Andrea Crotti
I don't know if I'm doing something wrong, but I tried many times during the last months and I've never seen the freemind exporter works, is it just to me or a general problem? It would be a great thing, what is/was the problem and is possible to fix it?

[Orgmode] Re: Freemind exportation

2010-04-12 Thread Andrea Crotti
Friedrich Delgado Friedrichs frie...@nomaden.org writes: Hi! The freemind exporter works nicely now. If you use org-freemind.el from a recent git, it should just work. Otherwise you'd need to give us a bit more information. Ok good to know, now I tried and the exportation goes fine, but

[Orgmode] Re: Tangling

2010-04-11 Thread Andrea Crotti
Dan Davison davi...@stats.ox.ac.uk writes: here Although Org maps elisp to emacs-lisp-mode in org-src-lang-modes (therefore C-c ' works), Org-babel currently does not recognise elisp by default. Thanks for raising this, I think we need to make ourselves more compatible with

[Orgmode] Tangling

2010-04-09 Thread Andrea Crotti
So for my presentation I'm preparing a minimal emacs configuration which will have - org-mode/babel - python mode - yasnippet/auto complete And it will be everything here http://github.com/AndreaCrotti/Org-mode-notes I'm running Org-mode version 6.34trans on GNU Emacs 23.1.50.1

[Orgmode] Re: Let's TALK about it

2010-04-07 Thread Andrea Crotti
My talk has been accepted :) So now I really have to prepare something! I thought that for showing the power of org-mode and babel I could use something I already have http://github.com/AndreaCrotti/my-project-euler/blob/master/euler.org (click on raw to see the code) It's a summary of which

[Orgmode] Re: Emacs setups?

2010-04-07 Thread Andrea Crotti
Nathan Neff nathan.n...@gmail.com writes: I'm not an Emacs user, but use it for org-mode, mostly on a Mac. I tried finding some discussions on this list about what everyone on this list uses for Emacs. I have three Emacs builds that I bounce back forth between: 1) Aquamacs 2)

[Orgmode] Let's TALK about it

2010-02-25 Thread Andrea Crotti
I will probably go here http://www.pycon.it/ (what does it have to do with org-mode you might think). Anyway I wanted to propose a talk on emacs and python programming packages used to simplify the editing. I would also like to include something on literate programming with orgmode/babel, so I

[Orgmode] Re: Let's TALK about it

2010-02-25 Thread Andrea Crotti
Eric Schulte schulte.e...@gmail.com writes: Hi Andrea, That's an excellent question, and I have no idea what the answer should be. The first step is certainly introducing Org-mode, maybe with a focus on tables, and the export to html and LaTeX. From there Org-babel may best be described

[Orgmode] Re: Wiki?

2010-02-20 Thread Andrea Crotti
Manish mailtomanish.sha...@gmail.com writes: have you tried Wes Hardaker's generic exporter? C-c C-e g RET. it should already be able to do a lot of what you want. Ah thanks perfect, that's more than enough! Making modification possible is of course too much trouble, having a single command

[Orgmode] Wiki?

2010-02-19 Thread Andrea Crotti
Today I had to modify some wiki pages for a project and I realized how it sucked.. Stupid editor, annoying markup language, difficult to remember/track down what you've written and so on. So wouldn't be great to do something like this * Wiki stuff ** Page1 This is a wiki page, automatically

[Orgmode] Re: Wiki?

2010-02-19 Thread Andrea Crotti
Ben Finney ben+em...@benfinney.id.au writes: This much, at least, can be fixed by the “It's All Text” add-on for Firefox URL:https://addons.mozilla.org/en-US/firefox/addon/4125. Yes I know and it's really nice but on OSX I never use firefox, I really prefer Safari to it...

[Orgmode] Re: Absolute paths in exported files

2010-01-25 Thread Andrea Crotti
Ok forget about the sh problem, I just deleted it.. The absolute path is another mystery, I thought the problem was that I wasn't using a project but it's exactly the same thing with a project. Paths will only be absolutes, I also added :include (java) but still the same, no code included and

[Orgmode] Re: Absolute paths in exported files

2010-01-24 Thread Andrea Crotti
andrea andrea.crott...@gmail.com writes: Ok that's really driving me crazy, the problems is there only with that file and only with src sh, it would work for other languages. I removed the options, modified the outline but nothing to do Here's the whole file by the way:

[Orgmode] Re: batch exporting

2009-12-21 Thread andrea Crotti
This is my whole error by the way if someone can understand what it means... Debugger entered--Lisp error: (wrong-type-argument stringp nil) re-search-forward(nil nil t) org-export-remove-headline-metadata((:for-LaTeX t :emph-multiline t :add-text nil :comments nil :skip-before-1st-heading

[Orgmode] Re: Bug in table formula editor?

2009-11-22 Thread andrea Crotti
Yes I'm sorry the table was too big and screwed up so I didn't copy the formulas. Anyway it's everything here http://github.com/AndreaCrotti/my-project-euler/blob/master/euler.org For the bug just go over the table - press C-c ' - start typing a new formula with @+ after that emacs hangs and not

[Orgmode] Re: Bug in table formula editor?

2009-11-22 Thread andrea Crotti
Andreas Burtzlaff andy13 at gmx.net writes: I cannot reproduce this with Emacs 23.1.1 and org-6.33trans release_6.33f.30.g011f. If Emacs hangs completely it might be a bug in the Emacs core rather then org-mode. I don't know what's the problem but it does it on both osx and linux with emacs

[Orgmode] [babel] latex code in final pdf

2009-11-17 Thread andrea Crotti
I'm not so sure it's related to babel since it's in #+BEGIN_SRC haskell tags. Anyway in short I see latex code in the final source code block exported. I updated from git org-mode. This is the code that gives program: sumListCond :: Int - Int - [Int] - Int sumListCond l n xs | foldl

[Orgmode] Re: [babel] latex code in final pdf

2009-11-17 Thread andrea Crotti
Eric Schulte schulte.eric at gmail.com writes: as expected. Maybe it is possible that even though you have the latest org-mode on your computer your Emacs is still loading an older version? If that is not the case then it could be something specific to your configuration, which you can

[Orgmode] Emacs package management with org-mode

2009-11-14 Thread andrea Crotti
I was keeping a list of packages I use with emacs (here) http://github.com/AndreaCrotti/Emacs-conf/blob/master/.emacs.d/README.txt but now I had another idea, why don't create a table with org mode? I thought a table like | PACK | UPDATE CMD | REPO | COMMENT | RANK | CONF | where PACK: name

[Orgmode] Re: Adding org files

2009-11-10 Thread andrea Crotti
Stephan Schmitt drmabuse at cs.tu-berlin.de writes: if you use (setq ...) you circumvent the customization framework and the variable is set only for the emacs session. don't know if this helps, otherwise rephrase your question, please. Well no that's even better! In this way I can

[Orgmode] Adding org files

2009-11-09 Thread andrea Crotti
I added this function to my org conf ;; We also want to check that this is actually in base directories (defun org-add-eventually() Adding a file to org-agenda when saved, with (interactive) (if (string= major-mode org-mode) (org-agenda-file-to-front))) ;;TODO: Check if a file is

[Orgmode] [babel] dot in pdf directly

2009-11-09 Thread andrea Crotti
Still a couple of questions, I found something here in the newsgroup but nothing helped me... First, how many and where can I find all the possible #+begin_...? I mean why is #+begin_dot and not #+begin_src dot? I would like to insert my dot info and on exporting getting a pdf with embedded

[Orgmode] Re: [babel] dot in pdf directly

2009-11-09 Thread andrea Crotti
Eric Schulte schulte.eric at gmail.com writes: The two separate mechanisms are confusion, but for now are necessary to allow org-mode users to evaluate some simple block types (like dot) on export without having to load up all of org-babel. I hope the above isn't too confusing :) -- Eric

[Orgmode] Final bookmark exporting

2009-11-02 Thread andrea Crotti
Given that I finally have my nice org-agenda-files defined I would also like to have an automatic bookmark exporting. I was thinking to something like hook on write-file that - checks if file is org-mode and in the org-directories - if it is and not in agenda files add it (and not do the whole

[Orgmode] Re: Differences html/pdf

2009-11-01 Thread andrea Crotti
Carsten Dominik carsten.dominik at gmail.com writes: It is in the git repo, but not yet in a release. It may be in 6.33, but only if no problems arise from this change - I am not at all sure about this. - Carsten It's not also so easy to test I guess... Maybe giving some very complicated

[Orgmode] Re: Differences html/pdf

2009-10-31 Thread andrea Crotti
Carsten Dominik carsten.dominik at gmail.com writes: On Oct 28, 2009, at 11:23 PM, Nick Dokos wrote: Bastien bastienguerry at googlemail.com wrote: OK, this is pretty good, and I have added it to be inserted as a consequence of setting org-export-preserve-breaks. But I believe in

[Orgmode] Fast traversing directories

2009-10-31 Thread andrea Crotti
Well I would like to have simply all the org files I produce wherever in my agenda. I started to write something like (dolist (x (directory-files ~/uni/ t)) (if (file-directory-p x) (dolist (subject (directory-files x t)) (if (file-directory-p subject) (setq

[Orgmode] Re: Fast traversing directories

2009-10-31 Thread andrea Crotti
Benjamin Andresen benny at in-ulm.de writes: Hey Andrea, andrea Crotti andrea.crotti.0 at gmail.com writes: I didn't find any function in elisp, maybe it would be better to get a list of org-files with an external command (python or shell script), what do you think? http

[Orgmode] Differences html/pdf

2009-10-28 Thread andrea Crotti
I normally prefer to export to pdf but I see that there are some differences. I added #+OPTIONS: toc:nil \n:nil todo:nil and toc is not exported in both, todo are anyway always exported and newline are kept only in html. In the latex version they're not exported for some reasons... Should I

[Orgmode] Re: Differences html/pdf

2009-10-28 Thread andrea Crotti
Carsten Dominik carsten.dominik at gmail.com writes: On Oct 28, 2009, at 3:16 PM, andrea Crotti wrote: This is about the TODO keywords, and they are stripped in both Mm I don't understand... How should I disable todo exporting then? How I wrote it doesn't work, but from the manual

  1   2   >