help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: TAB button behavior in C mode and PHP mode


From: Alexander Stepanov
Subject: Re: TAB button behavior in C mode and PHP mode
Date: Wed, 8 Dec 2010 02:21:16 -0800 (PST)
User-agent: G2/1.0

On Dec 8, 7:58 am, Torsten Mueller <dev-n...@shared-files.de> wrote:
> Alexander Stepanov <darkd...@gmail.com> wrote:
> > When I edit code in C mode or PHP mode and make additional indentation
> > using TAB Emacs doesn't input this tabs. I need to switch to text
> > mode, make this indentation and switch back. How to do indentation
> > without this switching?
>
> I have the following lines in my .emacs:
>
> (custom-set-variables
>
>  ...
>
>  '(c-backspace-function (quote backward-delete-char))
>  '(c-syntactic-indentation nil)
>
>  ...
>
> )
>
> I also set some keys over all modes, belong them the tab key:
>
> (global-set-key [tab]                   'tab-to-tab-stop)
>
> This solves the very most of this incommoded, superfluous behaviour.
>
> T.M.

Thanks!


reply via email to

[Prev in Thread] Current Thread [Next in Thread]