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.7 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20196 invoked from network); 11 Nov 2023 19:28:20 -0000 Received: from mx2.math.uh.edu (129.7.128.33) by inbox.vuxu.org with ESMTPUTF8; 11 Nov 2023 19:28:20 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx2.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1r1teP-0000Ht-1K for ml@inbox.vuxu.org; Sat, 11 Nov 2023 13:28:17 -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 1r1teO-0013R8-2l for ml@inbox.vuxu.org; Sat, 11 Nov 2023 13:28:12 -0600 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96.2) (envelope-from ) id 1r1teN-0013R2-1O for ding@lists.math.uh.edu; Sat, 11 Nov 2023 13:28:11 -0600 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1r1suy-00HT80-0e for ding@lists.math.uh.edu; Sat, 11 Nov 2023 12:41:21 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=oQrt+hJMXFCUeK/UtwX/UJxrMsENlD/K2Zy04fkSZPk=; b=Avr0SVhBzXM5e9+oT7Wddjnzaz id0ufLek5596LFcuUN6KDOnpuuxY3wrHaKQiwBs+4K6laqlRdWB41AgmEPgJduxgjbD9ED8VcH6K6 vV+N0KBzacnbHi0YEuHk7rg41oCWL4hqkvm5kHYkOMvEU3o7b5/oE1kHeAMy/sSRoy3w=; Received: from eggs.gnu.org ([2001:470:142:3::10]) by quimby.gnus.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r1suq-0008Dm-MN for ding@gnus.org; Sat, 11 Nov 2023 19:41:11 +0100 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r1sun-0007vB-RL for ding@gnus.org; Sat, 11 Nov 2023 13:41:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=oQrt+hJMXFCUeK/UtwX/UJxrMsENlD/K2Zy04fkSZPk=; b=dK/ffNp818kWGA5cqWOc KSz+TQdV5fkpJRzKlot4FVZnoq8kVfy+D7OOsN/djC5p2LmMABXWGGiDuOCEfYsJI8EyTztehZXD0 6oWn8F8CF7EGes1wgB06srP/AYec+JvjXgWMgzTmSE02XfWKtujakzK7i613U7JM/FEDEO2H6GJmh VoX/RNXta33xzXkifnsSxKtjIfbmPlTBq3/aLLN+H65lbqikeeip29eSRMPOWlhe+UqRDKDIklVKJ tR5q46YNKZb6PsxrGwexgzKvycyDWSa7A7mq3J2zBlcaIIDBRUKf12hv0RwgJXdDbj4lXcZ8CKUab 6nA5jiWfypn6PA==; From: Arash Esbati To: ding@gnus.org Subject: Re: what is the best way to include code snippets in plain mail body In-Reply-To: <871qcwnvfr.fsf@mat.ucm.es> (Uwe Brauer's message of "Sat, 11 Nov 2023 16:47:36 +0100") References: <87zfzk4e97.fsf@mat.ucm.es> <874jhsif3z.fsf@dataswamp.org> <871qcwnvfr.fsf@mat.ucm.es> Date: Sat, 11 Nov 2023 19:41:02 +0100 Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk Uwe Brauer writes: > BTW, I swore I have seen code for inserting some code or marking the > code and inserting these lines, but I can't find it anymore > > Any ideas? ,----[ C-h f message-mark-inserted-region RET ] | message-mark-inserted-region is an interactive native-compiled Lisp | function in =E2=80=98message.el=E2=80=99. |=20 | It is bound to C-c M-m. |=20 | (message-mark-inserted-region BEG END &optional VERBATIM) |=20 | Mark some region in the current article with enclosing tags. | See =E2=80=98message-mark-insert-begin=E2=80=99 and =E2=80=98message-mark= -insert-end=E2=80=99. | If VERBATIM, use slrn style verbatim marks ("#v+" and "#v-"). |=20 `---- Best, Arash