From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Re: [babel] Enabling language mode for plantuml? Date: Fri, 03 Dec 2010 16:08:49 +0100 Message-ID: <4CF90801.2000107@gmail.com> References: <4CF7709A.1090606@gmail.com> <82zksnjdoq.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=45698 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POXFu-0003J3-4m for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 10:09:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POXFl-0004kj-RP for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 10:09:01 -0500 Received: from mail-ww0-f41.google.com ([74.125.82.41]:48071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POXFl-0004js-G4 for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 10:08:53 -0500 Received: by wwi18 with SMTP id 18so1148150wwi.0 for ; Fri, 03 Dec 2010 07:08:52 -0800 (PST) In-Reply-To: <82zksnjdoq.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: zwz Cc: emacs-orgmode@gnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 12/03/2010 12:31 PM, zwz wrote: > 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 > Hi, Rainer > > I wrote a plantuml-mode, which is now not perfect but usable. > It is available on: > http://zhangweize.wordpress.com/2010/09/20/update-plantuml-mode/ > > Just copy the code and save it as "plantuml-mode.el" in a path where > emacs finds its libraries. Just a quick question: whenever I add the line #+begin_src emacs-lisp (load-file "~/.emacs.d/site-lisp/plantuml-mode.el") #+end_src to load the plantuml-mode into my emacs.org file, the message window opens when starting emacs --- when I comment it out, it doesn't. Am I doing something wrong here? Rainer > > Best regards, > zwz > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - -- 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/ iEYEARECAAYFAkz5CAEACgkQoYgNqgF2egqiWQCfYLNcIyxacLrf4JROLtTqE811 TOwAniWnZ/HIjswppuiKATa/4/ngzbRY =P0Qv -----END PGP SIGNATURE-----