Re: [O] Don't ask, don't run

2011-07-11 Thread Ken Williams
Eric Schulte gmail.com> writes: > There is no way to customize `org-confirm-evaluate' to achieve this > behavior, however it can be accomplished through creative use of the > :eval header argument, by using the `org-export-current-backend' > variable to inhibit evaluation during export. > > #+be

Re: [O] calculating column averages

2011-07-22 Thread Ken Williams
Jude DaShiell shellworld.net> writes: > > In this case I don't want to tell org-mode how many rows to calculate, and > I put a table together with an averages line in its own footer section. Since you have a header & footer, one solution is to use a formula like this: :=vmean(@I..@II)

[O] LaTeX export crashes

2011-10-14 Thread Ken Williams
Hi, the following document makes a LaTeX export (C-c C-e d) crash with "Args out of range: "", -1, 0".  After that, exporting (to any format) dies with the same error. -- #+TITLE: Test doc #+AUTHOR: Ken Williams Some stuff. #+begin_src R 5+5 #+end_src ---

[O] LaTeX export crashes

2011-10-14 Thread Ken Williams
Hi, the following document makes a LaTeX export (C-c C-e d) crash with "Args out of range: "", -1, 0". After that, -- #+TITLE: Test doc #+AUTHOR: Ken Williams Some stuff. #+begin_src R 5+5 #+end_src -- Is this a known problem? If I eith

Re: [O] LaTeX export crashes

2011-10-17 Thread Ken Williams
On Thu, Oct 13, 2011 at 4:48 PM, Ken Williams wrote: > Hi, the following document makes a LaTeX export (C-c C-e d) crash with > "Args out of range: "", -1, 0".  After that, exporting (to any format) > dies with the same error. > [snip] Then Sebastien Vauban wrot

Re: [O] LaTeX export crashes

2011-10-17 Thread Ken Williams
On Mon, Oct 17, 2011 at 4:52 PM, Nick Dokos wrote: > Ken Williams wrote: > >> Here's a full stack trace, does this make it any more evident what's going >> on? >> > > Not really: you have not mentioned what version you are using. I did post my complete

Re: [O] LaTeX export crashes

2011-10-17 Thread Ken Williams
On Mon, Oct 17, 2011 at 8:31 PM, Nick Dokos wrote: > > As I pointed out in the subsequent message, that's not good enough: 7.7 came > out > on July 28 and the fix (at least what I *think* is the fix) did not go in > until > September 13. Ah, I see - I was thinking 7.7 came out at the end of Sep

Re: [O] zotero plain, org-odt, and citations in general

2011-11-09 Thread Ken Williams
Jambunathan K gmail.com> writes: > > > Basically all that one can do in org-mode at the moment is insert & > > update citations, and following citation links to the entry in Zotero. > > Can you or someone provide me how such an Org file with citation > definition and reference looks like? I'd

[O] Hang on incomplete input

2011-11-30 Thread Ken Williams
'debug()' on a function that's now being called, or even just on long-running calculations. Any chance evaluation could be done in a separate thread or something? Thanks. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e

Re: [O] Hang on incomplete input

2011-12-01 Thread Ken Williams
Rafael wrote: > In Ubuntu 10.10, emacs 23.2 and recent org, I get an *Org-Babel Error > Output* buffer, saying: > > Error: unexpected '}' in: > "ddply(x, > }" > Execution halted I'm using: GNU Emacs 23.3 (from http://vgoulet.act.ulaval.ca/en/emacs/windows/) Windows 7 org-mode 7.7 ESS 5.14 What

Re: [O] Hang on incomplete input

2011-12-01 Thread Ken Williams
ull .org file looks like this: ### #+TITLE: Test doc #+AUTHOR: Ken Williams #+BABEL: :session *Rt* * My Header Some code: #+begin_src R ddply(x, #+end_src ### With that change, is the hang reproducible? > If that does not bear fruit, you can M-x toggle-debug-o

