From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Davin Pearson" Newsgroups: gmane.emacs.help Subject: Re: Trouble getting archives to load as archives Date: Sat, 5 Jul 2008 13:37:57 +1200 Message-ID: <8d7d1e6d0807041837y18fe5eb4n860acfad3cc484e8@mail.gmail.com> References: <87hcb6b44u.fsf@tux.homenetwork> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1215221911 27337 80.91.229.12 (5 Jul 2008 01:38:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 5 Jul 2008 01:38:31 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Thierry Volpiatto" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jul 05 03:39:16 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KEwk5-00072F-69 for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Jul 2008 03:39:13 +0200 Original-Received: from localhost ([127.0.0.1]:55119 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEwjE-0006Xv-9f for geh-help-gnu-emacs@m.gmane.org; Fri, 04 Jul 2008 21:38:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KEwiu-0006UK-4Q for help-gnu-emacs@gnu.org; Fri, 04 Jul 2008 21:38:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KEwit-0006Tu-PK for help-gnu-emacs@gnu.org; Fri, 04 Jul 2008 21:37:59 -0400 Original-Received: from [199.232.76.173] (port=52111 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KEwit-0006To-Jo for help-gnu-emacs@gnu.org; Fri, 04 Jul 2008 21:37:59 -0400 Original-Received: from yw-out-1718.google.com ([74.125.46.155]:41107) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KEwit-0000Bi-Bm for help-gnu-emacs@gnu.org; Fri, 04 Jul 2008 21:37:59 -0400 Original-Received: by yw-out-1718.google.com with SMTP id 9so584884ywk.66 for ; Fri, 04 Jul 2008 18:37:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=F+3d3AZqrRIzjYPYMP8kr6xFkoPrge0n+EJA44ibp30=; b=Jn3T44m4zh0VXQi4PsqVA4PxFdaB11wFquIG5oATS3y5hrIVPSFnMZ6pppLhMewEX/ 8UIZ3PDscvkcWNtVKubZznmpefOr+GsHRSEagKHldOL0Ez8PZ4K0SCuXDeo12Oc76TKm 9xv0V+O4LRBYGes0/0f+m8h6rJDkKYn4jcsa8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=DECQk8kcBBqqoIEVpxY3WiRXaUkTptgeLFm3K/SeHvIM5V0hpBaJvMtwlADDlmy/HO U0kNmOvNFuwuc0mrtOIEPF5ntWplszG4QEb/MNXROsckSNMTaVd2830UUmXtasPV/htW QmUlEIILlLEhC/D+eEKAsST1kaks27gg0Ncb0= Original-Received: by 10.150.133.17 with SMTP id g17mr2964491ybd.196.1215221877613; Fri, 04 Jul 2008 18:37:57 -0700 (PDT) Original-Received: by 10.150.192.12 with HTTP; Fri, 4 Jul 2008 18:37:57 -0700 (PDT) In-Reply-To: <87hcb6b44u.fsf@tux.homenetwork> Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:55251 Archived-At: 2008/7/4 Thierry Volpiatto : > an other solution is to use avfs, with that you can open any archives on > read/write mode just as any directory in dired. > So just install avfs and set fuse in your kernel (and install fuse) > I use this code to use it in emacs: > > ,----[ avfs in dired ] > | (defun tv-dired-browse-archive () > | "This function use avfs and fuse, so be sure > | to have these programs and modules installed on your system" > | (interactive) > | (let ((file-at-point (dired-get-filename))) > | (if (or (equal (file-name-extension file-at-point) "gz") > | (equal (file-name-extension file-at-point) "bz2") > | (equal (file-name-extension file-at-point) "zip")) > | (progn > | (when (not (cddr (directory-files "~/.avfs"))) > | (shell-command "mountavfs")) > | (find-file (concat "~/.avfs" file-at-point "#"))) > | (find-file file-at-point)))) > | (define-key dired-mode-map (kbd "z") 'tv-dired-browse-archive) > `---- Are you sure that it is worth the trouble installing AVS? Have you got AVS installed on your O/S? Are you using Linux or Windows XP? I am using XP. -- Sincerely and kindest regards, Davin. Davin Pearson http://www.davinpearson.com