From mboxrd@z Thu Jan 1 00:00:00 1970 From: zwz Subject: Re: [babel] Enabling language mode for plantuml? Date: Fri, 03 Dec 2010 19:31:01 +0800 Message-ID: <82zksnjdoq.fsf@gmail.com> References: <4CF7709A.1090606@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=51572 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POTrA-00087U-0S for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 06:31:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POTr9-0000ca-3U for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 06:31:15 -0500 Received: from lo.gmane.org ([80.91.229.12]:53814) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POTr8-0000cV-S8 for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 06:31:15 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1POTr8-0005FO-2B for emacs-orgmode@gnu.org; Fri, 03 Dec 2010 12:31:14 +0100 Received: from 221.12.171.112 ([221.12.171.112]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Dec 2010 12:31:14 +0100 Received: from zhangweize by 221.12.171.112 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 03 Dec 2010 12:31:14 +0100 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: emacs-orgmode@gnu.org 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. Best regards, zwz