From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.help Subject: Re: Trouble getting archives to load as archives Date: Sun, 06 Jul 2008 12:59:09 +0200 Message-ID: <87zlov46te.fsf@tux.homenetwork> References: <87hcb6b44u.fsf@tux.homenetwork> <8d7d1e6d0807041837y18fe5eb4n860acfad3cc484e8@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1215342102 18043 80.91.229.12 (6 Jul 2008 11:01:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Jul 2008 11:01:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Davin Pearson" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jul 06 13:02:28 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 1KFS0h-0004I4-Kt for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Jul 2008 13:02:27 +0200 Original-Received: from localhost ([127.0.0.1]:46736 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFRzq-0006Sk-Ey for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Jul 2008 07:01:34 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KFRzT-0006OV-27 for help-gnu-emacs@gnu.org; Sun, 06 Jul 2008 07:01:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KFRzR-0006Nn-Tg for help-gnu-emacs@gnu.org; Sun, 06 Jul 2008 07:01:10 -0400 Original-Received: from [199.232.76.173] (port=33344 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KFRzR-0006Nd-Lz for help-gnu-emacs@gnu.org; Sun, 06 Jul 2008 07:01:09 -0400 Original-Received: from qb-out-1314.google.com ([72.14.204.172]:20474) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KFRzR-00052R-6l for help-gnu-emacs@gnu.org; Sun, 06 Jul 2008 07:01:09 -0400 Original-Received: by qb-out-1314.google.com with SMTP id c5so6225868qbc.2 for ; Sun, 06 Jul 2008 04:01:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=fasBkCCy785T+oMYPTB8ZxC5XjRdi6sQxsgPBptsdjk=; b=qb6Zgv8UZ4a5Yg8WYkOsGmXwaoTdZBxOdGRLw6du9B1a1qZXd80mWsulv+ha3YPJxL A22/MqF5hzZIVEkx0S584asbA+KyyhKwBpLYfc7rjm5m2f3WRiVms1JsIsPVnm9/dc5k 2qd97ekJmHcNMJu8dAfNURLdHfl6zp5viC1N4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=gTOpzqckv5UhxT5LgWRuwNVQ/cc60RNmxgcWHx+G65O79LVYMIZ8rGe0t6XsXPtwg0 R7JDhgoqso0AIOhCYb2ptnD+m/LBCbyXCTs8IcUHwL15tei1M58nnqrIM3L9A8mbQd9Y 5tgDzk9/HXzZ77IXSHcKgUCBgLLKxXbB+tqPg= Original-Received: by 10.66.240.12 with SMTP id n12mr3664371ugh.39.1215342067415; Sun, 06 Jul 2008 04:01:07 -0700 (PDT) Original-Received: from tux.homenetwork ( [79.85.211.4]) by mx.google.com with ESMTPS id i40sm1208041ugf.24.2008.07.06.04.01.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 06 Jul 2008 04:01:06 -0700 (PDT) In-Reply-To: <8d7d1e6d0807041837y18fe5eb4n860acfad3cc484e8@mail.gmail.com> (Davin Pearson's message of "Sat, 5 Jul 2008 13:37:57 +1200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) 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:55269 Archived-At: "Davin Pearson" writes: > 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? I am not sure to understand you. With avfs you can browse any compressed archives (like the emacs sources) just like if they were uncompressed http://sourceforge.net/projects/avf > Have you got AVS installed on your O/S? Yes you must and you need fuse installed and also enabled in your kernel. > Are you using Linux or Windows XP? I am using XP. I use Gentoo/Linux. I don't know about XP. -- A + Thierry Volpiatto Location: Saint-Cyr-Sur-Mer - France