From: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: tabs with cperl-mode
Date: Wed, 08 Jun 2005 17:44:12 -0400 [thread overview]
Message-ID: <87br6gfrvi.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: mailman.3836.1118229884.25862.help-gnu-emacs@gnu.org
> hi everyone, I need to just use tabs for indentiation with emacs and
> cperl_mode to stick to our coding style guide. I've search quite a while
> but i didnt found anything that could help me.
> in http://www.gnu.org/software/emacs/manual/emacs.html#Just%20Spaces is
> decribed to use only spaces - i need the conserve way.
By default Emacs places TABs wherever it can when indenting lines.
So all you need to do is to make sure that it can always use TABs.
Since a TAB has a width corresponding to 8 characters, it means that you
should configure your major mode (in this case cperl-mode) to align
everything on multiples of 8. I.e. start by setting cperl-indent-level
to 8.
Stefan
next prev parent reply other threads:[~2005-06-08 21:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3836.1118229884.25862.help-gnu-emacs@gnu.org>
2005-06-08 20:00 ` tabs with cperl-mode Ilya Zakharevich
2005-06-08 20:23 ` Martin Barth
2005-06-08 21:44 ` Stefan Monnier [this message]
2005-06-09 7:06 ` Solved: " Martin Barth
[not found] ` <mailman.4009.1118301072.25862.help-gnu-emacs@gnu.org>
2005-06-09 14:47 ` Stefan Monnier
2005-06-08 11:18 Martin Barth
2005-06-08 13:56 ` Peter Dyballa
2005-06-08 14:14 ` Martin Barth
2005-06-08 16:49 ` Matthias Förste
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=87br6gfrvi.fsf-monnier+gnu.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
/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.