Gnus development mailing list
 help / color / mirror / Atom feed
From: Cristian Gutierrez <crgutier@dcc.uchile.cl>
Subject: Re: Embedded lisp in the message body: hwoto ?
Date: Thu, 07 Oct 2004 04:27:49 -0400	[thread overview]
Message-ID: <871xgb7x16.fsf@guti.no-ip.org> (raw)
In-Reply-To: <m3acv6fg9s.fsf@defun.localdomain>

Este viernes, Jesper Harder dijo:
> Xavier Maillard <zedek@gnu-rox.org> writes:
>
>> 2. I have friends of mine with whoom I often exchange Lisp
>>    snippets and so I would like to have the lisp snippet rendered
>>    differently from the rest of the article
>
> This should be easy.  Just use inline attachments:
> (defun foo (x)
>   (+ 2 x))
>
> i.e.
>
> <#part type="application/emacs-lisp" disposition=inline>
> (defun foo (x)
>   (+ 2 x))
> <#part type="text/plain" disposition=inline>

Amazing! Is there any chance to highlight snippets in other languages?
(Perl/Python for example). Inlining a little perl snippet (text/x-perl)
didn't work here...

-- 
Cristian Gutierrez			http://www.dcc.uchile.cl/~crgutier
crgutier[@]dcc.uchile.cl                        Jabber:crgutier@jabber.org

Programmer: The device for converting coffee into software.




  parent reply	other threads:[~2004-10-07  8:27 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-30 23:42 Xavier Maillard
2004-10-01 18:24 ` Jesper Harder
2004-10-01 20:28   ` Xavier Maillard
2004-10-01 20:49     ` Jesper Harder
2004-10-01 20:49   ` Xavier Maillard
2004-10-02 19:44     ` Jesper Harder
2004-10-03 14:24       ` Xavier Maillard
2004-10-05  1:24         ` Katsumi Yamaoka
2004-10-05  4:45           ` [SOLVED] (was: Embedded lisp in the message body: hwoto ?) Xavier Maillard
2004-10-02 15:55   ` Embedded lisp in the message body: hwoto ? Xavier Maillard
2004-10-07  8:27   ` Cristian Gutierrez [this message]
2004-10-07 15:45     ` Xavier Maillard

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=871xgb7x16.fsf@guti.no-ip.org \
    --to=crgutier@dcc.uchile.cl \
    /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).