Re: [O] Hang on incomplete input

2011-12-01 Thread Ken Williams
> -Original Message- > From: nicholas.dokos > Sent: Thursday, December 01, 2011 12:19 PM > > Note also that #+BABEL: is obsolete for versions of org more recent than Oct. > 20 or so. You seem to still be running 7.7 from late July or early August, so > you > should still be OK, but when

[O] More specific LaTeX output classes

2011-12-02 Thread Ken Williams
hing between input & output. Or of course it's possible some of this is already implemented and I've missed it. =) -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipie

[O] Subscripts in URLs

2012-08-06 Thread Ken Williams
et* is correct, though. Was there a subsequent commit that changes things back, or maybe something else I'm missing? I'd like for the anchor text to just appear without org-mode's formatting stuff. Thanks. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com

Re: [O] Subscripts in URLs

2012-08-07 Thread Ken Williams
From: Bastien Guerry [mailto:bastiengue...@googlemail.com] > > Ken Williams writes: > > > and export to HTML, I get a link with anchor text > > > http://www.mmm.ucar.edu/events/ISP/presentations/JNTforecastevaluati > on > > concepts.pdf, where "forecastev

[O] Exporting inline code sections

2012-08-13 Thread Ken Williams
;) (:exports . "both") (:results . "replace") (:session . "none"))) inline) org-babel-exp-inline-src-blocks(1 83) #[(pair) "\211A@)\n \"\207" [pair x start end] 4]((src org-babel-exp-inline-src-blocks)) mapcar(#[(pair) "\211A@)\n \"

Re: [O] Exporting inline code sections

2012-08-13 Thread Ken Williams
> -Original Message- > From: Ken Williams > Sent: Monday, August 13, 2012 3:37 PM > > I'm still at version 7.8.03, apologies if this has been addressed in a later > version already. FWIW, I just downloaded 7.8.11 and confirmed that the problem still exists

Re: [O] Exporting inline code sections

2012-08-13 Thread Ken Williams
> -Original Message- > From: Bastien Guerry [mailto:bastiengue...@googlemail.com] > Sent: Monday, August 13, 2012 4:56 PM > > Now fixed in git, thanks. Such service! =) > > Yes. Patch welcome! I'll have a shot at it. I'm very bad at elisp though. The other thing I just noticed was t

Re: [O] Exporting inline code sections

2012-08-14 Thread Ken Williams
> -Original Message- > From: Bastien Guerry [mailto:bastiengue...@googlemail.com] > Sent: Monday, August 13, 2012 4:56 PM > Ken Williams writes: > > > FWIW, I just downloaded 7.8.11 and confirmed that the problem still > > exists there. > > Now fixed

Re: [O] Exporting inline code sections

2012-08-14 Thread Ken Williams
> -Original Message- > From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] > Sent: Monday, August 13, 2012 6:34 PM > > Ken Williams wrote: > > > The other thing I just noticed was that every time I edit a table.el > > table with C-c ', two more

Re: [O] Exporting inline code sections

2012-08-14 Thread Ken Williams
> -Original Message- > From: nicholas.do...@hp.com [mailto:nicholas.do...@hp.com] > Sent: Tuesday, August 14, 2012 10:20 AM > > You might want to try edebug instead of the standard debugger, MUCH better, thanks! -Ken CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of

[O] [patch] change indentation logic for edit-src

2012-08-16 Thread Ken Williams
xify', not sure whether that's kosher or not. One change that would be nice to make to it is to avoid prefixing the final line if it's blank, but I couldn't get that to work. Also - could that essentially be replaced by a call to string-insert-rectangle? -- Ken Wil

Re: [O] [patch] change indentation logic for edit-src

2012-08-17 Thread Ken Williams
Hi, I know Bastien's out of touch for a few days, but could someone say whether a patch to the mailing list is the right place to put it, or should I put it on GitHub or somewhere else? Thanks. -Ken > From: Ken Williams > Sent: Thursday, August 16, 2012 2:30 PM > To: emacs-o

