unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* tab indent in shell
@ 2009-03-23  3:02 jianfenggui
  2009-03-23  9:21 ` Peter Dyballa
  2009-03-23 12:18 ` gavenkoa
  0 siblings, 2 replies; 3+ messages in thread
From: jianfenggui @ 2009-03-23  3:02 UTC (permalink / raw)
  To: help-gnu-emacs; +Cc: guijiafneng

Hi,

I'd like to make tab indent 8 bytes as a '\t' in my sh-mode, not 8
space. How to config?


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tab indent in shell
  2009-03-23  3:02 tab indent in shell jianfenggui
@ 2009-03-23  9:21 ` Peter Dyballa
  2009-03-23 12:18 ` gavenkoa
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2009-03-23  9:21 UTC (permalink / raw)
  To: jianfenggui; +Cc: guijiafneng, help-gnu-emacs


Am 23.03.2009 um 04:02 schrieb jianfenggui:

> I'd like to make tab indent 8 bytes as a '\t' in my sh-mode, not 8
> space. How to config?


Which bytes do you prefer?

--
Greetings

   Pete

Sending unsolicited commercial eMail to this account incurs a fee of  
€ 500 per message and acknowledges the legality of this contract.








^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: tab indent in shell
  2009-03-23  3:02 tab indent in shell jianfenggui
  2009-03-23  9:21 ` Peter Dyballa
@ 2009-03-23 12:18 ` gavenkoa
  1 sibling, 0 replies; 3+ messages in thread
From: gavenkoa @ 2009-03-23 12:18 UTC (permalink / raw)
  To: help-gnu-emacs

On 23 Бер, 05:02, jianfeng...@gmail.com wrote:
> Hi,
>
> I'd like to make tab indent 8 bytes as a '\t' in my sh-mode, not 8
> space. How to config?

(setq sh-basic-offset 8)
(setq-default tab-width 8)
(setq-default indent-tabs-mode t)


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-23 12:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-23  3:02 tab indent in shell jianfenggui
2009-03-23  9:21 ` Peter Dyballa
2009-03-23 12:18 ` gavenkoa

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).