From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=0.2 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 5752 invoked from network); 13 Dec 2023 16:26:18 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 13 Dec 2023 16:26:18 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rDS3r-000W7H-2F for ml@inbox.vuxu.org; Wed, 13 Dec 2023 10:26:15 -0600 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96.2) (envelope-from ) id 1rDS3r-002JnG-0M for ml@inbox.vuxu.org; Wed, 13 Dec 2023 10:26:15 -0600 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtp (Exim 4.96.2) (envelope-from ) id 1rDS3j-002Jn7-1G for ding@lists.math.uh.edu; Wed, 13 Dec 2023 10:26:12 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rDS3h-003S9i-2w for ding@lists.math.uh.edu; Wed, 13 Dec 2023 10:26:07 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version:References:Message-ID:Date:Subject: From:To:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TyGZUbGWxDRtK1UCY8QiPjXJ9THnF3ggBpPtlg9svAE=; b=KNGN6CmZa+PVP5VP1mWu27nlYr EhU7p4fjHs+GQrQENskmnQIy3yW+DgqJHebNwUTMbt3mVx1aArPpjWnNWu4Ub8N3nO4fg8BOI5MLs W4/qtKoBbNhM3saZkWJ+3xrkZ4Ohu+RpxYCgmWKmaN04sWMb57mjn0HrJXfElarGLmOg=; Received: from ciao.gmane.io ([116.202.254.214]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rDS3b-0003xp-9j for ding@gnus.org; Wed, 13 Dec 2023 17:26:01 +0100 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1rDS3Y-0003Ha-HI for ding@gnus.org; Wed, 13 Dec 2023 17:25:56 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: ding@gnus.org From: Eric Abrahamsen Subject: Re: message-dont-send in queue folder not in draft folder Date: Wed, 13 Dec 2023 08:25:51 -0800 Message-ID: <87wmtihxww.fsf@ericabrahamsen.net> References: <87v892b66c.fsf@mat.ucm.es> <87zfye9kbg.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Cancel-Lock: sha1:tSxsyNBjCPrBIv3tTHkBrUNJXFo= List-ID: Precedence: bulk Uwe Brauer writes: >>>> "UB" == Uwe Brauer writes: > >> Hi >> If I have gnus plugged in and I am connected to the Internet, >> message-dont-send saves the message in my nndraft:drafts > >> If, however, gnus is not plugged in (agent on) then >> message-dont-send again saves in that folder but >> message-send-and-exit saves the buffer to the queue folder. > >> Is there any possibility tell message-send-and-exit (with an argument) >> not to save it in the draft folder but in the queue folder? > >> (nndraft-request-associate-buffer "queue") > >> Might be a possibility but are there other ones? > > > It seems one solution would be > to change the setting of gnus-agent-queue-mail > > (defun my-gnus-queue-mail-on () > (interactive) > (setq gnus-agent-queue-mail 'always) > (message "Now messages will always be queued")) > > A bit cumbersome but doable. I'm not sure where/when you want to activate this behavior. - It will happen by default when Gnus is unplugged. - Otherwise, if you just set `gnus-agent-queue-mail' to 'always, it will always be queued, you could just set that with customize. I could understanding wanting a command that sends a single message to the queue, but why write a command that globally sets the option once? Why not just set it in your init files?