emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* dotfile managment with #+BEGIN_SRC conf code blocks?
@ 2016-04-22  8:48 Xebar Saram
  2016-04-22  9:11 ` Robert Klein
  2016-04-22 10:13 ` Adam Porter
  0 siblings, 2 replies; 4+ messages in thread
From: Xebar Saram @ 2016-04-22  8:48 UTC (permalink / raw)
  To: org mode

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

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

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

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

* Re: dotfile managment with #+BEGIN_SRC conf code blocks?
  2016-04-22  8:48 dotfile managment with #+BEGIN_SRC conf code blocks? Xebar Saram
@ 2016-04-22  9:11 ` Robert Klein
  2016-04-22  9:30   ` Xebar Saram
  2016-04-22 10:13 ` Adam Porter
  1 sibling, 1 reply; 4+ messages in thread
From: Robert Klein @ 2016-04-22  9:11 UTC (permalink / raw)
  To: Xebar Saram; +Cc: org mode

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

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

* Re: dotfile managment with #+BEGIN_SRC conf code blocks?
  2016-04-22  9:11 ` Robert Klein
@ 2016-04-22  9:30   ` Xebar Saram
  0 siblings, 0 replies; 4+ messages in thread
From: Xebar Saram @ 2016-04-22  9:30 UTC (permalink / raw)
  To: Robert Klein; +Cc: org mode

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

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 Klein <roklein@roklein.de> wrote:

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

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

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

* Re: dotfile managment with #+BEGIN_SRC conf code blocks?
  2016-04-22  8:48 dotfile managment with #+BEGIN_SRC conf code blocks? Xebar Saram
  2016-04-22  9:11 ` Robert Klein
@ 2016-04-22 10:13 ` Adam Porter
  1 sibling, 0 replies; 4+ messages in thread
From: Adam Porter @ 2016-04-22 10:13 UTC (permalink / raw)
  To: emacs-orgmode


The conf-mode package may also be useful.  I get syntax highlighting in
conf blocks just by having it installed.

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

end of thread, other threads:[~2016-04-22 10:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-22  8:48 dotfile managment with #+BEGIN_SRC conf code blocks? Xebar Saram
2016-04-22  9:11 ` Robert Klein
2016-04-22  9:30   ` Xebar Saram
2016-04-22 10:13 ` Adam Porter

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