From: Pascal Bourguignon <pjb@informatimago.com>
Subject: Re: Unable to Set Tab Width
Date: 21 Mar 2003 21:33:52 +0100 [thread overview]
Message-ID: <87adfoihn3.fsf@thalassa.informatimago.com> (raw)
In-Reply-To: b5wea.52488$_F2.4570178@news1.east.cox.net
Chris <matrix2468REMOVETHISTOREPLY@cox.net> writes:
> Despite countless efforts, I cannot set the tab width
> in emacs to 2 spaces instead of 4.
>
> >uname -a
> HP-UX host B.11.00 U 9000/785 2007718834 unlimited-user license
>
> >/usr/local/bin/emacs-21.2.1
> >cat .emacs
> (setq default-tab-width 2)
>
> I thought the above command would set the tab width to 2,
> but it is stuck at 4!
I have this:
(custom-set-variables
'(indent-tabs-mode nil)
'(inhibit-c-tab-always-indent nil)
'(tab-stop 4 t)
'(tab-stop-list (quote (4 8 12 16 20 24 28 32 36 40 44 48 52 56 60 64)))
'(tab-width 4)
'(c-tab-always-indent nil)
)
(add-hook 'shell-mode-hook '(lambda () (set-variable 'tab-width 8)))
--
__Pascal_Bourguignon__ http://www.informatimago.com/
----------------------------------------------------------------------
Do not adjust your mind, there is a fault in reality.
next prev parent reply other threads:[~2003-03-21 20:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-21 3:57 Unable to Set Tab Width Chris
2003-03-21 8:20 ` Erik Simon
2003-03-21 13:39 ` Bijan Soleymani
2003-03-21 20:33 ` Pascal Bourguignon [this message]
2003-03-22 4:27 ` Chris
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=87adfoihn3.fsf@thalassa.informatimago.com \
--to=pjb@informatimago.com \
/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).