Re: [Orgmode] Re: text-mode-abbrev-table default?

2009-10-28 Thread Andreas Röhler
Carsten Dominik wrote: On Oct 28, 2009, at 11:32 AM, Leo wrote: On 2009-10-28 09:19 +, Carsten Dominik wrote: Because if I do tis by default, someone if going to want to have a separate table :-) You solution is good - a nice snippet for a FAQ, maybe? It seems natural to

Re: [Orgmode] How to write verbatim [0] ?

2009-10-29 Thread Andreas Röhler
Change the footnote-style, so it not conflicts. Current org-modes has labels, inserts [fn:1] for example instead of [1] Customize labels via org-footnote-auto-label HTH Andreas -- https://code.launchpad.net/s-x-emacs-werkstatt/

Re: [Orgmode] footnote renumber bug?

2009-10-29 Thread Andreas Röhler
Giovanni Ridolfi wrote: -- Gio 29/10/09, Andreas Roehler andreas.roeh...@online.de ha scritto: when inserting a footnote between [fn:1] and [fn:2] it's not renumbered at place. Got [fn:1], [fn:3] and [fn:2]. Think mentioned that already and answer was it should be a feature. Isn't it a bug

[O] org2info, docu workflow

2011-11-24 Thread Andreas Röhler
Hi, having to write a docu which should be transferred into info and other formats, what the recommended workflow would be in this case? Exists an exporter from org into info? Thanks, Andreas -- http://launchpad.net/python-mode http://launchpad.net/s-x-emacs-werkstatt/

Re: [O] org2info, docu workflow

2011-11-24 Thread Andreas Röhler
Am 24.11.2011 18:13, schrieb Thomas S. Dye: Aloha Andreas, FWIW, I looked into this a while back and couldn't find an easy path from org to info. Caveat emptor, absence of evidence isn't evidence of absence. Others on the list probably have a better handle on this. The most promising path

Re: [O] Happy new year!

2011-12-31 Thread Andreas Röhler
Am 31.12.2011 18:25, schrieb Bastien: Dear all, time to wrap-up for today and to celebrate. This has been a *great* year of development! May all your TODOs belong to your %s_archive. Happy new year :) hmm, understand that chronology is of some importance to org-mode beside of that it's not

Re: [O] babel python example not reproducible

2014-06-17 Thread Andreas Röhler
On 17.06.2014 08:21, Shiyuan wrote: Hi all, I found a solution to fix the echo problem of the emacs python shell: http://stackoverflow.com/questions/8060609/python-interpreter-in-emacs-repeats-lines That is, in the Interior Python buffer, do M-: (setq comint-process-echoes t) ;; or nil

Re: [O] babel python example not reproducible

2014-06-18 Thread Andreas Röhler
On 18.06.2014 15:59, Eric Schulte wrote: Shiyuan gshy2...@gmail.com writes: Hi all, I found a solution to fix the echo problem of the emacs python shell: http://stackoverflow.com/questions/8060609/python-interpreter-in-emacs-repeats-lines That is, in the Interior Python buffer, do M-:

Re: [O] babel python example not reproducible

2014-06-19 Thread Andreas Röhler
On 19.06.2014 15:40, Eric Schulte wrote: Andreas Röhler andreas.roeh...@easy-emacs.de writes: On 18.06.2014 15:59, Eric Schulte wrote: Shiyuan gshy2...@gmail.com writes: Hi all, I found a solution to fix the echo problem of the emacs python shell: http://stackoverflow.com/questions

Re: [Orgmode] XEmacs complains about a few define-key sequences in org-mouse.el

