From: mah@everybody.org (Mark A. Hershberger)
Cc: brucer@veriwave.com
Subject: Re: cperl-mode 4.32
Date: Sun, 06 Jun 2004 17:29:42 -0400 [thread overview]
Message-ID: <87brjwfk8p.fsf@weblog.localhost> (raw)
In-Reply-To: 20040603212214.D553667656@ion171.veriwave.com
local yokel <brucer@veriwave.com> writes:
> using cperl-mode, indent region moves top-level sub braces
> in 4(?) spaces, then M-C-a cannot find them.
>
> -------cut----------
> #!/usr/bin/perl -w
>
> sub a
> {
> }
> -------cut----------
> indent-region moves braces right 4(?) spaces
defun-prompt-regexp is set to
"^[ \t]*sub[ \t]+\\([^ \t\n{(;]+\\)\\([ \t]*([^()]*)[ \t]*\\)?[ \t]*)"
Changing it to
"^[ \t]*sub[ \t\n]+\\([^ \t\n{(;]+\\)\\([ \t\n]*([^()]*)[ \t\n]*\\)?[ \t\n]*)"
fixes the problem.
Mark.
--
A choice between one man and a shovel, or a dozen men with teaspoons
is clear to me, and I'm sure it is clear to you also.
-- Zimran Ahmed <http://www.winterspeak.com/>
prev parent reply other threads:[~2004-06-06 21:29 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-03 21:22 cperl-mode 4.32 local yokel
2004-06-06 21:29 ` Mark A. Hershberger [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87brjwfk8p.fsf@weblog.localhost \
--to=mah@everybody.org \
--cc=brucer@veriwave.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.