Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-08 Thread Michael Albinus
"Kirill A. Korinsky" writes: > Hi Michael, Hi Kirill, >> tramp-sh.el is loaded dynamically. It overrides your patch. So rather call >> >> --8<---cut here---start->8--- >> emacs -Q -l tramp -l tramp-sh -l >>

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-08 Thread Kirill A. Korinsky
Hi Michael, > On 8. Jan 2024, at 14:30, Michael Albinus wrote: > > tramp-sh.el is loaded dynamically. It overrides your patch. So rather call > > --8<---cut here---start->8--- > emacs -Q -l tramp -l tramp-sh -l >

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-08 Thread Michael Albinus
"Kirill A. Korinsky" writes: > Hi Michael, Hi Kirill, > When I run: > >> emacs -Q -l tramp --eval '(load-file >> "~/Downloads/patched-tramp-bundle-read-file-names.el")' >> /ssh:playground.island.local: tramp-sh.el is loaded dynamically. It overrides your patch. So rather call

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-08 Thread Kirill A. Korinsky
Hi Michael, > On 8. Jan 2024, at 14:11, Michael Albinus wrote: > >>> I don't understand. Does this happen when remote /tmp is not writable? >>> Tramp shall show you the error message, and cease to work - at least >>> that's the intention of the patch. >> >> After your patch it works without

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-08 Thread Michael Albinus
"Kirill A. Korinsky" writes: Hi Kirill, >> I don't understand. Does this happen when remote /tmp is not writable? >> Tramp shall show you the error message, and cease to work - at least >> that's the intention of the patch. > > After your patch it works without any error in Message buffer. > >

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-08 Thread Kirill A. Korinsky
> I don't understand. Does this happen when remote /tmp is not writable? > Tramp shall show you the error message, and cease to work - at least > that's the intention of the patch. After your patch it works without any error in Message buffer. Works mean that I can open files via tramp. I

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-08 Thread Michael Albinus
"Kirill A. Korinsky" writes: > Hi Michael, Hi Kirill, >> On 8. Jan 2024, at 11:37, Michael Albinus wrote: >> >> The error "/bin/sh: can't create temporary file /tmp/shZPInbtKR: >> Permission denied" isn't propagated properly by Tramp. Could you, >> please, try the appended patch? There shall

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-08 Thread Kirill A. Korinsky
Hi Michael, > On 8. Jan 2024, at 11:37, Michael Albinus wrote: > > The error "/bin/sh: can't create temporary file /tmp/shZPInbtKR: > Permission denied" isn't propagated properly by Tramp. Could you, > please, try the appended patch? There shall be a better error message. Thanks for the patch.

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-08 Thread Michael Albinus
"Kirill A. Korinsky" writes: > Greetings, Hi Kirill, > When I run emacs your way I have: > > In *Messages* >> For information about GNU Emacs and the GNU system, type C-h C-a. >> Tramp: Opening connection nil for playground.island.local using ssh...failed >> signal: Wrong type argument: "listp

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-07 Thread Kirill A. Korinsky
From my point of view the right error should be: > /bin/sh: can't create temporary file /tmp/shZPInbtKR: Permission denied and not > signal: Wrong type argument: "listp /bin/sh:" -- wbr, Kirill signature.asc Description: Message signed with OpenPGP

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-07 Thread Michael Albinus
"Kirill A. Korinsky" writes: > Hi Michael, Hi Kirill, > I've achieved that on OpenBSD where I've switched /tmp to ramdisk. > > It uses so-called mfs driver which inherits permissions from the > mountpoint. That sounds a little bit too expansive for my test environment. I've tried to

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-07 Thread Kirill A. Korinsky
Hi Michael, > On 7. Jan 2024, at 13:57, Michael Albinus wrote: > >> I can easy reproduce this error by remove write access to /tmp folder on >> remote host like that: >> >> ssh some.host sudo chmod -w /tmp > > Which kind of remote machine do you use? I cannot apply this, neither on > a

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-07 Thread Michael Albinus
"Kirill A. Korinsky" writes: > Greetings, Hi Kirill, > I can easy reproduce this error by remove write access to /tmp folder on > remote host like that: > > ssh some.host sudo chmod -w /tmp Which kind of remote machine do you use? I cannot apply this, neither on a remote Ubuntu, a remote

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-06 Thread Kirill A. Korinsky
Greetings, > On 6. Jan 2024, at 15:38, Michael Albinus wrote: > > "Kirill A. Korinsky" writes: > Meanwhile I was able to localise the issue: permission to /tmp on server side. As soon as I fixed it and my user may write into it, everything works fine. >>> >>> Good to know

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2024-01-06 Thread Michael Albinus
"Kirill A. Korinsky" writes: Hi Kirill, >>> Meanwhile I was able to localise the issue: permission to /tmp on server >>> side. >>> As soon as I fixed it and my user may write into it, everything works fine. >> >> Good to know there's no bug. Thanks for letting us know. > > I really think that

