[Emacs] paired parenthesis
Von: Bernhard Kleine (bbfk@gmx.net) [Profil]
Datum: 14.04.2008 14:13
Message-ID: <pan.2008.04.14.12.13.41@gmx.net>
Newsgroup: de.comp.editoren
Datum: 14.04.2008 14:13
Message-ID: <pan.2008.04.14.12.13.41@gmx.net>
Newsgroup: de.comp.editoren
Hi,
after the last thread which ended so successfully I would like to ask how
difficult is to add something which introduces a feature which testes
whether parenthesis are matched:
Crtl-C-{ opens {} and Ctrl-C-} finishes the braces.
I would like to have
Ctrl-C-( to open () and Ctrl-C-) to jump just behind the ). Since I have
never used Lisp I feel lost.
The reason for asking this is the following:
Using matched parenthesis only works on the current display. In the
moment when a parenthesis moves out of the screen, the matching is lost.
I intend to construct a couple of phylogenetic trees using newick-format
which mostly consists of parentheses, colons and commata. These trees I
would like to construct with proper identation according to the level of
subtrees (so far I had reached level 20). A feature I just described
would be extremely helpfull since even with the smallest font used while
editing, more than one screen is definitely necessary and I would never
see matching pairs for the first or second level.
The Ctrl-C-{, I have been using for quite some time, the Ctrl-C-} I just
learned from Learning Emacs by Cameron (3rd ed.). A validate-feature
would also be very much appreciated.
Thanks a lot for reading
Bernhard
[ Auf dieses Posting antworten ]Antworten
- Tassilo Horn (14.04.2008 15:32)
- bernhard (15.04.2008 17:30)
