From: "Eric Schulte" <schulte.eric@gmail.com>
To: Jambunathan K <kjambunathan@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Bug? org-babel-lob-ingest problem
Date: Sun, 19 Sep 2010 21:49:05 -0600 [thread overview]
Message-ID: <871v8pdqha.fsf@gmail.com> (raw)
In-Reply-To: <814odlpauc.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 20 Sep 2010 05:03:47 +0530")
Jambunathan K <kjambunathan@gmail.com> writes:
> "Eric Schulte" <schulte.eric@gmail.com> 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 <aidalgol@no8wireless.co.nz> 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
next prev parent reply other threads:[~2010-09-20 3:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-19 8:58 Bug? org-babel-lob-ingest problem Aidan Gauland
2010-09-19 18:23 ` Eric Schulte
2010-09-19 23:33 ` Jambunathan K
2010-09-20 3:49 ` Eric Schulte [this message]
2010-09-20 6:51 ` Jambunathan K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871v8pdqha.fsf@gmail.com \
--to=schulte.eric@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=kjambunathan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).