From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-babel-load-file misleading function name, wrong behavior
Date: Thu, 18 Sep 2014 11:07:50 -0400 [thread overview]
Message-ID: <87fvfpt1a1.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: 541A9026.5000402@neutrico-themes.pl
Marcin Antczak <marcin.antczak@neutrico-themes.pl> writes:
> Hi,
>
> I would like to suggest changing the name to 'org-babel-load-lisp' as
> current name of this function doesn't emphasise that it can tangle and
> load "emacs-lisp" code blocks only.
>
> Another problem is that currently 'compile' option is performed every time.
> Which is plain wrong.
>
> Compile option is supposed to improve load time and should be
> performed only when it's neccessary.
>
>
The name was probably picked in analogy to the corresponding emacs-lisp
function `load-file' which also loads lisp files only. The latter is
much too well entrenched to ever consider renaming. The org-babel
version is certainly not, so renaming it is a possibility, although IMO
it's a hassle without much payoff: C-h f org-babel-load-file tells you
what you need to know.
Nick
prev parent reply other threads:[~2014-09-18 16:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-18 7:56 org-babel-load-file misleading function name, wrong behavior Marcin Antczak
2014-09-18 15:07 ` Nick Dokos [this message]
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=87fvfpt1a1.fsf@alphaville.bos.redhat.com \
--to=ndokos@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).