Re: [O] org-ctrl-c-ctrl-c in comments

2015-12-08 Thread Nick Dokos
Uwe Brauer writes: >> Uwe Brauer writes: > >> Indeed - org-at-table-p gives nil if the table is inside >> a comment or inside a source block (or inside any other block >> afaict). > > Well, how could this behavior be changed? I found it quite cumbersome. Well, I'm not an expert

Re: [O] org-ctrl-c-ctrl-c in comments

2015-12-08 Thread Nick Dokos
Uwe Brauer writes: >> Uwe Brauer writes: > >> You need to load ob-org. > Yes, ok I loaded it but > > #+BEGIN_SRC org :exports none > > | uwe | test | | |^ | > | hall | | | | > | | | | | > > #+END_SRC > > C-c C-c > > Does *not* lead to > > #+BEGIN_SRC org :exp

Re: [O] org-ctrl-c-ctrl-c in comments

2015-12-08 Thread Nick Dokos
Uwe Brauer writes: >> On Tue, 8 Dec 2015, Uwe Brauer wrote: > >> Use an org src block and you will be able to edit natively via >> org-ctrl-c-ctrl-c. AFAICS, this behaves like `comment' in other >> respects. > > For me in GNU emacs 25.0.50.1 and org 8.3.1 the following works > >

Re: [O] Straight recursive fact prints in floating-point in org-babel but not in REPL

2015-12-05 Thread Nick Dokos
Brian Beckman writes: > Org-babel seems to print SLIME / SBCL bignums as floating point, at least in > this gist (please see > https://gist.github.com/rebcabin/f73cecd3c9b7da6218e9). I'd like to be able > to control whether bignums are printed out in full. Any advice for me? > I think this hap

Re: [O] Scripting with org-mode

2015-11-30 Thread Nick Dokos
John Kitchin writes: > I think one of these will do what you want: > > ** Rerun all src blocks > > #+BEGIN_SRC emacs-lisp > (defun run-blocks () > (interactive) > (save-excursion > (org-element-map (org-element-parse-buffer) 'src-block > (lambda (src-block) > (goto-char (org

Re: [O] Exporting a subtree

2015-11-19 Thread Nick Dokos
Peter Davis writes: > Thanks very much, John and Nick. I didn't realize it was so easy to > reload with uncompiled lisp. I tried this, but the export worked with > the uncompiled code! No error, so no debug backtrace. > Oh, lovely! Everybody loves heisenbugs... You might try just recompiling yo

Re: [O] Exporting a subtree

2015-11-19 Thread Nick Dokos
Peter Davis writes: > Thanks for the tips. I was hoping this would be simple to answer. I > don't really have hours of time to keep stopping and re-starting emacs > with uncompiled org-mode files, with minimal startup, etc. If I get a > chance, I'll post the details. Meanwhile, I'll live without

Re: [O] Exporting a subtree

2015-11-18 Thread Nick Dokos
John Hendy writes: > On Wed, Nov 18, 2015 at 2:29 PM, Peter Davis wrote: >> >> For the first time, I'm trying to export just a single subtree of my overall >> document, by typing >> >> C-c C-e C-s H O >> >> However, I get this error: >> >> apply: Wrong type argument: listp, #("Details, November

Re: [O] PDF-tools... and LaTeX

2015-11-16 Thread Nick Dokos
AW writes: > Dear all, > > I dare to ask this slightly off-topic question, because of the discussion > about pdf-tools a day ago. > > I installed pdf-tools (https://github.com/politza/pdf-tools). It is a _lot_ > faster than doc-view. Many thanks to Matt Price > (http://matt.hackinghistory.ca/

Re: [O] :minlevel for columnview dynamic block

2015-11-15 Thread Nick Dokos
Joon Ro writes: >> >> Could you provide an ECM? Thank you. >> > > I'm sorry, what is an ECM? > A minimal complete example reproducing the problem. See http://orgmode.org/worg/org-faq.html#ecm -- Nick

Re: [O] Bug: org-babel-tangle error. org-babel-get-header undefined [8.3.2 (release_8.3.2-317-gbd921f @ /home/swflint/.emacs.d/org-mode/lisp/)]

2015-11-12 Thread Nick Dokos
"Samuel W. Flint" writes: > On Thu, November 12, 2015 11:36 am, Kyle Meyer wrote: >> Hello, >> >> swfl...@flintfam.org (Samuel W. Flint) writes: >> >>> Hey all! >>> >>> In an attempt to keep my config file organized, I've been using org. As >>> of a fairly recent update, when I tangle the docume

Re: [O] generating org headings from a source block

2015-11-10 Thread Nick Dokos
Matt Price writes: > > also, (c): I'd rather set the level of the org heading based on > context. Can I do that when I call > from > > a source block? Should I maybe be doing this some other way (e.g., jsut > write an interactive > function > > and call it with M-x? But I li

Re: [O] exporting from org-mode to latex

2015-11-09 Thread Nick Dokos
Sharon Kimble writes: > I'm having a strange problem with exporting from org-mode to latex using > the latex back-end. When the file that I've written is exported to latex > and I look at the tex file that is created, I see that it has one > "\usepackage{grffile}" that I didn't place in my list t

Re: [O] generating org headings from a source block

2015-11-09 Thread Nick Dokos
Matt Price writes: > I would like to be able to insert into an org-buffer the text extracted from > a pdf file. PDF-Tools ( > https://github.com/politza/pdf-tools/) provides some excellent tools for > doing this.  I've written > (well, msotly stolen) a defun that finds all my highlights and ret

Re: [O] unfortunate "feature interaction" of org-export and emacs-latex-auctex mode

2015-11-09 Thread Nick Dokos
Marcin Borkowski writes: > On 2015-11-09, at 19:54, Martin Steffen wrote: > >> Hi, >> >> Perhaps it's not really a "fault" of org (nor of auctex), but both >> things interact unfortunate. >> >> The reason is: when I export org to LaTeX, and I visit the latex file >> afterwards, I want that auct

Re: [O] org/android sync

2015-11-08 Thread Nick Dokos
Rasmus writes: > Hi Nick, > > Nick Dokos writes: > >> There was a G+ post in the orgmode community >> pointing to >> >>http://www.orgzly.com/ >> >> No idea whether it works or not but I figured if you >> have an android phone,

[O] org/android sync

2015-11-07 Thread Nick Dokos
There was a G+ post in the orgmode community pointing to http://www.orgzly.com/ No idea whether it works or not but I figured if you have an android phone, here's another opportunity to bury your face in it :-) -- Nick

Re: [O] org-capture-template: file+datetree+prompt not using prompted date in template

2015-11-04 Thread Nick Dokos
Shankar Rao writes: > For the following org capture template: > > (setq org-capture-templates >       '(("d" "Date Tree Test" plain > (file+datetree+prompt "~/org/testdt.org") > "This date should be the date i picked: %<%y%m%d>"))) > > Though this is filed under the correct date in the datetree,

Re: [O] insert aligned table using capture template

2015-11-03 Thread Nick Dokos
Shankar Rao writes: > I'm trying to use to org-capture insert tables into a datetree that I use to > manage my finances. Below is the capture template I set up for it. Is there a > way to make the table be aligned > after I finalize the capture? > > Shankar > > - > > (setq org-capture-templ

Re: [O] org-mode git master. ox-latex export errors out due to a table

2015-11-02 Thread Nick Dokos
Nick Dokos writes: > Kaushal Modi writes: > >> @Nick Dokos Are you are on a commit before or after this lexical binding >> change? http://orgmode.org/ >> cgit.cgi/org-mode.git/commit/?id=8bccb2131374bba8c82c2774abb34af488826ce4 >> >> The failure symtoms in

Re: [O] org-mode git master. ox-latex export errors out due to a table

2015-11-02 Thread Nick Dokos
Kaushal Modi writes: > @Nick Dokos Are you are on a commit before or after this lexical binding > change? http://orgmode.org/ > cgit.cgi/org-mode.git/commit/?id=8bccb2131374bba8c82c2774abb34af488826ce4 > > The failure symtoms in my backtrace look like they could be related to thi

Re: [O] org-mode git master. ox-latex export errors out due to a table

2015-11-02 Thread Nick Dokos
Kaushal Modi writes: > Some more info: > > I cannot recreate this error when using > - my emacs config > - the same emacs build from git > - BUT the latest org-plus-contrib from org elpa: Org-mode version 8.3.2 > (8.3.2-10-g00dacd-elpaplus @ / > home/kmodi/.emacs.d/elpa_25_0/org-plus-contrib-201

Re: [O] org-mode git master. ox-latex export errors out due to a table

2015-11-02 Thread Nick Dokos
Kaushal Modi writes: >> Although some people can make sense of a backtrace produced with > compiled code, it is far more useful to provide a backtrace produced > with *uncompiled* code. > > Apologies, I was unaware of that. I should have read that Info node first. > Below is a gist link to the fu

Re: [O] org-mode git master. ox-latex export errors out due to a table

2015-11-02 Thread Nick Dokos
Thank you for providing the backtrace, but ... You knew there was a "but" coming, right? :-) Although some people can make sense of a backtrace produced with compiled code, it is far more useful to provide a backtrace produced with *uncompiled* code. What you have to do is C-u M-x org-reload RET

Re: [O] Filtering properties in agenda view

2015-11-02 Thread Nick Dokos
Georg Otto writes: > On 01/11/2015 21:49, Brenda Butler wrote: > > On Sun, Nov 1, 2015 at 4:04 PM, Georg Otto wrote: > > Thanks for your answer! Unfortunately, it does not work for me as > described in the manual. > > Try putting the value in double-quotes: > >

Re: [O] Babel: How to call code in one org file into another org file

2015-11-02 Thread Nick Dokos
Eric S Fraga writes: > On Saturday, 31 Oct 2015 at 16:51, Lawrence Bottorff wrote: >> I guess I'm saying that the whole `org-babel-lob-ingest` into >> `org-babel-library-of-babel` exercise should make code ready and available. > > But it does. There are two levels here: the babel codes and the r

Re: [O] Org Babel resolution of `:var` value reference inconsistent

2015-11-02 Thread Nick Dokos
Andreas Leha writes: > ... > So, to me it is more surprising that the manual execution works. For > instance, I might have two tables with the same name. Then, COMMENTing > one of them should ensure that the other one is used. > COMMENT works during export *only* I believe. You have to explici

Re: [O] Babel: How to call code in one org file into another org file

2015-10-31 Thread Nick Dokos
Lawrence Bottorff writes: > Yes, I experimented with this too -- and got it to work. But strangely, if > you leave out the  > > # eval: (org-babel-lob-ingest "./a.org") > # eval: (org-babel-lob-ingest "./b.org") > > lines and do a regular `org-babel-lob-ingest` (or  C-c C-v i) on those > two fil

Re: [O] How does Library of Babel actually work?

2015-10-31 Thread Nick Dokos
Lawrence Bottorff writes: > New thread. Anyway, putting lisp/SLIME aside, I experimented with emacs lisp > -- and got > the same results, i.e., no real LOB functionality, despite proper loading. I > must be doing > something wrong? I'll describe my process again: > > Load a.org and b.org into `

