GNU bug report logs -
#77422
30.1; New Tramp warnings in recent emacs
Previous Next
Reported by: Nicholas Michalowski <nmichalo <at> gmail.com>
Date: Tue, 1 Apr 2025 00:15:03 UTC
Severity: minor
Found in version 30.1
Done: Michael Albinus <michael.albinus <at> gmx.de>
Bug is archived. No further changes may be made.
Full log
Message #18 received at 77422-done <at> debbugs.gnu.org (full text, mbox):
Vesion: 30.2
Michael Albinus via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> writes:
Hi Nicholas,
>> After recently updating emacs on a Windows 11 machine, I suddenly get
>> a
>> warning from tramp that did not occur in the past.
>>
>> To reproduce you need to configure putty appropriately (steps provided
>> upon request). Then after running "emacs -Q" type the following
>> command
>> into the scratch buffer:
>> (setq org-agenda-files "/plinkx:YOUR_SSH_SERVER:/PATH/TO/FILE.org")
>>
>> then run a command such as "M-x org-agenda", followed by "a".
>>
>> the following warning will be displayed.
>> "Warning (tramp): Couldn’t find an inline transfer compress command"
>>
>> It pops up in a transient window that must be dismissed by pressing q.
>
> This is an old warning. However, in Tramp 2.7.1 (contained in Emacs
> 30.1), Tramp's warnings are displayed more prominently.
>
> Hmm. Maybe we need a user option, which let Tramp's warnings appear in
> the echo area / message buffer only, as before?
It turns out, that Emacs has already the sufficient machinery. I have
added the following lines to the Tramp manual:
--8<---------------cut here---------------start------------->8---
TRAMP warnings are displayed in the ‘*Warnings*’ buffer, which pops
up. If you don't want to see this buffer for every TRAMP warning, set
‘warning-suppress-types’:
(setq warning-suppress-types '((tramp)))
--8<---------------cut here---------------end--------------->8---
That's it. Pushed to the emacs-30 branch. Closing the bug.
Best regards, Michael.
This bug report was last modified 84 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.