From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Shippert Newsgroups: gmane.emacs.help Subject: Want to stop indenting when paragraph begins with tab Date: 05 Apr 2005 15:01:17 -0700 Organization: International Sciolist Conspiracy, Inc. Message-ID: Reply-To: shippert@alumni.caltech.edu NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1112738642 22262 80.91.229.2 (5 Apr 2005 22:04:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2005 22:04:02 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Apr 06 00:04:00 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DIw8z-0005N8-Vl for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Apr 2005 00:03:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DIvhy-0002Js-88 for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Apr 2005 17:35:38 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!nntp-server.caltech.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: alumnus.caltech.edu Original-X-Trace: naig.caltech.edu 1112738477 23638 131.215.49.51 (5 Apr 2005 22:01:17 GMT) Original-X-Complaints-To: abuse@caltech.edu Original-NNTP-Posting-Date: Tue, 5 Apr 2005 22:01:17 +0000 (UTC) X-Pinhead: I OWN six pink HIPPOS!! User-Agent: Gnus/5.0803000000000003 (Gnus v5.8.3) Emacs/20.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:129851 Original-To: help-gnu-emacs@gnu.org 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:25409 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25409 Guys: I'm using emacs 21.2.1 on a linux box, although I've seen the same behavior with 21.3. In text and mail mode, I like to have the first line of my paragraph start with a tab, while the rest of the paragraph starts at column 0, just like the paragraphs I'm typing in this news message right now. Up through emacs 20 or so, this worked fine with auto-fill on. However, in recent emacses, auto-fill indents line two to match the first line, so I'm stuck either indenting the whole paragraph or manually deleting the tab on line two so lines three and on will match the indentation and look like I want. I can't figure out how to make emacs not indent the second line of a paragraph like this. I've tried setting fill-prefix to nil, which had no effect, and wrote my own version of indent-relative and set indent-line-function to point to it in text-mode-hook. But I can't tell if emacs is actually calling indent-line-function during do-auto-fill, or really what it's doing at all during this whole fill-and-indent process. Can somebody help me out here? I don't need a detailed solution, I just need to know what functions or variables I should be working with; I can probably hack up a solution that'll work for me if I can just find out where to put it. -- Tim Shippert Whatever truculent means, if it's good, I'm that.