Re: [O] Org markup bug ?

2015-10-31 Thread Nick Dokos
Mehul Sanghvi writes: > Nicolas, > >       Thanks for pointing out that the latest version works. I updated > org-mode and it seems to be working now. > I wonder what changed to cause it to work. > My guess would be commit b4af3f0852e9705ddbac66d78cd8a508c547be85 Author: Nicolas Goaziou Date:

Re: [O] Babel: How to call code in one org file into another org file

2015-10-31 Thread Nick Dokos
Lawrence Bottorff writes: > I would use local variables for this--something like (untested): > > # eval: (org-babel-lob-ingest path/to/your/file) > # eval: (sbe "my-add") > # eval: (sbe "multi_x2") > > Computer savvy Org moders don't like eval because anything can happ

Re: [O] How to hide UP and HOME links ?

2015-10-30 Thread Nick Dokos
Mehul Sanghvi writes: > I had to use the following CSS entry to make the links invisible: > > #org-div-home-and-up { >     font-size: 80%; >     color: #edf0f2; >     background-color: #edf0f2; > } > > to get what I wanted. > > Is there a better way to do this either via org-mode or via CSS ? 

Re: [O] TODO items which do not appear in the agenda?

2015-10-30 Thread Nick Dokos
Marcin Borkowski writes: > Hi all, > > I would like to have some TODO items, so that I can mark some tasks as > incomplete; however, I don't want them to appear in the agenda, so that > it's not too cluttered. Use case: > > * Blog > ** DONE Blog post idea 1 > ** TODO Blog post idea 2 > > I know

