all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Shuguang Sun <shuguang@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 30293@debbugs.gnu.org
Subject: bug#30293: tramp-error: Package `tramp-archive' not supported on LOCAL folder
Date: Sun, 4 Feb 2018 22:52:26 +0800	[thread overview]
Message-ID: <CACspjXcZH7jrHi_3bhv0JrLq8c=4GsrTPxqq3qJzjZPUy5eiug@mail.gmail.com> (raw)
In-Reply-To: <878tce3yls.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 1392 bytes --]

Thanks Michael.

What to my supprise is not only the directory (.zip or .tar). The tramp
should not be loaded for local folders or files. Is my understanding
correct?

Now I can open the folde with ext of .zip or .tar. It still trigers the
load of tramp.
And I try to open a local zip file. The file can be opened however it has
the message "Error: (user-error "Package `tramp-archive' not supported")".
Sorry not test it last time.




On Wed, Jan 31, 2018 at 10:13 PM, Michael Albinus <michael.albinus@gmx.de>
wrote:

> Shuguang Sun <shuguang@gmail.com> writes:
>
> Hi Shuguang,
>
> > How to reproduce the bug:
> > 1. create a Folder named "a.tar" or "a.zip" in local PC
> > 2. load tramp
> > 3. in dired, press Enter or dired-find-file on "a.tar" or "a.zip"
> > 4. it reports: tramp-error: Package `tramp-archive' not supported
>
> Same here, under GNU/Linux. However, why do you create a directory ("a
> folder") with the extension .tar or .zip? These are intended as "file"
> name extensions, not for directories.
>
> Anyway, I've committed a patch to the master branch, which should fix
> this. I hope this does not delay file archive operations too much,
> because for every single magic file operation I have to check now,
> whether the file archive is a directory.
>
> Could you pls check whether this works for you?
>
> > Best Regards,
> > Shuguang Sun
>
> Best regards, Michael.
>

[-- Attachment #2: Type: text/html, Size: 2059 bytes --]

  reply	other threads:[~2018-02-04 14:52 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-30  9:19 bug#30293: tramp-error: Package `tramp-archive' not supported on LOCAL folder Shuguang Sun
2018-01-30 10:31 ` Shuguang Sun
2018-01-31 14:13   ` Michael Albinus
2018-02-04 14:52     ` Shuguang Sun [this message]
2018-02-04 15:37       ` Shuguang Sun
2018-02-04 18:25         ` Michael Albinus
2018-02-05  1:35           ` Shuguang Sun
2018-02-05  7:40             ` Michael Albinus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACspjXcZH7jrHi_3bhv0JrLq8c=4GsrTPxqq3qJzjZPUy5eiug@mail.gmail.com' \
    --to=shuguang@gmail.com \
    --cc=30293@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.