* Making tm-edit behave with gnus
@ 1998-03-26 2:31 Stephen Zander
1998-03-26 7:18 ` Norbert Koch
1998-03-26 11:51 ` Steinar Bang
0 siblings, 2 replies; 3+ messages in thread
From: Stephen Zander @ 1998-03-26 2:31 UTC (permalink / raw)
Can someone enlighten me as to the magical incantation I need to
get tm-edit to operate while composing messages? The tm manuls
really need a rewrite!
I know Lars is busy adding MIME-ification to gnus; I just wish it
was here now :)
--
Stephen
---
"Normality is a statistical illusion." -- me
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Making tm-edit behave with gnus
1998-03-26 2:31 Making tm-edit behave with gnus Stephen Zander
@ 1998-03-26 7:18 ` Norbert Koch
1998-03-26 11:51 ` Steinar Bang
1 sibling, 0 replies; 3+ messages in thread
From: Norbert Koch @ 1998-03-26 7:18 UTC (permalink / raw)
Cc: ding
>> Stephen Zander writes:
Hi Stephen,
Stephen> Can someone enlighten me as to the magical incantation I
Stephen> need to get tm-edit to operate while composing messages?
Stephen> The tm manuls really need a rewrite!
I don't know whether I've got you right, but have you tried something
like
M-x load-library RET mime-setup RET
This should work, afaik. I've got the following code in my gnus.el and
it, well, seems to work :-)
(load "mime-setup")
(setq mime-editor/transfer-level 8
mime-editor/split-message nil)
Stephen> I know Lars is busy adding MIME-ification to gnus; I just
Stephen> wish it was here now :)
and it will be a *great* show :-)
hth, norbert
--
Norbert Koch, Delta Industrie Informatik GmbH.
Every passing hour brings the Solar System forty-three thousand miles
closer to Globular Cluster M13 in Hercules - and still there are some
misfits who insist that there is no such thing as progress.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Making tm-edit behave with gnus
1998-03-26 2:31 Making tm-edit behave with gnus Stephen Zander
1998-03-26 7:18 ` Norbert Koch
@ 1998-03-26 11:51 ` Steinar Bang
1 sibling, 0 replies; 3+ messages in thread
From: Steinar Bang @ 1998-03-26 11:51 UTC (permalink / raw)
>>>>> Stephen Zander <gibreel@pobox.com>:
> Can someone enlighten me as to the magical incantation I need to
> get tm-edit to operate while composing messages? The tm manuls
> really need a rewrite!
Here's how I make Gnus use TM:
(setq gnus-use-tm t)
(setq gnus-use-mailcrypt nil)
; (setq gnus-use-bbdb t)
(load "gnus-setup")
Here's my message mode setup:
(defun sb-message-setup ()
(progn
;; setup from mail-setup-hook
(setq mail-self-blind t)
(setq mail-archive-file-name nil)
(local-set-key "\C-ca" 'mail-interactive-insert-alias-hho)))
(add-hook 'message-setup-hook 'sb-message-setup)
(defun set-tm-dont-mime-encode-messages ()
(progn
; Avoid posting Q-P
(mime-editor/toggle-transfer-level 8)
; Avoid having USENET headers RFC 2047 encoded
(if (message-news-p)
(progn
(make-variable-buffer-local `mime/field-encoding-method-alist)
(setq mime/field-encoding-method-alist
(append '(
("Subject" . nil)
("From" . nil)
("To" . nil)
("In-Reply-To" . nil)
)
mime/field-encoding-method-alist
))))
))
(add-hook 'message-setup-hook 'set-tm-dont-mime-encode-messages)
(defun set-tm-mail-dont-split-biguns ()
"Split big messages with attachments when posting news,
but don't split in email messages"
(if (message-news-p)
(setq mime-editor/split-message t) ; *do* split
(setq mime-editor/split-message nil) ; don't split
))
(add-hook 'message-setup-hook 'set-tm-mail-dont-split-biguns)
(add-hook 'message-setup-hook
(lambda ()
(setq message-cite-function 'sc-cite-original)
(setq message-default-mail-headers "BCC: sb@metis.no\n")
))
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-03-26 11:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-03-26 2:31 Making tm-edit behave with gnus Stephen Zander
1998-03-26 7:18 ` Norbert Koch
1998-03-26 11:51 ` Steinar Bang
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).