emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Robert Klein <roklein@roklein.de>
To: Xebar Saram <zeltakc@gmail.com>
Cc: org mode <emacs-orgmode@gnu.org>
Subject: Re: dotfile managment with #+BEGIN_SRC conf code blocks?
Date: Fri, 22 Apr 2016 11:11:56 +0200	[thread overview]
Message-ID: <20160422111156.201b89ae@pckr186.mpip-mainz.mpg.de> (raw)
In-Reply-To: <CAOQHXPr87BGr4b1NAYrDwcGkq5jyOzNzpW6V2C-qqOBn15GkNA@mail.gmail.com>

Hi,

Xebar Saram <zeltakc@gmail.com> wrote:

> hi all
> 
> im looking at this link
> https://expoundite.net/guides/dotfile-management
> 
> this sound very nice. yet it says there to put your conf in org
> blocks with :  #+BEGIN_SRC conf
> 
> yet i cant see this in the org-babel-load-languages or in any contrib
> files.
> how does one enable the conf code blocks, any clue?

Afaik you need babel only for stuff you want to be executed.

I use ``#+begin_src conf'' all the time and the only thing I do is to
assign a language name for LaTeX export (using the listings package)
-- also for ``text'' and ``org'':

;; add "text" and "conf" to latex-listings-langs with empty (space as
;; trick) language name to be used in the LaTeX listings package.
(add-to-list 'org-latex-listings-langs
             '(text " "))
(add-to-list 'org-latex-listings-langs
             '(conf " "))
(add-to-list 'org-latex-listings-langs
             '(nxml "XML"))
(add-to-list 'org-latex-listings-langs
             '(org " "))


Best regards
Robert

  reply	other threads:[~2016-04-22  9:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-22  8:48 dotfile managment with #+BEGIN_SRC conf code blocks? Xebar Saram
2016-04-22  9:11 ` Robert Klein [this message]
2016-04-22  9:30   ` Xebar Saram
2016-04-22 10:13 ` Adam Porter

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=20160422111156.201b89ae@pckr186.mpip-mainz.mpg.de \
    --to=roklein@roklein.de \
    --cc=emacs-orgmode@gnu.org \
    --cc=zeltakc@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).