[Orgmode] link export confused when URL parameter is another URL

2010-09-30 Thread Cook, Malcolm
If find that this orgtext [[http://www.foo.com/foo?URL=http://www.bar.com][test]] exports to html incorrectly as [[http://www.foo.com/foo?URL=[[http://www.bar.com][test][http://www.bar.com][test]]] using today's fresh git pull make install Any pointers? Thanks Malcolm Cook

RE: [Orgmode] link export confused when URL parameter is another URL

2010-10-21 Thread Cook, Malcolm
ust a thought perhaps expressible as a context-free-grammar. Cheers back, Malcolm -Original Message- From: David Maus [mailto:dm...@ictsoc.de] Sent: Wednesday, October 20, 2010 11:36 PM To: Cook, Malcolm Cc: 'emacs-orgmode@gnu.org' Subject: Re: [Orgmode] link export confused whe

[Orgmode] exporting a html table with gridlines - is it possible

2010-10-22 Thread Cook, Malcolm
I don't see any hooks for this. Malcolm Cook Stowers Institute for Medical Research - Bioinformatics Kansas City, Missouri USA ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.

SOLVED? [Orgmode] org-babel-tangle-lang-exts must be initialized? how to get syntax coloring?

2010-09-08 Thread Cook, Malcolm
I am following up with a workaround for this old issue (from July). This problem persists with latest `git pull` on orgmode version 7.01 This minimal init file will cause it: (require 'org-install) ;(require 'org) (require 'ob-perl) uncomment the 2nd line, and the problem goes away. Cheers,

RE: SOLVED? [Orgmode] org-babel-tangle-lang-exts must be initialized? how to get syntax coloring?

2010-09-08 Thread Cook, Malcolm
fix confirmed. thanks! Malcolm Cook Stowers Institute for Medical Research - Bioinformatics Kansas City, Missouri USA -Original Message- From: Eric Schulte [mailto:schulte.e...@gmail.com] Sent: Wednesday, September 08, 2010 12:35 PM To: Cook, Malcolm Cc: 'emacs-orgmode@gn

[Orgmode] HOWTO?: make install contrib

2010-09-09 Thread Cook, Malcolm
Is there a "blessed" mantra for installing the contents of contrib something perhapls like sudo make install-contrib prefix=/my/prefix Thanks! Malcolm Cook Stowers Institute for Medical Research - Bioinformatics Kansas City, Missouri USA ___ Emac

RE: [Orgmode] HOWTO?: make install contrib

2010-09-09 Thread Cook, Malcolm
nd of is a necessity. Ideas? Other guidance? Malcolm Cook Stowers Institute for Medical Research - Bioinformatics Kansas City, Missouri USA From: John Hendy [mailto:jw.he...@gmail.com] Sent: Thursday, September 09, 2010 9:17 AM To: Cook, Malcolm Cc: ema

[O] HOWTO?: export without (re)eval-ing src blocks (was? disable automatic source block evaluation but allow manual)

2011-09-16 Thread Cook, Malcolm
I would like to be able to export a buffer as HTML, LaTex, what-have-you without having to re-evaluate any source blocks, and without having to modify the :eval tag in any source header blocks. Is there any way to accomplish this via hooks, flags, appropriate function calls? I think my concern

Re: [O] HOWTO?: export without (re)eval-ing src blocks (was? disable automatic source block evaluation but allow manual)

2011-09-16 Thread Cook, Malcolm
, September 16, 2011 12:01 PM To: Cook, Malcolm Cc: 'emacs-orgmode@gnu.org'; 'andreas.l...@med.uni-goettingen.de'; nicholas.do...@hp.com Subject: Re: [O] HOWTO?: export without (re)eval-ing src blocks (was? disable automatic source block evaluation but allow manual) [forgot to

Re: [O] [PATCH] WAS Re: Bug: problem w/ R code blocks [8.3beta (release_8.3beta-362-ga92789 /usr/local/share/emacs/site-lisp/org/)]

2014-09-17 Thread Cook, Malcolm
Hiya, Likewise - same problem here is fixed with injection of patch. Thanks! ~ malcolm_cook >-Original Message- >From: emacs-orgmode-bounces+mec=stowers@gnu.org >[mailto:emacs-orgmode-bounces+mec=stowers@gnu.org] On >Behalf Of Rainer M Krug >Sent: Wednesday, September 1

Re: [O] [PATCH] WAS Re: Bug: problem w/ R code blocks [8.3beta (release_8.3beta-362-ga92789 /usr/local/share/emacs/site-lisp/org/)]

2014-09-18 Thread Cook, Malcolm
ands. I'm going to wait till things settle down before trying to upgrade ESS again. Thanks for the patch anyway. Cheers, Malcolm >-Original Message----- >From: Cook, Malcolm >Sent: Wednesday, September 17, 2014 6:14 PM >To: 'Rainer M Krug'; 'Charles Berry&#x

Re: [O] sortable columns in html tables

2014-09-30 Thread Cook, Malcolm
Hi, The syntax for much of this has changed since that post. Instead of #+style: you will want #+HTML_HEAD: And, attaching a class to an exported html table is handled differently too. Instead of #+attr_html: class="sortable" you want #+attr_html: :class "sortable" Such declar

Re: [O] [PATCH] WAS Re: Bug: problem w/ R code blocks [8.3beta (release_8.3beta-362-ga92789 /usr/local/share/emacs/site-lisp/org/)]

2014-12-09 Thread Cook, Malcolm
Hi, On this old subject, I too finally confirm the pushed patch addresses the issue - and - thanks. >-Original Message- >From: emacs-orgmode-bounces+mec=stowers@gnu.org >[mailto:emacs-orgmode-bounces+mec=stowers@gnu.org] On >Behalf Of Aaron Ecay >Sent: Friday, October 10,

[O] BUG? table output despite "#+begin_src sh :results verbatim"

2013-01-25 Thread Cook, Malcolm
Hi, In org 7.9.3d, under Gnu emacs 24.2.1 / linux: I find that org-mode is tablizing shell output despite require 'verbatim' results. #+begin_src sh :results verbatim echo 1 echo 2 echo 3 #+end_src #+results: | 1 | | 2 | | 3 | The same happens if I used 'scalar' in place of verbatim.

Re: [O] BUG? table output despite "#+begin_src sh :results verbatim"

2013-01-25 Thread Cook, Malcolm
Thomas, Thanks for checking. What does meta-x org-version tell you ?? ~Malcolm .-Original Message- .From: Thomas S. Dye [mailto:t...@tsdye.com] .Sent: Friday, January 25, 2013 1:44 PM .To: Cook, Malcolm .Cc: 'emacs-orgmode@gnu.org' .Subject: Re: BUG? table outp

Re: [O] BUG? table output despite "#+begin_src sh :results verbatim"

2013-01-25 Thread Cook, Malcolm
...@tsdye.com] .Sent: Friday, January 25, 2013 2:31 PM .To: Cook, Malcolm .Cc: 'emacs-orgmode@gnu.org' .Subject: Re: BUG? table output despite "#+begin_src sh :results verbatim" . ."Cook, Malcolm" writes: . .> Thomas, .> .> Thanks for checking. .>

Re: [O] BUG? table output despite "#+begin_src sh :results verbatim"

2013-01-28 Thread Cook, Malcolm
urday, January 26, 2013 1:37 PM .To: Cook, Malcolm .Cc: 'Thomas S. Dye'; Blanchette, Marco; 'emacs-orgmode@gnu.org' .Subject: Re: [O] BUG? table output despite "#+begin_src sh :results verbatim" . ."Cook, Malcolm" writes: . .> THanks Thomas, I see we are ru

Re: [O] Switch for exported file types when evaluating code blocks

2013-07-17 Thread Cook, Malcolm
st body) >`(case (if (boundp 'backend) backend nil) ,@body)) >#+end_src > >* A graph >#+header: :file (by-backend (html "graph.png") (latex "graph.pdf") (t >"graph.svg")) >#+header: :export results >#+begin_src dot >dig

Re: [O] Switch for exported file types when evaluating code blocks

2013-07-18 Thread Cook, Malcolm
ing code blocks > >Suvayu Ali writes: > >> Hello again Malcolm, >> >> On Thu, Jul 18, 2013 at 12:45:36AM +, Cook, Malcolm wrote: >>> >>> I tend to work with org-export-babel-evaluate set to nil. Thus, my >>> code blocks are not evaled in t

Re: [O] Switch for exported file types when evaluating code blocks

2013-07-19 Thread Cook, Malcolm
, July 18, 2013 8:02 PM To: emacs-orgmode@gnu.org Subject: Re: [O] Switch for exported file types when evaluating code blocks "Cook, Malcolm" writes: > Hi Nick, I'm not sure how to use this ctan package in concert with > orgmode's export to tex->pdf. > Here's a

Re: [O] Switch for exported file types when evaluating code blocks

2013-07-19 Thread Cook, Malcolm
Suvayu, This is splendid news! I will try it immediately upon return from "gone fishin" in a week... (erhm, that is, right after I figure out haw to migrate my orgmode SETUPFILE to comport with new export backend I just upgraded to my fancy TOC and org-export-html-table-tag javascript ha

Re: [O] import R data frame into org-mode table

2013-07-29 Thread Cook, Malcolm
>Hi Andreas, > >On 17 July 2013 23:09, Andreas Leha >wrote: > >> Definitely there is: >> >> --8<---cut here---start->8--- >> #+begin_src R :results table :colnames yes >> read.csv('test.csv') >> #+end_src >> >> #+results: >> | X | Variant | Xaxis

Re: [O] import R data frame into org-mode table

2013-07-29 Thread Cook, Malcolm
>-Original Message- >From: John Hendy [mailto:jw.he...@gmail.com] >Sent: Monday, July 29, 2013 11:03 AM >To: Cook, Malcolm >Cc: Rob Stewart; Andreas Leha; emacs-orgmode@gnu.org >Subject: Re: [O] import R data frame into org-mode table > >On Mon, Jul 29

Re: [O] import R data frame into org-mode table

2013-07-30 Thread Cook, Malcolm
>> >> Indeed, thanks, and, my worked out example follows using emacs 2.18.9 and >> org-mode version 8.0.6 >> > >2.18.9? oops, that was the GTK_ Version number. My emacs is 24.3.1. >> #+LATEX: \listoftables >> #+LaTeX_HEADER: \usepackage{longtable} >> #+name: longtabletest >> #+CAPTION:

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-08 Thread Cook, Malcolm
>In case of difficulties like this, I produce the tex file (C-c C-e l l) >and then I process it by hand: > > pdflatex --shell-escape foo.tex > >Separates concerns nicely. I will try your approach - thanks - I agree > >> Sleuthing, I see the output .tex file includes the following lines: >

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-08-10 Thread Cook, Malcolm
Thomas, Suvayu, Aaron, Nick, Eric, Carsten, Phil, et al, Thanks for all your help. I am now satisfied with approach for exporting images to inline html and inline latex=>pdf. In my hands, the following code block will produce in-line images in html and be included in exported pdf. #+LATEX_HEA

Re: [O] example filter for code blocks?

2013-09-26 Thread Cook, Malcolm
>Check out `org-export-filter-src-block-functions'. It shouldn't be too >hard to add a custom filter to that list which may be used to process >all code block bodies during latex export. Somewhat off-topic, but, thanks for pointing out this variable Eric I've been wanting an approach that

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-10-28 Thread Cook, Malcolm
u.org >[mailto:emacs-orgmode-bounces+mec=stowers@gnu.org] On >Behalf Of Cook, Malcolm >Sent: Friday, August 09, 2013 4:01 PM >To: 'Malcolm Cook'; 'emacs-orgmode@gnu.org'; 'Nick Dokos'; 'Suvayu Ali'; >'Eric Schulte'; '

Re: [O] how to handle svg files when exporting orgmode to html and pdf?

2013-10-29 Thread Cook, Malcolm
Hi Aaron, >> Can I re-open this thread to discuss two new issues I now experience with >> emacs 24.3.1 and orgmode version 8.2.1 in the handling of >svg => tex => pdf ? >> >> Here goes: >> >> 1) If the plot has text in it which contains a percent character (%), >> then we fail due to https:

Re: [O] make new links show as figures?

2013-10-31 Thread Cook, Malcolm
quot;\\)\\]" (if include-linked "" "\\]"))) >> (case-fold-search t) >> >> This seems to work in all cases I can think of (see test file below). >> Let me know if this works for you and i will apply to master when i >> get home and have

