From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: SOLVED: source code block language 'makefile' and listings package Date: Wed, 09 Jul 2014 09:25:34 +0200 Message-ID: References: <87k37oaye2.fsf@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4mGF-0003uX-7e for emacs-orgmode@gnu.org; Wed, 09 Jul 2014 03:25:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X4mG7-00053I-2u for emacs-orgmode@gnu.org; Wed, 09 Jul 2014 03:25:50 -0400 Received: from mail-wg0-f51.google.com ([74.125.82.51]:40824) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X4mG6-00053C-Tc for emacs-orgmode@gnu.org; Wed, 09 Jul 2014 03:25:43 -0400 Received: by mail-wg0-f51.google.com with SMTP id y10so2215246wgg.10 for ; Wed, 09 Jul 2014 00:25:42 -0700 (PDT) In-Reply-To: <87k37oaye2.fsf@gmail.com> (Nick Dokos's message of "Tue, 08 Jul 2014 07:22:13 -0400") 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Nick Dokos Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Nick Dokos writes: > Rainer M Krug writes: > > >> Much simpler then that: I simply changed the variable >> org-latex-listings-langs to include makefile: >> >> ,---- >> | (setq org-latex-listings-langs=20 >> | '((emacs-lisp "Lisp")=20 > ... >> | (makefile "make"))) >> `---- >> >> Works perfectly. >> >> Now if I just could figure out on how I can simply *add* the makefile to >> the list without defining it completely new.. >> > > (setq org-latex-listings-langs > (append org-latex-listings-langs '((makefile "make")))) Perfect - thanks. I would actually suggest to add this to the default of the variable definition. Will submit a patch later today. Thanks, Rainer =2D-=20 Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology,= UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug PGP: 0x0F52F982 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBAgAGBQJTvO5yAAoJENvXNx4PUvmClfwH/3l2SBKQrd7F2MIRdZi3606n YzCWaRGwJLQBGi+ytbY4FTlEk3IlCYGb2zFJHQYlSxGgHar/lSVTk59iUj/Z12w/ TiGB/uYNtX/Sv/Wa56RoNIFrWkhmzbv+S181e4nsvDdi68Ikcco7LMLfdXrd6RjO mpUmlSGf9wlHoD5/Ja4A+s8twOOrO8fNkBiQEtWA2T1Yy8Rn5ponJdb9630S8KP8 T6OTHLfPq92ukb3NDzlI8T7oT++9TdPGaVA3Kc6bVC7zsgcHPtNxVeN61/Kk3y9X BnrFFn+8lfKItJppvXgNfMedZnBeFGsdWpxjGTbibDFJHkCCZKn1n9EdI17b+Ac= =LmS8 -----END PGP SIGNATURE----- --=-=-=--