[O] org-review is on melpa

2016-09-06 Thread Alan Schmitt
Hello, After using this for a couple of years, I’ve finally taken the time to put it on Melpa. Org-review (https://melpa.org/#/org-review) is a set of functions to maintain review dates for entries, so that you may generate agenda view of things to review. I use it every Friday during my weekly

[O] Why does Helm break org-contact group add?

2016-09-06 Thread Tory S. Anderson
I thoroughly enjoy Org Contact for managing my contacts. One of its features is the ability to enter + and have an entire group of contacts added to the To: or Cc: . Unfortunately, when global-helm-mode is enabled, it doesn't work; when `+ TAB` is entered, an error occurs: Lisp error:

Re: [O] Multiple bibliography files with ox-bibtex and html export

2016-09-06 Thread Clément Pit--Claudel
On 2016-09-06 23:46, Thibault Marin wrote: >>> I am attaching a patch which allows me to use multiple files with html >>> export. It creates a combined bibliography file and call bibtex2html on >>> it. I am not sure this is the best way to address this, so any >>> suggestion would be welcome.

Re: [O] Multiple bibliography files with ox-bibtex and html export

2016-09-06 Thread Thibault Marin
Nicolas Goaziou writes: > Hello, > > Thibault Marin writes: > >> I would like to use ox-bibtex to export a bibliography to html with >> multiple bibliography files, as follows: >> >> #+BIBLIOGRAPHY: bibtex_1.bib,bibtex_2.bib plain option:-d option:-noabstract >> limit:t

Re: [O] table alignment with org-pretty-entities turned on

2016-09-06 Thread s j
It was solved. I just report it here in case it is useful to others. It turned out to be a problem with the language environment. Previously, the language environment was detected to be Chinese although my system-default language is English. The preferred charset for Greek letters was then

Re: [O] Modules, libraries, eggs, etc.

2016-09-06 Thread John Kitchin
It sounds like you should incorporate some tangling prior to running some blocks so that the external files would exist when required. The only other approach is something like a :session. I don't know if that is setup for scheme/racket though. John --- Professor

Re: [O] fill paragraph: break after sentence.

2016-09-06 Thread Uwe Brauer
>>> "Nicolas" == Nicolas Goaziou writes: > Hello, > Uwe Brauer writes: >> IMHO should be included somehow in vanilla org, > It seems only remotely related to Org. If robust enough, I might go to > something like "fill.el" instead. There

Re: [O] Restrict include to some backend

2016-09-06 Thread Nicolas Goaziou
Hello, Clément Pit--Claudel writes: > Do you think so? Wouldn't BEGIN_ONLY … END_ONLY work? It would be similar to > BEGIN_EXPORT, right? > Or it could even be an option to begin_export? No, it wouldn't. INCLUDE keywords are expanded way before the document is parsed.

Re: [O] Restrict include to some backend

2016-09-06 Thread Fabrice Popineau
2016-09-06 15:59 GMT+02:00 Clément Pit--Claudel : > Hi Fabrice, > > I've run into this issue recently (while writing my first large document > in Org). I couldn't find a good natice solution, so I used a rather > unpleasant trick, and I've been meaning to write

[O] Modules, libraries, eggs, etc.

2016-09-06 Thread Lawrence Bottorff
Racket has a nice module system whereby a module is kept in a plain text .rkt file. For example, #lang racket (provide print-cake) ; draws a cake with n candles (define (print-cake n) (show " ~a " n #\.) (show " .-~a-. " n #\|) (show " | ~a | " n #\space) (show "---~a---" n #\-))

Re: [O] Restrict include to some backend

2016-09-06 Thread Clément Pit--Claudel
On 2016-09-06 11:58, Nicolas Goaziou wrote: > Besides, we would need to introduce a new syntax to implement this, > which I find not too appealing. Do you think so? Wouldn't BEGIN_ONLY … END_ONLY work? It would be similar to BEGIN_EXPORT, right? Or it could even be an option to begin_export?

[O] adding code before org-babel sql execution (postgres engine)

2016-09-06 Thread dmg
Hi there I have been using or-sql with postgres backend for a long time. There has been one annoyance that I finally fixed. When the SQL command has an error, it simply outputs and empty table: #+begin_src sql :engine postgresql :cmdline imdb select * from abc #+end_src #+RESULTS: The error

Re: [O] Restrict include to some backend

2016-09-06 Thread Nicolas Goaziou
Hello, Clément Pit--Claudel writes: > I remove the blocks based on the current backend using a crude > pre-processing step in Emacs lisp. I can share the code if you're in > a hurry, but maybe this idea can also be integrated to Org itself? I think implementing it in a

Re: [O] fill paragraph: break after sentence.

2016-09-06 Thread Nicolas Goaziou
Hello, Uwe Brauer writes: > IMHO should be included somehow in vanilla org, It seems only remotely related to Org. If robust enough, I might go to something like "fill.el" instead. Regards, -- Nicolas Goaziou

[O] Change Org homepage ML search to GNU (was: mailing list search given problems with gmane?)

2016-09-06 Thread Karl Voit
* Grant Rettke wrote: > On Mon, Sep 5, 2016 at 10:50 AM, Eric S Fraga wrote: >> do we have any alternative means to search the mailing list given the >> current problems with gmane? > > https://lists.gnu.org/archive/html/emacs-orgmode/ Can somebody

Re: [O] Restrict include to some backend

2016-09-06 Thread Clément Pit--Claudel
The examples below should have read begin_only: > #+begin_only html > #+include foo.py src python > #+end_ony > > #+begin_only latex > This is processed as *regular* ~org-mode~ code, but only when exporting to > LaTeX. > #+end_only Clément On 2016-09-06 09:59, Clément Pit--Claudel wrote: > Hi

Re: [O] Restrict include to some backend

2016-09-06 Thread Clément Pit--Claudel
Hi Fabrice, I've run into this issue recently (while writing my first large document in Org). I couldn't find a good natice solution, so I used a rather unpleasant trick, and I've been meaning to write emacs-orgmode about it since then. In my documents I have a BEGIN_ONLY environment that I

Re: [O] mailing list search given problems with gmane?

2016-09-06 Thread Eric S Fraga
On Tuesday, 6 Sep 2016 at 11:07, Charles Millar wrote: > The mail list search has been broken for more than one year (close to > two). I and others have asked that it be repaired and nothing has > happened! Are you sure it's been broken that long? I don't use it often but I thought I used it

Re: [O] fill paragraph: break after sentence.

2016-09-06 Thread Uwe Brauer
>>> "Aaron" == Aaron Ecay writes: Hi Aaron > Hi Uwe, > The following code is what I use. It uses filladapt mode, but doesn’t > work with auto-fill (I manually refill paragraphs with M-q as I’m > writing). I wrote the code a long time ago, it works for me,

Re: [O] mailing list search given problems with gmane?

2016-09-06 Thread Charles Millar
On 09/05/2016 11:50 AM, Eric S Fraga wrote: Dear all, do we have any alternative means to search the mailing list given the current problems with gmane? I have been using MailArchive. A few weeks ago. Lars Magne mentioned this as an alternative. Also, I have added the newsgroup in my

Re: [O] mailing list search given problems with gmane?

2016-09-06 Thread Charles Millar
On 09/06/2016 02:29 AM, Eric S Fraga wrote: On Tuesday, 6 Sep 2016 at 01:48, Grant Rettke wrote: On Mon, Sep 5, 2016 at 10:50 AM, Eric S Fraga wrote: do we have any alternative means to search the mailing list given the current problems with gmane?

Re: [O] fill paragraph: break after sentence.

2016-09-06 Thread Aaron Ecay
Hi Uwe, The following code is what I use. It uses filladapt mode, but doesn’t work with auto-fill (I manually refill paragraphs with M-q as I’m writing). I wrote the code a long time ago, it works for me, YMMV, etc. Hope it is helpful. #+BEGIN_SRC emacs-lisp (defun

[O] Trouble with capture template and prompt

2016-09-06 Thread Bart Bunting
Hi, I have the following capture template defined in the customize interface. It used to work ok but now gives a cryptic (well at least to me) error: I've narrowed down the bit that is breaking to the title prompt definition. Can anyone point out what I'm doing wrong. I'm running org-mode

Re: [O] There is no line to end here at LaTeX org-ref export

2016-09-06 Thread Eric S Fraga
On Monday, 5 Sep 2016 at 20:55, Florian Lindner wrote: > Am 02.09.2016 um 15:12 schrieb Eric S Fraga: >> Can you post an actual org test file as an attachment? And also the >> resulting LaTeX file on export? [...] > and continues. You have no errors using that snippet? Can you compile I

Re: [O] Multiple bibliography files with ox-bibtex and html export

2016-09-06 Thread Nicolas Goaziou
Hello, Thibault Marin writes: > I would like to use ox-bibtex to export a bibliography to html with > multiple bibliography files, as follows: > > #+BIBLIOGRAPHY: bibtex_1.bib,bibtex_2.bib plain option:-d option:-noabstract > limit:t > > This works with latex export but

Re: [O] How to add a label in LaTeX export

2016-09-06 Thread Nicolas Goaziou
Hello, Florian Lindner writes: > I have this org mode document: > > #+BEGIN_SRC python :exports results :results file > import matplotlib.pyplot as plt, numpy as np > x = np.linspace(-2, 2, 1000) > plt.plot(x, np.exp(-np.power(4*x, 2)), label="shape-parameter=4") >

[O] How to add a label in LaTeX export

2016-09-06 Thread Florian Lindner
Hello, I have this org mode document: #+BEGIN_SRC python :exports results :results file import matplotlib.pyplot as plt, numpy as np x = np.linspace(-2, 2, 1000) plt.plot(x, np.exp(-np.power(4*x, 2)), label="shape-parameter=4") plt.plot(x, np.exp(-np.power(2*x, 2)),

[O] fill paragraph: break after sentence.

2016-09-06 Thread Uwe Brauer
Hello I would like to modify the auto-fill function such that after every sentence a new line starts like this In order to prove our nonlinear instability result, we want to use the linear growing mode in Proposition to construct small initial data for the nonlinear problem. Since we are

Re: [O] table alignment with org-pretty-entities turned on

2016-09-06 Thread Nicolas Goaziou
Hello, jsj writes: > To make it clear, the behavior I reported can be reproduced with a clean init > file with just org loaded. > > I put the table > > | a | b | c | > |+---+---| > | \alpha | | | > > in an org file, toggle pretty entities by C-c C-x \,

Re: [O] mailing list search given problems with gmane?

2016-09-06 Thread Eric S Fraga
On Tuesday, 6 Sep 2016 at 01:48, Grant Rettke wrote: > On Mon, Sep 5, 2016 at 10:50 AM, Eric S Fraga wrote: >> do we have any alternative means to search the mailing list given the >> current problems with gmane? > > https://lists.gnu.org/archive/html/emacs-orgmode/ Thanks! I

[O] Restrict include to some backend

2016-09-06 Thread Fabrice Popineau
Hi, Maybe there is an obvious answer but I wonder how to restrict including a file to some backend. The following doesn't work: #+begin_export latex #+include foo.py src python #+end_export (Not that I expected it to actually work, but it shows the goal) Any idea ? Thanks for your help.