all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Tabs and Spaces
@ 2009-05-25 10:48 Chris Gordon-Smith
  2009-05-25 11:48 ` Pascal J. Bourguignon
                   ` (5 more replies)
  0 siblings, 6 replies; 22+ messages in thread
From: Chris Gordon-Smith @ 2009-05-25 10:48 UTC (permalink / raw
  To: help-gnu-emacs

Hello All

I have recenly started using emacs for programming, after years using 
KDevelop. One problem I have is indenting code. I have my own indentation 
style. and ideally I would like to setup emacs to support it automatically. 
However, in the short term I'll settle for having emacs convert a TAB 
keypress into the correct number of spaces to fill whitespace up to the 
next tabstop.

At the moment I have

(global-set-key (kbd "TAB") 'self-insert-command) 

in my .emacs to force insertion of a tab, but I have to keep invoking 
untabify manually (otherwise my code looks misaligned when I upload it to 
Google Code).

Can anyone help.

Chris Gordon-Smith
www.simsoup.info


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

end of thread, other threads:[~2009-05-27 20:38 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-25 10:48 Tabs and Spaces Chris Gordon-Smith
2009-05-25 11:48 ` Pascal J. Bourguignon
2009-05-25 12:17   ` Chris Gordon-Smith
2009-05-25 13:48     ` Pascal J. Bourguignon
2009-05-25 14:58       ` Chris Gordon-Smith
2009-05-25 15:10         ` Teemu Likonen
2009-05-25 15:58           ` Chris Gordon-Smith
2009-05-25 16:38             ` Pascal J. Bourguignon
2009-05-25 15:14         ` Pascal J. Bourguignon
2009-05-25 15:36           ` Richard Riley
2009-05-25 16:10             ` Pascal J. Bourguignon
2009-05-25 16:19               ` Richard Riley
2009-05-25 16:15 ` B Smith-Mannschott
2009-05-25 17:03 ` Drew Adams
2009-05-25 21:45 ` Chris Gordon-Smith
2009-05-26  1:08   ` Pascal J. Bourguignon
2009-05-26 21:31     ` Chris Gordon-Smith
2009-05-26 22:03       ` Drew Adams
     [not found]       ` <mailman.7877.1243375379.31690.help-gnu-emacs@gnu.org>
2009-05-26 22:40         ` Pascal J. Bourguignon
2009-05-27 20:38           ` Chris Gordon-Smith
     [not found] ` <mailman.7772.1243271023.31690.help-gnu-emacs@gnu.org>
2009-05-25 21:48   ` Chris Gordon-Smith
     [not found] ` <mailman.7771.1243268169.31690.help-gnu-emacs@gnu.org>
2009-05-26 12:29   ` Francis Moreau

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.