Re: Tramp 2.7.0

2024-01-06 Thread Michael Albinus
Jim Porter writes: Hi Jim, >> The Tramp team is happy to announce the release of Tramp 2.7.0. > > I noticed that this version doesn't seem to be on GNU ELPA (the latest > version I see is Tramp 2.6.2.0). I suppose that's intentional, since > the announcement for 2

Re: Tramp 2.7.0

2024-01-03 Thread Jim Porter
On 12/30/2023 1:11 AM, Michael Albinus wrote: The Tramp team is happy to announce the release of Tramp 2.7.0. I noticed that this version doesn't seem to be on GNU ELPA (the latest version I see is Tramp 2.6.2.0). I suppose that's intentional, since the announcement for 2.6.2 mentions ELPA

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2023-12-31 Thread Kirill A. Korinsky
> On 31. Dec 2023, at 17:48, Michael Albinus wrote: > >> Meanwhile I was able to localise the issue: permission to /tmp on server >> side. >> >> As soon as I fixed it and my user may write into it, everything works fine. > > Good to know there's no bug. Thanks for letting us know. I really

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2023-12-31 Thread Michael Albinus
"Kirill A. Korinsky" writes: > Greeting, Hi Kirill, > Meanwhile I was able to localise the issue: permission to /tmp on server side. > > As soon as I fixed it and my user may write into it, everything works fine. Good to know there's no bug. Thanks for letting us know. > wbr, Kirill Best

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2023-12-31 Thread Kirill A. Korinsky
Greeting, > On 31. Dec 2023, at 17:14, Michael Albinus wrote: > > Could you please try "emacs -Q /ssh:tramp-test-server:" instead? If this > also fails, try "emacs -Q --eval '(setq tramp-verbose 10)' > /ssh:tramp-test-server:" > > There will be a debug buffer *debug tramp/ssh

Re: tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2023-12-31 Thread Michael Albinus
"Kirill A. Korinsky" writes: > Greetings, Hi Kirill, > I'd like to report that I can't connect to the same server that I've > used for a couple of days. > > An attempt to read anything from via C-c f /ssh:tramp-test-server: fails > as below. I've created unique record at /etc/hosts for this

tramp (2.7.0-pre nil/nil); Can't connect to server anymore

2023-12-31 Thread Kirill A. Korinsky
ad-file-name-default("Find file: " nil "~/" confirm-after-completion nil nil) read-file-name("Find file: " nil "~/" confirm-after-completion) find-file-read-args("Find file: " confirm-after-completion) byte-code("\300\301\302 \"\207&

Tramp 2.7.0

2023-12-30 Thread Michael Albinus
Hello, The Tramp team is happy to announce the release of Tramp 2.7.0. Tramp is a remote file editing package for Emacs. Tramp uses different methods like ssh or scp to access files on remote hosts as if they were local files. Access to the remote file system for editing files, version control

Re: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); tramp-signal-process doesn't accept string arguments

2023-11-30 Thread Philipp Stephani
> Am 30.11.2023 um 15:45 schrieb Michael Albinus : > > Philipp Stephani writes: > > Hi Philipp, > >> That works in all cases I've tested, thanks! > > Thanks for the feedback. I've pushed it to the Tramp repository, > branches tramp-2-6-stable and master. It will appear with Tramp 2.6.2 on

Re: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); tramp-signal-process doesn't accept string arguments

2023-11-30 Thread Michael Albinus
Philipp Stephani writes: Hi Philipp, > That works in all cases I've tested, thanks! Thanks for the feedback. I've pushed it to the Tramp repository, branches tramp-2-6-stable and master. It will appear with Tramp 2.6.2 on GNU ELPA, later this year. I've pushed it also to the Emacs master

Re: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); tramp-signal-process doesn't accept string arguments

2023-11-30 Thread Philipp Stephani
> Am 30.11.2023 um 12:43 schrieb Michael Albinus : > > Philipp Stephani writes: > > Hi Philipp, > >> Almost, but one case is still missing. Try: >> >> emacs -Q -batch -eval '(progn (require (quote tramp)) (let ((proc >> (start-process "sleep" nil "sleep" "60"))) (signal-process

Re: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); tramp-signal-process doesn't accept string arguments

2023-11-30 Thread Michael Albinus
Philipp Stephani writes: Hi Philipp, > Almost, but one case is still missing. Try: > > emacs -Q -batch -eval '(progn (require (quote tramp)) (let ((proc > (start-process "sleep" nil "sleep" "60"))) (signal-process (number-to-string > (process-id proc)) (quote ABRT' > > This will fail

Re: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); tramp-signal-process doesn't accept string arguments

2023-11-29 Thread Philipp Stephani
> Am 29.11.2023 um 20:47 schrieb Michael Albinus : > > Philipp writes: > > Hi Philipp, > >> The function `tramp-signal-process' should accept a process name as a >> string (to be converted to a process via `get-process') or a process ID >> converted to a string, as documented for

