Re: [O] # of parameters of `org-latex-format-headline-function'

2014-10-21 Thread Sebastien Vauban
Nick Dokos wrote: > Sebastien Vauban writes: >> >> During the summer, the number of parameters of the >> `org-latex-format-headline-function' changed from 5 to 6: addition of >> `info'. >> >> The new version of my private formatting function is: >> >> ;; function for formatting the headline's tex

Re: [O] [PATCH] org.el: Fix bindings of < and > for calendar scrolling

2014-10-21 Thread Sebastien Vauban
Marco Wahl wrote: > Find a fix for the bindings of < and > for calendar scrolling for Emacs > 25. The fix is necessary because Emacs 25 dropped some aliases in the > calendar lib, in particular those that have been bound to < and >. > > diff --git a/lisp/org.el b/lisp/org.el > index 2b5603c..7f4be

Re: [O] [PATCH] org.el: Fix bindings of < and > for calendar scrolling

2014-10-21 Thread Marco Wahl
Hello Sebastien, Sebastien Vauban writes: > Marco Wahl wrote: >> Find a fix for the bindings of < and > for calendar scrolling for Emacs >> 25. The fix is necessary because Emacs 25 dropped some aliases in the >> calendar lib, in particular those that have been bound to < and >. >> >> diff --gi

[O] Omitting title in odt-export

2014-10-21 Thread hack writer
Hi there, I have problems omitting the OrgTitle from an exported odt-document. Through the following preamble in my .org-file I am able to omit most of the default title/author/etc. information at the beginning of the .odt-document: #+ODT_STYLES_FILE: "/path/to/template.ott" #+TITLE: #+DATE: #

Re: [O] [ox-latex] How to force ALL captions below their referents?

