Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Re: "cut here" (and message formatting in general)
       [not found] <mailman.24784.1367140811.855.info-gnus-english@gnu.org>
@ 2013-08-01 12:09 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-08-01 12:09 UTC (permalink / raw)
  To: Tamas K Papp; +Cc: info-gnus-english

Tamas K Papp <tkpapp@gmail.com> writes:

> 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---------
>
> around the code.
>
> I was not aware of this possibility, so now I am interested in the
> following:
>
> 1. What's the "standard" format for this, or at least the format
> recognized by Gnus?

These are inserted by the `message-mark-inserted-region' command, and
Gnus parses what that inserts.

-- 
(domestic pets only, the antidote for overdose, milk.)
  No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "cut here" (and message formatting in general)
  2013-04-28  9:14 Tamas K Papp
@ 2013-04-28  9:28 ` Teemu Likonen
  0 siblings, 0 replies; 3+ messages in thread
From: Teemu Likonen @ 2013-04-28  9:28 UTC (permalink / raw)
  To: Tamas K. Papp; +Cc: info-gnus-english


[-- Attachment #1.1: Type: text/plain, Size: 814 bytes --]

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-").

[-- Attachment #1.2: Type: application/pgp-signature, Size: 835 bytes --]

[-- Attachment #2: Type: text/plain, Size: 162 bytes --]

_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

^ permalink raw reply	[flat|nested] 3+ messages in thread

* "cut here" (and message formatting in general)
@ 2013-04-28  9:14 Tamas K Papp
  2013-04-28  9:28 ` Teemu Likonen
  0 siblings, 1 reply; 3+ messages in thread
From: Tamas K Papp @ 2013-04-28  9:14 UTC (permalink / raw)
  To: info-gnus-english

Hi,

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---------

around the code.

I was not aware of this possibility, so now I am interested in the
following:

1. What's the "standard" format for this, or at least the format
recognized by Gnus?

2. Is there an emacs function or some other shortcut to enter it?

3. Is there a list of similar constructs that Gnus would recognize (I am
aware of *bold*, _underline_ and /italic/, but I am interested in what I
am missing).  If there is no user-friendly list I am happy to look at EL
sources, but some directions would be useful.

Best,

Tamas

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-01 12:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <mailman.24784.1367140811.855.info-gnus-english@gnu.org>
2013-08-01 12:09 ` "cut here" (and message formatting in general) Lars Magne Ingebrigtsen
2013-04-28  9:14 Tamas K Papp
2013-04-28  9:28 ` Teemu Likonen

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).