[O] Testing the git latest

2012-08-17 Thread Ken Williams
isp/org.el \ -l lisp/org-id.el -l testing/org-test.el \ --eval "(progn (org-reload) (setq org-confirm-babel-evaluate nil))" \ -f org-test-run-batch-tests Searching for program: no such file or directory, /bin/zsh I'm on Cygwin, is that not a supported testing conf

Re: [O] [patch] change indentation logic for edit-src

2012-08-22 Thread Ken Williams
> -Original Message- > From: Bastien Guerry [mailto:bastiengue...@gmail.com] > Sent: Tuesday, August 21, 2012 6:14 PM > > Mh... for me there is no change. There are always 2 spaces added before > table.el tables. The prior behavior I've been seeing is that there are 2 spaces added *ever

[O] Breadcrumbs?

2012-09-24 Thread Ken Williams
always-present shown at the top of the frame, but maybe it would be better as something shown on demand in the minibuffer, possibly making it taller while shown. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTI

Re: [O] Breadcrumbs?

2012-09-25 Thread Ken Williams
Very nice, thanks. I like to see the top-level heading too, so I removed the (rest ...) call near the beginning. -Ken From: Anthony Lander [mailto:anth...@landerfamily.ca] Sent: Monday, September 24, 2012 7:45 PM To: Ken Williams Cc: emacs-orgmode@gnu.org Subject: Re: [O] Breadcrumbs? Hi

[O] Base64 embedded images?

2012-10-27 Thread Ken Williams
[[file:foo.png]] tag (usually this is the result of plotting something in R), and the Base64 encoding happens to all images during *export*. The above approaches create the Base64-encoded tag right in the org-mode buffer, which limits the other types of exports one can do (e.g. normal HTML, La

[O] Outline export styles

2012-11-09 Thread Ken Williams
distributions 1.1 Create a vector of 1,000 uniformly-sampled random integers is there a configuration somewhere for that? Thanks. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient

Re: [O] Outline export styles

2012-11-09 Thread Ken Williams
I found the 'section-number-format' variable, which customizes nicely to do what I asked about. But on second thought, I guess that's not what I really want. Because my "Create a vector..." stuff is actually a paragraph or so, and doesn't fit nicely on one line as a headline. So it looks like

[O] Can't get 'sh' blocks working

2013-01-02 Thread Ken Williams
.el" . I'm not sure where that's coming from, I don't have any mention of agenda stuff in my .emacs. Any pointers for the 'sh' error or for getting a stack trace? Thanks. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com __

Re: [O] Can't get 'sh' blocks working

2013-01-02 Thread Ken Williams
quot;) ) org-babel-load-languages '((emacs-lisp . t) (sh . t) (R . t)) org-alphabetical-lists t org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-confirm-babel-evaluate nil ) From: Ken Williams Sent: Wednesday, January 02, 2013 1:0

[O] Problem exporting code

2013-01-20 Thread Ken Williams
I'm giving a talk tomorrow on org-mode and R, and I'm having an exporting problem that's tripping me up. Usually when I export code/output sections to HTML, they get CSS classes like "src-R" for R code, "src-perl" for perl code, "example" for output. But now they're all "example". Has anyone see

Re: [O] Problem exporting code

2013-01-20 Thread Ken Williams
h. On Sun, Jan 20, 2013 at 5:44 PM, Ken Williams wrote: > I'm giving a talk tomorrow on org-mode and R, and I'm having an exporting > problem that's tripping me up. > > Usually when I export code/output sections to HTML, they get CSS classes > like "src-R

Re: [O] Problem exporting code

2013-01-20 Thread Ken Williams
On Sun, Jan 20, 2013 at 9:15 PM, Eric S Fraga wrote: > Ken Williams writes: > > Unfortunately, downgrading to 7.8.11 didn't change the behavior - all >> code sections are still exported to HTML as class "example". >> I also see that on one machine, using 7

