unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Paren Numbers
@ 2003-03-02  6:58 Artist
  2003-03-02 12:14 ` Alex Schroeder
  2003-03-02 14:25 ` Kai Großjohann
  0 siblings, 2 replies; 3+ messages in thread
From: Artist @ 2003-03-02  6:58 UTC (permalink / raw)


Hi, 
 I code in LISP and Perl and I like to know How I can number the
parans temporarily. Especially when having compiler error in perl,
some time I have to guess where I am missing the parens. So if there
are numbering.. ie..

{ some test
  { somet other text
    }
}

should be converted

{1 some text
   {2 
      some other text
    2}
1}

that would be useful.

Thanks,
Artist

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Paren Numbers
  2003-03-02  6:58 Paren Numbers Artist
@ 2003-03-02 12:14 ` Alex Schroeder
  2003-03-02 14:25 ` Kai Großjohann
  1 sibling, 0 replies; 3+ messages in thread
From: Alex Schroeder @ 2003-03-02 12:14 UTC (permalink / raw)


googleartist@yahoo.com (Artist) writes:

>  I code in LISP and Perl and I like to know How I can number the
> parans temporarily. Especially when having compiler error in perl,
> some time I have to guess where I am missing the parens. So if there
> are numbering.. ie..

I use C-M-p and C-M-n for this kind of thing, as well as M-x
show-paren-mode.

Alex.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Paren Numbers
  2003-03-02  6:58 Paren Numbers Artist
  2003-03-02 12:14 ` Alex Schroeder
@ 2003-03-02 14:25 ` Kai Großjohann
  1 sibling, 0 replies; 3+ messages in thread
From: Kai Großjohann @ 2003-03-02 14:25 UTC (permalink / raw)


googleartist@yahoo.com (Artist) writes:

>  I code in LISP and Perl and I like to know How I can number the
> parans temporarily. Especially when having compiler error in perl,
> some time I have to guess where I am missing the parens. So if there
> are numbering.. ie..

I suggest to do C-x h C-M-\.  Then Emacs will show you where the
missing paren is, because of wrong indenting.
-- 
A preposition is not a good thing to end a sentence with.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-03-02 14:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-02  6:58 Paren Numbers Artist
2003-03-02 12:14 ` Alex Schroeder
2003-03-02 14:25 ` Kai Großjohann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).