From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: [babel] Enabling language mode for plantuml? Date: Thu, 02 Dec 2010 12:42:00 -0700 Message-ID: <874oaw7yif.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=34561 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1POF2c-00062M-AA for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 14:42:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1POF2b-0007LX-DJ for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 14:42:06 -0500 Received: from mail-pw0-f41.google.com ([209.85.160.41]:53806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1POF2b-0007LL-8Z for emacs-orgmode@gnu.org; Thu, 02 Dec 2010 14:42:05 -0500 Received: by pwi6 with SMTP id 6so3850208pwi.0 for ; Thu, 02 Dec 2010 11:42:04 -0800 (PST) In-Reply-To: <4CF7709A.1090606@gmail.com> (Rainer M. Krug's message of "Thu, 02 Dec 2010 11:10:34 +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: Rainer M Krug Cc: emacs-orgmode Hi Rainer, Try something like the following #+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. 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