From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#50743: Emacsclient not tested vs. Local Variables prompt Date: Sat, 25 Sep 2021 02:11:28 +1200 Message-ID: <2b911a49a1a8575e03facf44e76ba0eb@webmail.orcon.net.nz> References: <8735pwpdrm.5.fsf@jidanni.org> <875yustkd1.fsf@gnus.org> <87ilyr978n.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25070"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail Cc: Lars Ingebrigtsen , 50743@debbugs.gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 24 16:12:18 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mTlw1-0006NS-Ra for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Sep 2021 16:12:17 +0200 Original-Received: from localhost ([::1]:33620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTlw0-00044Y-PK for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 Sep 2021 10:12:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38078) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTlvn-0003zM-1G for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2021 10:12:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47425) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTlvm-00075p-IO for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2021 10:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTlvm-0006sz-9r for bug-gnu-emacs@gnu.org; Fri, 24 Sep 2021 10:12:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Sep 2021 14:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50743 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 50743-submit@debbugs.gnu.org id=B50743.163249269726426 (code B ref 50743); Fri, 24 Sep 2021 14:12:02 +0000 Original-Received: (at 50743) by debbugs.gnu.org; 24 Sep 2021 14:11:37 +0000 Original-Received: from localhost ([127.0.0.1]:58971 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTlvN-0006s9-NN for submit@debbugs.gnu.org; Fri, 24 Sep 2021 10:11:37 -0400 Original-Received: from smtp-2.orcon.net.nz ([60.234.4.43]:39695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTlvM-0006ry-4z for 50743@debbugs.gnu.org; Fri, 24 Sep 2021 10:11:36 -0400 Original-Received: from [10.253.37.70] (port=59101 helo=webmail.orcon.net.nz) by smtp-2.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1mTlvE-0000uB-S3; Sat, 25 Sep 2021 02:11:28 +1200 Original-Received: from ip-203-94-48-127.kinect.net.nz ([203.94.48.127]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Sat, 25 Sep 2021 02:11:28 +1200 In-Reply-To: <87ilyr978n.5.fsf@jidanni.org> X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:215306 Archived-At: On 2021-09-24 20:23, 積丹尼 Dan Jacobson wrote: > Yup Yup Yup. > > I put -*- foo: bar; -*- in a file and did all your tests above, and > was able to reproduce the bug 100% Ok, so is this the recipe? $ emacs -Q -f server-start & $ cat /tmp/m ## -- -*- foo: bar; -*- $ emacsclient /tmp/m See the "local variables may not be safe" prompt in the client frame. Focus on the emacsclient frame in your window manager. Respond to the prompt (e.g. with "y"). And your keystrokes go to the original terminal, even though the emacsclient frame has the window manager focus?