to avoid GPLv3 licensing... but I won't make
that argument here.
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Alan Schmitt alan.schm...@polytechnique.org writes:
Hi Eric,
On 2014-04-22 13:30, Eric Schulte schulte.e...@gmail.com writes:
Sorry, that's because the x should be z. See the following.
#+name: z
: bar
#+name: test3
#+begin_src emacs-lisp :var x=foo
x
#+end_src
#+RESULTS: test3
Alan Schmitt alan.schm...@polytechnique.org writes:
Hi Eric,
On 2014-04-20 03:41, Eric Schulte schulte.e...@gmail.com writes:
--8---cut here---start-8---
#+name: z
: bar
#+name: test3
#+begin_src emacs-lisp :var x=foo
x
#+end_src
#+name:test4
, Eric Schulte schulte.e...@gmail.comwrote:
--8---cut here---start-8---
#+name: z
: bar
#+name: test3
#+begin_src emacs-lisp :var x=foo
x
#+end_src
#+name:test4
#+begin_src emacs-lisp :var y=test1(x=z)
y
#+end_src
#+results: test4
line has an error, your z should be an x.
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
-starter-kit
It is designed to be a good starting point for personalized configs.
Also, as Chuck mentioned, tangling does *not* take place every time
Emacs starts, only when the .org file is newer than the .el file.
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
#+begin_src emacs-lisp :var y=test1(x=z)
y
#+end_src
#+RESULTS: test2
: bar
Best, Eric
Thanks,
Alan
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
in the code outlining a
potential implementation strategy. So this may change if/when someone
finds the time and drive to tackle the implementation.
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
. limit line lengths to 80 characters
2. remove dangling parens on lines w/o any other text
and to rename one function to be specific to ob-shell.el.
Thanks for contributing!
On Fri, Apr 11, 2014 at 11:33 AM, Bastien b...@gnu.org wrote:
Hi Eric and Pascal,
Eric Schulte schulte.e...@gmail.com
Also, if you can sign your patches (git format-patch -s) that'd
be even better, but not mandatory.
Should I start signing my patches as well?
I'm very happy to, I've just never thought about it. If so is there an
easy way to make -s a default option for the Org-mode repo?
Thanks,
--
Eric
list and I'll apply the patch.
Best,
Thanks.
On Sat, Apr 12, 2014 at 3:18 AM, Eric Schulte schulte.e...@gmail.comwrote:
Hmmm,
Not to be overly nitpicky here, but I see two issues.
1. You should use unwind-protect, to ensure that (ad-unadvise #'message)
is run even if @body throws
mode, after the message being captured, the
advice function is removed. Is this way OK?
And I also sent a request email to ass...@gnu.org, and now waiting the
reply.
Thanks.
On Fri, Apr 11, 2014 at 10:45 AM, Eric Schulte schulte.e...@gmail.comwrote:
We can no longer use `flet' in the Org
I applied the patch and it is working.
Great, I've just pushed it up.
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
information came from Chris DiBona (our
master of open-source licenses), is this helps to find the relevant
documents.
Thanks,
Pascal
On Sat, Mar 29, 2014 at 8:37 PM, Eric Schulte schulte.e...@gmail.comwrote:
Thanks for making these changes. Once they're in and Bastien figures
out how
to review my patches (2 attached):
hopefully these are formatted to org standards.
I just tried to apply the second patch, but it no longer applies (with
git am) to the Org-mode repo. Would you mind sending along an updated
version?
Thanks,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
this.
--
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
deletions(-)
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
(which normally only happens when opening the file).
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Rainer M Krug rai...@krugs.de writes:
Eric Schulte schulte.e...@gmail.com writes:
Apologies - I am still struggling with encryption..
So here is my example:
--8---cut here---start-8---
#+TITLE: single_to_multi
#+DATE: 2013-10-15 Tue
#+AUTHOR
Rainer M Krug rai...@krugs.de writes:
Eric Schulte schulte.e...@gmail.com writes:
According to the manual :no-expand is only supposed to have an effect
during tangling, not execution.
Thanks Eric - re-reading the manual, it became clear. Maybe to clarify
this in the manual, one could say
no
and the :tangle SConstruct
yes
#+Property: tangle SConstruct
'globally' for the whole file?
Thanks for helping me orgmode-newbie!
Best,
-- Andreas.
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
::) with their targets. The
| `:no-expand' header argument can be used to turn off this behavior.
`
Org-mode version 8.2.5h (release_8.2.5h-869-gdcfe09 @
/Users/rainerkrug/.emacs.d/org-mode/lisp/)
Cheers,
Rainer
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Sep 17 00:00:00 2001
From: Eric Schulte schulte.e...@gmail.com
Date: Sun, 23 Mar 2014 20:01:37 -0600
Subject: [PATCH] only wrap R code graphics-file on execution
Move this out of the expand-body function so that it is *never*
applied to tangled code.
---
lisp/ob-R.el | 40
Thanks for making these changes. Once they're in and Bastien figures
out how the google-wide copyright attribution works we should be good to
go.
Thanks!
Pascal Fleury fle...@google.com writes:
Hi Eric, see comments inline.
On Thu, Mar 27, 2014 at 6:43 PM, Eric Schulte schulte.e
Rainer M Krug rai...@krugs.de writes:
Eric Schulte schulte.e...@gmail.com writes:
Rainer M Krug rai...@krugs.de writes:
Eric Schulte schulte.e...@gmail.com writes:
Rainer M Krug rai...@krugs.de writes:
Eric Schulte schulte.e...@gmail.com writes:
Charles Berry ccbe...@ucsd.edu writes
-babel-get-header params :var)
(defun org-babel-sh-var-to-sh (var optional sep hline)
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
type-name
tmp-type-name)))
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Rainer M Krug rai...@krugs.de writes:
Eric Schulte schulte.e...@gmail.com writes:
Rainer M Krug rai...@krugs.de writes:
Eric Schulte schulte.e...@gmail.com writes:
Charles Berry ccbe...@ucsd.edu writes:
John Hendy jw.hendy at gmail.com writes:
[deleted]
I think the default behavior
Nicolas Goaziou n.goaz...@gmail.com writes:
Hello,
Eric Schulte schulte.e...@gmail.com writes:
Nicolas Goaziou n.goaz...@gmail.com writes:
As a side note, I think `org-babel-under-commented-heading-p' is useful
enough (with an optional parameter to prevent inheritance, maybe) to be
moved
Bastien b...@gnu.org writes:
Hi Nicolas and Eric,
Eric Schulte schulte.e...@gmail.com writes:
Looks good to me, I'll leave to Bastien since it touches core Org-mode
functionality and not just Babel.
Looks good to me, please apply,
Applied.
--
Eric Schulte
https://cs.unm.edu/~eschulte
used to highlight a code block, add an
element to the `org-src-lang-modes' variable. E.g.,
(my-python . python)
Best,
Andrey
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
(elisp)Edebug)
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Rainer M Krug rai...@krugs.de writes:
Eric Schulte schulte.e...@gmail.com writes:
Charles Berry ccbe...@ucsd.edu writes:
John Hendy jw.hendy at gmail.com writes:
[deleted]
I think the default behavior should be reverted, as tangling and
exporting are two different things. When I
#=
Is this possible in a single pass? I've played with #+NAME and
block() but haven't gotten the out-of-order evaluation quite
right.
Michael
(Bonus question, is there a way to not have to put :exports results in
inline blocks?)
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
function, and into the execution function. Then if
other language present similar constructs (which we want to add to
execution by default but never want to tangle), we can think about
abstracting this out into some new level of code block expansion.
Thoughts?
Best,
Chuck
--
Eric Schulte
a variable to the post block
and have it return that variable, e.g.,
#+name: notify
#+begin_src emacs-lisp :var data=
(shell-command popup.py DONE)
data
#+end_src
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
John Hendy jw.he...@gmail.com writes:
On Fri, Feb 7, 2014 at 1:22 PM, Rainer M Krug rai...@krugs.de wrote:
On 02/07/14, 17:47 , Eric Schulte wrote:
Rainer M Krug rai...@krugs.de writes:
On 02/07/14, 07:18 , John Hendy wrote:
Greetings,
I don't usually tangle, but am creating
that growl or some other
system notification alerts, perhaps only if the execution took more
than x seconds?
You can use the org-babel-after-execute-hook to run any action after a
code block finishes executing.
Best,
Thanks,
-k.
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP
Nicolas Goaziou n.goaz...@gmail.com writes:
Hello,
Eric Schulte schulte.e...@gmail.com writes:
This sounds like a good compromise to me. As you say, this should
easily and visually support both use cases and is intuitive. I've not
touched the export machinery myself, so I'll leave
://permalink.gmane.org/gmane.emacs.orgmode/83459
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
' variable should hold this list, elements not in
the list simply append -mode to the end of the source name.
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
to inhibit it's export
wholepiece (not just code blocks).
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
believe both will use shell-script-mode.
Best regards,
Seb
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Here's an impractical option. I see roughly 280 different contributors
to Org-mode.
git log|grep ^Author|sed 's/^.*: //;s/.*$//'|less|sort|uniq|less
Maybe buy every contributor an Org-mode mug?
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Andreas Leha andreas.l...@med.uni-goettingen.de writes:
Hi Eric,
Eric Schulte schulte.e...@gmail.com writes:
So what is your suggestion for the OP to achieve what he is after?
noexport and noeval at the same time.
I'm jumping in half way through here,
Thanks for jumping
to the description of
inline code blocks (both call and src_*) in the manual.
Best,
t...@tsdye.com (Thomas S. Dye) writes:
Eric Schulte schulte.e...@gmail.com writes:
Somehow this doesn't seem to be a problem with other languages, so I
believe the necessary fix may be R specific.
Following is a small
than macro names, so I'm afraid that I'm back to my original position of
preferring to keep as many characters as possible in function names.
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
t...@tsdye.com (Thomas S. Dye) writes:
Hi Eric,
Eric Schulte schulte.e...@gmail.com writes:
This actually is also an issue with shell code blocks. The fix is to
customize the org-babel-inline-result-wrap variable (e.g., as follows)
instead of setting the result type to RAW.
(setq org
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
t :publishing-function org-html-publish-to-html
:headline-levels 4
:html-extension markdown :body-only t)
)
)
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Nicolas Goaziou n.goaz...@gmail.com writes:
Hello,
Eric Schulte schulte.e...@gmail.com writes:
Nicolas Goaziou n.goaz...@gmail.com writes:
We're talking about function names, not free-form text, so limitations
are understandable. For example, macro names only allow alphanumeric
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
#+begin_src R
2:end
#+end_src
--8---cut here---end---8---
Regards,
Andreas
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
as shown, see the
manual pages on the :var and potentially also the :post header
arguments. Also, the following has multiple examples demonstrating this
sort of usage.
http://www.jstatsoft.org/v46/i03/
Best,
Thanks,
-Rehan
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Richard Lawrence richard.lawre...@berkeley.edu writes:
Bastien b...@gnu.org writes:
Eric Schulte schulte.e...@gmail.com writes:
Great, so should Org-mode require cl-lib and stop supporting the
following functions?
I guess so. But I'm unclear yet whether this removes compatibility
with:
(setq org-babel-use-quick-and-dirty-noweb-expansion t)
This setting is much, much faster, by the way.
On 2/5/14, Eric Schulte schulte.e...@gmail.com wrote:
Samuel Wales samolog...@gmail.com writes:
hi eric,
#+BEGIN_SRC org :results verbatim output :noweb yes :noweb-ref whatever
- org-some
- org-sort
- org-sublist
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
that `:session R` doesn't complain on export...
but I get my code bookended by verbatim #+begin/end_src text in the
PDF.
Thanks,
John
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
numerical thousands separator. Or customize string-to-number and
org-babel-number-p to fit your number syntax.
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
, the value is the string that should
be inserted as the extension commonly used to identify files
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
#+begin_src R
2:end
#+end_src
--8---cut here---end---8---
Regards,
Andreas
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Nicolas Goaziou n.goaz...@gmail.com writes:
Hello,
Eric Schulte schulte.e...@gmail.com writes:
Nicolas Goaziou n.goaz...@gmail.com writes:
It would solve the current problem, but there are still many problematic
characters allowed (e.g., commas, curly brackets). I think there's no
point
).
Hope these suggestions help,
Thanks,
Ilya
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
()
#+END_SRC
#+RESULTS:
* Value + No Session
#+BEGIN_SRC python
def test():
print Hello World
test()
#+END_SRC
#+RESULTS:
: None
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
(match-beginning 1) (match-end 1) )
nil))
Best,
ilya
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
tangling does not support limiting to the active region. It
shouldn't be too difficult to update org-babel-tangle to use
region-active-p to perform such limiting, unfortunately I personally
don't have the time to implement such an extension.
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP
data=table-w-headers-to-list-of-key-value(jobs)
(mapcar (lambda (row) (cdr (assoc email row))) data)
#+end_src
#+RESULTS:
| ma...@gotham-city.com | jinp...@china.cn |
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Nick Dokos ndo...@gmail.com writes:
Achim Gratz strom...@nexgo.de writes:
Eric Schulte writes:
I look forward to the day when Org-mode can simply require cl-lib and
cease maintaining org- versions of common cl utilities.
WIth cl-lib in ELPA I don't really see what's the holdup
an org-subseq function?
I look forward to the day when Org-mode can simply require cl-lib and
cease maintaining org- versions of common cl utilities.
Thanks,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
))
#+END_SRC
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
Thanks, Eric,
but this isn't what I had in mind. I want the org-mode file to remain
unchanged while behaving as if it was changed, something like C
macros: C compiler is not aware of macros and I'm not aware
) results).
regards,
Oleh
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
:results output pp code
foo
#+end_src
#+RESULTS:
#+BEGIN_SRC lisp
(DEFUN SQUARE (X) (* X X))
#+END_SRC
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
on brahms, modified by Debian
Regards,
Andreas
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
of.
I hope the above is sufficient, if not I'm not personally able to do
much more on this front, although I'm always happy to review patches.
Best,
thanks.
samuel
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
question is about the :epilogue and :prologue which I think
should be present (haven't checked if they are...).
Cheers,
Rainer
Thanks,
John
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
have been completely satisfied.
Thanks,
#+CAPTION:
#+HEADER:
#+TBLFM:
The last two would require special auto-filling functions,
but at least for #+TBLFM I see the point of enabling this.
Thanks,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
#+begin_src sh :var files= :results verbatim
IFS=
for file in $files;do
echo -|$file|-
done
#+end_src
#+call: list(files-tab)
#+RESULTS:
: -|with space|-
: -|nospace|-
#+call: list(files-ex)
#+RESULTS:
: -|with space|-
: -|nospace|-
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
===
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
| a :: nil = true
| nil = true
end
#+end_src
#+RESULTS:
: sortp is recursively defined (decreasing on 1st argument)
:
3. Run the above function.
#+begin_src coq
Eval compute in sortp (1::2::3::nil)
#+end_src
#+RESULTS:
: = true
: : bool
:
--
Eric
do the call with the files i want, quoted the way i want.
may i make this a feature request?
I'm not sure that the additional utility justifies the added complexity.
Best,
On 2/6/14, Eric Schulte schulte.e...@gmail.com wrote:
#+name: files-tab
| with space |
| nospace|
#+name: files
solution here?
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
:results verbatim output :noweb yes :noweb-ref whatever
# b
# #+END_SRC
#+BEGIN_SRC sh :results output :noweb yes
echo whatever
#+END_SRC
#+RESULTS:
: a
Best,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
$dothis
#+END_SRC
#+RESULTS:
#+begin_example
a 'b' c d e
hi
#+end_example
thanks.
samuel
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
putting the comment character? Can
you provide an example?
Thanks.
Samuel
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
/testing/lisp/test-ob-sh.el
deleted file mode 100644
index 09278e7..000
--- a/testing/lisp/test-ob-sh.el
+++ /dev/null
@@ -1,52 +0,0 @@
-;;; test-ob-shell.el
-
-;; Copyright (c) 2010-2014 Eric Schulte
-;; Authors: Eric Schulte
-
-;; This file is not part of GNU Emacs
force.
Maybe try :results pp org.
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
8.2.4.
Regards,
Greg
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
|
The Babel/Clojure behavior you report does seem buggy.
I'm afraid I can't be of further help, but hopefully others will pick up
on this.
Yours,
Christian
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
one).
I think a correct solution would be to rename switches switches and
add them to `org-babel-exp-code-template'.
Eric, what do you think?
That sounds reasonable to me.
Regards,
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
#keeping-current-with-Org-mode-development
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
...@krugs.de
Skype: RMkrug
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
, I'll try it asap! Cheers!
On Jan 26, 2014 4:20 PM, Eric Schulte schulte.e...@gmail.com wrote:
o.castillo.felis...@gmail.com o.castillo.felis...@gmail.com writes:
Dear community,
I'm using org-mode to draft most of my activities, and day after day I
get
closer to managing my paper
,
Andreas
?
Cheers,
Loris
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
of the #+call
lines in, and simply say no to the ones I don't want in the final
compilation.
Thanks,
hjh
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
.
*Question*
Can anyone provide a minimal example of the use to this tool, including the
configuration (if needed), and the necessary external (non-org) files?
The attached two files (.org and .bib) provide an example of usage.
#+Title: An Example Demonstrating ox-bibtex Usage
#+Author: Eric
Rainer M Krug rai...@krugs.de writes:
On 01/20/14, 16:34 , Eric Schulte wrote:
Rainer M Krug rai...@krugs.de writes:
Hi
I would like to use :prologue and :epilogue to enclose the code block
in a local({}) block, i.e.
* test
#+begin_src R :prologue local({ :epilogue })
qwerty - test
I'll send you the patch then.
Sounds great, thanks.
OK - here it is attached (my first patch to org :-) ) - let me know if
it is OK.
Looks good to me, I've just applied it.
Thanks!
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
-r--r-- 1 tj users 9223 21. Jan 02:48 ob-shell.elc
`
--
Eric Schulte
https://cs.unm.edu/~eschulte
PGP: 0x614CA05D
101 - 200 of 2930 matches
Mail list logo