unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thierry Volpiatto <thierry.volpiatto@gmail.com>
To: "Davin Pearson" <davin.pearson@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Trouble getting archives to load as archives
Date: Sun, 06 Jul 2008 12:59:09 +0200	[thread overview]
Message-ID: <87zlov46te.fsf@tux.homenetwork> (raw)
In-Reply-To: <8d7d1e6d0807041837y18fe5eb4n860acfad3cc484e8@mail.gmail.com> (Davin Pearson's message of "Sat, 5 Jul 2008 13:37:57 +1200")

"Davin Pearson" <davin.pearson@gmail.com> writes:

> 2008/7/4 Thierry Volpiatto <thierry.volpiatto@gmail.com>:
>> 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




  reply	other threads:[~2008-07-06 10:59 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03 22:59 Trouble getting archives to load as archives Davin Pearson
2008-07-04  5:38 ` Thierry Volpiatto
2008-07-05  1:37   ` Davin Pearson
2008-07-06 10:59     ` Thierry Volpiatto [this message]
2008-07-04 21:57 ` Peter Dyballa
     [not found] ` <mailman.14225.1215208751.18990.help-gnu-emacs@gnu.org>
2008-07-05  1:32   ` Davin Pearson
2008-07-05  2:23     ` Bernardo Bacic
2008-07-05  2:57       ` Davin Pearson
2008-07-05  8:19         ` Peter Dyballa
2008-07-06  8:21           ` Davin Pearson
2008-07-08  7:00             ` Kevin Rodgers
2008-07-08  7:23               ` Peter Dyballa
2008-07-08 10:52               ` Bernardo Bacic
2008-07-08 11:24                 ` Peter Dyballa

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=87zlov46te.fsf@tux.homenetwork \
    --to=thierry.volpiatto@gmail.com \
    --cc=davin.pearson@gmail.com \
    --cc=help-gnu-emacs@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.
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).