From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xebar Saram Subject: Re: dotfile managment with #+BEGIN_SRC conf code blocks? Date: Fri, 22 Apr 2016 12:30:31 +0300 Message-ID: References: <20160422111156.201b89ae@pckr186.mpip-mainz.mpg.de> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0826946f082a05310f7a91 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58140) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atXQ1-00020E-Nh for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 05:30:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1atXQ0-00071P-F2 for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 05:30:33 -0400 Received: from mail-yw0-x235.google.com ([2607:f8b0:4002:c05::235]:36098) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1atXQ0-00071E-8u for emacs-orgmode@gnu.org; Fri, 22 Apr 2016 05:30:32 -0400 Received: by mail-yw0-x235.google.com with SMTP id o66so116833923ywc.3 for ; Fri, 22 Apr 2016 02:30:32 -0700 (PDT) In-Reply-To: <20160422111156.201b89ae@pckr186.mpip-mainz.mpg.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Robert Klein Cc: org mode --94eb2c0826946f082a05310f7a91 Content-Type: text/plain; charset=UTF-8 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 wrote: > 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 > --94eb2c0826946f082a05310f7a91 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
got it, since im not executing stuff calling=C2=A0org-babe= l-tangle works now as expected

thx!

=
Z

On Fri, Apr 22, 2016 at 12:11 PM, Robert Klein <roklein@roklein.de&g= t; wrote:
Hi,

Xebar Saram <zeltakc@gmail.com&= gt; wrote:

> hi all
>
> im looking at this link
> https://expoundite.net/guides/dotfile-managemen= t
>
> this sound very nice. yet it says there to put your conf in org
> blocks with :=C2=A0 #+BEGIN_SRC conf
>
> yet i cant see this in the org-babel-load-languages or in any contrib<= br> > 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 e= mpty (space as
;; trick) language name to be used in the LaTeX listings package.
(add-to-list 'org-latex-listings-langs
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'(text " "))<= br> (add-to-list 'org-latex-listings-langs
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'(conf " "))<= br> (add-to-list 'org-latex-listings-langs
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'(nxml "XML")= )
(add-to-list 'org-latex-listings-langs
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0'(org " "))

Best regards
Robert

--94eb2c0826946f082a05310f7a91--