Re: [O] org-indent-mode corrupted most of a big org file

2013-12-04 Thread Nicolas Goaziou
Hello, Rainer Stengele writes: > last week I played around with org-indent-mode in my biggest (37.000 lines) > org file. > 3 days later I detected that most of the file was corrupted. > WHy so late? Using the agenda I only saw the todos and did not recognise the > corrupted structures. > Most

Re: [O] org-indent-mode corrupted most of a big org file

2013-12-04 Thread Alexander Baier
On 13-12-03 19:30 Nick Dokos wrote: > Alexander Baier writes: > > >> I used to set up backup-directory-alist the same way you have, but >> changed it, when I noticed emacs putting backups of files I edited as >> root into that directory. That was something I did not want to do. >> > > OK - I have

Re: [O] org-indent-mode corrupted most of a big org file

2013-12-04 Thread Rainer Stengele
Am 04.12.2013 09:25, schrieb Nicolas Goaziou: > Hello, > > Rainer Stengele writes: > >> last week I played around with org-indent-mode in my biggest (37.000 lines) >> org file. >> 3 days later I detected that most of the file was corrupted. >> WHy so late? Using the agenda I only saw the todos an

Re: [O] How do I specify the language for a :results code block

2013-12-04 Thread Alan Schmitt
Hi Thomas, > IIUC, your goal is to export the coq source code blocks. Does the > following, which uses :results org, do what you want? It seems to work > for me. It almost works. What I get upon export is an org blog, where I can see the "#+BEGIN_SRC coq" marker. The code inside is correctly disp

[O] bug with :wrap when exporting

2013-12-04 Thread Alan Schmitt
Hello, I think I have found a bug with ":wrap" when exporting a block. Consider the following org file: --8<---cut here---start->8--- #+name: mywrap #+BEGIN_SRC sh :exports none :results raw echo "(+ 1 2)" #+END_SRC Exporting with the result absent: #+name: t

Re: [O] org-indent-mode corrupted most of a big org file

2013-12-04 Thread Nicolas Goaziou
Hello, Rainer Stengele writes: > I am afraid there is no easy way to "convert" a non org-indent-mode to > a nice formatted org-indent-file. Don't be afraid. There is `org-unindent-buffer'. Admittedly, it doesn't handle starred items, but that shouldn't be hard to fix. Regards, -- Nicolas G

Re: [O] How do I specify the language for a :results code block

2013-12-04 Thread Alan Schmitt
Hi Sean, sean.ohal...@gmail.com writes: > Taking a slightly different approach, you could use the :post header > argument to wrap the results in a source block. > > See http://orgmode.org/org.html#post (from which the example below is > derived). > > For example, you could use something like thi

[O] Handshake: Org-mode + Emacs releases

2013-12-04 Thread Jambunathan K
Nicolas Nicolas Goaziou writes: > I have a half baked patch which allows to use export framework to handle > radio tables. I'll try to complete it by the end of the year and propose > it on the ML. I see that you are adding features and doing a very quick iteration. Nothing wrong with it and e

Re: [O] Handshake: Org-mode + Emacs releases

2013-12-04 Thread Jambunathan K
Nicolas Goaziou writes: > Hello, > > Jambunathan K writes: > >> I am a bit apprehensive that (what you think as) essentials MAY get >> missed in Vanilla Emacs proper. So it would be good if you could >> communicate with Emacs developers the Org-mode features that you want >> packed in the upcom

Re: [O] Bug: Bad ODT files when including multiple images [7.9.3f (release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)]

2013-12-04 Thread Jambunathan K
Christian Moe writes: > This problem was also reported by Tyler Smith a couple of weeks back. I was able to open test.odt provided by Tyler just fine. Hence I did not follow up the post (IIRC, Christian was also indicating a "no issue".) http://permalink.gmane.org/gmane.emacs.orgmode/78579

[O] Language format of clock/date entries

2013-12-04 Thread Rainer Stengele
Hi, I have to switch languages in my wiodows 7 system from time to time. After switching my clock entries also switch format. How can I force emacs/orgmode to stick with the german clock/Date format like for example: [2013-12-02 Mo] [2013-12-03 Di] [2013-12-04 Mi] [2013-12-05 Do] [2013-12-06 Fr]

[O] org-html-publish-to-html: embed HTML in first line of export

2013-12-04 Thread Jürgen Hötzel
Hi, I use a Org/Jekyll setup: http://orgmode.org/worg/org-tutorials/org-jekyll.html As described in the tutorial, each Org file must start with the following lines: #+BEGIN_HTML --- layout: default title: Org Test excerpt: Excerpt from Org --- #+END_HTML because Jekyll needs the meta informati

