emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* creating new #+KEYWORD: variables
@ 2018-11-09  3:32 Matt Price
  2018-11-09  9:29 ` Diego Zamboni
  2018-11-10  7:22 ` Nicolas Goaziou
  0 siblings, 2 replies; 10+ messages in thread
From: Matt Price @ 2018-11-09  3:32 UTC (permalink / raw)
  To: Org Mode

[-- Attachment #1: Type: text/plain, Size: 993 bytes --]

I am writing this interface to my university's learning management system:
https://github.com/titaniumbones/Org-Marking-Mode/tree/use-structured-course-def.
I am only using hte exporting system tangentially and I have not defined a
new exporter. However, I would really like to be able to set some variable
values in the header section of hte document, e.g.:

#+ORG_LMS_COURSE: becomingmodern

or

#+PROPERTY: org-lms-course hackinghistory

I thought the latter might work but (org-entry-get-with-inheritance
"org-lms-course) and (org-entry-get-with-inheritance "ORG_LMS_COURSE") both
return nil.  The former is in any case somewhat cleaner-looking but I am
not finding in the manual an instructions on how to add my own keywords.
Is it possible to do this? I can of course always set a buffer-local
variable in a src block, e.g.:
#+begin_src emacs-lisp
(setq org-lms-course 'becomingmodern)
#+end_src.

but I would like to be able to avoid that where possible.

Thanks for the help as usual!

[-- Attachment #2: Type: text/html, Size: 1386 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-11-15 19:52 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-09  3:32 creating new #+KEYWORD: variables Matt Price
2018-11-09  9:29 ` Diego Zamboni
2018-11-10  2:24   ` Matt Price
2018-11-10  7:22 ` Nicolas Goaziou
2018-11-10 16:17   ` Matt Price
2018-11-10 17:11     ` John Kitchin
2018-11-10 18:58       ` Nicolas Goaziou
2018-11-15 12:15         ` Matt Price
2018-11-15 19:51           ` John Kitchin
2018-11-12  9:11   ` Diego Zamboni

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