unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#30293: tramp-error: Package `tramp-archive' not supported on LOCAL folder
@ 2018-01-30  9:19 Shuguang Sun
  2018-01-30 10:31 ` Shuguang Sun
  0 siblings, 1 reply; 8+ messages in thread
From: Shuguang Sun @ 2018-01-30  9:19 UTC (permalink / raw)
  To: 30293

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

Windows 7
GNU Emacs 27.0.50 (build 4, x86_64-w64-mingw32) of 2018-01-27

How to reproduce the bug:
1. create a Folder named "a.tar" or "a.zip" in local PC
2. in dired, press Enter or dired-find-file on "a.tar" or "a.zip"
3. it reports: tramp-error: Package `tramp-archive' not supported



Best Regards,
Shuguang Sun

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#30293: tramp-error: Package `tramp-archive' not supported on LOCAL folder
  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
  0 siblings, 1 reply; 8+ messages in thread
From: Shuguang Sun @ 2018-01-30 10:31 UTC (permalink / raw)
  To: 30293

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

Windows 7
GNU Emacs 27.0.50 (build 4, x86_64-w64-mingw32) of 2018-01-27

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



Best Regards,
Shuguang Sun

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#30293: tramp-error: Package `tramp-archive' not supported on LOCAL folder
  2018-01-30 10:31 ` Shuguang Sun
@ 2018-01-31 14:13   ` Michael Albinus
  2018-02-04 14:52     ` Shuguang Sun
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Albinus @ 2018-01-31 14:13 UTC (permalink / raw)
  To: Shuguang Sun; +Cc: 30293

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.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#30293: tramp-error: Package `tramp-archive' not supported on LOCAL folder
  2018-01-31 14:13   ` Michael Albinus
@ 2018-02-04 14:52     ` Shuguang Sun
  2018-02-04 15:37       ` Shuguang Sun
  0 siblings, 1 reply; 8+ messages in thread
From: Shuguang Sun @ 2018-02-04 14:52 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 30293

[-- 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 --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#30293: tramp-error: Package `tramp-archive' not supported on LOCAL folder
  2018-02-04 14:52     ` Shuguang Sun
@ 2018-02-04 15:37       ` Shuguang Sun
  2018-02-04 18:25         ` Michael Albinus
  0 siblings, 1 reply; 8+ messages in thread
From: Shuguang Sun @ 2018-02-04 15:37 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 30293

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

The last comment is based on Feb 2 commit.

Now I tired Feb4 commit. It works well. No error message would be raised no
matter for local folder or local files.
Tramp will be triggered to be loaded when I try to open local files.

On Sun, Feb 4, 2018 at 10:52 PM, Shuguang Sun <shuguang@gmail.com> wrote:

> 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: 2770 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#30293: tramp-error: Package `tramp-archive' not supported on LOCAL folder
  2018-02-04 15:37       ` Shuguang Sun
@ 2018-02-04 18:25         ` Michael Albinus
  2018-02-05  1:35           ` Shuguang Sun
  0 siblings, 1 reply; 8+ messages in thread
From: Michael Albinus @ 2018-02-04 18:25 UTC (permalink / raw)
  To: Shuguang Sun; +Cc: 30293

Shuguang Sun <shuguang@gmail.com> writes:

Hi Shuguang,

> Now I tired Feb4 commit. It works well. No error message would be
> raised no matter for local folder or local files.

Yes, I've fixed this yesterday.

> Tramp will be triggered to be loaded when I try to open local files.

Are you saying there's still a bug? Could you pls explore?

Best regards, Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#30293: tramp-error: Package `tramp-archive' not supported on LOCAL folder
  2018-02-04 18:25         ` Michael Albinus
@ 2018-02-05  1:35           ` Shuguang Sun
  2018-02-05  7:40             ` Michael Albinus
  0 siblings, 1 reply; 8+ messages in thread
From: Shuguang Sun @ 2018-02-05  1:35 UTC (permalink / raw)
  To: Michael Albinus; +Cc: 30293

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

Hi Michael,

I tried to re-compile yesterday. Now there is no relavent issue.

On Mon, Feb 5, 2018 at 2:25 AM, Michael Albinus <michael.albinus@gmx.de>
wrote:

> Shuguang Sun <shuguang@gmail.com> writes:
>
> Hi Shuguang,
>
> > Now I tired Feb4 commit. It works well. No error message would be
> > raised no matter for local folder or local files.
>
> Yes, I've fixed this yesterday.
>
> > Tramp will be triggered to be loaded when I try to open local files.
>
> Are you saying there's still a bug? Could you pls explore?
>
> Best regards, Michael.
>

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#30293: tramp-error: Package `tramp-archive' not supported on LOCAL folder
  2018-02-05  1:35           ` Shuguang Sun
@ 2018-02-05  7:40             ` Michael Albinus
  0 siblings, 0 replies; 8+ messages in thread
From: Michael Albinus @ 2018-02-05  7:40 UTC (permalink / raw)
  To: Shuguang Sun; +Cc: 30293-done

Version: 27.1

Shuguang Sun <shuguang@gmail.com> writes:

> Hi Michael,

Hi Shuguang,

> I tried to re-compile yesterday. Now there is no relavent issue.

Thanks for the feedback. I'm closing the bug.

Best regards, Michael.





^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-02-05  7:40 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

Code repositories for project(s) associated with this public inbox

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

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).