From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#50743: Emacsclient not tested vs. Local Variables prompt Date: Sun, 26 Sep 2021 11:12:05 +0200 Message-ID: <6d2a81e7-778f-719f-9a35-04a8ef388366@gmx.at> References: <25731.1632610542@alto> <83zgrzontw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1030"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, mkupfer@alum.berkeley.edu, 50743@debbugs.gnu.org, jidanni@jidanni.org To: Eli Zaretskii , Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 26 11:22:29 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 1mUQMf-0000A8-Ft for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Sep 2021 11:22:29 +0200 Original-Received: from localhost ([::1]:52316 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUQMe-0006uU-3g for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Sep 2021 05:22:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52178) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUQDW-0005Ew-NF for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 05:13:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52553) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mUQDW-0007MU-G7 for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 05:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mUQDW-0002zR-Ah for bug-gnu-emacs@gnu.org; Sun, 26 Sep 2021 05:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Sep 2021 09:13: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.163264754811411 (code B ref 50743); Sun, 26 Sep 2021 09:13:02 +0000 Original-Received: (at 50743) by debbugs.gnu.org; 26 Sep 2021 09:12:28 +0000 Original-Received: from localhost ([127.0.0.1]:35859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUQCx-0002xz-VW for submit@debbugs.gnu.org; Sun, 26 Sep 2021 05:12:28 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:54653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mUQCw-0002xk-S5 for 50743@debbugs.gnu.org; Sun, 26 Sep 2021 05:12:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1632647527; bh=x0G/j4MaZZqE/SyKPf9j69QIFNFCca1Bdi20kdaacbc=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=JSFecwNmo8/0DZLTpcpDkCFwdRY/zjurH8K7P9izXoXsSUu0eeexsiKnemGcxsCD/ AkL21JTjXEtMixTXh3kdtbadLGrQnjehS5jHWsgeLEOsB2OC7KULW5SYfT8+yg69Ui iJgbruXOSfKEGaOkXruIcGpLUDoPadGoGMdLyp48= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [192.168.1.101] ([212.95.5.179]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1Mq2jC-1n8eph0HEA-00nCp2; Sun, 26 Sep 2021 11:12:07 +0200 In-Reply-To: <83zgrzontw.fsf@gnu.org> Content-Language: en-US X-Provags-ID: V03:K1:3apV3qJFmm6fwkokfHGzs5FsnBhhkdOKrM1+e2pm+N7Rs/fYRly IcjFvQGz5qdoqw7BcT7dKAfcyc5ssvuDHexrzE47ouNfORnrNHxny0WKb16l05IOFwvFkJ6 Xq1hyt/gqTz5G1oslDQg4yasTWD1rR1llQ2YMjfFUM7iXYPVnmoMn7QLPZe7ZahNh+I/05Y HybSdCRFGSYeAtuH0EQNg== X-UI-Out-Filterresults: notjunk:1;V03:K0:zHYxueca498=:mUV2IrIXvM1uI8efoZOwUn okwNdwbdEH3vjAhybWHByIx0rqsGVaqqwUUmNOpaDkiVEvJSsAJyhLoPRVLzgKO46iq8gPsjd APfQPvdM7WISMh5Din/xF5lyVEcRyPORCepfpgIUU/Q/irk9bomFO8bJS8Y8iq3KRGokqrrf7 XKDsgENUF8mt4k0lg9UVpi1pqLGXt+IzqqBVuMDUl/kqzaZhbBGMlf5K/HknfGCc9D31yOElm kXVZ5TjD2UPfsqPmgUXfEc6RsDyTyH2gnP3hnwdsCVbkN1MbjwoYJY0XdCZvkDmu5ddrmvH5o l66efCsFceycrXdedzGZnoqii6Vc7M+NvjQrYCSalsXB3FCfcm0+tcpy88T5Imaan5EtrsYBR q8jQGT1u+jpFXPtljaxmO1M9nUEcRbGfzfmS0rWj+SSYFnIKp6urHQNQ0dbyACsaHHCSKz1LU +hSnV4dl0ZKBk5uff2q60jCtFbQyGJfnUGUA/mY7ILUgwbMe4mwxrl0zkldol4ocxM0Eu22Fs UcMxHOVqcX886BZBwYnF2zzkaYN/Aax5ybhlNHNSqViorBCYV/gJJYoH+aJMhb08d7HtNVAoI U+CsX774XiASw8j4RIOsp0AMEHmX89ksf3xJU/lZZcVOERwv2MEyl6hDTh7pb4MCmKZD+sllB PdCPIPc18PpZwtpU+zhqv7htBK3cQOeQ1FvgNaZON1ERv/9ALDpl4hKOh3J7odqyA8/1OxvPK kTOKqw/10XnaGe1CT/yBfhDSFYlrxA0LmnDMZ65YLNainFDeZX0DCqQuUJQeHvZ8c8aT5jeJ 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:215584 Archived-At: > And if you set server-raise-frame to nil, the "problem" happens in > both cases, right? > > So I'm not sure this is a bug. The user should switch to the correct > frame to answer the question. On my system, there's a prominent > indication that the client frame needs my attention, but even if there > isn't, the user should be vigilant enough to type the response into > the right frame. > > If we do want to somehow raise the frame earlier, we should do it > conditioned by server-raise-frame, because some users don't want the > frame to raise and get input focus. But it isn't clear to me where > would be the correct place to raise the frame "earlier". Maybe 'server-raise-frame' does too much when it triggers 'select-frame-set-input-focus'. Still I consider it a bug when the user gets prompted and the frame displaying the prompt doesn't have focus. martin