all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* TAB
@ 2003-11-17 14:32 David Rasmussen
  2003-11-17 17:31 ` TAB Kevin Rodgers
  2003-11-18  0:45 ` TAB Dan Anderson
  0 siblings, 2 replies; 18+ messages in thread
From: David Rasmussen @ 2003-11-17 14:32 UTC (permalink / raw)


When I edit java-files, most of the times emacs inserts spaces when I 
press TAB to indent something. But sometimes I've found it inserts a TAB 
character instead. Why? How can I turn it off? I never want TAB 
characters when editing Java or C++ source code files.

/David

^ permalink raw reply	[flat|nested] 18+ messages in thread
* TAB
@ 2011-05-30 17:07 Ido Magal
  2011-05-30 17:20 ` TAB Samuel Wales
  2011-05-30 18:27 ` TAB Darlan Cavalcante Moreira
  0 siblings, 2 replies; 18+ messages in thread
From: Ido Magal @ 2011-05-30 17:07 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 88 bytes --]

With TAB being overloaded with visibility cycling, how do I insert a regular
tab (\t) ?

[-- Attachment #2: Type: text/html, Size: 109 bytes --]

^ permalink raw reply	[flat|nested] 18+ messages in thread
* Re: TAB
@ 2003-11-17 20:42 Joe Corneli
  0 siblings, 0 replies; 18+ messages in thread
From: Joe Corneli @ 2003-11-17 20:42 UTC (permalink / raw)
  Cc: help-gnu-emacs

I think the following explains how to do what you want. BTW I don't
write java code, but I was thinking that a similar feature for lisp
might be nice. It seems to be harder to find that information (at
least on this computer...).


C-x C-f sample.java RET
C-h k C-i

*snip snip*
The amount and kind of whitespace inserted is controlled by the
variable `c-insert-tab-function', which is called to do the actual
insertion of whitespace.  Normally the function in this variable
just inserts a tab character, or the equivalent number of spaces,
depending on the variable `indent-tabs-mode'.
                           ================

C-h v indent-tabs-mode RET

*snip snip*
indent-tabs-mode's value is t

Documentation:
*Indentation can insert tabs if this is non-nil.
Setting this variable automatically makes it local to the current buffer.

^ permalink raw reply	[flat|nested] 18+ messages in thread
[parent not found: <20020319140511.A2178@sasken.com>]

end of thread, other threads:[~2011-05-31  5:13 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-17 14:32 TAB David Rasmussen
2003-11-17 17:31 ` TAB Kevin Rodgers
2003-11-17 18:16   ` TAB Dan Anderson
2003-11-18 19:23     ` TAB jan
     [not found]   ` <mailman.170.1069096910.399.help-gnu-emacs@gnu.org>
2003-11-17 19:42     ` TAB Kevin Rodgers
2003-11-17 19:49     ` TAB Sean Richards
2003-11-19  9:42   ` TAB David Rasmussen
2003-11-19 14:17     ` TAB Eli Zaretskii
2003-11-18  0:45 ` TAB Dan Anderson
  -- strict thread matches above, loose matches on Subject: below --
2011-05-30 17:07 TAB Ido Magal
2011-05-30 17:20 ` TAB Samuel Wales
2011-05-30 18:27 ` TAB Darlan Cavalcante Moreira
2011-05-30 20:10   ` TAB Ido Magal
2011-05-30 22:14     ` TAB Michael Markert
2011-05-31  3:36       ` TAB Ido Magal
2011-05-31  5:13         ` TAB Ben Finney
2003-11-17 20:42 TAB Joe Corneli
     [not found] <20020319140511.A2178@sasken.com>
     [not found] ` <20020319092050.960E9CD2B9@smtp.bcn.isoco.net>
2002-03-26 12:59   ` Tab Alexander Koptelov

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.