emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Rainer M Krug <r.m.krug@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: [babel] Enabling language mode for plantuml?
Date: Thu, 02 Dec 2010 12:42:00 -0700	[thread overview]
Message-ID: <874oaw7yif.fsf@gmail.com> (raw)
In-Reply-To: <4CF7709A.1090606@gmail.com> (Rainer M. Krug's message of "Thu, 02 Dec 2010 11:10:34 +0100")

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 <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

  reply	other threads:[~2010-12-02 19:42 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 [this message]
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
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=874oaw7yif.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=r.m.krug@gmail.com \
    /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).