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
>> |
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
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
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
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)
|