emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: [babel] Enabling language mode for plantuml?


From: zwz
Subject: [Orgmode] Re: [babel] Enabling language mode for plantuml?
Date: Sun, 05 Dec 2010 15:20:17 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt)

Rainer M Krug <address@hidden> writes:

> On 12/03/2010 12:31 PM, zwz wrote:
>> Rainer M Krug <address@hidden> 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
>
try (require 'plantuml-mode)

btw, you should have the latest plantuml.jar




reply via email to

[Prev in Thread] Current Thread [Next in Thread]