[O] HowTo? have R :sessions in org mode invoke a specific R

2013-11-04 Thread Cook, Malcolm
I wish to lock an org buffer to a particular installation of R so that all code blocks use it. I found that I could not, for instance, write `:session R-3.0.1`. Is there some best way for me to accomplish this? Perhaps some way of setting inferior-R-program-name to a buffer local value? Thanks

Re: [O] HowTo? have R :sessions in org mode invoke a specific R

2013-11-25 Thread Cook, Malcolm
>On Mon, Nov 4, 2013 at 11:22 AM, Cook, Malcolm wrote: >> I wish to lock an org buffer to a particular installation of R so that all >> code blocks use it. >> >> I found that I could not, for instance, write `:session R-3.0.1`. >> >> Is there

[O] html export list of figures

2015-09-23 Thread Cook, Malcolm
Hi, I see know what to generate a list of figures to appear in my html export in addition to my current #+TOC: listings #+TOC: tables Exporting latex provides #+LATEX: \listoffigures To complement #+LATEX: \tableofcontents #+LATEX: \listoftables But

Re: [O] html export list of figures

2015-09-24 Thread Cook, Malcolm
s, I will see what I can add. Is this package part of any library available via that package manager? > > Cook, Malcolm writes: > > > Hi, > > > > I see know what to generate a list of figures to appear in my html > > export in addition to my current >

