emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: zwz <zhangweize@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [babel] Enabling language mode for plantuml?
Date: Sun, 05 Dec 2010 15:20:17 +0800	[thread overview]
Message-ID: <82k4jou1n2.fsf@gmail.com> (raw)
In-Reply-To: 4CF90801.2000107@gmail.com

Rainer M Krug <r.m.krug@gmail.com> writes:

> On 12/03/2010 12:31 PM, zwz wrote:
>> Rainer M Krug <r.m.krug@gmail.com> 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	other threads:[~2010-12-05  7:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-02 10:10 [babel] Enabling language mode for plantuml? Rainer M Krug
2010-12-02 19:42 ` Eric Schulte
2010-12-03  9:13   ` Rainer M Krug
2010-12-03 11:31 ` zwz
2010-12-03 12:09   ` Rainer M Krug
2010-12-05  7:28     ` zwz
2010-12-03 15:08   ` Rainer M Krug
2010-12-05  7:20     ` zwz [this message]
2010-12-05 14:47     ` Eric Schulte

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=82k4jou1n2.fsf@gmail.com \
    --to=zhangweize@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).