* Tabs Question
@ 2006-02-20 14:21 gamename
2006-02-20 23:21 ` Peter Dyballa
2006-02-21 5:39 ` Stefan Monnier
0 siblings, 2 replies; 3+ messages in thread
From: gamename @ 2006-02-20 14:21 UTC (permalink / raw)
Hi,
I'm creating a bare-bone .emacs file for a friend and I've run into a
curious "tab" problem. In my older main .emacs file, if I hit the
"tab" key anywhere on the line when coding, the whole line will be
indented and untabified. This behavior is displayed in both C and TCL
files.
The new .emacs file I'm building doesn't replicate this behavior. I've
copied over every tab-related setting and still no luck. Here's what
I have so far:
(setq-default tab-width 4)
(auto-fill-mode 1)
(setq-default backward-delete-char-untabify-method (quote all))
(setq-default indent-tabs-mode nil)
What am I missing?
TIA,
-T
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Tabs Question
2006-02-20 14:21 Tabs Question gamename
@ 2006-02-20 23:21 ` Peter Dyballa
2006-02-21 5:39 ` Stefan Monnier
1 sibling, 0 replies; 3+ messages in thread
From: Peter Dyballa @ 2006-02-20 23:21 UTC (permalink / raw)
Cc: help-gnu-emacs
Am 20.02.2006 um 15:21 schrieb gamename:
> What am I missing?
The function lisp-indent-line has nothing to indent in your example.
If you want to indent a line by the length of a TAB type C-q TAB!
--
Greetings
Pete
To be is to do.
-- I. Kant
To do is to be.
-- A. Sartre
Yabba-Dabba-Doo!
-- F. Flintstone
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Tabs Question
2006-02-20 14:21 Tabs Question gamename
2006-02-20 23:21 ` Peter Dyballa
@ 2006-02-21 5:39 ` Stefan Monnier
1 sibling, 0 replies; 3+ messages in thread
From: Stefan Monnier @ 2006-02-21 5:39 UTC (permalink / raw)
> (setq-default tab-width 4)
Rule number one: unless you're really confident you absolutely know what
you're doing, never ever change tab-width.
Stefan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-02-21 5:39 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-20 14:21 Tabs Question gamename
2006-02-20 23:21 ` Peter Dyballa
2006-02-21 5:39 ` Stefan Monnier
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.