2014-10-21 Thread Eric S Fraga
On Friday, 17 Oct 2014 at 22:08, Nicolas Goaziou wrote: > Nicolas Goaziou writes: > >> If we want to preserve backward-compatibility, t, nil and a list of >> types (e.g. '(table src-block)) should suffice. No need for an alist. >> >> Still on my ToDo list but I'm not there yet. Feel free to beat m

Re: [O] Captions below figures in LaTeX export

2014-10-21 Thread Rasmus
Hi, Suvayu Ali writes: > I would like to put the caption command after includegraphics. Is that > possible? I tried reordering the #+caption: line without success. If you are using a very recent version of Org, you could check `org-latex-caption-above'. Example: (let ((org-latex-caption-abo

Re: [O] Omitting title in odt-export

2014-10-21 Thread Nick Dokos
hack writer writes: > I have problems omitting the OrgTitle from an exported > odt-document. Through the following preamble in my .org-file I am able > to omit most of the default title/author/etc. information at the > beginning of the .odt-document: > > #+ODT_STYLES_FILE: "/path/to/template.ott

[O] org-class and headers

2014-10-21 Thread Joseph Le Roux
Dear orgmode users, First let me express my gratitude to the developers and maintainers for such a wonderful piece of software! I am a professor and I use org-class to schedule my lectures. It is very useful to organize these repeated events and take into account holidays. But inevitably in the

Re: [O] Org-mode Habit with Varying Description

2014-10-21 Thread Samuel Loury
Hi, Eric Abrahamsen writes: > I've been (very gradually) working on something I'm calling org-log, for > just this sort of situation -- a library that would possibly go > underneath org-habit and maybe even org-clock. It would look like: > > * Read > :LOGBOOK: > - Note taken on [2014-10-20 M

[O] 24.4.1; Emacs hangs with Org mode when point is in LOGBOOK

2014-10-21 Thread Fabrice Niessen
Hello, On Windows 8, with Emacs 24.4.1 (from Dani) and Org mode version 8.3beta, I can very often freeze Emacs when clocking into a task, or when editing the timestamps found in the LOGBOOK drawer. I've run Emacs under GDB, and can send a video of it, where you also see that Emacs takes 100% of t

Re: [O] org-class and headers

2014-10-21 Thread Rasmus
Hi, Joseph Le Roux writes: > I am a professor and I use org-class to schedule my lectures. It is very > useful to organize these repeated events and take into account holidays. > But inevitably in the academic world, some lectures get cancelled, > postponed, or moved to another day. In this case

Re: [O] org-lookup formula missing

2014-10-21 Thread Chris Drane
No, that does not do anything. I see the macro that is supposed to define the functions in my org-table.el, so I don't think version is an issue. Org is 7.9.3f. Emacs is 24.3.1. On Mon, Oct 20, 2014 at 6:39 PM, Rasmus wrote: > Hi, > > Chris Drane writes: > > > For some reason, the org-lookup fo

[O] How to get to the link destination?

2014-10-21 Thread Marcin Borkowski
Hi all, as in the subject. I want to do something /at the destination of the link/ the point is at (more precisely: get some text property of that place). This is what I came up with: (save-excursion (org-open-at-point) (get-text-property (point) :some-property)) Is there a better/faster w

Re: [O] org-lookup formula missing

2014-10-21 Thread Rasmus
Chris Drane writes: > No, that does not do anything. I see the macro that is supposed to define > the functions in my org-table.el, so I don't think version is an issue. Org > is 7.9.3f. Emacs is 24.3.1. This version of Org is outdated. Can you try a newer version and see if the problem persist

Re: [O] Getting lots of Emacs crashes

2014-10-21 Thread Noah Slater
Thanks. I have done that now. They told me to upgrade my Emacs. I have done so. We'll see what happens. :) On 13 October 2014 17:54, Nicolas Goaziou wrote: > Hello, > > Noah Slater writes: > >> Is there anything else I could provide that would help? It's still >> happening to me occasionally. >

Re: [O] org-class and headers

2014-10-21 Thread Joseph Le Roux
Rasmus writes: > Hi, > > Joseph Le Roux writes: > >> I am a professor and I use org-class to schedule my lectures. It is very >> useful to organize these repeated events and take into account holidays. >> But inevitably in the academic world, some lectures get cancelled, >> postponed, or moved t

[O] Announcement: org-one-to-many

2014-10-21 Thread Marcin Borkowski
Hi all, a long time ago I asked here about a way to split an Org file into a bunch of smaller ones. One of the answers I got was that the tricky part is maintaining internal links in a reasonable way. It is probably overoptimistic on my side, but it seems that this problem is solved now. The co

Re: [O] electric-indent-mode in Emacs 25 not indenting in Org

2014-10-21 Thread Andrew Burgess
* William Denton [2014-10-15 22:13:16 -0400]: > I noticed something odd with electric-indent-mode, which I had enabled, and > which is on by default in 24.4. I think the problem is with the calls to `newline' within org-return. The code for `newline' was changed so that non-interactive calls do

Re: [O] bug#18785: 24.4.1; Emacs hangs with Org mode when point is in LOGBOOK

2014-10-21 Thread Eli Zaretskii
> From: Fabrice Niessen > Date: Tue, 21 Oct 2014 14:47:16 +0200 > > On Windows 8, with Emacs 24.4.1 (from Dani) and Org mode version > 8.3beta, I can very often freeze Emacs when clocking into a task, or > when editing the timestamps found in the LOGBOOK drawer. > > I've run Emacs under GDB, and

Re: [O] Org-mode Habit with Varying Description

2014-10-21 Thread Michael Brand
Hi Daya On Mon, Oct 20, 2014 at 4:33 PM, Daya Atapattu wrote: > I like to schedule studying a book: It would be scheduled as "Read pages > 100-125." Then the next day it should read "Read pages 126-150." The > description of the habit varies; org-mode picks that up sequentially from a > list.

Re: [O] 24.4.1; Emacs hangs with Org mode when point is in LOGBOOK

2014-10-21 Thread Eric Abrahamsen
Fabrice Niessen writes: > Hello, > > On Windows 8, with Emacs 24.4.1 (from Dani) and Org mode version > 8.3beta, I can very often freeze Emacs when clocking into a task, or > when editing the timestamps found in the LOGBOOK drawer. I've gotten something looking like that from time to time (more

Re: [O] Announcement: org-one-to-many

2014-10-21 Thread Eric Abrahamsen
Marcin Borkowski writes: > Hi all, > > a long time ago I asked here about a way to split an Org file into a > bunch of smaller ones. One of the answers I got was that the tricky > part is maintaining internal links in a reasonable way. > > It is probably overoptimistic on my side, but it seems t

Re: [O] 24.4.1; Emacs hangs with Org mode when point is in LOGBOOK

2014-10-21 Thread Thorsten Jolitz
Eric Abrahamsen writes: > Fabrice Niessen > writes: Hello, >> On Windows 8, with Emacs 24.4.1 (from Dani) and Org mode version >> 8.3beta, I can very often freeze Emacs when clocking into a task, or >> when editing the timestamps found in the LOGBOOK drawer. > > I've gotten something looking l

Re: [O] Org-mode Habit with Varying Description

2014-10-21 Thread Eric Abrahamsen
Samuel Loury writes: > Hi, > Eric Abrahamsen writes: > >> I've been (very gradually) working on something I'm calling org-log, for >> just this sort of situation -- a library that would possibly go >> underneath org-habit and maybe even org-clock. It would look like: >> >> * Read >> :LOGBOOK:

Re: [O] Exponents / subscripts

2014-10-21 Thread Nicolas Goaziou
Hello, Rasmus writes: > Nicolas Goaziou writes: > >> Fabrice Popineau writes: >> >>> Given that it is only a matter of presentation, does that mean it could be >>> changed ? >>> If yes, I can try to give it a shot. >> >> If you mean that a^bc should be equivalent to a^{b}c, then I think it is

Re: [O] [ox-latex] How to force ALL captions below their referents?

2014-10-21 Thread Nicolas Goaziou
Hello, Eric S Fraga writes: > However, I think it would make sense to make '(table) (at least) the > default for captions above to have some form of backward compatibility? > The change caught me by surprise... If we change `org-latex-caption-above', then it will no longer match `org-latex-tabl

Re: [O] Announcement: org-one-to-many

2014-10-21 Thread Marcin Borkowski
On 2014-10-21, at 18:10, Eric Abrahamsen wrote: > Marcin Borkowski writes: > >> Hi all, >> >> a long time ago I asked here about a way to split an Org file into a >> bunch of smaller ones. One of the answers I got was that the tricky >> part is maintaining internal links in a reasonable way. >>

[O] Paper Size for Exported LaTeX

2014-10-21 Thread Kenneth Jacker
[ Org-mode version 8.3beta (release_8.3beta-175-g59cd25 ] First time I've used the LaTeX exporting ... I have a hunch the default paper size is "A4". Margins are *way* too wide ... How do I change it to "letter"? I tried a few things, but they don't seem to be changing anything! Thanks for yo

[O] [Bug] org-indent-mode underindents body in variable-pitch-mode

2014-10-21 Thread Tobias Getzner
Hello, After updating to Emacs 24.4 and org-mode 20141020, I’ve noticed that org-indent-mode now underindents item bodies when variable-pitch-mode is used. I. e., in the following document, «lorem», «ipsum», and «etc.» will fall successively short of the item’s respective indent level. * first lo

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread John Hendy
On Oct 21, 2014 1:05 PM, "Kenneth Jacker" wrote: > > [ Org-mode version 8.3beta (release_8.3beta-175-g59cd25 ] > > First time I've used the LaTeX exporting ... > > I have a hunch the default paper size is "A4". > Margins are *way* too wide ... > Default latex tends to look like that, so you'd be

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Thomas S. Dye
Aloha Kenneth, Kenneth Jacker writes: > [ Org-mode version 8.3beta (release_8.3beta-175-g59cd25 ] > > First time I've used the LaTeX exporting ... > > I have a hunch the default paper size is "A4". > Margins are *way* too wide ... > > How do I change it to "letter"? > > I tried a few things, but

[O] Can org show live charts?

2014-10-21 Thread Tom
Reading the documentation it is not clear for me if live charts are supported. By live chart I mean having a table data and below that an inserted image in the buffer which shows the data rendered from the table, and the image is updated automatically every time the the table is changed (and, say,

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Kenneth Jacker
tsd> Aloha Kenneth, Hello! (Reminds me of the three months I lived on Kauai ...) tsd> I think this will do what you want: tsd> tsd>#+LATEX_CLASS_OPTIONS: [letterpaper] That was one of the things I tried before posting to the ML. Saw no difference in the margins, etc. Thanks for y

Re: [O] Exponents / subscripts

2014-10-21 Thread Rasmus
Nicolas Goaziou writes: > Rasmus writes: > >> Nicolas Goaziou writes: >> >>> Fabrice Popineau writes: >>> Given that it is only a matter of presentation, does that mean it could be changed ? If yes, I can try to give it a shot. >>> >>> If you mean that a^bc should be equivalent

Re: [O] org-class and headers

2014-10-21 Thread Rasmus
Joseph Le Roux writes: > Rasmus writes: > >> Hi, >> >> Joseph Le Roux writes: >> >>> I am a professor and I use org-class to schedule my lectures. It is very >>> useful to organize these repeated events and take into account holidays. >>> But inevitably in the academic world, some lectures get

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Nick Dokos
Kenneth Jacker writes: > [ Org-mode version 8.3beta (release_8.3beta-175-g59cd25 ] > > First time I've used the LaTeX exporting ... > > I have a hunch the default paper size is "A4". > Margins are *way* too wide ... > > How do I change it to "letter"? > > I tried a few things, but they don't seem

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Kenneth Jacker
ndokos> This may be a TeX installation default. Apparently, 'letter' is the default. ndokos> If it is indeed the case that it is using A4 (check it with ndokos> pdfinfo on linux, ... Good suggestion. I used 'pdfinfo' on the generated PDF file and saw (among other output) this: Page s

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Thomas S. Dye
Aloha Kenneth, Kenneth Jacker writes: > ndokos> This may be a TeX installation default. > > Apparently, 'letter' is the default. > > ndokos> If it is indeed the case that it is using A4 (check it with > ndokos> pdfinfo on linux, ... > > Good suggestion. I used 'pdfinfo' on the generated P

Re: [O] Can org show live charts?

2014-10-21 Thread John Kitchin
I think the answer is sort of. I am no idle timer guru, and this code would probably not do what you want except for this file. The idea is to have a named table, use it as a data source in a named code block that generates the image. Then, make an elisp function that goes to that code block and ru

Re: [O] How to get to the link destination?

2014-10-21 Thread John Kitchin
Marcin Borkowski writes: that looks like a great way to me! > Hi all, > > as in the subject. I want to do something /at the destination of the > link/ the point is at (more precisely: get some text property of that > place). This is what I came up with: > > (save-excursion > (org-open-at-poi

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Andreas Kiermeier
Hi Kenneth, I believe the reason for the large margins are based on readability (long lines are harder). Having said that, I've also found them a bit 'odd' and maybe that's because I'm so used to Microsoft Word's default margins of 1in all around. Anyway, if you prefer to specify margins directly

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Marcin Borkowski
On 2014-10-22, at 00:08, Kenneth Jacker wrote: > So, I guess I need to explicitly change the L/R and top/bottom margins. > > Here's what I do using emacs/latex without Org: > > \setlength{\textheight}{9.25in} > \setlength{\textwidth}{6.75in} > \setlength{\oddsidemargin}{0in} >

Re: [O] Paper Size for Exported LaTeX

2014-10-21 Thread Brady Trainor
Andreas Kiermeier writes: > > #+LATEX_HEADER: \usepackage[various options]{geometry} > Here is an example I am using to cram a lot of lists/notes onto a peice of paper to fold into eighths. #+BEGIN_SRC org #+LaTeX_CLASS_OPTIONS: [landscape] #+LaTeX_HEADER: \usepackage[top=.1in,bottom=.125in,

[O] Org Babel Clojure No Prettyprint

2014-10-21 Thread Prathyush
Hi, I was trying to use org-babel-clojure to pretty print a collection and found out that it always evaluated to: "Code block produced no output." Here's some sample code: #+begin_src clojure :results pp (println "Hello") #+end_src Similar issue was reported few weeks back and I guess it could

[O] Extra empty line at the top of the page when tangling.

2014-10-21 Thread Ivanov Dmitry
Code: #+BABEL: :cache yes :tangle yes :noweb yes #+NAME: top_block #+begin_src perl :tangle "test.pl" :noweb tangle #!/usr/bin/perl use strict; use warnings; open(my $fh, "<", "test.txt") or die "cannot open < file name: $!"; <> close($fh); #+end_src #+NAME: output-all #+begi

Re: [O] Extra empty line at the top of the page when tangling.

2014-10-21 Thread Daimrod
Ivanov Dmitry writes: Hi, > Code: > > #+BABEL: :cache yes :tangle yes :noweb yes > > #+NAME: top_block > #+begin_src perl :tangle "test.pl" :noweb tangle From (info "(org) padline"): > 14.8.2.10 ‘:padline’ > > > Control in insertion of padding lines around code block bodie