From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#50743: Emacsclient not tested vs. Local Variables prompt Date: Sat, 25 Sep 2021 12:18:05 +0800 Message-ID: <87o88hthj6.5.fsf@jidanni.org> References: <8735pwpdrm.5.fsf@jidanni.org> <875yustkd1.fsf@gnus.org> <87ilyr978n.5.fsf@jidanni.org> <2b911a49a1a8575e03facf44e76ba0eb@webmail.orcon.net.nz> <87h7ea8285.5.fsf@jidanni.org> <92e14cf18362d4ecbd0d8fc250d25a8e@webmail.orcon.net.nz> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30148"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , 50743@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 25 06:19:11 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 1mTz9Z-0007c0-OQ for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Sep 2021 06:19:10 +0200 Original-Received: from localhost ([::1]:37926 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mTz9Y-0002dk-7d for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Sep 2021 00:19:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mTz9S-0002db-Jb for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 00:19:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48488) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mTz9S-0007LW-Cc for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 00:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mTz9S-0007VD-59 for bug-gnu-emacs@gnu.org; Sat, 25 Sep 2021 00:19:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <8735pwpdrm.5.fsf@jidanni.org> Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Sep 2021 04:19: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.163254349328766 (code B ref 50743); Sat, 25 Sep 2021 04:19:02 +0000 Original-Received: (at 50743) by debbugs.gnu.org; 25 Sep 2021 04:18:13 +0000 Original-Received: from localhost ([127.0.0.1]:60034 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTz8f-0007Ts-CF for submit@debbugs.gnu.org; Sat, 25 Sep 2021 00:18:13 -0400 Original-Received: from bumble.maple.relay.mailchannels.net ([23.83.214.25]:46805) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mTz8d-0007Tk-BS for 50743@debbugs.gnu.org; Sat, 25 Sep 2021 00:18:12 -0400 X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 0F9FB34214C; Sat, 25 Sep 2021 04:18:10 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a32.g.dreamhost.com (100-96-18-141.trex.outbound.svc.cluster.local [100.96.18.141]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 91117341FA2; Sat, 25 Sep 2021 04:18:09 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jidanni@jidanni.org Original-Received: from pdx1-sub0-mail-a32.g.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.96.18.141 (trex/6.4.3); Sat, 25 Sep 2021 04:18:09 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jidanni@jidanni.org X-MailChannels-Auth-Id: dreamhost X-Left-Abiding: 3d34349c0f863b42_1632543489823_2092150694 X-MC-Loop-Signature: 1632543489823:1093181068 X-MC-Ingress-Time: 1632543489823 Original-Received: from pdx1-sub0-mail-a32.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a32.g.dreamhost.com (Postfix) with ESMTP id 2BDD5894FE; Fri, 24 Sep 2021 21:18:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=UQVnWhQKV2RSvl2Y9rupBWF8+lA=; b=Axegv5oELQsqD LHpfubTJvqzs+Lp/iKQtfZqXZMT1RgA8pNVlchUlXMfPbqHh+DrgXmIGBxpMyEP7 tAQ4Bdb5DjVf6O6+U4j/N9N9la4Azhh9v9m9SvK+12lG2/hEB+kU+SBAdm42NeCB j5m6seNOd4MBM/j8h9QpjiDwyHc/w8= Original-Received: from jidanni.org (36-234-71-155.dynamic-ip.hinet.net [36.234.71.155]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by pdx1-sub0-mail-a32.g.dreamhost.com (Postfix) with ESMTPSA id 62689894A1; Fri, 24 Sep 2021 21:18:07 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a32 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:215410 Archived-At: emacsclient -t makes even another (non-x) window. Anyway, normally if we type abcefg... it goes right into the file, where it belongs. If we type M-x abcefg... we are still inputting and outputting to emacs' minibuffer. However if we boobytrap the file with -*- foo: bar; -*-, now suddenly emacs is asking us questions, but our answers are hijacked elsewhere! So we can type until we are blue in the face, but emacs will just sit there with its question waiting for us to answer forever. So the message should say "Please enter y, n... if nothing happens, then next time use emacsclient -t."