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#37826: Very annoying autoraise client/server behavior with -t option Date: Mon, 21 Oct 2019 16:53:42 +0300 Message-ID: <83a79u2oih.fsf@gnu.org> References: <83tv84540m.fsf@gnu.org> <83v9si2y9u.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="268168"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37826@debbugs.gnu.org To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 21 15:58:15 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 1iMYCN-0017dX-KU for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2019 15:58:15 +0200 Original-Received: from localhost ([::1]:42529 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMYCM-0003yr-Dg for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2019 09:58:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43376) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMY8K-0000hm-0m for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 09:54:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMY8I-00052x-1q for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 09:54:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMY8H-00052n-Ol for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 09:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iMY8H-0006T9-Lf for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 09:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Oct 2019 13:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37826 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 37826-submit@debbugs.gnu.org id=B37826.157166603824857 (code B ref 37826); Mon, 21 Oct 2019 13:54:01 +0000 Original-Received: (at 37826) by debbugs.gnu.org; 21 Oct 2019 13:53:58 +0000 Original-Received: from localhost ([127.0.0.1]:55999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMY8E-0006Sr-0O for submit@debbugs.gnu.org; Mon, 21 Oct 2019 09:53:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34236) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMY8B-0006Sf-SV for 37826@debbugs.gnu.org; Mon, 21 Oct 2019 09:53:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38012) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iMY86-0004xq-Le; Mon, 21 Oct 2019 09:53:50 -0400 Original-Received: from [176.228.60.248] (port=3196 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iMY84-0004KQ-Gr; Mon, 21 Oct 2019 09:53:49 -0400 In-reply-to: (message from Carlos Pita on Mon, 21 Oct 2019 10:37:34 -0300) 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:169911 Archived-At: > From: Carlos Pita > Date: Mon, 21 Oct 2019 10:37:34 -0300 > Cc: 37826@debbugs.gnu.org > > > can we delay the message until the new frame is created? > > The message "Indentation setup for shell type bash" is like, I don't know, debug level. If modules are that > verbose, for me this means a case by case approach has no hope of success. Maybe there are very few of commands that issue these messages, in which case a case by case approach is not that bad. We have infrastructure for delaying messages, see "Delayed Warnings" in the ELisp manual. Using something like this could solve this issue without inordinately affecting more important functionality. > And how to know when to delay/ignore and when to show if there is no > priority hint? I think this is pretty clear: we want to delay when a shell script is visited via the client. > Maybe you're aware of this and could spare me some time (and I don't have access to emacs right now): why > the buffer "flashing" is a non-issue for standalone emacs? I mean, it also has to show something at the very > beginning, while still loading the initial buffer. In that case, we visit the file in an existing frame. By contrast, the client needs to create a frame, and if it does that before visiting the file, it will momentarily show some other buffer in that frame.