2009-04-03 Thread Andreas Röhler
Tony E. Bennett wrote: XEmacs complains about a few define-key sequences in org-mouse.el. For example: (define-key org-agenda-keymap [C-mouse-4] 'org-agenda-earlier) Try it this way for XEmacs: [(control mouse-4)] Regards Andreas Roehler These sequences are using a GNU emacs form

Re: [Orgmode] license item

2009-06-26 Thread Andreas Röhler
Carsten Dominik wrote: This is the Carsten-AI speeking. Link to GPL on homepage established... Thank you. Thanks too. Seeing the progress. What about to link directly to the license text applying? Which should provide for the case, people looking for org-mode don't have much time to spent

Re: [Orgmode] footnote renumber bug

2009-07-02 Thread Andreas Röhler
Karl Maihofer wrote: Andreas Roehler schrieb: after reopening a file with two footnotes inside, inserting a third footnote between first and second, it fails to renumber it. Did you try the new C-u C-c C-x f S feature of the latest git-version? No. Just check this feature for

[Orgmode] Re: footnote renumber bug

2009-07-02 Thread Andreas Röhler
Matthew Lundin wrote: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Karl Maihofer wrote: Andreas Roehler schrieb: after reopening a file with two footnotes inside, inserting a third footnote between first and second, it fails to renumber it. Did

Re: [Orgmode] Re: footnote renumber bug

2009-07-03 Thread Andreas Röhler
Scot Becker wrote: Matthew, No apologies needed. A good explanation like yours is a valuable thing to have sitting in the mailing list archive (and perhaps even in a more formal spot, in the Worg article: Academic writing with Org, which I will someday help you write.) Scot Hi Scot,

[Orgmode] Re: footnote renumber bug

2009-07-03 Thread Andreas Röhler
Paul R wrote: Hi Andreas and org-mode users, Andreas Seeing the danger of raising flame-wars, which we have seen at Andreas several occasions, consider that rather a recommendable style. Thank you Andreas for your recommandations, but please let me point out that debate on this list has

[O] was: [RFC] Org syntax (draft)

2013-03-08 Thread Andreas Röhler
[ ... ] ╭ │ STARS KEYWORD PRIORITY TITLE TAGS ╰ Hi, my thanks too. BTW does that mean, stars are hard-coded in a way, they can't be replaced by another car? If yes, what about to keep the core more abstract? Best, Andreas

Re: [O] (no subject)

2013-03-08 Thread Andreas Röhler
Am 08.03.2013 11:46, schrieb Bastien: Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: BTW does that mean, stars are hard-coded in a way, they can't be replaced by another car? Yes, this is the case. If yes, what about to keep the core more abstract? This is a hard

Re: [O] (no subject)

2013-03-08 Thread Andreas Röhler
Am 08.03.2013 12:05, schrieb Bastien: Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: can it be more difficult than related use of comment-start? Yes -- check this FAQ: http://orgmode.org/worg/org-faq.html#sec-8-12 HTH, Thanks, still non-believing :) (defcustom outline

Re: [O] (no subject)

2013-03-08 Thread Andreas Röhler
Am 08.03.2013 12:23, schrieb Bastien: Andreas Röhler andreas.roeh...@easy-emacs.de writes: IMHO remains to make that buffer-local and use outline-regexp from inside org-mode. Have a go and let us know :) That should work already - to start with. commit

Re: [O] (no subject)

2013-03-08 Thread Andreas Röhler
Am 08.03.2013 14:12, schrieb Bastien: Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: Am 08.03.2013 12:23, schrieb Bastien: Andreas Röhler andreas.roeh...@easy-emacs.de writes: IMHO remains to make that buffer-local and use outline-regexp from inside org-mode. Have a go

Re: [O] ox-html.el removal

2013-03-10 Thread Andreas Röhler
Am 10.03.2013 19:55, schrieb Detlef Steuer: I am willing to go as far is humanly possible for me to have my displeasure registered. Dear Jambunathan, your displeasure is very well registered by the hundreds or even thousands of readers of this list. It is very sad to see an obviously very

Re: [O] Create course material with org-mode

2013-03-11 Thread Andreas Röhler
Am 11.03.2013 11:52, schrieb Torsten Wagner: Hi Thorsten, thanks for the links. I will look into them. Actually the topic is not exactly OT, I'm looking for a meta-system which helps me to keep all those different things together. Hopefully, in a way which allows me to generate different kind

[O] FIX missing case-folding in test-ob-emacs-lisp.el

