Gnus development mailing list
 help / color / mirror / Atom feed
From: Karl Eichwalder <keichwa@gmx.net>
Subject: Re: Wrong default indents in message.el
Date: Thu, 09 Aug 2001 23:09:33 +0200	[thread overview]
Message-ID: <shsnf1eyo3.fsf@tux.gnu.franken.de> (raw)
In-Reply-To: <2n3d71t8ue.fsf@piglet.jia.vnet> (ShengHuo ZHU's message of "Thu, 09 Aug 2001 10:57:13 -0700")

ShengHuo ZHU <zsh@cs.rochester.edu> writes:

> "Arvid Grøtting" <arvidg@netfonds.no> 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 
	  (lambda ()
	    (setq indent-line-function 'tab-to-tab-stop)))

Regarding indentation message.el coming with Emacs 21 (pre) behaves
    better at the moment :)

-- 
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/             |   (*)/'(*)


  reply	other threads:[~2001-08-09 21:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-09 10:07 Arvid Grøtting
2001-08-09 14:27 ` Arvid Grøtting
2001-08-09 16:36   ` Kai Großjohann
2001-08-09 17:57   ` ShengHuo ZHU
2001-08-09 21:09     ` Karl Eichwalder [this message]
2001-08-09 21:55       ` Kai Großjohann
2001-08-10  4:56         ` Karl Eichwalder
2001-08-10  7:26         ` Daniel Pittman
2001-08-10 13:16           ` Kai Großjohann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=shsnf1eyo3.fsf@tux.gnu.franken.de \
    --to=keichwa@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).