From: tomas@tuxteam.de
To: Brian Adkins <info@lojic.com>
Cc: emacs-pretest-bug@gnu.org, rms@gnu.org
Subject: Re: 23.0.60; Can't paste from files with .arc extensions
Date: Mon, 10 Mar 2008 08:33:06 +0000 [thread overview]
Message-ID: <20080310083306.GA15530@www.trapp.net> (raw)
In-Reply-To: <47D479AE.3010800@lojic.com>
-----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-----
next prev parent reply other threads:[~2008-03-10 8:33 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-09 0:14 23.0.60; Can't paste from files with .arc extensions Brian Adkins
2008-03-09 20:53 ` Richard Stallman
2008-03-09 21:17 ` Bastien
2008-03-10 17:16 ` Richard Stallman
2008-03-09 21:20 ` Eric Hanchrow
2008-03-09 21:27 ` Bastien
2008-03-09 21:59 ` Miles Bader
2008-03-09 22:39 ` Eli Zaretskii
2008-03-09 22:50 ` Miles Bader
2008-03-10 4:08 ` Eli Zaretskii
2008-03-10 17:16 ` Richard Stallman
2008-03-09 22:45 ` Andreas Schwab
2008-03-10 17:15 ` Richard Stallman
2008-03-09 22:27 ` Eli Zaretskii
2008-03-10 17:16 ` Richard Stallman
2008-03-12 4:30 ` Eli Zaretskii
2008-03-09 23:58 ` Brian Adkins
2008-03-10 8:33 ` tomas [this message]
2008-03-10 13:12 ` Brian Adkins
2008-03-10 17:16 ` Richard Stallman
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080310083306.GA15530@www.trapp.net \
--to=tomas@tuxteam.de \
--cc=emacs-pretest-bug@gnu.org \
--cc=info@lojic.com \
--cc=rms@gnu.org \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).