[O] [PATCH] Empty inline tasks in latex export

2014-05-15 Thread R. Michael Weylandt
If the body if the inline task is empty, org-latex-inlinetask writes nil in the exported document. This patch skips including contents (and the bar above it) if it's nil. Michael 0001-Handle-empty-tasks-without-printing-nil-in-org-latex.patch Description: Binary data

Re: [O] :mkdirp without path specifier

2014-05-03 Thread R. Michael Weylandt
On Sat, May 3, 2014 at 4:19 AM, Achim Gratz wrote: > R. Michael Weylandt writes: >> ;; Possibly create the parent directories for file. >> (when (let ((m (funcall get-spec :mkdirp))) >>(and

Re: [O] :mkdirp without path specifier

2014-05-02 Thread R. Michael Weylandt
On Fri, May 2, 2014 at 11:43 PM, R. Michael Weylandt wrote: > Patch attached. Should apply cleanly against master and maint. Bah, botched the formatting. Attached should be fixed. 0001-Fix-tangle-with-mkdirp-yes-tangle-FILE.patch Description: Binary data

Re: [O] :mkdirp without path specifier

2014-05-02 Thread R. Michael Weylandt
On Thu, May 1, 2014 at 3:47 PM, Michael Weylandt wrote: > If it intended that setting :mkdirp yes should break tangling with > 'directory-free' file names? > > I.e., should > # > #+TITLE: test > #+BEGIN_SRC python :mkdirp yes :tangle test.py > print 1+2 > #+END_SRC > ### >

Re: [O] Prepare release 8.2.6

2014-04-13 Thread R. Michael Weylandt
On Thu, Apr 10, 2014 at 10:43 PM, Eric Schulte wrote: > > I just tried to apply the second patch, but it no longer applies (with > "git am") to the Org-mode repo. Would you mind sending along an updated > version? > Hi Eric, The attached should apply cleanly against master. Michael 0001-Keyb

Re: [O] Prepare release 8.2.6

2014-04-06 Thread R. Michael Weylandt
On Sat, Apr 5, 2014 at 3:18 PM, Nicolas Goaziou wrote: > Hello, > > "R. Michael Weylandt" writes: > >>> 1) Tell Emacs not to break inline source blocks when filling paragraphs: > > I suggest not to use `org-in-regexp' here but `org-element-context'

Re: [O] Prepare release 8.2.6

2014-04-06 Thread R. Michael Weylandt
On Sat, Apr 5, 2014 at 3:27 PM, Nicolas Goaziou wrote: > Hello, > > Would you mind adding a commit message, TINYCHANGE at its end, and send > it again with "git format-patch"? Hi Nicolas, Thanks for taking the time to review my patches (2 attached): hopefully these are formatted to org standards

Re: [O] Prepare release 8.2.6

2014-04-05 Thread R. Michael Weylandt
On Fri, Apr 4, 2014 at 10:32 AM, Michael Weylandt wrote: > > > On Apr 3, 2014, at 2:37, Bastien wrote: > >> Hi all, >> >> I'll try to fix a few remaining bugs in maint this afternoon >> then release 8.2.6 so that we can merge it into Emacs emacs-24 >> branch, the pretest is scheduled to happen as

Re: [O] Prepare release 8.2.6

2014-04-05 Thread R. Michael Weylandt
On Fri, Apr 4, 2014 at 7:51 AM, Michael Weylandt wrote: > > > On Apr 3, 2014, at 2:37, Bastien wrote: > > Hi all, > > I'll try to fix a few remaining bugs in maint this afternoon > then release 8.2.6 so that we can merge it into Emacs emacs-24 > branch, the pretest is scheduled to happen as soon

[O] Org-set-repeat

2014-04-01 Thread R. Michael Weylandt
I see that Org provides a `org-cancel-repeater` and `org-get-repeat` but I don't see a `org-set-repeat` (or function which can be made to do so). Is there something like that that I've missed or should I write a wrapper around `org-deadline`? Michael

Re: [O] Incorrect hexification in URLs in LaTeX Export

2014-03-19 Thread R. Michael Weylandt
On Mar 18, 2014, at 17:24, "R. Michael Weylandt" wrote: > Can't comment on Andreas's issue about unescaping text when it's given to org > already escaped. Hi Bastien, TLDR: remove ?\= from org-link-escape-chars. I looked at this again and I think I

Re: [O] verbatim/code text and line breaks with auto fill mode

2014-03-18 Thread R. Michael Weylandt
On Mar 8, 2014, at 7:12, Alan Schmitt wrote: > Nick Dokos writes: > >> Alan Schmitt writes: >> >>> Hello, >>> >>> Is there a way to disable line breaks inside verbatim or code text when >>> using auto fill? For instance, if I type the following: >>> >>> This is an example of a long line w

Re: [O] Incorrect hexification in URLs in LaTeX Export

2014-03-18 Thread R. Michael Weylandt
On Mar 18, 2014, at 11:41, Bastien wrote: > Hi Andreas, > > Andreas Leha writes: > >> The second link is not clickable in the resulting pdf. > > This should be fixed now, thanks. > Hi Bastien, I just tried with 35f27a1fe and my issue is fixed. (The one about the hexifying of a valid chara

[O] Odd interaction with Python sessions and Org 8.2.5

2014-03-05 Thread R. Michael Weylandt
Hi, I'm having trouble getting clean output from org 8.2.5 when I combine session based evaluation and capturing results from standard out. (See first example below) This is on Emacs 24.3 with the default python mode settings and nothing relevant in my init.el except for activating python support

Re: [O] Org-link-escape-chars (was Incorrect hexification in URLs in LaTeX Export)

2014-03-05 Thread R. Michael Weylandt
On Tue, Mar 4, 2014 at 3:45 PM, Simon Thum wrote: > This seems to be a question of objective. Do you want to encode, i.e. > maintain some reversible original in an url no matter what, or do you want > to fix url's which wouldn't otherwise be legal? In the latter case, the > question mark should pr

[O] Org-link-escape-chars (was Incorrect hexification in URLs in LaTeX Export)

2014-03-03 Thread R. Michael Weylandt
On Feb 28, 2014, at 15:26, Andreas Leha wrote: > "R. Michael Weylandt " > writes: > >> I've tried this with Org 7.9.3 and 8.2.5h to the same result: >> >> <--> >> #+TITLE: Test >> *

[O] Incorrect hexification in URLs in LaTeX Export

2014-02-28 Thread R. Michael Weylandt
I've tried this with Org 7.9.3 and 8.2.5h to the same result: <--> #+TITLE: Test * One Here is a [[http://google.com/search?q=orgmode][link]] <--> Exporting to HTML doesn't transform the link but exporting to LaTeX results in the (non-working) http://googl

Re: [O] Accessing #+EMAIL in LaTeX Export

2014-02-04 Thread R. Michael Weylandt
On Feb 4, 2014, at 12:31, Nick Dokos wrote: > Nick Dokos writes: > >> "R. Michael Weylandt" writes: >> >>> I want org-mode to export to the "amsart" class by default. In >>> addition to the regular \title, \author, \date macros, a

Re: [O] Accessing #+EMAIL in LaTeX Export

2014-02-04 Thread R. Michael Weylandt
On Tue, Feb 4, 2014 at 12:54 AM, Nick Dokos wrote: > "R. Michael Weylandt" writes: > >> HI, >> >> I'm writing a latex export class which has an \email macro. >> >> Is it possible to autofill this macro using the #+EMAIL: property? >> Looki

[O] Accessing #+EMAIL in LaTeX Export

2014-02-03 Thread R. Michael Weylandt
HI, I'm writing a latex export class which has an \email macro. Is it possible to autofill this macro using the #+EMAIL: property? Looking at ox-latex.el, it seems that email is hardcoded to be placed in \thanks{} but there might be a hook I'm missing. I thought that using a {{{ email }}} macro

[O] Ox-HTML hover for certain languages

2013-10-21 Thread R. Michael Weylandt
Around line 270 of Ox-html.el, there's CSS which gives certain code blocks in the resulting HTML a hover-over window saying what language they encode. Not all Babel-supported languages appear however: is there any reason for this? (E.g. perl is hard-coded but no python) I suppose one could pull

Re: [O] org-grep, and problems

2013-10-13 Thread R. Michael Weylandt
On Oct 10, 2013, at 11:50, François Pinard wrote: > > P.S. What is proper English: "nobody remember" or "nobody remembers"? > Remembers. 'Nobody' counts as singular, as does 'no one'. English isn't totally consistent on this matter, however, as 'none' takes a plural verb. No one is brave