[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] [babel] Enabling language mode for plantuml?
From: |
Rainer M Krug |
Subject: |
Re: [Orgmode] [babel] Enabling language mode for plantuml? |
Date: |
Fri, 03 Dec 2010 10:13:18 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.14pre) Gecko/20101201 Lightning/1.0b2 Shredder/3.1.8pre |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/02/2010 08:42 PM, Eric Schulte wrote:
> Hi Rainer,
Hi Eric,
>
> Try something like the following
works nicely - thanks.
>
> #+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.
Yes. That would be useful.
Is there an easy way of bringing some syntax highlighting and comments
character into the C' buffer?
Rainer
>
> Best -- Eric
>
> 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
- --
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa
Tel: +33 - (0)9 53 10 27 44
Cell: +27 - (0)8 39 47 90 42
Fax (SA): +27 - (0)8 65 16 27 82
Fax (D) : +49 - (0)3 21 21 25 22 44
Fax (FR): +33 - (0)9 58 10 27 44
email: address@hidden
Skype: RMkrug
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkz4tK4ACgkQoYgNqgF2egpmEwCeL2LSCALKzyKQ8eIhkfzoeKSh
AYMAninhOQtKyecyKxZ1qapgBYJ5jCwy
=zoWi
-----END PGP SIGNATURE-----