Re: [O] Org-mode exporters licensing

2015-07-28 Thread Robert Klein
On Mon, 27 Jul 2015 20:49:05 +0200 Marcin Borkowski wrote: > > On 2015-07-27, at 20:30, Daniele Nicolodi wrote: > > > On 27/07/15 20:20, Marcin Borkowski wrote: > >> > >> On 2015-07-27, at 20:02, Daniele Nicolodi > >> wrote: > >> > >>> On 27/07/15 19:42, Marcin Borkowski wrote: > That

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Sebastien Vauban
Eric S Fraga writes: >> 3) Custom highlight markers error >>> No idea about this. It could be a bug anywhere. >>> Could you maybe post a small example file? I have no idea what you are >>> describing unfortunately. >> I retrieved what I did, from here >>

Re: [O] Babel and R: Call code block and output plot

2015-07-28 Thread Stefan Nobis
Andreas Leha writes: > You still have to specify the format of the results of the #+CALL > line, as in #+CALL: myplot[:exports results]() :results file Works like a charm, thank you very much. -- Until the next mail..., Stefan.

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-28 Thread Oleh Krehel
Marcin Borkowski writes: >> As Oleh Krehel pointed out in a reply to another mail of yours, if your >> code links to org-mode code (or other GPL code) you cannot release it >> under a different license. I'm not sure about how linking is intended in >> Elisp sense of ('require)ing a library, but I

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-28 Thread Oleh Krehel
Eric S Fraga writes: > On Monday, 27 Jul 2015 at 19:04, Marcin Borkowski wrote: > > [...] > >> Nope. As stated by someone here (Oleh, I guess), if I (require 'org), >> or possibly even just write Elisp, and want to distribute it, it has to >> be GPL. > > I do not think this is true. I would lik

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Eric S Fraga
On Tuesday, 28 Jul 2015 at 09:24, Sebastien Vauban wrote: > Eric S Fraga writes: [...] >> You can always use macros instead? > > Or the `font-lock-add-keywords' mechanism? > > Best regards, > Seb I think the OP wanted markers that would export, not just stand out in the emacs buffer. -- :

Re: [O] John's amazing indexing posts

2015-07-28 Thread Oleh Krehel
Erik Hetzner writes: > I believe that you can rewrite using the recoll tool directly instead > of recollq, using `recoll -t -b 'search string'`: > > (defun counsel-recoll-function (string &optional _pred &rest _unused) > "Grep in the current directory for STRING." > (if (< (length string) 3)

[O] agenda events from table?

2015-07-28 Thread Paolo Bientinesi
Hello, I am facing what seems to be a common situation, yet I can't find a way out. Imagine this scenario: A list of people, a number of fields/properties per person, and the date for a personal meeting. For convenience, I handle this information through tables. Example: | Name | Address | Se

Re: [O] Relative links and #+include:

2015-07-28 Thread Rasmus
Pavel Panchekha writes: > Is there any way to advise the #+include: process to resolve relative > links correctly? Or a better way to include Org files in one another? Relative links work. Use something like #+include: ./inc/o2.org Or #+include: inc/o2.org For including o2.

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-28 Thread Eric S Fraga
On Tuesday, 28 Jul 2015 at 10:07, Oleh Krehel wrote: [...] > Look here: > https://en.wikipedia.org/w/index.php?title=GNU_General_Public_License§ion=11#Libraries > > Most useful quote: > >> The Free Software Foundation (which holds the copyright of several >> notable GPL-licensed software products

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-28 Thread Oleh Krehel
Eric S Fraga writes: > Anyway, I think we've beaten this to death already. Time to get real > work done! :-) That is my usual approach: label everything I write with GPL and not think about it:) It's just that most posts about GPL cast it in a bad light: I think it's the best license, and I do

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-28 Thread Andreas Hilboll
>> Look here: >> https://en.wikipedia.org/w/index.php?title=GNU_General_Public_License§ion=11#Libraries >> >> Most useful quote: >> >>> The Free Software Foundation (which holds the copyright of several >>> notable GPL-licensed software products and of the license text itself) >>> asserts that an e

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-28 Thread Oleh Krehel
Andreas Hilboll writes: >>> Look here: >>> https://en.wikipedia.org/w/index.php?title=GNU_General_Public_License§ion=11#Libraries >>> >>> Most useful quote: >>> The Free Software Foundation (which holds the copyright of several notable GPL-licensed software products and of the license t

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-28 Thread Andreas Hilboll
On 28.07.2015 11:30, Oleh Krehel wrote: > Andreas Hilboll writes: > Look here: https://en.wikipedia.org/w/index.php?title=GNU_General_Public_License§ion=11#Libraries Most useful quote: > The Free Software Foundation (which holds the copyright of several > notable

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-28 Thread Oleh Krehel
Andreas Hilboll writes: >>> However, when the interpreter is extended to provide “bindings” to >>> other facilities (often, but not necessarily, libraries), the >>> interpreted program is effectively linked to the facilities it uses >>> through these bindings. So if these facilities are released

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-28 Thread Eric S Fraga
On Tuesday, 28 Jul 2015 at 11:00, Oleh Krehel wrote: > Eric S Fraga writes: > >> Anyway, I think we've beaten this to death already. Time to get real >> work done! :-) > > That is my usual approach: label everything I write with GPL and not > think about it:) > > It's just that most posts about G

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Xiha
Thanks Sebastien and Eric, On Tuesday, 28 Jul 2015 at 09:24, Sebastien Vauban wrote: > Eric S Fraga ucl.ac.uk> writes: [...] >> You can always use macros instead? Maybe, if I knew how. I haven't used macros before. I read this and tried

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Eric S Fraga
You need to differentiate between two aspects: highlighting of text within a org buffer and what happens to text when exported. In the new exporter, I don't think you can implement anything that covers both use cases. I am not entirely sure what it is you want. If you want just one of these, fo

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Nick Dokos
Xiha writes: > Thanks Sebastien and Eric, > > On Tuesday, 28 Jul 2015 at 09:24, Sebastien Vauban wrote: > > Eric S Fraga ucl.ac.uk> writes: > > [...] > > >> You can always use macros instead? > > Maybe, if I knew how. I haven't used macros before. I read this and tried

Re: [O] [bug] undo bunching in agenda

2015-07-28 Thread Rasmus
Samuel Wales writes: > on repeated task i change state twice in agenda. i ret to go to the > task. i do undo only once, but both changes get undone. Indeed on repeated tasks the second undo seems to be weird and produces bad output: * TODO test :PROPERTIES: :LAST_REPEAT: [2015

Re: [O] Cannot fold drawer

2015-07-28 Thread Rasmus
Hi, azubi writes: > I've recently discovered the drawers for org-mode. When I use > "standard" drawers names (like LOGBOOK or PROPERTIES) I can fold them > using the TAB key. If I create drawers with other names (like URLS or > NOTES), these folders cannot be folded. I've created these specific

Re: [O] How to make a non-GPL Org-mode exporter?

2015-07-28 Thread Paul Rudin
Oleh Krehel writes: > Marcin Borkowski writes: > >> Hi all, >> >> after a short discussion in a recent thread, I have a serious technical >> question. >> >> Assume that (for some reason) I want to write an Org-mode exporter which >> won't be GPL'd. (Use-case: having written a few custom exporte

Re: [O] agenda events from table?

2015-07-28 Thread Subhan Michael Tindall
On Tue, Jul 28, 2015, 1:25 AM Paolo Bientinesi wrote: Hello, I am facing what seems to be a common situation, yet I can't find a way out. Imagine this scenario: A list of people, a number of fields/properties per person, and the date for a personal meeting. For convenience, I handle this informa

Re: [O] [Feature Request] Let publishing-function decide :output-file and whether publishing is needed

2015-07-28 Thread Rasmus
Hi Ruben, Thanks for your patch. Ruben Maher writes: > I've been working on a derived exporter to publish a static blog, and > I've run into some issues. Say that `:publishing-directory' is > "~/public_html" and I have `:base-directory' with an Org file foo.org. > > foo.org has option keywords

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread Xiha
Thanks guys. Getting closer - but please don't overestimate my backgound knowledge :) On 07/28/2015 02:05 PM, Eric S Fraga wrote: You need to differentiate between two aspects: highlighting of text within a org buffer and what happens to text when exported. Yes. Principally, I want the former.

Re: [O] Questions about exporting: subtitle, level formating, custom highlight markers error

2015-07-28 Thread John Kitchin
You may find this post on highlighting text helpful: http://kitchingroup.cheme.cmu.edu/blog/2015/07/28/A-highlight-annotation-mode-for-Emacs-using-font-lock/ I think it also lays the foundation for thinking about how to get it to export, although you would need to do this as a preprocessing step b

[O] Is it possible to remove org-completing-read and org-completing-read-no-i?

2015-07-28 Thread Oleh Krehel
Hi all, I'd like to remove them in favor of using `org-icompleting-read' everywhere (or better yet, `completing-read'). `org-completing-read-no-i' doesn't do much, is called twice and can be replaced with a let binding wrapper. `org-completing-read' could be updated this way: (defmacro wit

Re: [O] Is it possible to remove org-completing-read and org-completing-read-no-i?

2015-07-28 Thread Rasmus
Hi, Oleh Krehel writes: > I'd like to remove them in favor of using `org-icompleting-read' > everywhere (or better yet, `completing-read'). I think we had a discussion following another thread on this topic (probably a thread you started), and I believe switching to `completing-read' is on the

Re: [O] Cannot fold drawer

2015-07-28 Thread Achim Gratz
azubi writes: > The version of org-mode I use is: > > Org-mode version 8.2.4 (8.2.4-dist @ > /home/azubi/.emacs.d/elpa/org-20150720/) > > Can you please explain me what I've done wrong ? That looks like a mixed installation to me. Somewhere you seem to have installed an Org version 8.2.4 from a d

Re: [O] "Capture"-like browser plugin?

2015-07-28 Thread Peter Davis
Daniele Pizzolli writes: > On Thu, Jul 23 2015, Peter Davis wrote: > >> Frequently when I'm doing a Web search and find pages I like, I want >> to save a link to the page, along with the title and perhaps a few >> notes. Something like org-mode's capture would be great, but I'd like >> to initiat

[O] capture htmlwidgets for export - a pattern in search of a new :results type???

2015-07-28 Thread Cook, Malcolm
I have been playing with exporting htmlwidgets [1] generated in R code-blocks. [1] http://www.htmlwidgets.org/ and Here is a worked example that exports to html #+BEGIN_SRC R :session *R* :exports both :results html library(htmlwidgets) library(d3heatmap) widget

Re: [O] "Capture"-like browser plugin?

2015-07-28 Thread Alan Schmitt
On 2015-07-28 11:58, Peter Davis writes: >> if you use firefox, see: >> >> https://addons.mozilla.org/it/firefox/addon/org-mode-capture/ >> > > Thank you, Daniele. I'm afraid I haven't been able to get this to work on > a Mac. I have the Firefox add-in installed, and emacs > configured, but when

Re: [O] capture htmlwidgets for export - a pattern in search of a new :results type???

2015-07-28 Thread Charles C. Berry
On Tue, 28 Jul 2015, Cook, Malcolm wrote: I have been playing with exporting htmlwidgets [1] generated in R code-blocks. [snip: proposal for new :results format to accomodate repetitive codes] Perhaps there is a better or more useful abstraction. Or a better workaround than simply follo

Re: [O] "Capture"-like browser plugin?

2015-07-28 Thread Bob Newell
Aloha kakou, I've had this work on Firefox (with Linux) when everything is properly set up, but it won't and probably never will work on Chrome. Even on Firefox it isn't really ideal. But as long as you have clipboard access configured in your Emacs, it really isn't such a great slowdown to do cut

Re: [O] "Capture"-like browser plugin?

2015-07-28 Thread Ken Mankoff
The chrome version of this works on chrome. See announcement on this list about two weeks ago... -k. Please excuse brevity. Sent from pocket computer with tiny non-haptic feedback keyboard. > On Jul 28, 2015, at 18:10, Bob Newell wrote: > > Aloha kakou, > > I've had this work on Firefox

Re: [O] capture htmlwidgets for export - a pattern in search of a new :results type???

2015-07-28 Thread Cook, Malcolm
> On Tue, 28 Jul 2015, Cook, Malcolm wrote: > > > I have been playing with exporting htmlwidgets [1] generated in R code- > blocks. > > > > [snip: proposal for new :results format to accomodate repetitive codes] > > > > > > Perhaps there is a better or more useful abstraction. > > > > Or a bet