From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: lawrence mitchell Newsgroups: gmane.emacs.help Subject: Re: Tab stops in perl mode broken? Date: Tue, 20 May 2003 23:38:50 +0100 Organization: funfunfun Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1053470574 12045 80.91.224.249 (20 May 2003 22:42:54 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 20 May 2003 22:42:54 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed May 21 00:42:52 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19IFnQ-00031J-00 for ; Wed, 21 May 2003 00:41:25 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19IFmh-0007o7-3f for gnu-help-gnu-emacs@m.gmane.org; Tue, 20 May 2003 18:40:39 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!colt.net!peernews3.colt.net!newsfeed.stueberl.de!fu-berlin.de!uni-berlin.de!vegetable.demon.co.UK!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: vegetable.demon.co.uk (80.177.16.3) Original-X-Trace: fu-berlin.de 1053470330 29588537 80.177.16.3 (16 [97657]) X-No-Yes: No Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 Cancel-Lock: sha1:AF5GlyLhZBXD/rFzR1aBeJJY0+U= Original-Xref: shelby.stanford.edu gnu.emacs.help:113452 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9947 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9947 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