Re: [O] pdflatex not found?

2015-10-27 Thread Nick Dokos
Peter Davis writes: > On 10/27/15 12:45 PM, Rainer M Krug wrote: > > Nick Dokos writes: > > If OS X does not use $HOME/.profile to initialize the environment of > programs > (even in the graphical enviroment), that seems to me to be a

Re: [O] pdflatex not found?

2015-10-27 Thread Nick Dokos
Rainer M Krug writes: > Nick Dokos writes: > >> Rainer M Krug writes: >> >>> Fatma Başak Aydemir writes: >>> >>>> I do not know the reasons but I had the same problem in the past on OS X. >>> >>> In from Yosemite onwards, p

Re: [O] pdflatex not found?

2015-10-27 Thread Nick Dokos
Rainer M Krug writes: > Fatma Başak Aydemir writes: > >> I do not know the reasons but I had the same problem in the past on OS X. > > In from Yosemite onwards, programs started from the finder / spotlight / > gui (however you call this) do *not* inherit from the .bashrc > anymore. This caused m

Re: [O] pdflatex not found?

2015-10-27 Thread Nick Dokos
t/xinitrc-common, which does this: [ -r $HOME/.profile ] && . $HOME/.profile Maybe OS X has a "hidden" mechanism like this? > 27/10/15 14:43 tarihinde Peter Davis yazdı: >> Rainer M Krug writes: >> >>> Envoyé de mon iPhone >>> >>

Re: [O] pdflatex not found?