Re: [O] Problem exporting code

2013-01-20 Thread Ken Williams
On Sun, Jan 20, 2013 at 10:57 PM, Ken Williams wrote: > > I'm grasping at straws too, not knowing my way around the elisp code very > well. =) > It looks like the function controlling this behavior is `org-export-format-source-code-or-example`, in org-exp.el:

Re: [O] Problem exporting code

2013-01-20 Thread Ken Williams
Thanks John. Here's a small org file: >>>>>>>>>>>>>>>>>>>>> #+TITLE: Sample Doc #+AUTHOR:Ken Williams #+EMAIL: kena...@gmail.com #+DATE: 2013-01-21 #+PROPERTY: results output #+PROPERTY: exports both #+LATEX_HEADER:

Re: [O] Problem exporting code

2013-01-20 Thread Ken Williams
13 at 10:57 PM, Ken Williams wrote: > > > > On Sun, Jan 20, 2013 at 9:15 PM, Eric S Fraga wrote: > >> > >> Ken Williams writes: > >> > >>> Unfortunately, downgrading to 7.8.11 didn't change the behavior - all > >>> code sections

Re: [O] Problem exporting code

2013-01-21 Thread Ken Williams
(is htmlize not able to be loaded via 'load-path' and 'require'?), but after downloading htmlize 1.43 and adding the following to my .emacs, I seem to be in business again: (load-file "~/share/emacs/site-lisp/htmlize/htmlize.el") Thanks everyone. On Mon, Jan 21, 2

Re: [O] Problem exporting code

