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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#35882: closed (`emacsclient -t' breaks a terminal when try to
 open not a readable file)
Date: Wed, 19 Jun 2019 02:40:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Wed, 19 Jun 2019 05:39:43 +0300
with message-id <83blyus3gw.fsf <at> gnu.org>
and subject line Re: bug#35882: `emacsclient -t' breaks a terminal when try to open not a readable file
has caused the debbugs.gnu.org bug report #35882,
regarding `emacsclient -t' breaks a terminal when try to open not a readable file
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
35882: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35882
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: vi <at> teknik.io
To: bug-gnu-emacs <at> gnu.org
Subject: `emacsclient -t' breaks a terminal when try to open not a
 readable file
Date: Fri, 24 May 2019 12:43:40 +0000
[Message part 3 (text/plain, inline)]
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.
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: vi <at> teknik.io
Cc: 35882-done <at> debbugs.gnu.org
Subject: Re: bug#35882: `emacsclient -t' breaks a terminal when try to
 open not a readable file
Date: Wed, 19 Jun 2019 05:39:43 +0300
> Date: Tue, 18 Jun 2019 19:53:59 +0000
> From: vi <at> teknik.io
> 
> > 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.
> 
> 
> I tried master branch. Problem solved.

Thanks, closing.


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.