* indentation mode of custom file format
@ 2012-06-15 20:45 Luis Kornblueh
0 siblings, 0 replies; only message in thread
From: Luis Kornblueh @ 2012-06-15 20:45 UTC (permalink / raw)
To: help-gnu-emacs
Hello,
I need some help. I have no idea on how to program in Lisp. I managed to
get a highlighting
mode working for an simple file format as derived mode of sh-mode, but
do not manage at all
to get an indentation mode. The file format looks like:
# comments
text
text
[level1]
text
text
[[level2]]
text
[[[level3]]]
text
# comment
[[level2]]
text
[level1]
text
{% comment %}
[[level2]]
text """
text
text
"""
[[[level3]]]
text
and should be indented with spaces as shown. It would be great, if
someone could help me.
I found plenty of examples with opening/closing structures, but none,
with such an format.
Thanks a lot,
Luis
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-06-15 20:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-15 20:45 indentation mode of custom file format Luis Kornblueh
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.