From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Unknown Newsgroups: gmane.emacs.help Subject: Re: Overriding behavior in major modes (sql-mode, here) Date: Tue, 11 Sep 2007 11:08:05 -0400 Message-ID: References: <874pi1fw1a.fsf@lion.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1189525289 22873 80.91.229.12 (11 Sep 2007 15:41:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 11 Sep 2007 15:41:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Sep 11 17:41:26 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IV7rf-00018d-Pc for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Sep 2007 17:41:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IV7rf-0005El-Ml for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Sep 2007 11:41:23 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Tue, 11 Sep 2007 10:08:06 -0500 Original-From: Michael Trausch <"mike|s/\\x40/\\./g;s/|.*|/\\x40/g;|trausch"@us> User-Agent: Thunderbird 2.0.0.6 (X11/20070803) Original-Newsgroups: gnu.emacs.help In-Reply-To: <874pi1fw1a.fsf@lion.rapttech.com.au> Original-Lines: 22 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 24.30.33.42 Original-X-Trace: sv3-h8RZkhv66CIaO8rB9JQar5qeQWz8qSDKYG+QG3vP0XT/h9IerKMj7a/auRgqt6noL/TWD7CXfDPDZjl!IORpyUs7/CNau5qpWKAIYlq0gPjd2XCsjDxlbCNRINcSyKLEksDx4IuU8e9SAd7GIEvGNGWW32PN!5XIs8lbfL3xBKRA6R663HmIBEVQ= Original-X-Complaints-To: abuse@comcast.net X-DMCA-Complaints-To: dmca@comcast.net X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.36 Original-Xref: shelby.stanford.edu gnu.emacs.help:151984 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47497 Archived-At: Tim X, on 09/11/2007 04:25 AM said: > > A very quick look makes me think that sql-mode is using the > tab-to-tab-stop function to do its indentation. I would try setting > tab-stop-list and see if that helps. M-x edit-tab-stops will let you > edit the list interactively. > I tried that (actually I have a custom tab-stop list in my .emacs, but I tried this too) and it didn't work. It doesn't indent at /all/ on lines that follow lines that do not start with whitespace, and on lines that start with whitespace, it will indent on the next line to the column of the first non-whitespace character on the previous line. It doesn't really make any sense to me, and while I *can* work like that, I don't particularly enjoy it... -- Mike -- Michael B. Trausch http://www.trausch.us/ Pidgin 2.1.1 and plugins for Ubuntu Feisty! (And Thunderbird 2.0.0.6, too!) http://www.trausch.us/pidgin