all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenneth Wolcott <kennethwolcott@gmail.com>
To: tomas@tuxteam.de
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to change Perl mode indentation to two spaces and no tabs?
Date: Tue, 16 Jun 2015 06:31:41 -0700	[thread overview]
Message-ID: <CADex0xwLM-Ot7E4AgFoh_bs0HhMMAL2Jf1JvFUDyqcAvXj=T9w@mail.gmail.com> (raw)
In-Reply-To: <20150616072848.GA10736@tuxteam.de>

On Tue, Jun 16, 2015 at 12:28 AM,  <tomas@tuxteam.de> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Mon, Jun 15, 2015 at 09:38:06AM -0700, Kenneth Wolcott wrote:
>> HI;
>>
>>   I'd like to change the default indentation of the Emacs Perl mode
>> from four spaces (and tabs?) to be two spaces and no tabs.  How do I
>> do this?
>
> As an alternative way which might be more amenable to exploration, you
> might want to try Emacs' "customize" interface. Just type
>
>   M-x customize <ENTER>
>
> then follow the links "Programming" (you can click on the link or move
> point (aka "the cursor") and press <ENTER>), then "Languages", then
> "Perl". There you can set the values for all the settings Perl-Mode
> has.
>
> You can set those values just for the current session or set them
> permanently (in the last case Emacs writes those settings to your
> .emacs, so this method is compatible to what the other posters have
> recommended you.
>
> If you have set things "by hand" and via customize, you might want
> to have a look at your .emacs to consolidate things (no use in setting
> some variable twice, and in the long run it makes things unreadable).
>
> Customize: warmly recommended. And it's included!
>
> regards
> - -- tomás
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAlV/0DAACgkQBcgs9XrR2kZM6gCfVWg61GndJZe6w5fuCmvQc5It
> c+sAn2vT7GonDw9bQdSOG1H2BoAvfnAt
> =iw2g
> -----END PGP SIGNATURE-----

Thank you Tomas!



  reply	other threads:[~2015-06-16 13:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-15 16:38 How to change Perl mode indentation to two spaces and no tabs? Kenneth Wolcott
2015-06-16  7:28 ` tomas
2015-06-16 13:31   ` Kenneth Wolcott [this message]
     [not found] ` <mailman.5082.1434439741.904.help-gnu-emacs@gnu.org>
2015-06-16 21:48   ` Emanuel Berg
     [not found] <mailman.5054.1434389545.904.help-gnu-emacs@gnu.org>
2015-06-15 18:27 ` Emanuel Berg
2015-06-15 19:17   ` Kenneth Wolcott
2015-06-15 19:47     ` John Mastro
2015-06-15 19:58       ` Kenneth Wolcott
     [not found]       ` <mailman.5060.1434398291.904.help-gnu-emacs@gnu.org>
2015-06-15 20:10         ` Dan Espen
2015-06-15 20:53           ` Kenneth Wolcott
     [not found]           ` <mailman.5061.1434401625.904.help-gnu-emacs@gnu.org>
2015-06-15 22:51             ` Emanuel Berg
2015-06-15 23:48               ` Kenneth Wolcott
     [not found]               ` <mailman.5067.1434412130.904.help-gnu-emacs@gnu.org>
2015-06-16  0:48                 ` Emanuel Berg
2015-06-17  3:55                   ` Robert Thorpe

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='CADex0xwLM-Ot7E4AgFoh_bs0HhMMAL2Jf1JvFUDyqcAvXj=T9w@mail.gmail.com' \
    --to=kennethwolcott@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=tomas@tuxteam.de \
    /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.