[O] BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround

2015-10-01 Thread Cook, Malcolm
Hello , I am not sure what the best solution is, but, in my hands using Org-mode version 8.3.2-elpa org-20150929 the reg-expt used to "cleanup extra prompts left in output" is over-aggressive and will trim session :output at lines consisting exclusively of blanks and periods such as produced w

Re: [O] BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround

2015-10-01 Thread Cook, Malcolm
> > I am not sure what the best solution is, but, in my hands using > > Org-mode version 8.3.2-elpa org-20150929 the reg-expt used to "cleanup > > extra prompts left in output" is over-aggressive and will trim session > > :output at lines consisting exclusively of blanks and periods such as > >

Re: [O] BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround

2015-10-08 Thread Cook, Malcolm
> On Thu, 1 Oct 2015, Cook, Malcolm wrote: > > >>> I am not sure what the best solution is, but, in my hands using > > > > Org-mode version 8.3.2-elpa org-20150929 the reg-expt used to > > > > "cleanup extra prompts left in output" is over-

Re: [O] HowTo? have R :sessions in org mode invoke a specific R

2015-10-16 Thread Cook, Malcolm
Replying on an old thread: > >>On Mon, Nov 4, 2013 at 11:22 AM, Cook, Malcolm > wrote: > > >> I wish to lock an org buffer to a particular installation of R so that > > all > code blocks use it. > > >> > > >> I foun

