all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
To: help-gnu-emacs@gnu.org
Subject: Re: CPerl Indentation after subs with print in their names
Date: Fri, 23 Nov 2007 08:41:54 +0000 (UTC)	[thread overview]
Message-ID: <fi63oi$213p$1@agate.berkeley.edu> (raw)
In-Reply-To: 85zlx6qlid.fsf@usenet.my.skamphausen.de

[A complimentary Cc of this posting was sent to
Stefan Kamphausen 
<skampi@gmx.net>], who wrote in article <85zlx6qlid.fsf@usenet.my.skamphausen.de>:
> # here indentation is OK
> sub print_something {
>     print "Something\n";
> }
>   # but here not ??
> ----------------------------------------------------------------------
> 
> If I remove the "print_" from the the name of the subroutine
> everything indents correctly.  I tried a few other special words from
> the Perl language:
> 
> Function   Indentation
> printf     wrong
> while      OK

> Gnu Emacs 22.1.1, cperl-version 5.22.

I suspect that Emacsen come with broken cperl-mode.  See
ilyaz.org/software/emacs

Hope this helps,
Ilya

  reply	other threads:[~2007-11-23  8:41 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-22 16:43 CPerl Indentation after subs with print in their names Stefan Kamphausen
2007-11-23  8:41 ` Ilya Zakharevich [this message]
2007-11-23  9:40   ` Stefan Kamphausen
2007-11-23 23:19     ` Ilya Zakharevich
2007-11-26  8:21       ` Stefan Kamphausen
2007-11-26 23:05         ` Ilya Zakharevich
2007-11-27  8:14           ` Stefan Kamphausen
2007-11-28  9:05             ` Tim X
2007-12-16 18:41             ` David Combs
2007-12-16 20:21               ` Ilya Zakharevich

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='fi63oi$213p$1@agate.berkeley.edu' \
    --to=nospam-abuse@ilyaz.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.