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=-2.1 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 435 invoked from network); 22 May 2021 17:22:20 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 22 May 2021 17:22:20 -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.94) (envelope-from ) id 1lkVKN-005Xv6-9X for ml@inbox.vuxu.org; Sat, 22 May 2021 12:22:19 -0500 Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.94) (envelope-from ) id 1lkVKM-00FgNW-IG for ml@inbox.vuxu.org; Sat, 22 May 2021 12:22:18 -0500 Received: from mx2.math.uh.edu ([129.7.128.33]) by lists1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1lkVKL-00FgNP-Qs for ding@lists.math.uh.edu; Sat, 22 May 2021 12:22:17 -0500 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.94) (envelope-from ) id 1lkVKJ-004U7M-L5 for ding@lists.math.uh.edu; Sat, 22 May 2021 12:22:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:Mime-Version: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:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=AH/jlapfadI/a0LTApnja7mSvm406i/DGYYTxeHFunI=; b=NsF31d/7URG8kxyBn+MSUvjjpf 9JEldSsyfe/RG7e91Yf71LIlKdC90POyNWYJLM4DZCxROvxtG/NzfvS5V0XVmwmLtw4mA0Ji3J5dg Hd4WkeLV1oLQG4+af5I9Xd0wrWiaeST/wrnen7LEbC6TvD1q7haM2m8Gi69E2rHuiJDk=; 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 1lkVKD-0003Bz-Hp for ding@gnus.org; Sat, 22 May 2021 19:22:11 +0200 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lkVKC-000AAn-Vt for ding@gnus.org; Sat, 22 May 2021 19:22:08 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org To: ding@gnus.org From: Uwe Brauer Subject: my attach this buffer Date: Sat, 22 May 2021 19:22:04 +0200 Message-ID: <87fsyen0oz.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cancel-Lock: sha1:npzd1SU1msxaONv2jCuqYV2GOLU= Mail-Copies-To: never Header: Newsgroups List-ID: Precedence: bulk Hi A very long time ago I wrote a function that allowed my attach the actual buffer, I was working in, using vm. I no longer use vm but gnus since a long time, but forgot the function So I tried (defun my-attach-this-buffer () "Send the whole buffer, funny to note that such a function does not exist." (interactive) (let ((src-buf (buffer-file-name (current-buffer)))) (my-gnus-summary-post-news) (mail-text) (mml-attach-buffer src-buffer nil nil nil) (message-goto-to))) It does not work something in the src-buffer is not right but I don't know what Anybody has an idea? It is really strange that such a function does not exist