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

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

Re: Tab stops in perl mode broken?


From: lawrence mitchell
Subject: Re: Tab stops in perl mode broken?
Date: Tue, 20 May 2003 23:38:50 +0100
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50

Johnny L. Wales wrote:

[...] Emacs' default perl-mode and indentation problems

Try using cperl-mode, rather than perl-mode.  It's a much
improved perl mode.  It certainly handles the case you mention
fine in my emacs version.

> Further, is there some command like:
> M-x when-i-say-tab-i-mean-tab-damn-it

You can always to C-q TAB to insert a literal tab.  Depending on
programming modes, you have to find the relevant variable to get
them not to do syntax-driven indentaton.

> that will make emacs ALWAYS add a tab when I hit the tab button, whether
> it seems reasonable to emacs or not? I've also yet to be able to find an
> easy way to set tab width without editing a configuration file..?

M-x customize-variable RET tab-stop-list RET

If you change this and then save your changes, tab-stop-list
will be set.

-- 
lawrence mitchell <address@hidden>


reply via email to

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