GNU bug report logs - #35882
`emacsclient -t' breaks a terminal when try to open not a readable file

Previous Next

Package: emacs;

Reported by: vi <at> teknik.io

Date: Fri, 24 May 2019 14:04:02 UTC

Severity: normal

Merged with 24566

Found in version 25.2.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 35882 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: vi <at> teknik.io
Cc: 35882 <at> debbugs.gnu.org
Subject: Re: bug#35882: `emacsclient -t' breaks a terminal when try to open
 not a readable file
Date: Sat, 08 Jun 2019 10:38:13 +0300
> Date: Fri, 24 May 2019 12:43:40 +0000
> From: vi <at> teknik.io
> 
> After typing `emacsclient -t <filename>' where <filename> doesn't have a read permission for user,
> I stop seeing the text I am typing in a terminal, also broken formatting of output text.
> `stty sane' fixes that.

I believe this problem is already indirectly solved on the master
branch, since we now visit the file before creating the frame.  What I
see here with the master branch code is an error message saying
"*ERROR*: File is not readable: FILE", and the client exits without
leaving the terminal in a messed-up state.

Would it be possible for you to try the master branch and see if it
indeed solves the problem?

Thanks.




This bug report was last modified 5 years and 333 days ago.

Previous Next


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