From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ChinaXing Newsgroups: gmane.emacs.help Subject: Re: tar mode and package.el can't support bsdtar in mac OSX Date: Mon, 15 Apr 2013 20:47:35 +0800 Message-ID: <00F1FE21-BB5F-4F58-93E5-03A376DB262E@gmail.com> References: <28088339-eac4-4679-a9e5-7fb569b80a60@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1366030087 32296 80.91.229.3 (15 Apr 2013 12:48:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Apr 2013 12:48:07 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Apr 15 14:48:08 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1URipJ-0004AC-FR for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Apr 2013 14:48:05 +0200 Original-Received: from localhost ([::1]:49224 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URipG-0003oP-5B for geh-help-gnu-emacs@m.gmane.org; Mon, 15 Apr 2013 08:48:02 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:46006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URip2-0003o3-3M for help-gnu-emacs@gnu.org; Mon, 15 Apr 2013 08:47:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1URiow-0005Cw-Iw for help-gnu-emacs@gnu.org; Mon, 15 Apr 2013 08:47:48 -0400 Original-Received: from mail-pb0-f51.google.com ([209.85.160.51]:61153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1URiow-0005Ci-Cq for help-gnu-emacs@gnu.org; Mon, 15 Apr 2013 08:47:42 -0400 Original-Received: by mail-pb0-f51.google.com with SMTP id rr4so2469063pbb.24 for ; Mon, 15 Apr 2013 05:47:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:content-type:mime-version:subject:from:in-reply-to:date :cc:content-transfer-encoding:message-id:references:to:x-mailer; bh=PNX5H03ntHV7E2aFA9ewSY/BbFby0o78lKPc2rs/A4E=; b=vWQ0KNi7lX7s574SyxYqWaOFEqtM2Sf0JwtiCI7laKNFmTprr8PiJDoAm+vIT6yh6U x9A77W5ycrk9fknscM+SElqiYB8LuO/rffYF6lLWDBsn3vl42HxQCCQhCUelVfzaaUtA UGNUoepCbl2z8MWENO6kPDSfkfl90dvgTY+YbTfGRCvDQgT9e6+ERffENPZL3270oreE 4ERU+TpPUqe+rtc58NpJ0wqcgFx66u6RCkuG3aWkdwqMPFXiTv9aAwcaHGBV0jTtlAgO oaa1ZgPSVCcpjmgHY9FIR6rLDo9ILhEawWK5AIxbdvecw10ez5l2XRq2fLHMjGlWSs0T wS3w== X-Received: by 10.66.235.3 with SMTP id ui3mr29911303pac.200.1366030060629; Mon, 15 Apr 2013 05:47:40 -0700 (PDT) Original-Received: from [192.168.2.101] ([115.195.54.48]) by mx.google.com with ESMTPS id o7sm16133545pbs.45.2013.04.15.05.47.37 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 15 Apr 2013 05:47:39 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1503) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.160.51 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90169 Archived-At: the ._xxx file was generated by Mac sox when creating tar ball, you can disable this by set environment variable COPYFILE_DISABLE=3D1: COPYFILE_DISABLE=3D1 gnutar cf dir.tar dir =D4=DA 2013-4-14=A3=AC=CF=C2=CE=E75:40=A3=ACPeter Dyballa = =D0=B4=B5=C0=A3=BA >=20 > Am 14.04.2013 um 04:04 schrieb =B3=C2=D4=C6=D0=C7: >=20 >> i create a tarball with bsdtar( the default tar tool in Mac osx) then = open it with emacs tar-mode. >>=20 >> but it can't be opened. >=20 > On Mac OS X 10.6.8, Snow Leopard, I cannot reproduce this. The bsdtar = archive I created can be opened with /usr/bin/emacs -Q. What's puzzling = is that bsdtar includes the metadata resource forks of regular files = into the archive, as in: >=20 > -rw-r--r-- 501/80 452 ./._vishnusmriti.txt > -rw-r--r-- 501/80 402641 vishnusmriti.txt > -rwxr-xr-x 501/80 323 emacs.sh > -rw-r--r-- 501/80 10913 dot-emacs > -rw-r--r-- 501/80 478 ./._test-vertical.tex > -rw-r--r-- 501/80 268 test-vertical.tex > -rw-r--r-- 501/80 477 ./._ThreeKingdomsCh1.tex.zip > -rw-r--r-- 501/80 9639 ThreeKingdomsCh1.tex.zip >=20 > What I cannot open successfully is the ZIP archive inside the bsdtar = archive. >=20 > For help give more details! How did you create the bsdtar archive? = What was the command line? How did you launch GNU Emacs? Did you try it = with -Q, i.e., without any customisation? What is your Mac OS X version? = Which version of GNU Emacs are you using? >=20 > -- > Greetings >=20 > Pete >=20 > Think of XML as Lisp for COBOL programmers. > - Tony-A (some guy on /.) >=20