help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: spaces before function calls in perl


From: Johan Bockgård
Subject: Re: spaces before function calls in perl
Date: Tue, 11 Mar 2008 12:49:53 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

karl@freefriends.org (Karl Berry) writes:

> The standard GNU style is to put spaces before function calls, and
> between function arguments, as in:
>
>   foo (1, 2, 3);
>
> Does anyone happen to know of a way to get these spaces inserted
> automatically (that is, when typing a "(" or ","), in a perl mode?  I
> can imagine some ways to hack it up, but it seemed like it might already
> exist.  I just couldn't find it.

M-( inserts a pair of parenthesis and the space.

-- 
Johan Bockgård


reply via email to

[Prev in Thread] Current Thread [Next in Thread]