[O] ox-html HOWTO? exporting #+RESULTS inside div

2015-10-21 Thread Cook, Malcolm
Hi, I would like to contrive for the contents of results blocks to be embedded in a new div with a common class of org-results-container. Can this be accomplished through configuring ox-html somehow? Or must I contrive to modify ox-html.el source? Or is this "Just A Bad Idea" (tm). My use cas

Re: [O] ox-html HOWTO? exporting #+RESULTS inside div

2015-10-21 Thread Cook, Malcolm
From: Charles C. Berry Sent: Wednesday, October 21, 2015 9:18 PM To: Cook, Malcolm Cc: emacs-orgmode@gnu.org Subject: Re: ox-html HOWTO? exporting #+RESULTS inside div On Wed, 21 Oct 2015, Cook, Malcolm wrote: > Hi, > > I would like to contriv

Re: [O] pdflatex not found?

2015-10-27 Thread Cook, Malcolm
> > John Kitchin writes: > > > This reminds me that I think I have this problem unless I open Emacs from a > > command line. > > Yup - this is one way of circumvent the problem: by starting emacs from > the command line. And, just to chime in late in the conversation, if your emacs was

Re: [O] ox-html HOWTO? exporting #+RESULTS inside div

2015-11-04 Thread Cook, Malcolm
macs- > orgmode-bounces+mec=stowers@gnu.org] On Behalf Of Cook, Malcolm > Sent: Thursday, October 22, 2015 1:14 AM > To: Charles C. Berry > Cc: emacs-orgmode@gnu.org > Subject: Re: [O] ox-html HOWTO? exporting #+RESULTS inside div > > Charles, > > Excellent

Re: [O] ox-html HOWTO? exporting #+RESULTS inside div

2015-11-06 Thread Cook, Malcolm
> > Charles, Thanks again for you suggestion. Alas, using 'header-args > >:wrap org-results-container' has the unforeseen (by me) side effect > >of masking my use of `#+ATTR_HTML :class dataTable` on selected > >exported tables (which I use to allow for search/sortable/scrollable > >tables).

Re: [O] BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround

2015-11-07 Thread Cook, Malcolm
Thanks Chuck for setting this through. I've never been happy at how Babel arranged the inter process communication with R including the need for cleaning up the output with scary regular expressions like this. Also there are some of uses of temp files that sometime cause of bugs especially wh

Re: [O] BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround

2015-11-09 Thread Cook, Malcolm
> -Original Message- > From: Charles C. Berry [mailto:ccbe...@ucsd.edu] > Sent: Saturday, November 07, 2015 6:33 PM > To: Cook, Malcolm > Cc: emacs-orgmode@gnu.org > Subject: Re: BUG: emacs orgmode ob-R.el function org-babel-R-evaluate- > session over

Re: [O] BUG: emacs orgmode ob-R.el function org-babel-R-evaluate-session over aggressively performs "; ; cleanup extra prompts left in output" and a possible workaround

2015-11-09 Thread Cook, Malcolm
> [...] > > > > > > > [...] > > > > > > > > I've wondered if there is not a better way for Babel to share an > > > > interactive session with the user. For instance, if we wanted to > > > > support a new form of results processing on addition to value and > > > > output Namely, "transcr

Re: [O] Table formula bug? (TBLFM line populated, but C-c = prompt is empty)

