[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to include code in e-mail?

From: David Kastrup
Subject: Re: How to include code in e-mail?
Date: Mon, 24 Aug 2015 18:45:57 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

Simon Albrecht <address@hidden> writes:

> Am 20.08.2015 um 09:41 schrieb Phil Holmes:
>> For trivially small examples (like this is) I think most people find
>> it far easier to comment if you post the code in line, rather than
>> as an attachment.  I certainly do.
> I just recalled this remark of yours and wanted to reply to it.
> I’ve taken a habit of (almost) always including code as an attachment,
> since thus
> (a) there’s no chance of it getting messed up anywhere on its path and
> (b) I work with Frescobaldi (as a majority of people do, I think) and
> to test the code I needn’t even do any copy&paste but can just open
> the file with Frescobaldi.
> On the other hand it doesn’t allow commenting inline, that’s true. So
> likely it’s a matter of preference. What do others think?

I tend to use an attachment with disposition "inline".  That way, you
can just read the code directly with any sane mail client, but you can
also save it faithfully as one file with any sane mail client.

David Kastrup

reply via email to

[Prev in Thread] Current Thread [Next in Thread]