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=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H2 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 2237 invoked from network); 26 Aug 2021 20:17:33 -0000 Received: from lists.gnu.org (209.51.188.17) by inbox.vuxu.org with ESMTPUTF8; 26 Aug 2021 20:17:33 -0000 Received: from localhost ([::1]:44892 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mJLoY-0007CP-NU for ml@inbox.vuxu.org; Thu, 26 Aug 2021 16:17:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33488) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJK2N-0006le-Jd for info-gnus-english@gnu.org; Thu, 26 Aug 2021 14:23:41 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21124) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mJK2H-0002zN-13 for info-gnus-english@gnu.org; Thu, 26 Aug 2021 14:23:37 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1630002208; cv=none; d=zohomail.com; s=zohoarc; b=H+/ZvDZwTOkgTcMjGiDNvPDs/I6VIW9qCRRg6XqTQwBWhXmSpoDlQaTvsuf2VpT4su4w8uOdt2v/T7n3UlgwWcexHAeIOFP/gHwLdJ28zJcFm4CIdY3NrYOncNa5cLdMbpjo8fHjcyEEoagyduORsvbXjjYsOWIUNwVGzCoNJlM= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1630002208; h=Content-Type:Date:From:MIME-Version:Message-ID:Subject:To; bh=YYVMVeR3eoVMyf3yeHYP73I3P4QB54xNafYaE9MSCWo=; b=l5Lp9fcpYJSNqABIgn6ymrJaruo8f9EmHXgIVsusYiOCg40Wfmp7dI8SLMp4/+inZG64hU7MX7MIWAbene/f2lLoY0zf2jkdqv2We1cEwgH4CE7aJyW8GV7OjciL7pEl77Se2DguYSK009RkhFupP5XPbhiekDBGKRHbjP+y3Ng= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=a-rx.info; spf=pass smtp.mailfrom=rx@a-rx.info; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1630002208; s=zoho; d=a-rx.info; i=rx@a-rx.info; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; bh=YYVMVeR3eoVMyf3yeHYP73I3P4QB54xNafYaE9MSCWo=; b=RrRFY3+oa3WMNEvgSjRwrklT/r89jrgKpnJYuo0iLpok9fbHWPUDBMLlt++3lcgF 7Ci8jT6nxhF50Gq09RJ0FzJbJ21Cr1nwg0CMP29jg4QgowXLYPLqK5/7KDdZo5gBl8c /gk0r2Hp13kxIV9Tq0ZYmL+eDkF93S13aH4N6GxY= Received: from softland (host5-81-182-101.range5-81.btcentralplus.com [5.81.182.101]) by mx.zohomail.com with SMTPS id 1630002206276964.0816997058403; Thu, 26 Aug 2021 11:23:26 -0700 (PDT) Received: from rx by softland with local (Exim 4.94.2) (envelope-from ) id 1mJK27-005bOn-1W for info-gnus-english@gnu.org; Thu, 26 Aug 2021 19:23:23 +0100 From: Andreas Reuleaux To: info-gnus-english@gnu.org Subject: cut here markers for code snippets in mail Date: Thu, 26 Aug 2021 19:23:22 +0100 Message-ID: <87v93snjz9.fsf@softland> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.51; envelope-from=rx@a-rx.info; helo=sender4-of-o51.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Thu, 26 Aug 2021 16:17:26 -0400 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+ml=inbox.vuxu.org@gnu.org Sender: "info-gnus-english" Hi, I have seen people highlighting code snippets in mail with "cut here markers": some ascii art for scissors, "cut here", "start", "end", ..., like so: --8<---------------cut here---------------start------------->8--- rm -f /etc/fonts/conf.d/70-no-bitmaps.conf ln -f -s /usr/share/fontconfig/conf.avail/70-yes-bitmaps.conf /etc/fonts/conf.d --8<---------------cut here---------------end--------------->8--- which is kind of nice, and simple (as I don't want to get into composing html mails with org-mime or the like). I get to see them "green on yellow" in gnus (once I have received such mails), or when in draft status (in my drafts folder). Two questions (at least): For one thing, I wonder if this behaviour is anywhere documented/specified/explained in more detail? And then: I would like to see my code green-on-yellow snippets in message mode as well (when composing mail), or at least as a toggle: see how my mail would look to the recipient. And how are people actually using these "cut here markers": insert them by hand, as I did above? Or is there some automatic support for this hidden somewhere? - Or any other mechanisms for such code snippets highlighting - in org mode nevertheless perhaps [?]: I don't want to send html mails, but maybe org-mime / orgmsg / etc. are useful for composing mails? I only use gnus - nothing else (TM). Thanks in advance, -A