2013-01-21 Thread Ken Williams
On Mon, Jan 21, 2013 at 10:48 AM, John Hendy wrote: > > Awesome that you got it going. Do you still have =(require > 'org-install)= in your .emacs? ETA: just checked and you do. I checked > as I had an issue with emacs not using the git version of org because > I stupidly had =(require 'org-insta

Re: [O] Problem exporting code

2013-01-21 Thread Ken Williams
On Mon, Jan 21, 2013 at 4:16 PM, John Hendy wrote: > On Mon, Jan 21, 2013 at 11:45 AM, Ken Williams wrote: > > > > On Mon, Jan 21, 2013 at 10:48 AM, John Hendy wrote: > >> > >> > >> Awesome that you got it going. Do you still have =(require > >&g

Re: [O] Problem exporting code

2013-01-21 Thread Ken Williams
On Mon, Jan 21, 2013 at 5:02 PM, John Hendy wrote: > > On Jan 21, 2013 4:51 PM, "Ken Williams" wrote: > > > > It's been a while since I've used this machine, so I'd updated to the > latest Aquamacs, but it looks like Aquamacs itself hasn't see

Re: [O] Problem exporting code

2013-01-22 Thread Ken Williams
On Tue, Jan 22, 2013 at 1:49 AM, Bastien wrote: > Hi Thomas and all, > > t...@tsdye.com (Thomas S. Dye) writes: > > > Ken Williams writes: > > > >>> I've been using this: > >>> - http://vgoulet.act.ulaval.ca/en/emacs/mac/ > > T

[O] More decoration for babel output

2013-01-23 Thread Ken Williams
by green/red. Would this be helpful to include by default? Patch attached. -- Ken Williams, Senior Research Scientist WindLogics http://windlogics.com CONFIDENTIALITY NOTICE: This e-mail message is for the sole use of the intended recipient(s) and may contain

[O] No pictures when exporting narrowed/subtree

2012-01-04 Thread Ken Williams
on 7.7 ======= #+TITLE: A Document #+AUTHOR: Ken Williams #+BABEL: :session *Rt* :results output :exports both * Section 1 Some text. * Section 2 Some more text. #+begin_src R :results graphics :file testout.png plot(1:10, (1:10)^2) #+end

Re: [O] org-jira.el updated

2012-01-06 Thread Ken Williams
Bao Haojun gmail.com> writes: > I have updated the org-jira.el as suggested by Bastien and Richard > Riley: Amazing. Just 120 seconds ago I got out of a meeting where we talked about using Jira more widely in our company, and I worried that I'd duplicate too much between my org-mode journals and

Re: [O] No pictures when exporting narrowed/subtree

2012-01-13 Thread Ken Williams
> -Original Message- > ... if I put my cursor near "Some more text" and choose 'switch > buffer/subtree export' when exporting, or if I narrow (C-x n d) to that > subtree and then export, the 'testout.png' plot doesn't show up. Ping - anyone able to replicate or not replicate this? -Ken

[O] SO question on dynamic arguments

2012-02-09 Thread Ken Williams
I asked this question on Stack Overflow today, I wonder if someone might know the answer here: http://stackoverflow.com/questions/9215216/computing-argument-values-dynamically It's about computing arguments to a "#+begin_src R" block based on previous R results. Thanks.

[O] I'm tripping over #+BABEL: vs. #+PROPERTY:

2012-03-14 Thread Ken Williams
t says "code blocks are named with - results are named with code block may still be labeled with named with #+tblname: will be considered to be named results". What on earth does that mean?? I would offer a doc patch but I can't figure it out. =) -- Ken Williams, Senior Research

Re: [O] I'm tripping over #+BABEL: vs. #+PROPERTY:

2012-03-14 Thread Ken Williams
Aha! That was the trick, thanks. How about a translation of the text for question 2)? -Ken > -Original Message- > From: Eric Schulte [mailto:eric.schu...@gmx.com] > Sent: Wednesday, March 14, 2012 1:29 PM > To: Ken Williams > Cc: emacs-orgmode@gnu.org > Subject: Re

Re: [O] I'm tripping over #+BABEL: vs. #+PROPERTY:

2012-03-14 Thread Ken Williams
> -Original Message- > From: Eric Schulte [mailto:eric.schu...@gmx.com] > Sent: Wednesday, March 14, 2012 1:40 PM > To: Ken Williams > Cc: emacs-orgmode@gnu.org > Subject: Re: [O] I'm tripping over #+BABEL: vs. #+PROPERTY: > > > How about a transl

[O] Bug: Tabbing error with asterisks [7.8.03]

2012-03-23 Thread Ken Williams
I have the following document: -- #+TITLE: Test Doc #+AUTHOR: Ken Williams * Top header Top paragraph. #+begin_src R library(testthat) test_that("failures", { expect_that(6, equals(9)) expect_that(6, equals(9)) expect_that(6, equals(9)) expect_that(6

Re: [O] Bug: Tabbing error with asterisks [7.8.03]

2012-03-27 Thread Ken Williams
Bastien gnu.org> writes: > Hit C-c ' twice and you'll have commas inserted before the lines > starting with an asterisk. > That works as a workaround, as long as I remember to do it. Is there a reason not to automatically do this to the return value of doing "C-c C-c" on all "#begin_src R" blo

[O] Auto-fill-mode with code sections

2012-05-01 Thread Ken Williams
a configuration that will get me folding in the body sections, but not in the code sections? It could use another mechanism besides auto-fill-mode if that's what's preferred these days, but auto-fill-mode is the one I'm familiar with. Thanks. -- Ken Williams, Senior Res

Re: [O] Auto-fill-mode with code sections

2012-05-04 Thread Ken Williams
Ping - I'm still interested in this, if anyone has any recommendations. Thanks. -Ken > From: Ken Williams > Sent: Tuesday, May 01, 2012 8:51 AM > To: emacs-orgmode@gnu.org > Subject: Auto-fill-mode with code sections > > Hi, > > I use org-mode extensively with R c

[O] Export width for generated SVG image?

2013-03-26 Thread Ken Williams
it down. ":width 1000" doesn't seem to have any effect, nor does wrapping like so: #+BEGIN_HTML #+END_HTML ... dot diagram here ... #+BEGIN_HTML #+END_HTML ... because the interior SVG just overrides the width of its parent. Any suggestions? I'm using version 7.9.2-d

Re: [O] Export width for generated SVG image?

2013-03-26 Thread Ken Williams
> -Original Message- > From: John Hendy [mailto:jw.he...@gmail.com] > Sent: Tuesday, March 26, 2013 3:49 PM > > Are you using the new exporter or old? I believe the old syntax would have > been: > > #+attr_html width="100%" > [[image.svg]] Beautiful, thanks. -Ken

[O] attr_html for table.el tables?

2013-03-27 Thread Ken Williams
cause without borders the structure isn't very clear. It looks like `#+attr_html` doesn't have any effect on table.el tables, correct? Is there another mechanism to specify export options when org-mode renders table.el tables to HTML? -- Ken Williams, Senior Research Scientist

[O] Bug: Export of table.el to LaTeX fails [7.9.4 (7.9.4-dist @ c:/Users/kwilliams/share/emacs/site-lisp/org/)]

2013-03-28 Thread Ken Williams
Invalid search bound (wrong side of point)". The key piece seems to be the '...' string in the 4th cell. ===== #+TITLE: Example Doc #+AUTHOR: Ken Williams * Failing table Example: +--+---+ |Name |Examples | +--+-

Re: [O] Bug: Export of table.el to LaTeX fails [7.9.4 (7.9.4-dist @ c:/Users/kwilliams/share/emacs/site-lisp/org/)]

2013-03-28 Thread Ken Williams
g-babel-hide-all-hashes) org-src-preserve-indentation t org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc org-beamer-auto-fragile-frames org-beamer-place-default-actions-for-lists) org-export-latex-after-initial-vars-hook '(org-beamer-a

