Re: [O] dotfile managment with #+BEGIN_SRC conf code blocks?
The conf-mode package may also be useful. I get syntax highlighting in conf blocks just by having it installed.
Re: [O] dotfile managment with #+BEGIN_SRC conf code blocks?
got it, since im not executing stuff calling org-babel-tangle works now as expected thx! Z On Fri, Apr 22, 2016 at 12:11 PM, Robert Kleinwrote: > Hi, > > Xebar Saram 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 >
Re: [O] dotfile managment with #+BEGIN_SRC conf code blocks?
Hi, Xebar Saramwrote: > 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
[O] dotfile managment with #+BEGIN_SRC conf code blocks?
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? best z