unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alex Bochannek <alex@bochannek.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: 48494@debbugs.gnu.org
Subject: bug#48494: 28.0.50; [PATCH] AngeFTP fails on macOS 10.14 with GNU inetutils FTP
Date: Thu, 20 May 2021 10:49:23 -0700	[thread overview]
Message-ID: <m235uhgusc.fsf@bochannek.com> (raw)
In-Reply-To: <8735uh4ky4.fsf@gmx.de> (Michael Albinus's message of "Thu, 20 May 2021 15:02:43 +0200")

Michael Albinus <michael.albinus@gmx.de> writes:

> Alex Bochannek <alex@bochannek.com> writes:
>
>>>> > How about making the default value depend on the value of system-type?
>>>>
>>>> You mean something like this?
>>>
>>> Yes.
>>>
>>>> The more I think about it, the more I am leaning against changing the
>>>> default. I don't fully understand what inetutils ftp is doing and why -e
>>>> is needed. Maybe submitting a bug against inetutils is the right
>>>> approach here?
>>>
>>> Could be.
>>
>> I am sending in a report to bug-inetutils@gnu.org and see if they can
>> offer some insight.
>>
>>>> Are there any automated cross-platform tests to see on which platform
>>>> removing -v might break AngeFTP?
>>>
>>> I don't know.  maybe Michael (CC'ed) does.
>>
>> I take back my comment about Windows and -v. On the command line
>> (cmd.exe), it absolutely does behave as the documentation indicated, but
>> I just tried out AngeFTP under Windows 7 (Version 6.1.7601) and it only
>> works with -v. Maybe Michael can explain what is going on there?
>
> Well, I'm not an expert in ftp, and especially, I'm not an expert in ftp
> client command line arguments. While I agree that adding the "-e" option
> to the ftp call in ange-ftp.el sounds reasonable, I have no idea what
> would be broken with some clients.

That was my primary concern. I looked at EMBA to see if there are any
regression tests that would catch something like this, but didn't see
anything. I am happy to help out with EMBA if need be, by the way.

> A check for system-type is not sufficient, for every system there are
> different ftp clients, which could behave different. If we want to add a
> check for command argument availability, we would need to fire a test
> call, and to analyze, whether given command arguments are supported.

While I agree in principle, the way AngeFTP works pretty clearly assumes
the client to present the BSD FTP command line interface.

> We should take into consideration, that the default value for
> ange-ftp-ftp-program-args hasn't been changed for at least 21 years. We
> should also take into consideration, that ftp is being phased out in
> browsers like Chrome and Firefox; its importance is decreasing. So I

Which is why I am using AngeFTP. The convenient browser-based interfaces
are gone and I am reverting to the same interface I use for other remote
file access (TRAMP).

> propose to not change anything, and let users customize
> ange-ftp-ftp-program-args to their needs.

I agree with that and I am fine with this bug being closed out as "won't
fix" or some equivalent thereof. I submitted a bug against inetutils
(don't have a bug number yet) and the underlying issue I saw on macOS
should probably be addressed there. Until then I can either set
ange-ftp-ftp-program-args or use tnftp.

> Best regards, Michael.

Thanks for the reply, much appreciated!

-- 
Alex.





  reply	other threads:[~2021-05-20 17:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-18  3:53 bug#48494: 28.0.50; [PATCH] AngeFTP fails on macOS 10.14 with GNU inetutils FTP Alex Bochannek
2021-05-18 11:52 ` Eli Zaretskii
2021-05-18 17:50   ` Alex Bochannek
2021-05-18 18:18     ` Eli Zaretskii
2021-05-19  1:34       ` Alex Bochannek
2021-05-20 13:02         ` Michael Albinus
2021-05-20 17:49           ` Alex Bochannek [this message]
2021-05-20 21:33           ` Lars Ingebrigtsen
2021-05-20 22:02             ` Alex Bochannek
2021-05-21  8:25               ` Michael Albinus
2021-05-21 17:06                 ` Alex Bochannek
2021-05-21 17:46                   ` Michael Albinus
2021-05-21 18:12                     ` Alex Bochannek
2021-05-27 21:27                     ` Alex Bochannek
2021-05-24 18:59                 ` Alex Bochannek
2021-05-25  7:34                   ` Michael Albinus
2021-05-25 19:33                     ` Alex Bochannek
2021-05-27  7:52                       ` Michael Albinus
2021-05-27 23:25                       ` Lars Ingebrigtsen

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=m235uhgusc.fsf@bochannek.com \
    --to=alex@bochannek.com \
    --cc=48494@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 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).