Re: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); tramp-signal-process doesn't accept string arguments

2023-11-29 Thread Michael Albinus
Philipp writes: Hi Philipp, > The function `tramp-signal-process' should accept a process name as a > string (to be converted to a process via `get-process') or a process ID > converted to a string, as documented for `signal-process'. Yep. What about the appended patch? Best regards, Michael.

tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001); tramp-signal-process doesn't accept string arguments

2023-11-29 Thread Philipp
"60\") (signal-process \"sleep\" (quote ABRT)))")) command-line() normal-top-level() Wrong type argument: processp, "sleep" The same thing works as expected if TRAMP isn't loaded. Emacs : GNU Emacs 30.0.50 (build 11, aarch64-apple-darwin23.1.0, NS appkit-2487.20 Version 14.1.1 (Build 23B81)) of 2023-11-29 Package: tramp (2.7.0-pre master/463cd87f0590970cfd2918ba7028304e0f712001) g

Re: tramp (2.7.0-pre HEAD/dc0839de9b3654837ec8f5e66d187319b9eecd6f); bracktrace when saving modified remote file

2023-08-29 Thread Michael Albinus
Gregor Zattler writes: Hi Gregor, > When I saved a modified buffer to it*'s associated > remote file (via ssh on an Univention Corporate Server > (debian/buster)), the file was saved but I got a > backtrace, see below. > > I tried to reproduce (modify, save) with tramp-verbose > set to 9 but no

tramp (2.7.0-pre HEAD/dc0839de9b3654837ec8f5e66d187319b9eecd6f); bracktrace when saving modified remote file

2023-08-28 Thread Gregor Zattler
-revert-notify-handler((# deleted "/ssh:root@fs2:/data/projekte/Projekte/...")) file-notify--call-handler(#s(file-notify--watch :directory "/ssh:root@fs2:/data/projekte/Projekte/..." :filename nil :callback auto-revert-notify-handler) # deleted "/s

Re: tramp (2.7.0-pre master/27944247d161f0ed65bbb34959c4493f7984987a); Error in remote grep-find from Windows host

2023-07-27 Thread Michael Albinus
Richard Copley writes: Hi Richard, >> Thanks for the report and the analysis! Could you pls check, whether the >> appended patch fixes this? > > Thank you. Yes, that works. Thanks for the feedback. I've pushed the fix to the repositories. Best regards, Michael.

Re: tramp (2.7.0-pre master/27944247d161f0ed65bbb34959c4493f7984987a); Error in remote grep-find from Windows host

2023-07-27 Thread Richard Copley
On Thu, 27 Jul 2023 at 10:14, Michael Albinus wrote: > > Thanks for the report and the analysis! Could you pls check, whether the > appended patch fixes this? Thank you. Yes, that works.

Re: tramp (2.7.0-pre master/27944247d161f0ed65bbb34959c4493f7984987a); Error in remote grep-find from Windows host

2023-07-27 Thread Michael Albinus
Richard Copley writes: Hi Richard, > Recipe starting from 'emacs -Q', on Windows assuming a PuTTy session > called "session" is configured: > > C-x C-f /plink:session:/tmp RET > M-x grep-find RET > x RET > > This occurs because 'null-device' is let-bound to nil in 'grep-find', > and this is not

tramp (2.7.0-pre master/27944247d161f0ed65bbb34959c4493f7984987a); Error in remote grep-find from Windows host

2023-07-27 Thread Richard Copley
Recipe starting from 'emacs -Q', on Windows assuming a PuTTy session called "session" is configured: C-x C-f /plink:session:/tmp RET M-x grep-find RET x RET Backtrace: Lisp error: (wrong-type-argument "stringp nil") signal(wrong-type-argument ("stringp nil")) tramp-error((tramp-file-name

Re: tramp (2.7.0-pre master/4b3ccf3092eaf5573b0f4968ee9a4515d04fd061); "You should set ‘tramp-chunksize’ to a maximum of 200" macos monterey emacs 29 built from src

2023-03-28 Thread Michael Albinus
roadie writes: Hi, > the help buffer for tramp-chunksize told me to send a bug report if the > var has to be set at all. I ran the test and the result was: > "You should set ‘tramp-chunksize’ to a maximum of 200" Thanks for your report. The question is, whether it is needed in your case. Are

tramp (2.7.0-pre master/4b3ccf3092eaf5573b0f4968ee9a4515d04fd061); "You should set ‘tramp-chunksize’ to a maximum of 200" macos monterey emacs 29 built from src

2023-03-25 Thread roadie
6_64-apple-darwin21.6.0, NS appkit-2113.60 Version 12.6.3 (Build 21G419)) of 2023-03-04 Package: tramp (2.7.0-pre master/4b3ccf3092eaf5573b0f4968ee9a4515d04fd061) current state: == (setq backup-by-copying t backup-by-copying-when-mismatch t backup-by-copying-when-privileged-mismatch 2