GNU bug report logs - #48067
28.0.50; Tramp error: cannot determine gio monitor

Previous Next

Package: emacs;

Reported by: Thierry Volpiatto <thievol <at> posteo.net>

Date: Tue, 27 Apr 2021 17:06:02 UTC

Severity: normal

Found in version 28.0.50

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Thierry Volpiatto <thievol <at> posteo.net>
To: Michael Albinus <michael.albinus <at> gmx.de>
Cc: 48067 <at> debbugs.gnu.org
Subject: bug#48067: 28.0.50; Tramp error: cannot determine gio monitor
Date: Thu, 29 Apr 2021 08:42:57 +0000
[Message part 1 (text/plain, inline)]
Michael Albinus <michael.albinus <at> gmx.de> writes:

> Thierry Volpiatto <thievol <at> posteo.net> writes:
>
>> Update2:
>> More exactly the error occur when setting 'string':
>>
>> diff --git a/lisp/net/tramp-sh.el b/lisp/net/tramp-sh.el
>> index 4a3072ee346..8885bd55846 100644
>> --- a/lisp/net/tramp-sh.el
>> +++ b/lisp/net/tramp-sh.el
>> @@ -3748,7 +3748,8 @@ Supported arguments for GIO_USE_FILE_MONITOR environment variable:
>>             (intern
>>  	    (format "G%sFileMonitor" (capitalize (match-string 1 string)))))
>>            (t (throw 'doesnt-work nil))))
>> -	(setq string (substring string (match-end 0))))
>> +	;(setq string (substring string (match-end 0)))
>> +        )
>>
>>        ;; Delete empty lines.
>>        (setq string (tramp-compat-string-replace "\n\n" "\n" string)
>>
>> With this commented line events occur as expected.
>
> So the problem is the match-end call. Here's a patch which might fix
> this.

No, it doesn't fix it, as long as string is set with 
(setq string (substring string (match-end 0))) it doesn't work,
*rm-watch is never called.

> In case it doesn't work, pls give me ssh access to your machine.

Ok will prepare it.

> I would send you my public ssh key for access.

No thanks, PAM login will be enabled.

-- 
Thierry
[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 4 years and 75 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.