From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Johnny L. Wales" Newsgroups: gmane.emacs.help Subject: Re: Tab stops in perl mode broken? Date: Wed, 21 May 2003 09:37:58 -0500 (CDT) 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 1053528417 17883 80.91.224.249 (21 May 2003 14:46:57 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 21 May 2003 14:46:57 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed May 21 16:46:55 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 19IUpC-0004OL-00 for ; Wed, 21 May 2003 16:44:15 +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 19IUpi-0008FE-2c for gnu-help-gnu-emacs@m.gmane.org; Wed, 21 May 2003 10:44:46 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19IUmP-0005w9-Lp for help-gnu-emacs@gnu.org; Wed, 21 May 2003 10:41:21 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19IUjG-00043n-BR for help-gnu-emacs@gnu.org; Wed, 21 May 2003 10:38:37 -0400 Original-Received: from [216.180.36.2] (helo=mail.booksys.com) by monty-python.gnu.org with esmtp (Exim 4.20) id 19IUjC-0003wo-2P for help-gnu-emacs@gnu.org; Wed, 21 May 2003 10:38:02 -0400 Original-Received: from mail.booksys.com (localhost.localdomain [127.0.0.1]) by mail.booksys.com (8.11.6/8.11.6) with ESMTP id h4LEbxj10970 for ; Wed, 21 May 2003 09:37:59 -0500 Original-Received: from localhost (johnny@localhost) by mail.booksys.com (8.11.6/8.11.6) with ESMTP id h4LEbwB10964 for ; Wed, 21 May 2003 09:37:58 -0500 Original-To: help-gnu-emacs@gnu.org In-Reply-To: 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:9958 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9958 > [...] 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. How do I set that mode? Why are there two perl modes? Why not just one? Why is the broken perl mode the default? Why not make the good one the default? > > 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. Well, what I'd actually like from an editor would be partial syntax-driven inedentation. That is, hitting tab once puts the tabs where emacs thinks they outght to be, and subsequent tab requests bump everything over one tab. I'd also love it if there was *never* a time when I hit a button and nothing happens. > > 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. And I'll have to do this on every host, right? There's no way to have a single emacs config file to serve a whole network? --Me