[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Trouble getting archives to load as archives
From: |
Davin Pearson |
Subject: |
Re: Trouble getting archives to load as archives |
Date: |
Sat, 5 Jul 2008 13:37:57 +1200 |
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?
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
- Trouble getting archives to load as archives, Davin Pearson, 2008/07/03
- Re: Trouble getting archives to load as archives, Thierry Volpiatto, 2008/07/04
- Re: Trouble getting archives to load as archives,
Davin Pearson <=
- Re: Trouble getting archives to load as archives, Peter Dyballa, 2008/07/04
- Message not available
- Re: Trouble getting archives to load as archives, Davin Pearson, 2008/07/04
- Re: Trouble getting archives to load as archives, Bernardo Bacic, 2008/07/04
- Re: Trouble getting archives to load as archives, Davin Pearson, 2008/07/04
- Re: Trouble getting archives to load as archives, Peter Dyballa, 2008/07/05
- Re: Trouble getting archives to load as archives, Davin Pearson, 2008/07/06
- Re: Trouble getting archives to load as archives, Kevin Rodgers, 2008/07/08
- Re: Trouble getting archives to load as archives, Peter Dyballa, 2008/07/08
- Re: Trouble getting archives to load as archives, Bernardo Bacic, 2008/07/08