Re: [O] Bug: Export of table.el to LaTeX fails [7.9.4 (7.9.4-dist @ c:/Users/kwilliams/share/emacs/site-lisp/org/)]

2013-03-28 Thread Ken Williams
> -Original Message- > From: Nicolas Goaziou [mailto:n.goaz...@gmail.com] > Sent: Thursday, March 28, 2013 10:49 AM > To: Ken Williams > > Ken Williams writes: > > > Something apparently even ate part of the attachment - there are some > > Null bytes in

Re: [O] Can't get dvipng to work

2013-09-18 Thread Ken Williams
Rasmus gmx.us> writes: > > So in short I think the easiest course of action is upgrading to the > newest release, e.g. using ELPA (M-x list-packages). I agree - I'm trying to update now. I hadn't used ELPA before, so I tried that route and I'm getting a ton of 'ox-*' related errors like this:

Re: [O] Can't get dvipng to work

2013-09-18 Thread Ken Williams
Ken Williams gmail.com> writes: > I can try installing manually but it would be great if I could get ELPA > working. So I installed org-8.1.2 manually and now it does seem to be *trying* to process the images through LaTeX. But it's not succeeding. In the *Messages* buff

Re: [O] Can't get dvipng to work

2013-09-19 Thread Ken Williams
Nick Dokos gmail.com> writes: > > Ken Williams gmail.com> writes: > > > I pasted the contents of ~/AppData/Local/Temp/orgtex6488Qq2.log here, but I > > don't see anything strange in it: > > > > https://gist.github.com/kenahoo/6613374 > > >

Re: [O] Can't get dvipng to work

2013-09-20 Thread Ken Williams
Rasmus gmx.us> writes: > > Then try to run dvipng FILE.dvi or perhaps just dvipng FILE. Does > this work? Yes, it produces a proper output PNG that looks good, but note that the base filename has a '1' appended: % dvipng orgtex6488Qq2.dvi This is dvipng 1.14 Copyright 2002-2010 Jan-Ake Larsso