Package: lua-mode
Version: 20071122-1
Severity: wishlist
It would be nice if lua-mode understood long-bracket literal strings.
According to http://www.lua.org/manual/5.1/manual.html#2.1 --
Literal strings can also be defined using a long format enclosed by
long brackets. We define an opening long bracket of level n as an
opening square bracket followed by n equal signs followed by another
opening square bracket. So, an opening long bracket of level 0 is
written as [[, an opening long bracket of level 1 is written as
[=[, and so on. A closing long bracket is defined similarly; for
instance, a closing long bracket of level 4 is written as ]====].
A long string starts with an opening long bracket of any level and
ends at the first closing long bracket of the same level. Literals in
this bracketed form may run for several lines, do not interpret any
escape sequences, and ignore long brackets of any other level. They
may contain anything except a closing bracket of the proper level.
So for instance, lua-mode should treat everything between the [[ and the ]]
in this fragment as a string:
variable = [[
some text here
on multiple lines
includes lua keywords, like 'if'
and english's unbalanced apostrophes]]
thanks
zw
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.24-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages lua-mode depends on:
ii emacs22-gtk [emacsen] 22.1+1-2.3 The GNU Emacs editor (with GTK use
lua-mode recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]