all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug with curly brace matching in perl mode
@ 2002-10-17  8:13 Sabuj Pattanayek
  2002-10-19 22:45 ` Richard Stallman
  0 siblings, 1 reply; 2+ messages in thread
From: Sabuj Pattanayek @ 2002-10-17  8:13 UTC (permalink / raw)


Emacs Version: 
21.2.1 (i386-msvc-nt5.1.2600) of 2002-03-19 on buffy

if you type something like this in perl mode (.pl file loaded):

sub foo {
    my ($bar) = @_;
    
    ${$bar}--;
}

Emacs does not match the } immediately after $bar with the { immediately
before $bar, but rather with the { after foo. But if you type

sub foo {
    my ($bar) = @_;
    
    $ {$bar}--;
} 

..that is put a space between the $ and { the next } matches just fine. I
know this is just picky, just wondering if you guys could do something
about this, thanks.

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

* Re: bug with curly brace matching in perl mode
  2002-10-17  8:13 bug with curly brace matching in perl mode Sabuj Pattanayek
@ 2002-10-19 22:45 ` Richard Stallman
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Stallman @ 2002-10-19 22:45 UTC (permalink / raw)
  Cc: bug-gnu-emacs

Perl mode has lots of problems in its syntax analysis.  Cperl mode is
an attempt to fix them; you might try that.  Unfortunately nobody is
currently maintaining either one.

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

end of thread, other threads:[~2002-10-19 22:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-17  8:13 bug with curly brace matching in perl mode Sabuj Pattanayek
2002-10-19 22:45 ` Richard Stallman

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.