From debbugs-submit-bounces@debbugs.gnu.org Fri May 24 10:03:30 2019 Received: (at submit) by debbugs.gnu.org; 24 May 2019 14:03:30 +0000 Received: from localhost ([127.0.0.1]:46961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUAnB-0005I8-Ea for submit@debbugs.gnu.org; Fri, 24 May 2019 10:03:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:51051) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hUAUv-0002T4-BB for submit@debbugs.gnu.org; Fri, 24 May 2019 09:44:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:55104) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hUAUl-0000qj-BQ for submit@debbugs.gnu.org; Fri, 24 May 2019 09:44:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hUAUk-0000No-Dk for bug-gnu-emacs@gnu.org; Fri, 24 May 2019 09:44:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: ** X-Spam-Status: No, score=2.5 required=5.0 tests=BAYES_40,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,RECEIVED_FROM_WINDOWS_HOST,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hUAUh-0000lf-UV for bug-gnu-emacs@gnu.org; Fri, 24 May 2019 09:44:25 -0400 Received: from mail.teknik.io ([5.79.72.163]:57286) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hUAUZ-0000b4-1f for bug-gnu-emacs@gnu.org; Fri, 24 May 2019 09:44:20 -0400 dkim-signature: v=1; a=rsa-sha256; d=teknik.io; s=_teknikKey; c=relaxed/relaxed; q=dns/txt; h=From:Subject:Date:Message-ID:To:MIME-Version:Content-Type; bh=ooSyPAWVg5k9r07xIbwlnPtojHd+cQKFFxqlCUQRhXk=; b=YaEggLvB8h0JE1wP0apzjNxF2zHMp/6Rh5N63ES8AGLqHx8GUZf3mJuc1D2i2znQ153QojKf4GaWuaAkfzxnJDaAF3yDV3+pyBD1TVdVLHll2D/8731t24H8uclyxk24VMBXark2HiwuoVtQqFqjm/gCY/WgnmmK7lClyuBClId+vYHvVgfhX5+jiSXVaSgGblozQWwAKF/sZlFnRrR3Ut3J29wMQZ72hqLkTgo4/2msqxB5HcZqAecWpc OKfkPf1iLNDp8fPIT8/GtNaO4rRTxoyzrFGQhC3fdLhPlh+P/CsU8OOdC+ECRK6jujhZBd/GUTbc/fTQW9UZbPtVN1AQ== Received: from mail.teknik.io (TEKNIK-SERVER [5.79.72.163]) by mail.teknik.io with ESMTPSA (version=TLSv1.2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128) ; Fri, 24 May 2019 05:43:40 -0700 Mime-Version: 1.0 Date: Fri, 24 May 2019 12:43:40 +0000 Content-Type: multipart/alternative; boundary="--=_RainLoop_820_248313361.1558701820" X-Mailer: RainLoop/1.11.3 From: vi@teknik.io Message-ID: <622afb13521c49276849ba2a7a941083@teknik.io> Subject: `emacsclient -t' breaks a terminal when try to open not a readable file To: bug-gnu-emacs@gnu.org X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 5.79.72.163 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 24 May 2019 10:03:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) ----=_RainLoop_820_248313361.1558701820 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable After typing `emacsclient -t ' where doesn't have a = read permission for user,=0AI stop seeing the text I am typing in a termi= nal, also broken formatting of output text.=0A`stty sane' fixes that. ----=_RainLoop_820_248313361.1558701820 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable
=
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 san= e' fixes that.
----=_RainLoop_820_248313361.1558701820-- From debbugs-submit-bounces@debbugs.gnu.org Mon May 27 10:19:32 2019 Received: (at control) by debbugs.gnu.org; 27 May 2019 14:19:32 +0000 Received: from localhost ([127.0.0.1]:53702 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVGTM-00056X-73 for submit@debbugs.gnu.org; Mon, 27 May 2019 10:19:32 -0400 Received: from mail-it1-f176.google.com ([209.85.166.176]:54601) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hVGTK-00056K-It for control@debbugs.gnu.org; Mon, 27 May 2019 10:19:31 -0400 Received: by mail-it1-f176.google.com with SMTP id h20so27075004itk.4 for ; Mon, 27 May 2019 07:19:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=xYXGw7MJk5hhXHRrRnOn3oyHVgtjGw/XsqOWeBoAZIE=; b=DK7qE8Lr6bNk1v8qFMCByrweU8StTJ7ec8OHvsPZe02OtfQZsP2RwyDrn9CQHvbM+J x35ceYxqfYKXo9PhNobCbz1npsuiwWNVxhJlK51J0t7bPcLU7WEwjXobmqRN+/dkHEnk py7W3ksvCH8s5JVef83MwUHEGXAEl7iLntiqn2zMpBjhDMUBje0WTVSGewW6S5BjfDsQ 66FPrB8D+5NicAwZH0b6qT72b1zXZJloXJBcWdRGIsPXLirnZQVS8ZsCggivXeKx0qDv Avis5UpeXgfbweEwhiAl34OIJbFbMlvl+ZzfAugFjOUaW8P1s1pLMF5Mmn0gFJfWKvW0 axEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=xYXGw7MJk5hhXHRrRnOn3oyHVgtjGw/XsqOWeBoAZIE=; b=YEeXE22Wx0UVhbl5jypYbz23HQ6dRipV5Akl22+edOVtuXTT7pE3wQqKHHfLCv0sQC Rc2FFyjhR3TiSg+jpDeff6fTTwcoMyEY6hg5wk53jrDNMI3i9S/+ulGSLAbObX0XIV40 +BCV3ebPJUBLVWvonxnI+1baOxZxhQWEb+iUCbTg7O2VwVPGY9+VPAW3bMMLEOMUgp6C V9zb1Ce8aW4E9T2HLWS9QNRmeDbxSlCJ9YvA8Y/Sgmv5NpV2rp56WkGxY52w9MUsFrmK dCBy01AYqS1EmYcAyQJ3j0EW71grc98nEw56AYWJEuYCwTiTtZkSpP5pl54Rfd+pNfMg lJbw== X-Gm-Message-State: APjAAAXDgxhtZ0fbG1yTQLCZjlt4fWw8oWCXT+VeR/sjfVJpV2RvAyN/ WCBXehc6Sjwt1rD012IJWvza69Iw X-Google-Smtp-Source: APXvYqz0prvxUhZ1Ss8mv3gMNjb7HfnfeoR59TmufvrryNjieEizh7ZCteNHD7lmpSZUCuGCfH//oQ== X-Received: by 2002:a05:660c:444:: with SMTP id d4mr27258729itl.158.1558966764732; Mon, 27 May 2019 07:19:24 -0700 (PDT) Received: from vhost2 (CPE001143542e1f-CMf81d0f809fa0.cpe.net.cable.rogers.com. [99.230.51.196]) by smtp.gmail.com with ESMTPSA id m46sm5115006iti.8.2019.05.27.07.19.23 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 27 May 2019 07:19:24 -0700 (PDT) From: npostavs@gmail.com To: control@debbugs.gnu.org Subject: control message for bug #35882 Date: Mon, 27 May 2019 10:19:23 -0400 Message-ID: <85sgt0c74k.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) merge 35882 24566 quit From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 08 03:38:28 2019 Received: (at 35882) by debbugs.gnu.org; 8 Jun 2019 07:38:28 +0000 Received: from localhost ([127.0.0.1]:52785 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZVvo-0004ve-Gn for submit@debbugs.gnu.org; Sat, 08 Jun 2019 03:38:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:45168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hZVvn-0004vT-7s for 35882@debbugs.gnu.org; Sat, 08 Jun 2019 03:38:27 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38065) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hZVvi-0000Vj-2A; Sat, 08 Jun 2019 03:38:22 -0400 Received: from [176.228.60.248] (port=2991 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hZVvh-0001QU-26; Sat, 08 Jun 2019 03:38:21 -0400 Date: Sat, 08 Jun 2019 10:38:13 +0300 Message-Id: <835zpgplwa.fsf@gnu.org> From: Eli Zaretskii To: vi@teknik.io In-reply-to: <622afb13521c49276849ba2a7a941083@teknik.io> (vi@teknik.io) Subject: Re: bug#35882: `emacsclient -t' breaks a terminal when try to open not a readable file References: <622afb13521c49276849ba2a7a941083@teknik.io> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35882 Cc: 35882@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Fri, 24 May 2019 12:43:40 +0000 > From: vi@teknik.io > > After typing `emacsclient -t ' where 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 18 22:40:00 2019 Received: (at 35882-done) by debbugs.gnu.org; 19 Jun 2019 02:40:00 +0000 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 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 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 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 Date: Wed, 19 Jun 2019 05:39:43 +0300 Message-Id: <83blyus3gw.fsf@gnu.org> From: Eli Zaretskii To: vi@teknik.io In-reply-to: <961c16cecda3d7d7d4170891d43b262d@teknik.io> (vi@teknik.io) Subject: Re: bug#35882: `emacsclient -t' breaks a terminal when try to open not a readable file References: <835zpgplwa.fsf@gnu.org> <622afb13521c49276849ba2a7a941083@teknik.io> <961c16cecda3d7d7d4170891d43b262d@teknik.io> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 35882-done Cc: 35882-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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. From unknown Sat Jun 14 03:56:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 17 Jul 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator