[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jump between if-fi

From: reader
Subject: Re: jump between if-fi
Date: Mon, 31 Dec 2007 00:29:16 -0600
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux)

"Lennart Borgman (gmail)" <address@hidden> writes:

> address@hidden wrote:
>> I hope this isn't one of those things that is just plain obvious to
>> lookup in emacs but I'm striking out with M-x apropos
>> How can I make emacs do something similar with if-fi constructs as it
>> does with parens?
>> Even better I'd like the kind of behaviour one can get in vim with
>> parens, where not only does the syntax coloring show the other paren
>> but you can jump there with a Ctrl-%
> Maybe you mean %, not C-%?

Yes I did.

> You can in Emacs too, using Viper. But see
Thanks for those ... I knew some it but found some more.
But no, I don't want to try to turn emacs into vi so much as turn
emacs power loose on if-fi while-done etc constructs.

>> I know emacs can do that as well but not as easily.  But anyway, I use
>> emacs more and would like to turn its powers used in paren recognition
>> against the `if fi', `while done', `for done'... etc. one uses in
>> shell scripting.

That was my my main question and I didn't notice anything on those
sites about that... I hope I just missed it.

So still wondering how to get paren type actions to work on if-fi type
shell constructs.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]