Re: [O] help regarding babel to set in-buffer specific keybinding

2012-02-08 Thread Thomas Alexander Gerds
this works. thanks for the hint! Eric Schulte writes: > Thomas Alexander Gerds writes: > >> here is a (beginner) question regarding the following org-file with >> buffer-local function and keybinding: >> >> , >> | >> | * Lisp header (C-c C-c to activate) >> | #+BEGIN_SRC emacs-lisp >> |

Re: [O] help regarding babel to set in-buffer specific keybinding

2012-02-08 Thread Torsten Wagner
Hmmm, Recently I started to use source code blocks as a kind of init for a certain task, set variables, modify stuff. That is, execution of a source code block once at the beginning, e.g. after opening an org file. Thus, I was thinking about automatically execution too. Would it help if there

Re: [O] help regarding babel to set in-buffer specific keybinding

2012-02-08 Thread Eric S Fraga
Eric Schulte writes: > Thomas Alexander Gerds writes: [...] >> now, I would like to tell org to evaluate the lisp code at startup, when >> the org-file is opened. can this be achieved? particularly, is there a >> startup special line which tells org to evaluate the lisp src block? I >> could

Re: [O] help regarding babel to set in-buffer specific keybinding

2012-02-08 Thread Eric Schulte
Thomas Alexander Gerds writes: > here is a (beginner) question regarding the following org-file with > buffer-local function and keybinding: > > , > | > | * Lisp header (C-c C-c to activate) > | #+BEGIN_SRC emacs-lisp > | (defun blue-file () > | (interactive) > | (org-table-insert

[O] help regarding babel to set in-buffer specific keybinding

2012-02-07 Thread Thomas Alexander Gerds
here is a (beginner) question regarding the following org-file with buffer-local function and keybinding: , | | * Lisp header (C-c C-c to activate) | #+BEGIN_SRC emacs-lisp | (defun blue-file () | (interactive) | (org-table-insert-row 'below) | (org-table-goto-column 1) |