D
David Combs
subject: (Ilya?) cperl-mode.el and strings like ||"\"$foo\""|| *within a string*?
The following lines, to me, seem absolutely identical.
But stick them into a file foo.pl, with cperl-mode, and I find
here on my computer that although when you put the cursor
on the right-paren just before the semicolon, it will
(a) (properly) turn both it and the matching left-paren green,
(b) except not on the sixth one (and beyond).
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
But what's different between the 5th and 6th line? I say nothing is
different between them.
Likewise, ediff-buffers agrees (when I take the two lines and put them
into two files, one line each).
I HAVE NO CLUE AS TO WHAT IS HAPPENING!
Does anyone?
Thanks!
David
PS: Anyone knonw how to find out what version of eg cperl-mode
a buffer is using? Or where the .el-file was actually found?
(No, I don't mean to just look at .../lisp/cperl-mode.el --
suppose you've also done a M-x load-file for one located in eg your
own directory -- and you aren't sure just where the one
actually being used came from, and want to find out precisely.)
The following lines, to me, seem absolutely identical.
But stick them into a file foo.pl, with cperl-mode, and I find
here on my computer that although when you put the cursor
on the right-paren just before the semicolon, it will
(a) (properly) turn both it and the matching left-paren green,
(b) except not on the sixth one (and beyond).
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
| print("\$aryOfAliasObjRefs[\$numAliases]->{name} is \"");
But what's different between the 5th and 6th line? I say nothing is
different between them.
Likewise, ediff-buffers agrees (when I take the two lines and put them
into two files, one line each).
I HAVE NO CLUE AS TO WHAT IS HAPPENING!
Does anyone?
Thanks!
David
PS: Anyone knonw how to find out what version of eg cperl-mode
a buffer is using? Or where the .el-file was actually found?
(No, I don't mean to just look at .../lisp/cperl-mode.el --
suppose you've also done a M-x load-file for one located in eg your
own directory -- and you aren't sure just where the one
actually being used came from, and want to find out precisely.)