From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: [babel] Enabling language mode for plantuml? Date: Fri, 03 Dec 2010 10:13:18 +0100 Message-ID: <4CF8B4AE.2070905@gmail.com> References: <4CF7709A.1090606@gmail.com> <874oaw7yif.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=44289 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PORhk-0003LB-3d for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 04:13:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PORhi-0003ol-II for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 04:13:24 -0500 Received: from mail-wy0-f169.google.com ([74.125.82.169]:48712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PORhi-0003oW-CX for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 04:13:22 -0500 Received: by wyj26 with SMTP id 26so1888413wyj.0 for ; Fri, 03 Dec 2010 01:13:21 -0800 (PST) In-Reply-To: <874oaw7yif.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: emacs-orgmode -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/02/2010 08:42 PM, Eric Schulte wrote: > Hi Rainer, Hi Eric, > > Try something like the following works nicely - thanks. > > #+begin_src emacs-lisp > (add-to-list 'org-src-lang-modes '("plantuml" . fundamental)) > #+end_src > > Perhaps the above code should be part of the ob-plantuml.el file. Yes. That would be useful. Is there an easy way of bringing some syntax highlighting and comments character into the C' buffer? Rainer > > Best -- Eric > > Rainer M Krug writes: > >> Hi >> >> I would like to be able to edit code blocks of plantuml via C-', but I >> get the message >> No such language mode: plantuml-mode >> >> Is there an easy way of defining this new language mode, so that I can >> edit it via C-'? >> I don't need syntax highlighting at the moment, although ' as the >> comment character would be nice. >> >> Thanks, >> >> Rainer - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Natural Sciences Building Office Suite 2039 Stellenbosch University Main Campus, Merriman Avenue Stellenbosch South Africa Tel: +33 - (0)9 53 10 27 44 Cell: +27 - (0)8 39 47 90 42 Fax (SA): +27 - (0)8 65 16 27 82 Fax (D) : +49 - (0)3 21 21 25 22 44 Fax (FR): +33 - (0)9 58 10 27 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkz4tK4ACgkQoYgNqgF2egpmEwCeL2LSCALKzyKQ8eIhkfzoeKSh AYMAninhOQtKyecyKxZ1qapgBYJ5jCwy =zoWi -----END PGP SIGNATURE-----