Tamas K. Papp [2013-04-28 11:14:47 +02:00] wrote:
> Reading a newsgroup recently in Gnus I found a message which had code
> nicely highlighted in the Emacs buffer. Looking at the raw message
> source I found something like
>
> --8<---------------cut here---------
> 2. Is there an emacs function or some other shortcut to enter it?
Yes, there is:
C-c M-m runs the command message-mark-inserted-region, which is an
interactive compiled Lisp function in `message.el'.
It is bound to C-c M-m, <menu-bar> <Message> <Insert Region Marked>.
(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-").