[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "cut here" (and message formatting in general)
From: |
Teemu Likonen |
Subject: |
Re: "cut here" (and message formatting in general) |
Date: |
Sun, 28 Apr 2013 12:28:01 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) |
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-").
pgpQ5hdYOak9k.pgp
Description: PGP signature