unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: bojohan+news@dd.chalmers.se (Johan Bockgård)
To: help-gnu-emacs@gnu.org
Subject: Re: spaces before function calls in perl
Date: Tue, 11 Mar 2008 12:49:53 +0100	[thread overview]
Message-ID: <yoijskyxlbtq.fsf@remote2.student.chalmers.se> (raw)
In-Reply-To: mailman.8676.1205186600.18990.help-gnu-emacs@gnu.org

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	other threads:[~2008-03-11 11:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.8676.1205186600.18990.help-gnu-emacs@gnu.org>
2008-03-11 11:49 ` Johan Bockgård [this message]
2008-03-10 22:00 spaces before function calls in perl Karl Berry
2008-03-11  6:38 ` Andreas Röhler

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yoijskyxlbtq.fsf@remote2.student.chalmers.se \
    --to=bojohan+news@dd.chalmers.se \
    --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.
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).