2013-03-12 Thread Andreas Röhler
Running tests from org-mode/testing/README failed due to missing case-folding Downcased result was searched while upcased was inserted Patch attached Error was: Debugger entered--Lisp error: (ert-test-failed ((should (string= #1=: 2 (buffer-substring-no-properties (point-at-bol)

Re: [O] FIX missing case-folding in test-ob-emacs-lisp.el

2013-03-12 Thread Andreas Röhler
Am 12.03.2013 16:59, schrieb Bastien: Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: Running tests from org-mode/testing/README failed due to missing case-folding Downcased result was searched while upcased was inserted It's weird, the test does not fail for me. Can

Re: [O] FIX missing case-folding in test-ob-emacs-lisp.el

2013-03-12 Thread Andreas Röhler
Am 12.03.2013 16:59, schrieb Bastien: Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: Running tests from org-mode/testing/README failed due to missing case-folding Downcased result was searched while upcased was inserted It's weird, the test does not fail for me. Can

Re: [O] Meaning of install

2013-03-13 Thread Andreas Röhler
Am 13.03.2013 08:19, schrieb Achim Gratz: Thomas S. Dye writes: $ cd ~/src/ $ git clone git://orgmode.org/org-mode.git $ cd org-mode Move the cd up here. In most cases, you will probably want to run `make install' to install Org with the Emacs system files. Please run `make help' to

Re: [O] Meaning of install

2013-03-13 Thread Andreas Röhler
Am 13.03.2013 09:43, schrieb Bastien: Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: BTW would welcome some hints how to proceed when bug-fixing, extending etc. I.e. installing that stuff right on probably isn't preferable. Can you be more specific? What information do

Re: [O] Copyright of contributions to org-mode

2013-03-13 Thread Andreas Röhler
Am 13.03.2013 11:50, schrieb Carsten Dominik: Dar all, in the light of the recent dispute, I have now added the paragraph below to http://orgmode.org/worg/org-contribute.html#sec-2 to clarify the copyright implications of submitting contributions to org-mode. I hope this helps to avoid

Re: [O] Copyright of contributions to org-mode

2013-03-13 Thread Andreas Röhler
Am 13.03.2013 12:50, schrieb Bastien: Hi Carsten, Carsten Dominik carsten.domi...@gmail.com writes: I will write GLPv3 or later and not specify this further, OK? I'd state it like this: ... you are placing this changes under the same licensing terms than those under which GNU Emacs

Re: [O] Copyright of contributions to org-mode

2013-03-13 Thread Andreas Röhler
Am 13.03.2013 13:10, schrieb Bastien: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Or maybe drop that sentence. Nope: the whole purpose of clarifying is to make it clear what are the licensing terms, when the assignement is needed, and what are the consequences of assigning

Re: [O] Build fail with emacs 24.3.1

2013-03-13 Thread Andreas Röhler
Am 13.03.2013 12:58, schrieb Bastien: Hi Erich, Neuwirth Erich erich.neuwi...@univie.ac.at writes: I just installed Emacs 24.3.1 on OSX 10.8.2 and tried to build the latest git version of orgmode. It fails. Is this due to the fact that I have a new emacs, or is it a more general problem. It

Re: [O] FIX missing case-folding in test-ob-emacs-lisp.el

2013-03-13 Thread Andreas Röhler
Am 13.03.2013 18:19, schrieb Michael Brand: Hi Andreas On Tue, Mar 12, 2013 at 6:12 PM, Andreas Röhler andreas.roeh...@easy-emacs.de wrote: [...] F test-org-table/compare Basic: Compare field references in Calc. (ert-test-failed ((should (equal expect result

Re: [O] posting guide?

2013-03-13 Thread Andreas Röhler
Am 13.03.2013 20:13, schrieb Jay Kerns: The past few days have reminded me of something somebody famous once said [1]. I can already see work being done to protect the community for the future, yet I believe there is more we might do to be even stronger. I understand and appreciate Bastien's

Re: [O] Meaning of install

2013-03-14 Thread Andreas Röhler
Am 13.03.2013 12:56, schrieb Bastien: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Any recommendation which make commands to run here? ~$ make helpall :) Another great piece, thanks!

Re: [O] python sessions

2013-03-20 Thread Andreas Röhler
Am 20.03.2013 04:07, schrieb Nick Dokos: John Hendy jw.he...@gmail.com wrote: On Tue, Mar 19, 2013 at 4:40 PM, Gary Oberbrunner ga...@oberbrunner.com wrote: I must be failing to understand something. I'm running Emacs 24.3 on Windows, with latest trunk org-mode. I can't get python functions

Re: [O] python sessions

2013-03-20 Thread Andreas Röhler
Am 20.03.2013 01:04, schrieb John Hendy: On Tue, Mar 19, 2013 at 4:40 PM, Gary Oberbrunner ga...@oberbrunner.com wrote: I must be failing to understand something. I'm running Emacs 24.3 on Windows, with latest trunk org-mode. I can't get python functions to persist across blocks in session

Re: [O] python sessions

2013-03-20 Thread Andreas Röhler
Am 20.03.2013 17:06, schrieb Nick Dokos: John Hendy jw.he...@gmail.com wrote: - M-x org-version Org-mode version 8.0-pre (release_8.0-pre-146-g73fe0a @ /home/jwhendy/.elisp/org.git/lisp/) That's pretty close to what I'm using. Can you do me a favor: start emacs -Q and evaluate the

Re: [O] python sessions

2013-03-20 Thread Andreas Röhler
[ ... ] AFAIU :session is broken, because Python shell as opened by run-python or py-shell isn't used by ob-babel. Seems ob-babel sends it's code w/ an own shell command, thus opening a new python shell internally every time. Did :session ever work? Then I might be wrong with this comment.

Re: [O] python sessions

2013-03-20 Thread Andreas Röhler
I guess it depends on the definition of works. I don't get python buffers with the name of the :session variable. Reads as it works only with named sessions, but fails with unnamed But I do get separate python buffers (.e.g., *Python*, *Python*2) for each session, and python blocks get

Re: [O] python sessions

2013-03-20 Thread Andreas Röhler
Am 20.03.2013 19:15, schrieb Nick Dokos: John Hendy jw.he...@gmail.com wrote: On Wed, Mar 20, 2013 at 12:25 PM, Nick Dokos nicholas.do...@hp.com wrote: Andreas Röhler andreas.roeh...@easy-emacs.de wrote: Seems `org-babel-execute':python doesn't get the session flag. Edebug: org-babel

Re: [O] python sessions

2013-03-20 Thread Andreas Röhler
Am 20.03.2013 18:25, schrieb Nick Dokos: Andreas Röhler andreas.roeh...@easy-emacs.de wrote: Seems `org-babel-execute':python doesn't get the session flag. Edebug: org-babel-execute:python org-babel-execute:python executing Python code block... [4 times] Result: ((:comments . #1=) (:shebang

Re: [O] python sessions

2013-03-20 Thread Andreas Röhler
Am 20.03.2013 20:42, schrieb Ista Zahn: On Wed, Mar 20, 2013 at 2:43 PM, Andreas Röhler andreas.roeh...@easy-emacs.de wrote: I guess it depends on the definition of works. I don't get python buffers with the name of the :session variable. Reads as it works only with named sessions

Re: [O] python sessions

2013-03-21 Thread Andreas Röhler
Am 21.03.2013 02:56, schrieb Gary Oberbrunner: Hi Gary, great if you can make it work for you. Nonetheless, still thinking let-var session in org-babel-execute:python needs the fix. Best, Andreas

Re: [O] python sessions

2013-03-21 Thread Andreas Röhler
Am 21.03.2013 08:43, schrieb Bastien: Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: Nonetheless, still thinking let-var session in org-babel-execute:python needs the fix. I've not been following this thread, can you send a patch with the fix and the reason

Re: [O] tests with travis-ci

2013-03-22 Thread Andreas Röhler
Am 21.03.2013 21:41, schrieb Bastien: [ ... ] Yes. The limitation of the pre-push hook comes from the fact that various developers may have various testing environments, no one should be prevented from pushing by the fact that tests do not pass for someone else. [ ... ] Hi, just to ask

Re: [O] tests with travis-ci

2013-03-22 Thread Andreas Röhler
Am 22.03.2013 13:55, schrieb Nick Dokos: Andreas Röhler andreas.roeh...@easy-emacs.de wrote: [ ... ] Not worth bothering about IMO: just run the whole test suite. Nick Hi Nick, thanks a lot for your explanation and patience. Still digging in... :) Andreas

Re: [O] python sessions

2013-03-24 Thread Andreas Röhler
Am 23.03.2013 23:07, schrieb Eric Schulte: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Am 21.03.2013 08:43, schrieb Bastien: Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: Nonetheless, still thinking let-var session in org-babel-execute:python needs the fix

Re: [O] python sessions

2013-03-24 Thread Andreas Röhler
Am 24.03.2013 15:47, schrieb John Hendy: On Sun, Mar 24, 2013 at 2:47 AM, Andreas Röhler andreas.roeh...@easy-emacs.de wrote: Am 23.03.2013 23:07, schrieb Eric Schulte: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Am 21.03.2013 08:43, schrieb Bastien: Hi Andreas, Andreas Röhler

Re: [O] python sessions

2013-03-25 Thread Andreas Röhler
Am 25.03.2013 03:59, schrieb John Hendy: On Sun, Mar 24, 2013 at 9:38 PM, Nick Dokos nicholas.do...@hp.com wrote: Eric Schulte schulte.e...@gmail.com wrote: From participating in evaluating code throughout the discussion and catching the comments throughout, I'd say yes, at least in terms

[O] :session question

2013-03-25 Thread Andreas Röhler
Hi all, org-babel uses the header argument :session keeping the environment for consecutive evaluations. That feels the opposite of all on-the-fly evaluations commonly done by a (language)-shell. Commonly a shell keeps is values until a new one is created. Would find it more natural if

[O] no info files created w/ current git-repo

2013-03-25 Thread Andreas Röhler
Hi, building from current git-repo make all builds some .pdf and .html docu, but not info directory doc contains: dir Makefile orgguide.texi org-version.inc doclicense.texi org org.html pdflayout.sty Documentation_Standards.org

Re: [O] no info files created w/ current git-repo

2013-03-25 Thread Andreas Röhler
Am 25.03.2013 14:42, schrieb John Hendy: On Mon, Mar 25, 2013 at 6:53 AM, Andreas Röhler andreas.roeh...@easy-emacs.de wrote: Hi, building from current git-repo make all builds some .pdf and .html docu, but not info directory doc contains: dir Makefile

[O] void-variable org-list-allow-alphabetical

2013-03-25 Thread Andreas Röhler
Hi, when trying to load git-devel-repo after make all get the error. Traceback attached If defvarred before defcustom, that error is gone. Andreas Debugger entered--Lisp error: (void-variable org-list-allow-alphabetical)

Re: [O] python sessions

2013-03-25 Thread Andreas Röhler
Am 25.03.2013 17:43, schrieb Eric Schulte: John Hendy jw.he...@gmail.com writes: On Mon, Mar 25, 2013 at 11:01 AM, Ista Zahn istaz...@gmail.com wrote: On Mon, Mar 25, 2013 at 11:40 AM, Eric Schulte schulte.e...@gmail.com wrote: John Hendy jw.he...@gmail.com writes: On Sun, Mar 24, 2013 at

Re: [O] python sessions

2013-03-25 Thread Andreas Röhler
Am 24.03.2013 19:41, schrieb Nick Dokos: running into this, func def seems missing: Debugger entered--Lisp error: (void-function org-babel-result-cond) (org-babel-result-cond result-params results (org-babel-python-table-or-string results)) (if (string= (substring

Re: [O] python sessions

2013-03-26 Thread Andreas Röhler
Am 25.03.2013 22:37, schrieb Eric Schulte: running into this, func def seems missing: Debugger entered--Lisp error: (void-function org-babel-result-cond) My guess is that you have a mixed install. You are mostly running the Org-mode which ships with Emacs (in which `org-babel-result-cond' is

Re: [O] :session question

2013-03-26 Thread Andreas Röhler
Am 26.03.2013 00:58, schrieb Michael Gauland: Andreas Röhler andreas.roehler at easy-emacs.de writes: Would find it more natural if :session is the default, while a command refresh makes a new one. I don't think so, but perhaps I'm just used to the way it works now. I use a mix of session

Re: [O] :session question

2013-03-26 Thread Andreas Röhler
Thanks! Am 26.03.2013 01:46, schrieb Eric Schulte: Michael Gauland mikely...@no8wireless.co.nz writes: Andreas Röhler andreas.roehler at easy-emacs.de writes: Would find it more natural if :session is the default, while a command refresh makes a new one. Header argument defaults

[O] org-babel header documentation

2013-03-26 Thread Andreas Röhler
Hi all, while digging through the org-babel stuff, which is quite exiting, have some difficulties to grasp the functionality of different header arguments. Info 14.8 Header arguments is useful so far. Still miss an explanation the way Setting X to Y will cause Maybe missing the right

Re: [O] org-babel header documentation

2013-03-26 Thread Andreas Röhler
Am 26.03.2013 16:35, schrieb Eric Schulte: John Hendy jw.he...@gmail.com writes: On Tue, Mar 26, 2013 at 10:00 AM, Andreas Röhler andreas.roeh...@easy-emacs.de wrote: Hi all, while digging through the org-babel stuff, which is quite exiting, have some difficulties to grasp the functionality

Re: [O] python sessions

2013-03-27 Thread Andreas Röhler
Am 26.03.2013 22:41, schrieb Gary Oberbrunner: I did some further testing. With my patch, my real org-mode python file is now actually working. There were a few gotchas I didn't understand about session mode and python and matplotlib: 1. In session mode, you are essentially running an

[O] BUG typo in languages.html

2013-03-27 Thread Andreas Röhler
http://orgmode.org/worg/org-contrib/babel/languages.html LanguageIdentifier Documentation Requirements C c ob-doc-Cnone ; mentiones lesser c as Identifier, seems it should be upper C BTW couldn't see

Re: [O] :session question

2013-03-27 Thread Andreas Röhler
Am 26.03.2013 13:37, schrieb Eric Schulte: Question from here: I use mainly R and have there set file wide #+PROPERTY: session R-session But I also have bash code, which would be evaluated in the R session, unless I use #+begin_src sh :session sh-session ... #+end_src But I do not need

Re: [O] :session question

2013-03-27 Thread Andreas Röhler
Am 26.03.2013 16:31, schrieb Eric Schulte: Achim Gratz strom...@nexgo.de writes: Am 26.03.2013 13:37, schrieb Eric Schulte: This can be done system wide by setting the language-specific header arguments. I've yet to see an example on how to do this. #+begin_src emacs-lisp

[O] BUG docu org-babel-default-header-args

2013-03-27 Thread Andreas Röhler
http://orgmode.org/manual/System_002dwide-header-arguments.html#System_002dwide-header-arguments Org Mode Info System-wide header arguments System-wide values of header arguments can be specified by customizing the `org-babel-default-header-args' variable: ;

Re: [O] :session question

2013-03-27 Thread Andreas Röhler
Am 27.03.2013 10:27, schrieb Andreas Leha: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Am 26.03.2013 16:31, schrieb Eric Schulte: Achim Gratz strom...@nexgo.de writes: Am 26.03.2013 13:37, schrieb Eric Schulte: This can be done system wide by setting the language-specific header

Re: [O] :session question

2013-03-27 Thread Andreas Röhler
Am 27.03.2013 12:48, schrieb Nick Dokos: Andreas Röhler andreas.roeh...@easy-emacs.de wrote: Am 27.03.2013 10:27, schrieb Andreas Leha: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Am 26.03.2013 16:31, schrieb Eric Schulte: Achim Gratz strom...@nexgo.de writes: Am 26.03.2013 13

Re: [O] :session question

2013-03-27 Thread Andreas Röhler
Am 27.03.2013 13:22, schrieb Rainer M Krug: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 27/03/13 13:18, Andreas Röhler wrote: Am 27.03.2013 12:48, schrieb Nick Dokos: Andreas Röhler andreas.roeh...@easy-emacs.de wrote: Am 27.03.2013 10:27, schrieb Andreas Leha: Andreas Röhler

Re: [O] :session question

2013-03-27 Thread Andreas Röhler
Am 27.03.2013 13:43, schrieb Eric Schulte: org-R is the name of the session. The code blocks illustrate that the value of x (set in the first code block) is preserved and can be used in the second (and subsequent) code blocks. Nick Okay, so the :session argument must not be repeated? No

[O] smart loading languages

2013-03-27 Thread Andreas Röhler
Hi, instead requiring explicit (org-babel-do-load-languages 'org-babel-load-languages '( (LANGUAGE-1 . t) (LANGUAGE-2 . t) ... (LANGUAGE-N . t) )) in Emacs init, AFAIU that might be done first time when a source block is evaluated. Andreas

Re: [O] :session question

2013-03-27 Thread Andreas Röhler
[ ... ] But non-R code blocks do not have a default session value. #+begin_src sh date #+end_src #+RESULTS: : Mi 27. Mär 21:18:49 CET 2013 #+end_org Would say rather: global defaults are not predictable from users perspective, as global :seesion settings may have an effect or not.

[O] run python from org, draft

2013-03-28 Thread Andreas Röhler
Hi, as running python from org-source has been reported broken, herewith a patch, which allows basic usage. Requires python-mode.el-6.1 https://launchpad.net/python-mode/trunk/6.1.1/+download/python-mode.el-6.1.1.tar.gz Just a draft, not thought as implementation, Andreas diff --git

Re: [O] Fwd: run python from org, draft

2013-03-29 Thread Andreas Röhler
to look for the spot where to fix it. Maybe not the right one yet, just a study. So let's go on until a convenient solution is found, Andreas On Thu, Mar 28, 2013 at 5:55 PM, Andreas Röhler andreas.roeh...@easy-emacs.de wrote: Hi, as running python from org-source has been reported broken

Re: [O] Fwd: run python from org, draft

2013-03-29 Thread Andreas Röhler
Am 29.03.2013 16:09, schrieb Eric Schulte: with current GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 2.24.14) of 2013-03-05 Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @ MY_PATH/emacs-24.3/lisp/org/) python from org-source seems completely broken. For example: #+BEGIN_SRC python

Re: [O] Fwd: run python from org, draft

2013-03-29 Thread Andreas Röhler
Am 29.03.2013 17:20, schrieb Eric Schulte: A valid opinion, in fact I think I defended that point of view myself, Hi Eric, so, if I'm saying: let's make things considerably easier, working right from the spot, why not try that? What I need still is a specification, what :session and the

Re: [O] Fwd: run python from org, draft

2013-03-29 Thread Andreas Röhler
Am 29.03.2013 17:47, schrieb Eric Schulte: As we've proven a couple of times now, Python session are broken with the newest version of Emacs (since the upstream change to an entirely new python.el implementation). I've just pushed up a fix to ob-python.el so that sessions should now work with

Re: [O] Fwd: run python from org, draft

2013-03-29 Thread Andreas Röhler
Am 29.03.2013 17:47, schrieb Eric Schulte: As we've proven a couple of times now, Python session are broken with the newest version of Emacs (since the upstream change to an entirely new python.el implementation). I've just pushed up a fix to ob-python.el so that sessions should now work with

Re: [O] Fwd: run python from org, draft

2013-03-29 Thread Andreas Röhler
Am 29.03.2013 20:59, schrieb Gary Oberbrunner: On Fri, Mar 29, 2013 at 11:09 AM, Eric Schulte schulte.e...@gmail.comwrote: Because of quirks of the python language, when executing outside of a session, it is necessary to explicitly specify a return. ... This is clearly stated in the Python

Re: [O] Fwd: Fwd: run python from org, draft

2013-03-29 Thread Andreas Röhler
Am 29.03.2013 21:10, schrieb Gary Oberbrunner: On Fri, Mar 29, 2013 at 11:29 AM, Andreas Röhler andreas.roeh...@easy-emacs.de wrote: IMO org-babel should be able to run source code as is. If an org-mode specific modification is required at such a trivial form, what to expect wrt complex

Re: [O] python sessions

2013-03-30 Thread Andreas Röhler
Am 27.03.2013 07:19, schrieb Andreas Röhler: Am 26.03.2013 22:41, schrieb Gary Oberbrunner: I did some further testing. With my patch, my real org-mode python file is now actually working. There were a few gotchas I didn't understand about session mode and python and matplotlib: 1

Re: [O] I have terminated my assignment

2013-04-02 Thread Andreas Röhler
Am 03.04.2013 00:25, schrieb John Hendy: On Tue, Apr 2, 2013 at 5:16 PM, Christian Moe m...@christianmoe.com wrote: Jambunathan, If you're leaving the Org-mode community, I'd prefer to remember you with gratitude for leaving us the excellent ODT exporter. Please stop diminishing your legacy

Re: [O] Org-mode as a metalanguage: calling SQL functions

2013-04-02 Thread Andreas Röhler
Am 02.04.2013 23:54, schrieb Eric Schulte: Gary Oberbrunner ga...@oberbrunner.com writes: Aha -- you have to use the :var syntax on the begin_src line, not the params-in-parens syntax on the name line. Your version works: #+name: example-block #+begin_src sh :var input= echo input is

Re: [O] Org-mode as a metalanguage: calling SQL functions

2013-04-05 Thread Andreas Röhler
Am 05.04.2013 18:31, schrieb Eric Schulte: [ ... ] Yea, this could be a simple note, e.g., the method by which variables are applied to code blocks are language-specific and determined by the semantics of the programming language of the code block, see Hi, still can't see the purpose of

Re: [O] BUG docu org-babel-default-header-args

2013-04-05 Thread Andreas Röhler
Am 05.04.2013 19:14, schrieb Bastien: Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: http://orgmode.org/manual/System_002dwide-header-arguments.html#System_002dwide-header-arguments Org Mode Info System-wide header arguments System-wide values

Re: [O] BUG typo in languages.html

2013-04-05 Thread Andreas Röhler
Am 05.04.2013 19:21, schrieb Bastien: Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: http://orgmode.org/worg/org-contrib/babel/languages.html LanguageIdentifier Documentation Requirements C c ob-doc-Cnone ; mentiones lesser c

Re: [O] New maintainer

2013-04-21 Thread Andreas Röhler
Am 18.04.2013 18:53, schrieb Bastien: Dear all, I'm stepping down as the Org maintainer. Carsten accepted to step up, if the community agrees. Please raise your thumbs up or your concerns, if any. I'm glad I had this opportunity to work as Robin and I'm even more glad Batman may strike back!

Re: [O] New maintainer

2013-04-22 Thread Andreas Röhler
Hi Bastien, Am 22.04.2013 00:39, schrieb Bastien: Hi Andreas, thanks for the kind words. The decision to step down after 8.0 was taken a long time ago, before the recent problems on the list. I had to find someone willing to step in before I could announce this. Okay, a good news in

Re: [O] how to best make characters invisible in a org-derived mode

2013-05-01 Thread Andreas Röhler
Am 27.04.2013 05:29, schrieb Christian Wittern: Hi orgers, In a mode derived from org-mode, I would like to hide some characters with a special function to make the display cleaner. There are two cases: - special characters that should be always invisible - strings matched by a regex that

Re: [O] how to best make characters invisible in a org-derived mode

2013-05-01 Thread Andreas Röhler
Am 02.05.2013 00:58, schrieb Christian Wittern: Hi Andreas, Hi John Thank both of you for trying to get me on track. On 2013-05-01 16:43, Andreas Röhler wrote: maybe have a look how ar-hide-bracketed-in-line-atpt for example is implemented. I can't actually find this function, but I get

[O] How to initiate source edits

2013-05-02 Thread Andreas Röhler
Hi, have in some source file, let's assume Python, the following: foo = { bar: ( baz, qux, ), } What is the best way to put this into an #+BEGIN_SRC python foo = { bar: ( baz, qux, ), } #+END_SRC Thanks, Andreas

Re: [O] How to initiate source edits

2013-05-03 Thread Andreas Röhler
Am 03.05.2013 10:07, schrieb Achim Gratz: Andreas Röhler andreas.roehler at easy-emacs.de writes: What is the best way to put this into an #+BEGIN_SRC python foo = { bar: ( baz, qux, ), } #+END_SRC s TAB python C-c ' C-x i src.python C-c ' Regards

Re: [O] How to initiate source edits

2013-05-03 Thread Andreas Röhler
Am 03.05.2013 10:34, schrieb Myles English: Hi Andreas, Andreas Röhler writes: Hi, have in some source file, let's assume Python, the following: foo = { bar: ( baz, qux, ), } What is the best way to put this into an #+BEGIN_SRC python foo = { bar

[O] initiate source edits and region

2013-05-03 Thread Andreas Röhler
Hi all, want to wrap org-mode src markup around code in existing region. Having a look at the way sTAB works internally, it seems hard to make use of it. The region is affected already by inserting sTAB. That part probably would profit being moved closer to the way, edit commands are called

Re: [O] initiate source edits and region

2013-05-03 Thread Andreas Röhler
Am 03.05.2013 13:11, schrieb Sebastien Vauban: Andreas, Andreas Röhler wrote: want to wrap org-mode src markup around code in existing region. Maybe someone already wrote such region-sensitive insert/init? Yes, Eric: C-c C-v C-d Best regards, Seb That's it, thanks!

[O] org-babel-demarcate-block added to menu

2013-05-03 Thread Andreas Röhler
Cheers, Andreas commit 3684737f97fc78eeca8f6d284985e39a88a5393e Author: Andreas Roehler andreas.roeh...@online.de Date: Fri May 3 17:22:33 2013 +0200 menu provide `org-babel-demarcate-block' org-mode menu should enable access to edit commands This change opens a slot, so

Re: [O] How to initiate source edits

2013-05-07 Thread Andreas Röhler
Hi Alexander, Am 07.05.2013 10:22, schrieb Alexander Baier: Hi Andreas, Andreas Röhler andreas.roeh...@easy-emacs.de writes: Am 03.05.2013 10:34, schrieb Myles English: Hi Andreas, Andreas Röhler writes: Hi, have in some source file, let's assume Python, the following: foo

Re: [O] org-babel-demarcate-block added to menu

2013-05-07 Thread Andreas Röhler
Am 07.05.2013 12:41, schrieb Bastien: Hi Andreas, thanks for the suggestion -- I'll let other decide on it. An important point: since you do not want to assign your copyright to the FSF for Emacs/Org, I think it's better not to send patches but just to make suggestions for changes, especially

Re: [O] org-babel, python, encoding and table

2013-05-07 Thread Andreas Röhler
Am 07.05.2013 18:41, schrieb Eric Schulte: #+NAME: test2 #+begin_src python :results value :preamble # -*- coding: utf-8 -*- :return a a = ( ( é, a ), ( a, à ) ) b = é #+end_src #+RESULTS: test2 | \303\251 | a| | a| \303\240 | Maybe this isn't an execution problem, but is

Re: [O] org-babel, python, encoding and table

2013-05-07 Thread Andreas Röhler
Am 07.05.2013 20:18, schrieb Eric Schulte: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Am 07.05.2013 18:41, schrieb Eric Schulte: #+NAME: test2 #+begin_src python :results value :preamble # -*- coding: utf-8 -*- :return a a = ( ( é, a ), ( a, à ) ) b = é #+end_src #+RESULTS: test2

Re: [O] org-babel, python, encoding and table

2013-05-07 Thread Andreas Röhler
Am 07.05.2013 21:20, schrieb Nick Dokos: Andreas Röhler andreas.roeh...@easy-emacs.de writes: Am 07.05.2013 20:18, schrieb Eric Schulte: Andreas Röhler andreas.roeh...@easy-emacs.de writes: ... Maybe Python simply needs to be convinced to print in utf-8 format? Get the wrong results

  1   2   3   >