2015-10-26 Thread Nick Dokos
Peter Davis writes: > Nick Dokos writes: > > >> Peter Davis writes: >> >>> I'm trying to export PDF from org, but I'm getting the error: >>> >>> pdflatex: Command not found. [3 times] >>> >>> I've checked the defi

Re: [O] pdflatex not found?

2015-10-26 Thread Nick Dokos
Peter Davis writes: > I'm trying to export PDF from org, but I'm getting the error: > > pdflatex: Command not found. [3 times] > > I've checked the definition of exec-path, and it includes > "/usr/texbin", which is where tcsh tells me the executable is. > > Any ideas? > Backtrace? (setq debug-o

Re: [O] ox-md export title block

2015-10-23 Thread Nick Dokos
Nicolas Goaziou writes: > However, "ox-md.el" is for Vanilla Markdown, where such constructs do > not exist. So it cannot be applied there. > ISTR there are a few others export back-ends in contrib/ that may use > this. You may also create ox-md-pandoc.el if it doesn't exist already. Rasmus wr

Re: [O] Org-agenda-leaders

2015-10-23 Thread Nick Dokos
Nicolas Goaziou writes: > Hello, > > Nick Dokos writes: > >> , >> | (defconst org-clock-string "CLOCK:" >> | "String used as prefix for timestamps clocking work hours on an item.") >> | >> | (defvar org-closed-string &quo

Re: [O] Org-agenda-leaders

2015-10-22 Thread Nick Dokos
Uwe Jochum writes: > Hi Matt and all, > > here is (probably) the solution to this problem: > > As I said, I have this in my .emacs: > > '(org-agenda-deadline-leaders (quote ("FRIST: " "In %3d d.: "))) > > '(org-agenda-scheduled-leaders (quote ("TERMIN: " "TERMIN.%2dx: "))) > > Up to orgmode 8.2.

Re: [O] Can't email multipart/alternative anymore

2015-10-22 Thread Nick Dokos
Peter Davis writes: > I just tried running org-mime-org-buffer-htmlize, which I have used > successfully in the past. However, this time, I got an empty > message buffer, and this in the mini-buffer: > > org-export-barf-if-invalid-backend: Unknown "nil" back-end: Aborting export > > Any clues? I

Re: [O] order in agenda

2015-10-21 Thread Nick Dokos
Andreas Leha writes: > I am aware, that overlapping events cannot be displayed really well in > the (linear) agenda view. But if I have two events starting at the same > (day and) time, I'd prefer the one with the later end time to appear > always below the other one. Is that already achievable

Re: [O] Adding custom ordered list "bullet" symbols?

2015-10-15 Thread Nick Dokos
Lawrence Bottorff writes: > ... assuming that OP is talking about latex export. > I assumed he was talking about the org buffer - we'll have to wait > and see who guessed correctly :-) > > -- > Nick > > Subtle. Yes, both would be nice, both in the buffer and as an HTML exp

Re: [O] Adding custom ordered list "bullet" symbols?

2015-10-15 Thread Nick Dokos
Eric S Fraga writes: > On Thursday, 15 Oct 2015 at 18:07, Lawrence Bottorff wrote: >> Would there be a way to add a \rightarrow (or other latex symbols) as an >> ordered list "bullet"? > > Try > > 1. one item > 2. @@latex:[$\rightarrow$]@@ second item > > (untested) ... assuming that OP is talki

Re: [O] Adding custom ordered list "bullet" symbols?

2015-10-15 Thread Nick Dokos
Lawrence Bottorff writes: > Thanks. Interesting. But not really what I'm after -- unless I'm not using it > right. When I do M-x > org-bullets-mode, it wants to replace heading asterisks with the alternative > list > > (defcustom org-bullets-bullet-list >   '(;;; Large >     "◉" >     "○" >    

Re: [O] [PATCH] Allow early-warning anniversaries in agends [was: Re: org-bbdb-birthday reminder]

2015-10-15 Thread Nick Dokos
Nicolas Goaziou writes: >> IIUC, this issue has not been sorted out yet. Should I wait for that to >> happen, >> or change the patch to use (apply #'nconc ...) and possibly revisit it in >> the >> future? > > I think the latter is fine. There are plenty of places to revisit in the > future an

Re: [O] [PATCH] Allow early-warning anniversaries in agends [was: Re: org-bbdb-birthday reminder]

2015-10-15 Thread Nick Dokos
Nicolas Goaziou writes: > Hello, > > Nick Dokos writes: > >> IIUC, this issue has not been sorted out yet. Should I wait for that to >> happen, >> or change the patch to use (apply #'nconc ...) and possibly revisit it in >> the >> future? >

Re: [O] line numbers in org src blocks?

2015-10-13 Thread Nick Dokos
John Kitchin andrew.cmu.edu> writes: > > Does anyone know if it is possible to get line numbering only in code > blocks in an org-file? > When exporting? Or in the buffer? If the latter, I don't know. If the former, -n does that but it is position-sensitive I think: --8<---cut her

Re: [O] Bug on refile with attachments

2015-10-12 Thread Nick Dokos
Martin Kaffanke writes: > Hi there: > > Do in the agenda: > > C-c C-a n -> create a new attachment. > > after that you refile the entry to another file in another directory. > > Now the attachment cannot be found anymore. > > Is this a bug? > See footnote 1 in (info "(org) Attachments") -- Ni

Re: [O] Latex strikethrough or cancel?

2015-10-10 Thread Nick Dokos
Lawrence Bottorff writes: > Actually I spoke too soon. Putting > > (setq org-html-mathjax-template (concat org-html-mathjax-template " > > MathJax.Hub.Register.StartupHook(\"TeX Jax Ready\",function () { >   MathJax.Hub.Insert(MathJax.InputJax.TeX.Definitions.macros,{ >     cancel: [\"Extension\

Re: [O] Latex strikethrough or cancel?

2015-10-08 Thread Nick Dokos
Nick Dokos writes: > ... > You must mean HTML export - MathJax apparently does not know about > \cancel. There is an extension mechanism: > > https://docs.mathjax.org/en/latest/extension-writing.html > > but that's as far as my knowledge extends. If you make it wor

Re: [O] [RFC] Draft mode

2015-10-08 Thread Nick Dokos
Eric S Fraga writes: > On Thursday, 8 Oct 2015 at 19:00, Nicolas Goaziou wrote: > > [...] > >> I think I will go with the straight to the point >> `org-export-barf-on-invalid-link' variable. >> >> However, not sure about the OPTIONS item. >> >> #+OPTIONS: ???:t > > #+options: barf:t > > ;-) >

Re: [O] Latex strikethrough or cancel?

2015-10-08 Thread Nick Dokos
Lawrence Bottorff writes: > I've got a fraction done this way in an org file: > > \[ >  \frac{1}{(2^3)(5)} >  \] > > and I'd like to strike though or cancel the (5) part. The Latex method I've > found says do it this way: > > ... > \usepackage[makeroom]{cancel} > ... > > \[ >  \frac{1}{(2^3)\can

Re: [O] Per command org-agenda-prefix-format

2015-10-08 Thread Nick Dokos
Suvayu Ali writes: > On Wed, Oct 07, 2015 at 02:52:24PM -0400, Nick Dokos wrote: >> Suvayu Ali writes: >> >> > Hi, >> > >> > I wanted to prefix the results of a tags-todo agenda command with >> > scheduling information. But I can't seem

Re: [O] Per command org-agenda-prefix-format

2015-10-07 Thread Nick Dokos
Suvayu Ali writes: > Hi, > > I wanted to prefix the results of a tags-todo agenda command with > scheduling information. But I can't seem to figure out the correct way > to do this. This is what I tried: > > (setq org-agenda-custom-commands > '(("J" "Type1/Type2" > ((tags-todo "C

Re: [O] babel srcname? Calling Library of Babel code?

2015-10-06 Thread Nick Dokos
Lawrence Bottorff writes: > Thanks for the info, T. Now, if I commit a file of source code blocks to be > "library of babel," how do I > then call them? Is there some sort of prefix? > C-h v org-babel-lob-ingest RET (info "(org) Library of babel") Also, reading the library-of-babel.org file i

Re: [O] [PATCH] Allow early-warning anniversaries in agends [was: Re: org-bbdb-birthday reminder]

2015-10-06 Thread Nick Dokos
Nicolas Goaziou nicolasgoaziou.fr> writes: > > Rasmus gmx.us> writes: > > > Nick Dokos gmail.com> writes: > > > >> I did a mapcan originally and saw that it was an alias for cl-mapcan in > >> cl-extras.el and that got me scared: ... > &

Re: [O] Showing DONE tasks in agenda?

2015-10-01 Thread Nick Dokos
Peter Davis writes: > Eric S Fraga writes: > >> On Wednesday, 30 Sep 2015 at 12:13, Peter Davis wrote: >>> When I display my TODO items (with C-c a t), there's a line at the top >>> of the buffer that says: >>> >>> Available with `N r': (0)[ALL] (1)TODO (2)DONE >>> >>> but I don't know what this

[O] Delays in posting

2015-10-01 Thread Nick Dokos
This is just an FYI. Over the past couple of days, I've noticed delays in posting. I posted a couple of things two days ago that didn't show up until one day later. I believe a couple of other people have noticed the same thing. I figured that since the posts *did* show up, the problems were resol

Re: [O] Showing DONE tasks in agenda?

2015-10-01 Thread Nick Dokos
Peter Davis writes: > When I display my TODO items (with C-c a t), there's a line at the top > of the buffer that says: > > Available with `N r': (0)[ALL] (1)TODO (2)DONE > > but I don't know what this means. How can I display all (TODO, DONE, > whatever) items? > > Typing 'N r' in the buffer doe

Re: [O] bug: latex exporter

2015-10-01 Thread Nick Dokos
Kaushal Modi writes: > It seems as if no one got the email I sent out yesterday, very odd. > Yes, I think gmane had problems. They seem to be fixed now: at least, I've seen the couple of replies that I had posted. -- Nick

Re: [O] convert a simple list of lines each to a orgmode header

2015-09-30 Thread Nick Dokos
Kaushal Modi writes: > I realized that the default binding `C-c *` works only on the current line, > not the whole selection (and the same applies to the opposite `C-c -`). > > It would be great to have those commands work over a region too. > I don't think that's right - at least, when I tried

Re: [O] "Symbol’s value as variable is void: compile" when export to latex

2015-09-30 Thread Nick Dokos
Rainer M Krug writes: > Exporting to latex of the simple file below results in an error: > > , > | mapcar: Symbol’s value as variable is void: compile > ` > Rasmus just fixed it: commit 679adcaa64613c821b38cd1d34b081640315293a Author: Rasmus Date: Tue Sep 29 19:39:01 2015 +0200

Re: [O] bug: latex exporter

2015-09-30 Thread Nick Dokos
Charles Millar writes: > Since Monday morning (New York time) I have not been able to export to > pdflatex (worked OK the night before). Instead the message buffer > reads > > symbol's value as variable is void - compile > > GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.10.7) of > 2014-03

Re: [O] "Symbol’s value as variable is void: compile" when export to latex

2015-09-30 Thread Nick Dokos
Rainer M Krug writes: > Exporting to latex of the simple file below results in an error: > > , > | mapcar: Symbol’s value as variable is void: compile > ` > Can't reproduce it. > #+LATEX_CLASS: article > #+LATEX_CLASS_OPTIONS: > #+LATEX_HEADER: > #+LATEX_HEADER_EXTRA: > #+DESCRIPTION: >

Re: [O] convert a simple list of lines each to a orgmode header

2015-09-28 Thread Nick Dokos
Xebar Saram writes: > Hi all > > im looking for a simple way to convert a simple list of lines (i can > mark it first if needed) each to a orgmode header anyone has such a > way? > Maybe I'm missing something, but can't you just add asterisks in front of each line? Maybe with a keyboard macro? O

Re: [O] undefined symbol 'org-export-create-backend' when calling org-plot/gnuplot

2015-09-28 Thread Nick Dokos
Dave Marquardt writes: > I attempted to plot a table after installing the 20150928 ELPA package, > and got > > Debugger entered--Lisp error: (void-function org-export-create-backend) > org-export-create-backend(:parent org :transcoders ((table lambda > (table contents info) (concat nil contents

Re: [O] Exporter aborts upon encountering even one unresolvable link

2015-09-28 Thread Nick Dokos
thomas writes: > just my 2 cents: I think the new error message is very nice and helpful, > UNLESS you work on a bigger document, narrow your buffer and try to export > the narrowed portion of the > document. > This does not work anymore. > > I can agree with D. C. Toedt that it would be nice t

Re: [O] babel header arguments tutorial?

2015-09-27 Thread Nick Dokos
Lawrence Bottorff writes: > I guess from a purely elisp perspective I'm baffled. How is > > #+begin_src emacs-lisp >   org-babel-default-header-args:Python > #+end_src > > supposed to produce > > #+RESULTS: > | (:session . foo) | > > as it supposedly does in the doc? It doesn't for me. (Where, e.

Re: [O] babel header arguments tutorial?

2015-09-26 Thread Nick Dokos
Thomas S. Dye writes: > Aloha Nick, > > Nick Dokos writes: > >> The implementation on the page you linked contains a typo (capital P >> instead of lower-case p in python) and is much more prolix than it needs >> to be. You can get the same effect with >>

Re: [O] babel header arguments tutorial?

2015-09-26 Thread Nick Dokos
Lawrence Bottorff writes: > I see this and find the bottom section ("Setting language and file > specific default header argument value") intriguing, however too > cryptic. Can someone explain what's going on here and how to use it? > Each language defines a variable where you can set header arg

Re: [O] a link to launch a todo view?

2015-09-26 Thread Nick Dokos
Xebar Saram writes: > Hi list > > I was wondering if one can use a orgmode link to launch (via C-c o)  a > defined todo view (ie dispatcher t). anyone has done anything like that > before? > Yes, you can use an elisp: type link to execute arbitrary lisp code: [[elisp:(message "Hello")][hello]

[O] OT - gmane problems? [was: Re: Bug: org-capture-refile doc inconsistency, refile bug [8.3.1 (8.3.1-129-ga7c8d2-elpaplus @ /home/jeeger/.emacs.d/elpa/org-plus-contrib-20150921/)]]

2015-09-24 Thread Nick Dokos
Nicolas Goaziou writes: > Hello, > > Jan Seeger writes: > >> I've fixed this bug for me by reversing the order of finalization and >> refiling, as stated in the documentation. I've attached a patch to do >> this, but I'm not entirely sure about the side effects caused by the >> patch. The test s

Re: [O] Quoting "_" for html and LaTeX output

2015-09-24 Thread Nick Dokos
Peter Davis writes: > A lot of the information I track in org-mode includes filepaths and > names and other strings containing underscore ("_") characters. I'd > like to be able to quote these for HTML and LaTeX output, so I don't > wind up with unwanted subscripts. > > On the other hand, I want

Re: [O] latex \ulcorner not working?

2015-09-24 Thread Nick Dokos
Lawrence Bottorff writes: > In my effort to get org mode just how I want it, I wanted to have some > sort of way to distinguish "code," or just a single code-like word > (symbol, command, etc.) inside a .org file. If I type the usual such > as \beta or \lceiling, the system immediately snaps to t

Re: [O] org-babel-execute:dot -- why doesn't this work?

2015-09-23 Thread Nick Dokos
Matt Price writes: > I would, however, like to avoid the clumsy intermediate step and use > something like this instead: > #+name: graph-from-tables > #+HEADER: :var nodes=students-table graph=students-graph horiz='t > #+BEGIN_SRC emacs-lisp :file ~/example-diagram.png :colnames yes :exports >

Re: [O] DONE repeating events become TODO, not OTHER

2015-09-16 Thread Nick Dokos
Ken Mankoff writes: > On 2015-09-16 at 17:37, Nick Dokos wrote: >> Ken Mankoff writes: >> >>> I have repeating events of type OTHER, as in: >>> >>> * OTHER Foo >>> <2015-09-16 +1w> >>> >>> When I have finished

Re: [O] Another babel scheme issue

2015-09-16 Thread Nick Dokos
s org-babel-result-cond and does some mucking around with the result in the scalar/verbatim cases. Maybe a similar thing should be done in ob-scheme.el. > On Wed, Sep 16, 2015 at 3:30 PM, Nick Dokos wrote: > > Lawrence Bottorff writes: > > > ... > &g

Re: [O] DONE repeating events become TODO, not OTHER

2015-09-16 Thread Nick Dokos
Ken Mankoff writes: > I have repeating events of type OTHER, as in: > > * OTHER Foo > <2015-09-16 +1w> > > When I have finished the task for today, I mark it done. Because it is > a repeating event, it doesn't actually change to DONE, instead it > changes to TODO and adds a :LAST_REPEAT: item i

Re: [O] Another babel scheme issue

2015-09-16 Thread Nick Dokos
Lawrence Bottorff writes: > ... > However C- C-c-ing > > #+BEGIN_SRC scheme :session ch1 > (write-file 'stdout (letter "Matthew" "Fisler" "Felleisen")) > #+END_SRC > > produces  > > #+RESULTS: > : stdout > I presume write-file returns stdout as its value (?). Does #+BEGIN_SRC scheme :session c

Re: [O] Scheme code block gives false error message

2015-09-15 Thread Nick Dokos
Lawrence Bottorff writes: > . . . quick question, Nick (et al): how do I (enlightened beginner) apply the > above patch? I'm using > latest ELPA from org-mode repo. > Save the patch in a file (say "ob-scheme.patch") in the top level directory of your org-mode tree (the one that includes the lis

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
Nick Dokos writes: > Nick Dokos writes: > >> N.B. this is with guile: I have not tried chicken, MIT Scheme or any >> other scheme implementation. >> > > A comment on SO says that geiser (which is used by ob-scheme) > only supports guile and racket, so until that

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
Nick Dokos writes: > N.B. this is with guile: I have not tried chicken, MIT Scheme or any > other scheme implementation. > A comment on SO says that geiser (which is used by ob-scheme) only supports guile and racket, so until that changes, chicken or MIT Scheme won'

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
Nick Dokos writes: > Lawrence Bottorff writes: > >> I think this >> (https://mobiusengineering.wordpress.com/2015/01/11/using-emacs-org-with-mit-scheme/) >> describes my problem. Basically, it's with ob-scheme.el. The article >> seems to say that my pr

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
Lawrence Bottorff writes: > On Mon, Sep 14, 2015 at 6:55 PM, Nick Dokos wrote: >   > > > So it looks like Scheme is not a Babel language after all. > > What do you mean? There is an ob-scheme.el but it's buggy: I suspect > that every ob-*.el is bu

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
e able to persuade "Möbius" to sign FSF papers and submit his implementation (but note that there are limitations there, as mentioned on the page you linked - so there will be bugs...) > > On Mon, Sep 14, 2015 at 1:39 PM, Nick Dokos wrote: > > Lawrence Bottorff writ

Re: [O] Scheme code block gives false error message

2015-09-14 Thread Nick Dokos
Lawrence Bottorff writes: > I think this > (https://mobiusengineering.wordpress.com/2015/01/11/using-emacs-org-with-mit-scheme/) > describes my problem. Basically, it's with ob-scheme.el. The article > seems to say that my problem is scheme stuff being handled improperly > by the elisp of ob-sche

Re: [O] Scheme code block gives false error message

2015-09-13 Thread Nick Dokos
Lawrence Bottorff writes: > Sorry, Nick, not following you. Could you elaborate more? As a rank > beginner, I'm not sure what a backtrace is or how to produce one or > how it read it. What do you mean by "master" and "maint"? > It's a debugging aid: it's a dump of the call stack at the time of t

Re: [O] ob-lilypond test failures

2015-09-13 Thread Nick Dokos
Rasmus writes: > Hi, > > I get lilypond errors when running make test now and I didn't see any old > messages about this. > > The errors persists even after installing lilypond. > > For ob-lilypond/ly-attempt-to-open-pdf: > > pdf-info-query: epdfinfo: Error opening > /home/rasmus/src/code/or

Re: [O] Scheme code block gives false error message

2015-09-12 Thread Nick Dokos
Lawrence Bottorff writes: > Again, this code > > #+BEGIN_SRC scheme :session ch1 :exports both > (define (bool-imply a b) >   (if (or (not a) b) #t #f)) > #+END_SRC > > gives the error > > org-babel-scheme-execute-with-geiser: Invalid read syntax: "#" > > and this time attempting to use the funct

Re: [O] org-collector unable to handle macros

2015-09-11 Thread Nick Dokos
Mark Edgington writes: > Aaron Ecay gmail.com> writes: > >> >> This looks like the same problem I reported (and provided a patch for) here: >> . Some orgtbl-* >> functions can’t cope with macro (or macro-resembling) text, because they >>

Re: [O] location/map intergration/ links for orgmode?

2015-09-11 Thread Nick Dokos
Xebar Saram writes: > Hi all > > i wonder if anyone has experience with using maps etv in orgmode? > i have used org very successfully in my last 2 trips abroad to detail/note > places to visit (and eat! > :)). i then usually search for the place name in google maps and mark it > there so i can

Re: [O] ODT export backend missing

2015-09-10 Thread Nick Dokos
Jorge writes: > The export dispatcher does not show ODT. I see no errors in the > messages buffer, and Emacs does not print any error to the terminal. > > This is Ubuntu 15.04, Emacs 24.5 (compiled myself). I have tested > with recent Org (from package.el) and with stock Org. I have in fact >

Re: [O] refile whole files as headings?

2015-09-01 Thread Nick Dokos
Matt Price writes: > Thank you so much Nick! > > I am terrible with sed and with pipes, and ended up having two problems when > trying to use this code with sed; I ended up modifying it to the following: > > for f in *.org; do >     echo "* $f" >> allofem.org >     # cat $f >     cat $f | sed 's

Re: [O] refile whole files as headings?

2015-09-01 Thread Nick Dokos
Matt Price writes: > I am reorganizing my courses, consolidating many short files into longer > ones. So, for instance, I have > a directory like: > > ✗ ls Assignments > > ClassProjectGuidelines.org > course-blog.org > essay-assignment.org > ProjectProposal.org > STA-01-CSS.org > STA-02-wordpres

Re: [O] Need help with HTML export custom postamble [SOLVED]

2015-09-01 Thread Nick Dokos
"David A. Gershman" writes: > *argh* I remember that variation of postamble in my readings...didn't > think to try it. Thank you!!! > > I attempted the export as well and it worked as expected. I appreciate > your patience! > > FWIW, yes, I'm on the latest Org (8.3.1) and Emacs 24.4.1 (Debian

Re: [O] install org-element, org-db

2015-08-28 Thread Nick Dokos
Nick Dokos writes: >> BTW, how would I run org-element-interpret-data and have it just place the >> output directly into my >> buffer without placing it in the #+RESULTS: output format? I see I can >> customize the #+RESULTS: word >> itself, and, of course, :r

Re: [O] install org-element, org-db

2015-08-28 Thread Nick Dokos
Lawrence Bottorff writes: > Yes, I got confused when I did M-x org-element-interpret-data and got > nothing. I used it in a code block > and it worked fine. Beginner question for sure: Why do these functions not > work as M-x commands, rather, > just in elisp code? > It's the difference betwee

<    2   3   4   5   6   7   8   9   10   11   >