unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* cperl-mode 4.32
@ 2004-06-03 21:22 local yokel
  2004-06-06 21:29 ` Mark A. Hershberger
  0 siblings, 1 reply; 2+ messages in thread
From: local yokel @ 2004-06-03 21:22 UTC (permalink / raw)


This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English, because the Emacs maintainers do not have
translators to read other languages for them.

Your bug report will be posted to the bug-gnu-emacs@gnu.org mailing list,
and to the gnu.emacs.bug news group.

In GNU Emacs 21.3.1 (i586-suse-linux, X toolkit, Xaw3d scroll bars)
 of 2003-10-02 on D45
configured using `configure '--with-gcc' '--with-pop' '--with-system-malloc' '--prefix=/usr' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--with-x' '--with-xpm' '--with-jpeg' '--with-tiff' '--with-gif' '--with-png' '--with-x-toolkit=lucid' '--x-includes=/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib' 'i586-suse-linux' 'CC=gcc' 'CFLAGS=-O2 -march=i586 -mcpu=i686 -fmessage-length=0 -pipe 	 -DSYSTEM_PURESIZE_EXTRA=25000 	 -DSITELOAD_PURESIZE_EXTRA=10000 	 -D_GNU_SOURCE ' 'LDFLAGS=-s' 'build_alias=i586-suse-linux' 'host_alias=i586-suse-linux' 'target_alias=i586-suse-linux''
Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US
  locale-coding-system: iso-latin-1
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

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

WHO MAINTAINS cperl-mode? I'm willing to talk to them
if emacs is the wrong place.
ilya@math.ohio-state.edu bounces.

thanks very much,
Bruce


Recent input:
<return> M-x g r e p - f i n d <return> <escape> p 
C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b 
C-b C-b C-b C-b C-b C-b C-b i <return> C-x o C-n C-n 
C-n C-n C-n C-n f C-x o C-g C-x o C-x u <f5> <return> 
C-x 1 C-v <escape> < M-x b u g <tab> <backspace> <backspace> 
<backspace> e m <tab> C-g C-x k <return> C-x b <return> 
C-x C-b C-x o C-n C-n f i b u g <return> , , M-x r 
e p <tab> o r <tab> <return>

Recent messages:
unzipping emacs-1.gz...done
unzipping emacs-33.gz...done
unzipping emacs-34.gz...done
unzipping emacs-35.gz...done
unzipping emacs-36.gz...done
unzipping emacs-27.gz...done
Found `--debug-init' in Option Index.  (Press `,' for more)
Found `debug_print' in Command Index.  (Press `,' for more)
Found `report-emacs-bug' in Command Index.  (Press `,' for more)
Loading emacsbug...done

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

* Re: cperl-mode 4.32
  2004-06-03 21:22 cperl-mode 4.32 local yokel
@ 2004-06-06 21:29 ` Mark A. Hershberger
  0 siblings, 0 replies; 2+ messages in thread
From: Mark A. Hershberger @ 2004-06-06 21:29 UTC (permalink / raw)
  Cc: brucer

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/>

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

end of thread, other threads:[~2004-06-06 21:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-03 21:22 cperl-mode 4.32 local yokel
2004-06-06 21:29 ` Mark A. Hershberger

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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