unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* cperl-mode: paren-bounce aware of "within quotes or not"?  DOC it?
@ 2006-04-10 22:36 David Combs
  0 siblings, 0 replies; only message in thread
From: David Combs @ 2006-04-10 22:36 UTC (permalink / raw)


cperl-mode: paren-bounce aware of "within quotes or not"?  DOC it?

eg in:  |||print("\nOOPS!!!! (hello\n");|||
, the right-paren (just before the semicolon) paren-balances
the left-paren just after the "print".
That is, the the left-paren WITHIN the quotes is invisible.

But, flip that right-paren left one char, to being inside the
quoted-string, and it instead *now* matches the left-paren
that's *within* the quotes, and leaves one one after the
print UN-matched.

Very nice indeed!

But you'd like to be told of the "(possibly a) mismatch" that's
WITHIN the quotes.   (You don't know that it's really a mismatch --
after all, it might be within the string "Here is a left-paren: (" --
but you'd (maybe) like your attention pointed at that possibility, no?




Here's the dired-line for my cperl-mode:

  -rw-r--r--    1 dkc      other      263359 Mar 25  2005 cperl-mode.el

, from which maybe you can figure out the version.

Thanks,

David

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-10 22:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-10 22:36 cperl-mode: paren-bounce aware of "within quotes or not"? DOC it? David Combs

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).