From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: tomas@tuxteam.de Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Can't paste from files with .arc extensions Date: Mon, 10 Mar 2008 08:33:06 +0000 Message-ID: <20080310083306.GA15530@www.trapp.net> References: <47D32BE3.5000707@lojic.com> <47D479AE.3010800@lojic.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; x-action=pgp-signed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1205138110 4854 80.91.229.12 (10 Mar 2008 08:35:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Mar 2008 08:35:10 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, rms@gnu.org To: Brian Adkins Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 10 09:35:37 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JYdTs-00044x-2u for ged-emacs-devel@m.gmane.org; Mon, 10 Mar 2008 09:35:36 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYdTJ-0005jd-Nh for ged-emacs-devel@m.gmane.org; Mon, 10 Mar 2008 04:35:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYdTE-0005jY-Lh for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:34:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYdTB-0005jI-6m for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:34:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYdTB-0005jF-0h for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:34:53 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JYdTA-0004nJ-WF for emacs-devel@gnu.org; Mon, 10 Mar 2008 04:34:53 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JYdTA-00057I-EQ for emacs-pretest-bug@gnu.org; Mon, 10 Mar 2008 04:34:52 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JYdT7-0004mr-9w for emacs-pretest-bug@gnu.org; Mon, 10 Mar 2008 04:34:52 -0400 Original-Received: from alextrapp1.equinoxe.de ([217.22.192.104] helo=www.elogos.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JYdT6-0004je-VN; Mon, 10 Mar 2008 04:34:49 -0400 Original-Received: by www.elogos.de (Postfix, from userid 4000) id E55034B628; Mon, 10 Mar 2008 08:33:06 +0000 (UTC) Content-Disposition: inline In-Reply-To: <47D479AE.3010800@lojic.com> User-Agent: Mutt/1.5.9i X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:92013 gmane.emacs.pretest.bugs:21496 Archived-At: -----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=20 > archive files are binary, right? Shouldn't that be enough to distinguis= h=20 > 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] Although the seem to expect "leading garbage" of up to 64K, which mak= es detection somewhat of a challenge :-( Regards - -- tom=C3=A1s -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFH1PJCBcgs9XrR2kYRAr8bAJwPxavm5/ysQhcfN69JU897Ui083QCcDiKI NqRo7+ajJ0uirXO0ed1doO8=3D =3D5YwS -----END PGP SIGNATURE-----