From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/37652 Path: main.gmane.org!not-for-mail From: Karl Eichwalder Newsgroups: gmane.emacs.gnus.general Subject: Re: Wrong default indents in message.el Date: Thu, 09 Aug 2001 23:09:33 +0200 Sender: ke@gnu.franken.de Message-ID: References: <2n3d71t8ue.fsf@piglet.jia.vnet> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1035173027 14949 80.91.224.250 (21 Oct 2002 04:03:47 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 04:03:47 +0000 (UTC) Return-Path: Return-Path: Original-Received: (qmail 27257 invoked from network); 9 Aug 2001 21:10:24 -0000 Original-Received: from unknown (HELO myway.myway.de) (212.204.66.1) by gnus.org with SMTP; 9 Aug 2001 21:10:24 -0000 Original-Received: from tux.gnu.franken.de (postfix@dialin5187.nefkom.net [212.114.165.187]) by myway.myway.de (8.9.3/8.9.3) with ESMTP id XAA23947 for ; Thu, 9 Aug 2001 23:10:21 +0200 Original-Received: by tux.gnu.franken.de (Postfix, from userid 270) id EC30EA4D8C; Thu, 9 Aug 2001 23:09:33 +0200 (CEST) Original-To: ding@gnus.org In-Reply-To: <2n3d71t8ue.fsf@piglet.jia.vnet> (ShengHuo ZHU's message of "Thu, 09 Aug 2001 10:57:13 -0700") User-Agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.0.104 Original-Lines: 40 Xref: main.gmane.org gmane.emacs.gnus.general:37652 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:37652 ShengHuo ZHU writes: > "Arvid Gr=F8tting" writes: >> I guess setting indent-line-function is the canonical right thing to >> do for a major mode, but indent-relative is just the wrong default >> choice. tab-to-tab-stop or indent-relative-maybe come to mind. Any >> other suggestions? Won't work either -- see below. >> [1] it's unusable with auto-fill-mode turned on in the current CVS >> version, as this message demonstrates. Yes, this footnote gets >> all nice and shiny, but the main text doesn't. > > I remove the setting and let message-tab call indent-relative. Hope > now it is better. I fear it is still broken. Let's wait until column 72 where autofill should happen. Okay, it works somehow -- but I've set my tab width (stops) to 4, 8, 12, 16, ... Why do think it's a good idea to align the indented paragraph with "happen" above? If I try to set the indent function this way, more wierd things are happening: (add-hook 'mml-mode-hook=20 (lambda () (setq indent-line-function 'tab-to-tab-stop))) Regarding indentation message.el coming with Emacs 21 (pre) behaves better at the moment :) --=20 ke@suse.de (work) / keichwa@gmx.net (home): | http://www.suse.de/~ke/ | ,__o Free Translation Project: | _-\_<, http://www.iro.umontreal.ca/contrib/po/HTML/ | (*)/'(*)