From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/26828 Path: main.gmane.org!not-for-mail From: Rob Browning Newsgroups: gmane.emacs.gnus.general Subject: Re: Use Gcc whenever message-mail is called Date: 14 Nov 1999 21:34:52 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: <87yac077hf.fsf@raven.localnet> References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035163964 21460 80.91.224.250 (21 Oct 2002 01:32:44 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 01:32:44 +0000 (UTC) Return-Path: Original-Received: from bart.math.uh.edu (bart.math.uh.edu [129.7.128.48]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id WAA08651 for ; Sun, 14 Nov 1999 22:36:02 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by bart.math.uh.edu (8.9.1/8.9.1) with ESMTP id VAB30736; Sun, 14 Nov 1999 21:35:55 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Sun, 14 Nov 1999 21:35:40 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id VAA22275 for ; Sun, 14 Nov 1999 21:35:30 -0600 (CST) Original-Received: from omen.dhis.org (mail@cs2868-22.austin.rr.com [24.28.68.22]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id WAA08620 for ; Sun, 14 Nov 1999 22:35:00 -0500 (EST) Original-Received: from raven.localnet ([192.168.1.7] ident=mail) by omen.dhis.org with esmtp (Exim 3.03 #1 (Debian)) id 11nCur-00049Y-00 for ; Sun, 14 Nov 1999 21:34:53 -0600 Original-Received: from rlb by raven.localnet with local (Exim 3.03 #1 (Debian)) id 11nCur-0001Ny-00 for ; Sun, 14 Nov 1999 21:34:53 -0600 Original-To: ding@gnus.org In-Reply-To: Lars Magne Ingebrigtsen's message of "06 Nov 1999 04:57:38 +0100" Original-Lines: 30 User-Agent: Gnus/5.070098 (Pterodactyl Gnus v0.98) Emacs/20.4 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:26828 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:26828 Lars Magne Ingebrigtsen writes: > This is weird. That hook seems to be run by all the message-* > commands. Are you sure? To fully unify Gnus and message-mode (so I'd get my gnus customizations no matter how I entered message mode -- i.e. even via C-x m), I did the following in my *emacs* startup file, not my gnus file. This makes sure that gnus is always alive when using message-mode. (require 'message) (require 'gnus-msg) (define-mail-user-agent 'gnus-user-agent 'gnus-mail 'message-send-and-exit 'message-kill-buffer 'message-send-hook) (defun gnus-mail (&rest args) "Start editing a mail message to be sent gnus style. Use message mode as the underlying agent." (unless (and (fboundp 'gnus-alive-p) (gnus-alive-p)) (gnus-no-server) (gnus-group-suspend)) (gnus-setup-message 'message (apply 'message-mail args))) (setq mail-user-agent 'gnus-user-agent) -- Rob Browning PGP=E80E0D04F521A094 532B97F5D64E3930