Re: [O] How do I specify the language for a :results code block

2013-12-04 Thread Fabrice Niessen
Hello Alan, Alan Schmitt wrote: > I tried to apply the drawer trick to the :wrap src but it does not work, > unfortunately. I like your approach better anyway as it allows me to specify > not only the language used by the output source block, but other properties > (such as whether it should be ev

Re: [O] Language format of clock/date entries

2013-12-04 Thread Sebastien Vauban
Rainer Stengele, Rainer Stengele wrote: > I have to switch languages in my wiodows 7 system from time to time. > After switching my clock entries also switch format. > How can I force emacs/orgmode to stick with the german clock/Date format like > for example: For English timestamps, use: --8<-

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-12-04 Thread Sebastien Vauban
Hello, Nicolas Goaziou wrote: > Nick Dokos writes: > >> (require 'org-loaddefs) >> >> (with-eval-after-load "ob-lob" >> ;; load some code blocks into the library of Babel >> (let ((lob-file (concat (file-name-directory (locate-library "org")) >> "../doc/library-of-ba

Re: [O] bug#15888: 24.3.50; Eval-after-load eval'ed twice

2013-12-04 Thread Nicolas Goaziou
Hello, "Sebastien Vauban" writes: > You say that opening an Org file requires first `ob-lob' before *providing* > `org', right? [1] Correct. > IIUC, here are all the steps involved: > > 1. an Org file is opened > 2. org.el is required -- but not yet provided at all, so loaded a first time > 3.

[O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-04 Thread AW
Hi! I'm using orgmode as a replacement for folders, you know, real folders, lots of paper inside. In my orgfiles I link to many other files, mostly *.tex and *.pdf, links look like [[./foo.pdf][About foo]] Sometimes I can't avoid to link to doc or docx files. So I need my linux pc to start

[O] Emacs hangs on clicking on org-protocol bookmarklet

2013-12-04 Thread Jisang Yoo
Use of the org-protocol-store-link bookmarklet [1] sometimes makes Emacs hang (as in Emacs not responding to input), but not always. It seems to be caused by accumulation of emacsclient processes. Each click of the bookmarklet creates a new emacsclient process which stays, and the number of these

Re: [O] org-html-publish-to-html: embed HTML in first line of export

2013-12-04 Thread Nicolas Goaziou
Hello, Jürgen Hötzel writes: > So Jekyll can't process files and the resulted HTML pages are corrupted > > Any hints, how i can change the order of the TOC and HTML environment? 1. Disable default TOC with, e.g. #+options: toc:nil 2. Insert your HTML environment 3. Insert TOC after it wit

Re: [O] bug with :wrap when exporting

2013-12-04 Thread Nicolas Goaziou
Hello, Alan Schmitt writes: > I think I have found a bug with ":wrap" when exporting a block. Consider > the following org file: > > #+name: mywrap > #+BEGIN_SRC sh :exports none :results raw > echo "(+ 1 2)" > #+END_SRC > > Exporting with the result absent: > > #+name: testmywrap > #+call: mywr

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-04 Thread Nick Dokos
AW writes: > Hi! > > I'm using orgmode as a replacement for folders, you know, real folders, lots > of paper inside. > > In my orgfiles I link to many other files, mostly *.tex and *.pdf, links look > like > > [[./foo.pdf][About foo]] > > Sometimes I can't avoid to link to doc or docx files.

Re: [O] org-html-publish-to-html: embed HTML in first line of export

2013-12-04 Thread Nick Dokos
Nicolas Goaziou writes: > Hello, > > Jürgen Hötzel writes: > >> So Jekyll can't process files and the resulted HTML pages are corrupted >> >> Any hints, how i can change the order of the TOC and HTML environment? > > 1. Disable default TOC with, e.g. #+options: toc:nil > 2. Insert your HTML

Re: [O] Set org-file-apps to open a *.doc file under linux with Word ?

2013-12-04 Thread Jambunathan K
Nick Dokos writes: > Off the top of my head, I would say > > (add-to-list 'org-file-apps > '("\\.doc" . "env WINEPREFIX=\"/home/AW/.wine-office\" wine > \"C:\\windows\\command\\start.exe\" /Unix > \"/home/AW/.wine-office/dosdevices/c:/users/AW/Start Menu/Programs/Microsoft > Offi

[O] probable caching bug?

2013-12-04 Thread Eric Abrahamsen
While editing a plain list yesterday I noticed what I guess was a bug in the caching mechanism. The list item was wrapped to several lines, and I noticed that calling C-e while on the last line gave me "wrong-type-argument integer-or-marker-p nil". Trying to fill the item with M-q gave me "user-er