From: Roman Kalinichenko <romankrv@gmail.com>
To: emacs-orgmode@gnu.org
Cc: Roman Kalinichenko <romankrv@gmail.com>
Subject: hard header-args in org-babel-load-file
Date: Sat, 15 Jun 2019 01:32:38 +0300 [thread overview]
Message-ID: <3D96EA63-B14F-41AE-8C7C-5FD2B466C086@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1247 bytes --]
Hello org-mode team !
I get the feature that make me so sad.
so I have settings.org file like this:
=====
#+BEGIN_SRC elisp
(setq mac-command-modifier 'meta)
#+END_SRC
#+BEGIN_SRC elisp
(provide 'settings)
#+END_SRC
#+PROPERTY: header-args:elisp :tangle ~/.emacs.d/elisp/settings.el
#+PROPERTY: header-args :results silent :eval no-export :comments org
#+OPTIONS: num:nil toc:nil todo:nil tasks:nil tags:nil
#+OPTIONS: skip:nil author:nil email:nil creator:nil timestamp:nil
#+INFOJS_OPT: view:nil toc:nil ltoc:t mouse:underline buttons:0 path:http://orgmode.org/org-info.js
=====
=====
init.el - like this:
(mapc #'org-babel-load-file (directory-files dotfiles-dir t "\\.org$"))
=====
but in definition of the function org-babel-load-file in org.el in line 243:
==
223 (defun org-babel-load-file (file &optional compile)
243 (car (last (org-babel-tangle-file file exported-file "emacs-lisp")))))
==
So, we have so hard definition "emacs-lisp”,
it have not allow us the custom header-args like -> #+PROPERTY: header-args:elisp :tangle ~/.emacs.d/elisp/settings.el
I think, It’s good idea to make that more flexible.
Thanking for fix it.
[-- Attachment #2: Type: text/html, Size: 2897 bytes --]
reply other threads:[~2019-06-14 22:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3D96EA63-B14F-41AE-8C7C-5FD2B466C086@gmail.com \
--to=romankrv@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.