2015-11-23 Thread Cook, Malcolm
I just noticed that upon editing a table formula, C-u C-c C-c was updating all but the first instance of formula (all but the first row). Org-mode version 8.3.2 Could this be related issue? > -Original Message- > From: emacs-orgmode-bounces+mec=stowers@gnu.org [mailto:emacs- > o

Re: [O] Table formula bug? (TBLFM line populated, but C-c = prompt is empty)

2015-11-24 Thread Cook, Malcolm
> > I just noticed that upon editing a table formula, C-u C-c C-c was updating > > all > but the first instance of formula (all but the first row). > > > > Org-mode version 8.3.2 > > > > Could this be related issue? > > If it was, I can't reproduce it with the latest pull that fixed my >

Re: [O] Using tramp to run R source code blocks on remote server

2016-04-21 Thread Cook, Malcolm
I believe some of the inter-process communication magic depends upon i/o through a file that exists in /tmp on the remote host If the remote server shares a file system with localhost (does it?), you could contrive for that temp file to live there (~/.emacs.d/ESS.IPC.HACK) instead. I've been st

Re: [O] Using tramp to run R source code blocks on remote server

2016-04-22 Thread Cook, Malcolm
> On Fri, 22 Apr 2016, Nick Dokos wrote: > > > Vikas Rawal writes: > > > >> I am trying to run R source code blocks on a remote server > >> (defined in > my ~/.ssh/config as > >> cesp). > >> > >> I am facing several problems. > >> > >> 1. The following

Re: [O] Recently emacs hangs on startup due to ESS

2015-05-28 Thread Cook, Malcolm
I would install latest ess fresh. What version of emacs? The package manager is a moving target these days. Try to use the package manager to interactively install the latest > - emacs -Q > following: > http://melpa.org/?utm_source=dlvr.it&utm_medium=twitter#/getting-started > - putting this

Re: [O] Recently emacs hangs on startup due to ESS

2015-05-28 Thread Cook, Malcolm
> On Thu, May 28, 2015 at 5:07 PM, Cook, Malcolm > wrote: > > I would install latest ess fresh. > > I wondered about that as well, so I tried that prior to posting here. > Sorry, I should have listed my version, which is now 15.03-1. > > > What version of emacs? T

Re: [O] Recently emacs hangs on startup due to ESS

2015-05-28 Thread Cook, Malcolm
John, still recommend you try fresh ess, compiled via package manager. Also, update any packages needing updated. Maybe speedbar? I'm dry, Best, Malcolm > -Original Message- > From: John Hendy [mailto:jw.he...@gmail.com] > Sent: Thursday, May 28, 2015 6:24 PM >

Re: [O] Recently emacs hangs on startup due to ESS

2015-05-28 Thread Cook, Malcolm
d! ~ malcolm_c...@stowers.org From: John Hendy Sent: Thursday, May 28, 2015 11:15 PM To: Cook, Malcolm Cc: emacs-orgmode Subject: Re: [O] Recently emacs hangs on startup due to ESS On Thu, May 28, 2015 at 6:34 PM, Cook, Malcolm wrote: > John, still recommend

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

2015-07-23 Thread Cook, Malcolm
> 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 initiate it from a > browser. I imaging hitting a plugin button on the the browser's

[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 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 be

Re: [O] orgmode and R?

2015-08-03 Thread Cook, Malcolm
It is possible to send a org table to R as a data.frame, which could edit it, add columns, and produce a new data.frame which, with :results value, will be understood by org as an table. > -Original Message- > From: emacs-orgmode-bounces+mec=stowers@gnu.org [mailto:emacs- > orgmode-

Re: [O] eval source blocks in a subtree when opening file

2015-08-07 Thread Cook, Malcolm
e progn for it to work reliably (don't know why). > > I am wondering if it would be possible to break a line in Local Variables, > but > > # eval: (progn (org-id-goto ...some-id...) \ > # (org-babel-execute-subtree)) > > didn't work. &

Re: [O] Babel error on init with 8.3.1

2015-08-10 Thread Cook, Malcolm
When you “ updated org through the package manager in Emacs,” I believe you need to make sure org has not been loaded at all. My practice is to exec `emacs –Q`, immediately update with package manager, then quit and restart emacs without the –Q. Let us know…. From: emacs-orgmode-bounces+mec=st

[O] Link to http://orgmode.org/build-org-pkg.txt is 404 in http://orgmode.org/elpa.html

2015-08-10 Thread Cook, Malcolm
Link to http://orgmode.org/build-org-pkg.txt is 404 in http://orgmode.org/elpa.html ~Malcolm

Re: [O] Babel error on init with 8.3.1

2015-08-10 Thread Cook, Malcolm
@gnu.org [mailto:emacs-orgmode-bounces+mec=stowers@gnu.org] On Behalf Of Cook, Malcolm Sent: Monday, August 10, 2015 9:32 AM To: 'Ryan Schuetzler' ; emacs-orgmode@gnu.org Subject: Re: [O] Babel error on init with 8.3.1 When you “ updated org through the package manager in Emacs,” I b

Re: [O] remote R session

2015-08-11 Thread Cook, Malcolm
Using ESS, If you are editing a org file file via tramp, editing an R src code block should “just work” to start the attached R session remotely. I do it all the time. Try this: make sure you do NOT have a local R session already and edit your source block…. From: emacs-orgmode-bounces+mec=s

[O] org-html-list-of-tables ODD BEHAVIOR in producing in html export a hyperlinked table of figures to result tables

2016-08-03 Thread Cook, Malcolm
Hi, I understand that Including in my org file: #+TOC: tables Produces a list of all captioned tables in my document. If the table lacks a caption, it does not appear in the list of tables. Alas, they are not hyperlinked to the table unless I add a #+NAME directive. Oddly, the #+NAME: may ev

[O] seeking good practices for writing about org using org

2016-08-03 Thread Cook, Malcolm
Hi, I am seeking good practices for writing about org using , erhm, well, org itself. (doh!) I'd use these practices, for example, when writing examples of using org, or lessons in using org, or bug reports about org. I reached of ob-org thinking this is what it was for, and wrote the followi

Re: [O] seeking good practices for writing about org using org

2016-08-03 Thread Cook, Malcolm
o:ccbe...@ucsd.edu] > Sent: Wednesday, August 03, 2016 9:16 PM > To: Cook, Malcolm > Cc: 'emacs-orgmode@gnu.org' > Subject: Re: seeking good practices for writing about org using org > > On Wed, 3 Aug 2016, Cook, Malcolm wrote: > > > Hi, > > >

Re: [O] seeking good practices for writing about org using org

2016-08-03 Thread Cook, Malcolm
Hi, Additionally, if I change to #+BEGIN_SRC org :exports both :results value html I do not want the html rendered in the browser when I export to html. Rather, I want to see the html that was created. Actually, having the option to see BOTH would be ideal. Similarly, if I change to #+BEGI

Re: [O] seeking good practices for writing about org using org

2016-08-04 Thread Cook, Malcolm
Hi Charles, > On Wed, 3 Aug 2016, Cook, Malcolm wrote: > > > Thanks. Much closer. Still some issues. Mind taking another > > gander (hoping the attached jpeg of the webpage rendered comes > > through as an attachment) > >

Re: [O] How to safely update from ver. 8.2.10 to 8.3.x

2016-08-15 Thread Cook, Malcolm
> this weekend I got through lots of troubles, because I updated my > orgmode version with "manage emacs packages" menu command and > somehow > got mixed preferences. > > Now, after a clean install, I have org mode 8.2.10 and would like to > update to version 8.3.x (20160808) which is shown

Re: [O] How to safely update from ver. 8.2.10 to 8.3.x

2016-08-22 Thread Cook, Malcolm
ent. ~Malcolm > > On 22 August 2016 at 12:25, Jorge wrote: > > On 15 August 2016 at 14:29, Cook, Malcolm wrote: > >> emacs -Q -batch -eval "(progn (require 'package) (add-to-list > 'package-archives '(\"org\" . \"http://org

Re: [O] How to safely update from ver. 8.2.10 to 8.3.x

2016-08-22 Thread Cook, Malcolm
> > I would not trust the result from failing to drop the -Q since the -Q is > > what > prevents your init file from loading, which we are explicitly trying to avoid > for the sake of compiling org in a fresh environment. > > > According to [[info:emacs#Initial Options]], --batch implies -q.

Re: [O] heading specific fast keys?

2016-12-21 Thread Cook, Malcolm
> -Original Message- > From: Emacs-orgmode [mailto:emacs-orgmode- > bounces+mec=stowers@gnu.org] On Behalf Of John Kitchin > Sent: Wednesday, December 21, 2016 2:18 PM > To: emacs-orgmode@gnu.org > Subject: [O] heading specific fast keys? > > I wondered if anyone know a strai

Re: [O] org-annotate/collaboration?

2017-02-10 Thread Cook, Malcolm
Alan, just wondering, what operating system and file system are you using now?

Re: [O] is it bad to have both org and org-plus-contrib installed?

2017-04-11 Thread Cook, Malcolm
Hi, Coming late to this fray and responding to original Subject If you (require 'use-package) Then you might find the following to work, as I do: (use-package org :ensure org-plus-contrib ; following http://emacs.stackexchange.com/questions/7890/org-plus-contrib-a

[O] BUG: org-archive-subtree LOSES DATA when run on unsaved buffer

2019-04-09 Thread Cook, Malcolm
Hi, I never use org's archiving capabilities. So imaging my surprise when I accidently invoked org-archive-subtree from its key-binding and I lost a whole subtree of a new buffer which (alas) I had not yet saved to disk Further alas, I was so alarmed not knowing where my content disappeared to

[O] sql code block #+BEGIN_SRC sql :tangle qry/testthis.sql :cmdline "-v this=\\'asdf\\'"

2019-09-03 Thread Cook, Malcolm
I am surprised by the level of quoting seemingly required by org-mode to pass a variable to psql in :cmdline The following works: #+PROPERTY: header-args:sql :engine postgresql :dbhost my.host :database mydb :dbuser me #+PROPERTY: header-args:sql+ :tangle no :results table :exports both

RE: org 9.2.6 and org 9.1.9

2019-11-26 Thread Cook, Malcolm
Tim, Yes, it is a bit of dependency hell. Quoting myself from Re: [O] How to safely update from ver. 8.2.10 to 8.3.x : Here's what I do, at the shell: emacs -Q -batch -eval "(progn (requi

RE: org 9.2.6 and org 9.1.9

2019-11-27 Thread Cook, Malcolm
Hi Stefan, I don’t think I’ve ever seen a root-cause analysis, but I’ve seen many problems that are resolved by some version of a “clean build” of org. Here are some: - [[https://lists.defectivebydesign.org/archive/html/emacs-orgmode/2012-09/msg01365.html][Installing Org through the new h

Re: [O] Release 9.1.2

2017-10-05 Thread Cook, Malcolm
> Hi all, Yay! Thanks for org! Always a game changer. Should we expect to find release notes at http://orgmode.org/Changes.html or somewhere else? > > Org 9.1.2 is out. > > Enjoy! > > -- > Bastien >

Re: [O] Release 9.1.2

2017-10-05 Thread Cook, Malcolm
> "Cook, Malcolm" writes: > > > Should we expect to find release notes at > > http://orgmode.org/Changes.html or somewhere else? > > Yes, that's the place for human readable changelogs, which we update > for major and minor releases, not for

[O] info-js hijacks clicks disallowing integration with other custom click handlers

2018-03-02 Thread Cook, Malcolm
Hello, I am using infojs_opt while exporting to html from org-mode I find that it “hijacks” all clicks. This is interfering with some custom click handlers I’ve coded up for toggling the display of code listings when clicking on their caption. Does anyone have a suggestion for me to get the b

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-04-30 Thread Cook, Malcolm
If the poll is still open, I vote don’t change the default. Unless I missed a prior good argument for changing it… Or, unless, upon first invocation, org-mode guided you through or prompted you to changing your defaults, or at the very least, offered/insisted upon your reading ORG-NEWS. Otherw

Re: [O] [POLL] Should Org tempo be enabled by default? (expand templates thru e.g. "

2018-05-01 Thread Cook, Malcolm
Thanks for the re-cap. I'm changing my vote. Make the change! Change the default! And make lots of noise advertising it (make more prominent https://orgmode.org/Changes.html , etc). Someone suggested going to v10.x Is there a case for this? Thx of org! > -Original Message- > Fr

RE: Unable to get current or via use-package

2022-02-09 Thread Cook, Malcolm
>(use-package org >:ensure org-contrib) I believe `:ensure org-contrib` is no longer needed. I tend to use the org-mode from the package manager, but do not do it interactively from within emacs. Instead, which when I want to refresh org, I do from the command line: emacs -Q -batch -e

RE: Unable to get current or via use-package

2022-02-10 Thread Cook, Malcolm
Hi Loris, > > I tend to use the org-mode from the package manager, but do not do it > > interactively from within emacs. Instead, which when I want to refresh org, > > I do from the command line: > > > > emacs -Q -batch -eval "(progn (require 'package) (package-initialize) > > (package-refresh-

RE: [BUG] org-mode #+SETUPFILE not working with properties [9.5.2 (release_9.5.2-378-g98588e @ /home/eros/src/org-mode/lisp/)]

2022-04-29 Thread Cook, Malcolm
I agree. There is no reason to think this should not work. I have been down this road myself in wished it did. From: Emacs-orgmode On Behalf Of Ihor Radchenko Sent: Thursday, April 28, 2022 9:41 AM To: Eros Zaupa Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-mode #+SETUPFILE not working w

RE: You can now support Org-mode through https://liberapay.com/org-mode/

2022-09-20 Thread Cook, Malcolm
Thanks for all you do – donation forthcoming! From: Emacs-orgmode On Behalf Of Bastien Sent: Saturday, September 17, 2022 3:32 AM To: emacs-orgmode@gnu.org Subject: You can now support Org-mode through https://liberapay.com/org-mode/ CAUTION: This email is from an External Source. Please use pr

RE: R code blocks in org version 9.5

2022-10-19 Thread Cook, Malcolm
> My R code blocks work fine in org 9.5. When I plot graph using base graphics > in session, it works fine. The problem is with lattice graphs. With below > header variables, code block works fine. > > #+begin_src R :session *R* :results graphics file :file test.png > library(lattice) > print(hi

RE: org-assert-version considered harmful

2022-10-31 Thread Cook, Malcolm
Hello, I found this recent thread researching why my strategy for staying abreast with org head had started failing with invalid-function "org-assert-version" My strategy had been to build org initially with ` cd ~/.emacs.d && git clone https://git.savannah.gnu.org/git/emacs/org-mode.git &&

RE: [External] : RE: org-assert-version considered harmful

2022-10-31 Thread Cook, Malcolm
g-contrib/ && git pull && cd > ~/src/git-org-mode/ && git pull && make all && make autoloads && cd > ~/src/git-emacs-master/ && git pull && make all && sudo -H make install && cd > .. > > Then only

RE: org-assert-version considered harmful

2022-11-02 Thread Cook, Malcolm
> > Then, when I occasionally wished to update org, I would > > > > `cd ~/.emacs.d/org-mode && git pull && make autoloads && make` > > > > Recently I started getting errors invalid-function "org-assert-version". > > > > Upon cursory reading of this thread I guessed that I could fix them by > > ad

RE: org-assert-version considered harmful

2022-11-03 Thread Cook, Malcolm
>> It should not be necessary and it does not happen on my side (as you can > >> imagine, I re-compile very often). > > > > Perhap's my issue stems from the particular versions of org I was upgrading > > between and/or (earlier) poor management of multiple contending org > > versions (e.g. git he

TIP: use svglite as device in for producing plots in R/ESS code blocks

2022-11-03 Thread Cook, Malcolm
I wanted to use svglite as the driver for producing .svg plots within org. It took a little poking around but the solution was one line: ``` (setf (alist-get :svg org-babel-R-graphics-devices ) '("svglite" "file")) ``` Of course it requires: ``` library(svglite) ``` ...to have been called i

RE: [PATCH] LSP support in org-src buffers

2022-11-22 Thread Cook, Malcolm
Coming late to this discussion…. Might there be some value in considering the aims and methods of [Polymode](https://github.com/polymode/polymode#readme) in this regard? There seems to be a significant overlap of concerns. Just a thought. Cheers, Malcolm

RE: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-11-30 Thread Cook, Malcolm
>Bug confirmed by other ESS users on the mailing list: >https://stat.ethz.ch/pipermail/ess-help/2022-November/013162.html FWIW: confirmed here too with GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo version 1.15.12, Xaw3d scroll bars) of 2022-01-19 Org mode version 9.6-pre (

RE: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-12-06 Thread Cook, Malcolm
Hi, I tried applying just the change in https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=456462741 to released Org 9.6 and find that when using `:session *R*` the #+RESULTS are still empty, but when running without :session the results are provided. Is there any diagnostic or re

RE: [BUG] ob-R: session evaluation returns empty ouputs with Org 9.6 [9.6 ( @ /home/fsantos/.emacs.d/elpa/org-9.6/)]

2022-12-07 Thread Cook, Malcolm
>"Cook, Malcolm" <mailto:m...@stowers.org> writes: > >> I tried applying just the change in >> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=456462741 to >> released Org 9.6 and find that when using `:session *R*` the #+RESULTS are

RE: Multiple versions of Org in load-path problem

2022-12-08 Thread Cook, Malcolm
>Ihor Radchenko writes: > >> David Masterson writes: >> >>> I went so far as to add the following to early-init.el: >>> >>> (if (featurep 'org) (unload-feature 'org)) >>> (add-to-list 'load-path (expand-file-name "~/.emacs.d/elpa/org-9.6")

RE: bug#59882: Multiple versions of Org in load-path problem

2022-12-09 Thread Cook, Malcolm
> Eli Zaretskii writes: > > >> Cc: emacs-orgmode@gnu.org, 59...@debbugs.gnu.org > >> From: David Masterson > >> Date: Thu, 08 Dec 2022 13:56:03 -0800 > >> > >> In my testing, I found a strange case where, in *scratch*, I get: > >> > >> (message "%s" org-version) > >> ;; Error undefined > >> ;; D

RE: Multiple versions of Org in load-path problem

2022-12-09 Thread Cook, Malcolm
'-q'? > > > I'm not sure this is related to your problem, or whether that helps > > (but I hope it does)... > > I think it does. > > Side note: > > In my testing, I found a strange case where, in *scratch*, I get: > > (message "%s"

  1   2   >