From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#35882: `emacsclient -t' breaks a terminal when try to open not a readable file Date: Wed, 19 Jun 2019 05:39:43 +0300 Message-ID: <83blyus3gw.fsf@gnu.org> References: <835zpgplwa.fsf@gnu.org> <622afb13521c49276849ba2a7a941083@teknik.io> <961c16cecda3d7d7d4170891d43b262d@teknik.io> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="35308"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 35882-done@debbugs.gnu.org To: vi@teknik.io Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 19 04:40:18 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hdQWI-00094v-40 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jun 2019 04:40:18 +0200 Original-Received: from localhost ([::1]:34784 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdQWH-00030E-5s for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Jun 2019 22:40:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38996) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hdQW5-0002zl-5O for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 22:40:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hdQW3-0002Vy-DO for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 22:40:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60507) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hdQW3-0002Vh-A4 for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 22:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hdQW3-0000nN-6W for bug-gnu-emacs@gnu.org; Tue, 18 Jun 2019 22:40:03 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jun 2019 02:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 35882 X-GNU-PR-Package: emacs Mail-Followup-To: 35882@debbugs.gnu.org, eliz@gnu.org, vi@teknik.io Original-Received: via spool by 35882-done@debbugs.gnu.org id=D35882.15609120003041 (code D ref 35882); Wed, 19 Jun 2019 02:40:02 +0000 Original-Received: (at 35882-done) by debbugs.gnu.org; 19 Jun 2019 02:40:00 +0000 Original-Received: from localhost ([127.0.0.1]:45817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdQW0-0000my-JM for submit@debbugs.gnu.org; Tue, 18 Jun 2019 22:40:00 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hdQVz-0000mh-8j for 35882-done@debbugs.gnu.org; Tue, 18 Jun 2019 22:39:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hdQVu-0002GK-3V; Tue, 18 Jun 2019 22:39:54 -0400 Original-Received: from [176.228.60.248] (port=4171 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hdQVt-0004Z7-FM; Tue, 18 Jun 2019 22:39:53 -0400 In-reply-to: <961c16cecda3d7d7d4170891d43b262d@teknik.io> (vi@teknik.io) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:160819 Archived-At: > Date: Tue, 18 Jun 2019 19:53:59 +0000 > From: vi@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.