Gnus development mailing list
 help / color / mirror / Atom feed
From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann)
Subject: Re: Default for message-tab-body-function
Date: Thu, 29 Nov 2001 17:45:25 +0100	[thread overview]
Message-ID: <vaf3d2xttju.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de> (raw)
In-Reply-To: <ilu667tefvu.fsf@dhcp128.extundo.com> (Simon Josefsson's message of "Thu, 29 Nov 2001 16:49:41 +0100")

Simon Josefsson <jas@extundo.com> writes:

> Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
>
>> I think the default behavior for TAB in the body of a message should
>> be whatever TAB in text-mode does.  (Even if the user has changed
>> what TAB in text-mode does.)
>>
>> Is there a way to achieve this, or to come close?
>
> Like this?  Message even runs text-mode-hook, so frobing text-mode-map
> from that hook should work using Message as well.

This of course looks up the key at the time when message.el* is
loaded.  So it does not work to do

    (require 'message)
    (define-key text-mode-map (kbd "TAB") ...)

But then, maybe that's not necessary.  Maybe your suggestion is good
enough.

kai
-- 
Simplification good!  Oversimplification bad!  (Larry Wall)



  reply	other threads:[~2001-11-29 16:45 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-29  8:50 Kai Großjohann
2001-11-29 15:49 ` Simon Josefsson
2001-11-29 16:45   ` Kai Großjohann [this message]
2001-11-29 16:59     ` ShengHuo ZHU
2001-11-29 17:09       ` 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=vaf3d2xttju.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de \
    --to=kai.grossjohann@cs.uni-dortmund.de \
    /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).