emacs-devel
[Top][All Lists]
Advanced

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

Re: 23.0.60; Can't paste from files with .arc extensions


From: tomas
Subject: Re: 23.0.60; Can't paste from files with .arc extensions
Date: Mon, 10 Mar 2008 08:33:06 +0000
User-agent: Mutt/1.5.9i

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Mar 09, 2008 at 07:58:38PM -0400, Brian Adkins wrote:
> Richard Stallman wrote, On 03/09/2008 04:53 PM:
> >     Paul Graham's new Arc language uses .arc as an

[...]

> What is the problem? Arc programming language files are plain text and 
> archive files are binary, right? Shouldn't that be enough to distinguish 
> between them?

And how you distinguish between that?

Anyway -- ARC the archive format seems to have a semi-reliable magic
signature. There is a byte hex 1A at the beginning, the following byte
should be between 0 and 8[1].

But I don't know whether its worth it...

- ------------------------------------
[1] 
<http://arc.cvs.sourceforge.net/arc/arc/Arcinfo?revision=1.1.1.1&view=markup>

    Although the seem to expect "leading garbage" of up to 64K, which makes
    detection somewhat of a challenge :-(

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFH1PJCBcgs9XrR2kYRAr8bAJwPxavm5/ysQhcfN69JU897Ui083QCcDiKI
NqRo7+ajJ0uirXO0ed1doO8=
=5YwS
-----END PGP SIGNATURE-----




reply via email to

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