Gnus development mailing list
 help / color / mirror / Atom feed
From: Arash Esbati <arash@gnu.org>
To: ding@gnus.org
Subject: Re: what is the best way to include code snippets in plain mail body
Date: Sat, 11 Nov 2023 19:41:02 +0100	[thread overview]
Message-ID: <m2wmuo3zgh.fsf@macmutant.fritz.box> (raw)
In-Reply-To: <871qcwnvfr.fsf@mat.ucm.es> (Uwe Brauer's message of "Sat, 11 Nov 2023 16:47:36 +0100")

Uwe Brauer <oub@mat.ucm.es> 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 ‘message.el’.
| 
| It is bound to C-c M-m.
| 
| (message-mark-inserted-region BEG END &optional VERBATIM)
| 
| Mark some region in the current article with enclosing tags.
| See ‘message-mark-insert-begin’ and ‘message-mark-insert-end’.
| If VERBATIM, use slrn style verbatim marks ("#v+" and "#v-").
| 
`----

Best, Arash


  reply	other threads:[~2023-11-11 19:28 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-11 13:21 Uwe Brauer
2023-11-11 13:39 ` Emanuel Berg
2023-11-11 15:47   ` Uwe Brauer
2023-11-11 18:41     ` Arash Esbati [this message]
2023-11-11 19:44       ` Emanuel Berg
2023-11-11 19:23     ` Uwe Brauer
2023-11-11 19:32       ` Emanuel Berg
2023-11-11 22:22         ` Emanuel Berg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2wmuo3zgh.fsf@macmutant.fritz.box \
    --to=arash@gnu.org \
    --cc=ding@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).