From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: Default for message-tab-body-function
Date: Thu, 29 Nov 2001 16:49:41 +0100 [thread overview]
Message-ID: <ilu667tefvu.fsf@dhcp128.extundo.com> (raw)
In-Reply-To: <vafy9kqrmec.fsf@INBOX.auto.gnus.tok.lucy.cs.uni-dortmund.de> (Kai.Grossjohann@CS.Uni-Dortmund.DE's message of "Thu, 29 Nov 2001 09:50:35 +0100")
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.
--- message.el.~6.170.~ Thu Nov 29 16:21:44 2001
+++ message.el Thu Nov 29 16:47:14 2001
@@ -5183,7 +5183,7 @@
:group 'message
:type '(alist :key-type regexp :value-type function))
-(defcustom message-tab-body-function 'indent-relative
+(defcustom message-tab-body-function (lookup-key text-mode-map "\t")
"*Function to execute when `message-tab' (TAB) is executed in the body."
:group 'message
:type 'function)
next prev parent reply other threads:[~2001-11-29 15:49 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 [this message]
2001-11-29 16:45 ` Kai Großjohann
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=ilu667tefvu.fsf@dhcp128.extundo.com \
--to=jas@extundo.com \
--cc=ding@gnus.org \
/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).