From: Michael Albinus <[email protected]> Subject: Re: Please add the connection-property "touch-h" Date: Mon, 18 Aug 2025 17:22:47 +0200 Message-ID: <[email protected]>
> Toru TSUNEYOSHI <[email protected]> writes: > > Hi, > >> Generally, minimal systems like OpenWrt lack the commands and command >> line options available on desktop systems. >> I hope that TRAMP will continue to provide a wide range of coverage in >> this regard. >> Of course, I think the developers have been doing that for a long time. >> Thank you very much, Mr. Michael Albinus and all the developers. > > Yes, of course, we will also support minimalistic systems. I have access > to a QNAP host, which runs busybox. So I can test this kind of hosts > partly. But for other configurations, I depend on user reports like > yours. > I see. >> This thread was about the touch command, but there was also a problem >> with the stat command. >> So I will summarize the contents and send it under a different subject. >> (It could be days later.) > > You're welcome. > In fact, I mainly use Emacs 28.2 and Tramp 2.5.3.28.2, which is included with that version of Emacs. (I don't use the package system very actively.) The following code is written in the tramp-get-remote-stat function which is included with that version of Tramp: (string-match-p "^[\"`‘„”«「]/[\"'’“”»」]$" (car tmp)) The problem was caused by not including a ' (apostrophe) before the / (slash). Here is the result of the stat command run within OpenWrt: (BTW, there is no locale command.) $ env QUOTING_STYLE=locale \stat -c '("%N" %s)' / ("'/'" 544) After some thought, I checked the souce code of Tramp 2.7.1.30.1 included in Emacs 30.1 (xz archived) and found that this problem was resolved (probably definitely). (string-match-p (rx bol (any "\"`'‘„”«「") "/" (any "\"'’“”»」") eol) (car tmp)) So there is no need to report it anymore. >> BTW, what is "alsp" an abbreviation for? > > It is an abbreviation for "also", I use it a lot. > > Other people call it simply a "typo" :-) > I see that you typed alsp as also. :-) But I don't know the reason why you type 'p' instead of 'o'. For no apparent reason? > Best regards, Michael. Thanks.
