[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] Re: Bug? org-babel-lob-ingest problem
From: |
Eric Schulte |
Subject: |
[Orgmode] Re: Bug? org-babel-lob-ingest problem |
Date: |
Sun, 19 Sep 2010 21:49:05 -0600 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
Jambunathan K <address@hidden> writes:
> "Eric Schulte" <address@hidden> writes:
>
>> Hi Aidan,
>>
>> This is not a bug, this is the expected behavior of
>> org-babel-lob-ingest, if you would like a file to always be loaded into
>> your library of babel, then you can add the call to org-babel-lob-ingest
>> to your .emacs initialization file.
>>
>> Best -- Eric
>>
>> Aidan Gauland <address@hidden> writes:
>>
>>> Calling org-babel-lob-ingest on a file with code blocks seems to work
>>> only for the current Emacs session, and doesn't seem to affect the
>>> variable org-babel-lob-files. If I quit and restart Emacs, it's as if
>>> I never loaded a file with org-babel-lob-ingest. Also I see
>>> "(mismatch)" next to the "State" button for org-babel-lob-files in
>>> Customize.
>>>
>>> Like this...
>>> State: STANDARD. (mismatch)
>>>
>>> Have I found a bug, or am I doing something wrong?
>>>
>>> --Aidan
>
> I believe OP is requesting that org-babel-lob-ingest do a
> (customize-save-variable 'org-babel-lob-files ...).
>
> Think of Org keystrokes 'C-c [' and 'C-c ]' that allows easy
> customization of org-agenda-files.
>
> I think keystrokes 'C-c C-v [' and 'C-c C-c ]' would be a good default
> candidate for ingesting and ejecting lob files from Babel environment.
>
> Jambunathan K.
Ah,
that sounds like a very good idea, and I like the proposed key bindings.
This will probably come in the form of org-babel-lob-add and
org-babel-lob-remove functions, and a new org-babel-lob-files variable.
I've placed this on the Babel task list.
Now I just need to figure out how to load up these files when Org-mode
is first initialized. The simplest solution may be to ask the user to
place a call to org-babel-lob-initialize or somesuch in their .emacs
file.
Thanks -- Eric