[Top][All Lists]

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

Re: Matching Braces

From: F. Xavier Noria
Subject: Re: Matching Braces
Date: Thu, 26 Oct 2000 11:03:48 +0200 (CEST)

On Sat, 26 Aug 2000, Srinivas R Chidumalla wrote:

;   How to find which is the matching bracket in emacs/ xemacs.  For 'C' and
; also for Java (JDE).

To jump to the bracket matching the one under the cursor you can use
forward-sexp and backward-sexp, bound to M-C-f and M-C-b by default.

Also, you can see the matching pair highlighted at once without jumps
turning on show-paren-mode. As you want this for C-like modes

   (add-hook 'c-mode-common-hook
             '(lambda ()
                (show-paren-mode 1)))

would turn it on automatically.


-- Xavier

reply via email to

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