From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Eric Schulte" Subject: Re: Re: [babel] Enabling language mode for plantuml? Date: Sun, 05 Dec 2010 07:47:30 -0700 Message-ID: <87r5dwz37h.fsf@gmail.com> References: <4CF7709A.1090606@gmail.com> <82zksnjdoq.fsf@gmail.com> <4CF90801.2000107@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=41080 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PPFv4-0005Ev-5D for emacs-orgmode@gnu.org; Sun, 05 Dec 2010 09:50:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PPFsL-0000CE-Ac for emacs-orgmode@gnu.org; Sun, 05 Dec 2010 09:48:18 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:33512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PPFsL-0000Bt-6c for emacs-orgmode@gnu.org; Sun, 05 Dec 2010 09:47:41 -0500 Received: by iwn33 with SMTP id 33so1958821iwn.0 for ; Sun, 05 Dec 2010 06:47:40 -0800 (PST) In-Reply-To: <4CF90801.2000107@gmail.com> (Rainer M. Krug's message of "Fri, 03 Dec 2010 16:08:49 +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@gnu.org, zwz Hi Rainer, The preferred method of adding support for a language is shown here http://orgmode.org/manual/Languages.html -- Eric Rainer M Krug writes: > 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