From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#37826: Very annoying autoraise client/server behavior with -t option Date: Sun, 27 Oct 2019 02:45:31 -0300 Message-ID: References: <83tv84540m.fsf@gnu.org> <83v9si2y9u.fsf@gnu.org> <83a79u2oih.fsf@gnu.org> <83y2xe12ut.fsf@gnu.org> <83r23610oc.fsf@gnu.org> <83ftjfvkov.fsf@gnu.org> <83imobtjnc.fsf@gnu.org> <834kzuu5ir.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="184995"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Juanma Barranquero , 37826@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 27 06:46:13 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 1iObNU-000m0f-U6 for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2019 06:46:13 +0100 Original-Received: from localhost ([::1]:44144 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iObNT-0004hr-QT for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2019 01:46:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59899) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iObNL-0004fK-JQ for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 01:46:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iObNK-0001Es-LG for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 01:46:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32794) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iObNK-0001EL-IF for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 01:46:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iObNK-0006Pa-BC for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 01:46:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2019 05:46:02 +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.157215515124621 (code B ref 37826); Sun, 27 Oct 2019 05:46:02 +0000 Original-Received: (at 37826) by debbugs.gnu.org; 27 Oct 2019 05:45:51 +0000 Original-Received: from localhost ([127.0.0.1]:41615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iObN9-0006P3-78 for submit@debbugs.gnu.org; Sun, 27 Oct 2019 01:45:51 -0400 Original-Received: from mail-yw1-f52.google.com ([209.85.161.52]:36580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iObN7-0006Oq-3y for 37826@debbugs.gnu.org; Sun, 27 Oct 2019 01:45:49 -0400 Original-Received: by mail-yw1-f52.google.com with SMTP id p187so2678153ywg.3 for <37826@debbugs.gnu.org>; Sat, 26 Oct 2019 22:45:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=VccbOhMVZDxx94jWBk8b1VSRhamMaRFPhVtzG/0wjx0=; b=HB5whoO3q+km08rpMZT7WkQfdkTZhS1y48NKfi9Q4x8VjOREIivo2Fu5QYZMXGnta5 PPnGi3ono7HyFPA3vp8ezmN1EfeAjfyNrtCrXTdFKVklH02+ls7ZejxrK7pv83OGsyZ8 2PzG/gyqmxRmpTL123+n8+Rc3XNmmCUuvQ3R9AptYgk2p/0OnhReOOK721XcniIWzPdr J7DuO2WuG3cvimBIY1uJvMCEKcfXNGMvdFXDRIOh3n0G4BZoYBggwsTwrBuw8S8sTJUV BzwGCj6DmKUgfZ1bW8Zbg2WhOOqUwN/CTaVSLDgJKTE5UYg2oJ+8ezGIR2uk1SFogj8R C0FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=VccbOhMVZDxx94jWBk8b1VSRhamMaRFPhVtzG/0wjx0=; b=i8U8NyGIlN5RiChaNCnSEsxNPqCk5cqj5JYRKOx7j6knQpPvi6mjo/nQeokH0eltt9 MyhaYVufeqPyvgVm7UnzNjX8Ggh4Wm6k7NE5hjsqWIIkzB3cJ6oiJGdSMpjLG3l1LMar 699eSasJsGkS2wugZ5TvBs9yZFWUn9DqNjAsZZQ3ICD5eWQboAnm82DvqnTfgvMgMriO U6LyHGRZPEUqq8HP3JrIl/dXo6ZKfQ8a+a18gU0YAGjmRMct7zALNOMt1gYTIUGWPiUH Wi2j5iuZkhOPu90Y0XdZBE2nJgdyTSr2vowY7raWqIwTv/uCx1GDYdleGpSveTvozo1p kl/g== X-Gm-Message-State: APjAAAW25SCT0qCeHq+UQ87l1ldH1J2OGOWs3qYN9bnD8iEpXHDhPP2H ImbqhQphbYksvomctmMqYFJhF6Pkb55u960dziw= X-Google-Smtp-Source: APXvYqyRPY9F5XVgd5v/qHwU4n3A/GeJlxst7bZQWPgy+1QBDkI0mez53YBhu/gU9Tg3tPL+Wdeb0C14DWT1poIntu8= X-Received: by 2002:a81:59c2:: with SMTP id n185mr8555688ywb.64.1572155143284; Sat, 26 Oct 2019 22:45:43 -0700 (PDT) In-Reply-To: <834kzuu5ir.fsf@gnu.org> 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:170231 Archived-At: > be raised (if needed)? (It might be that in some of these situations > we need to avoid binding minibuffer-auto-raise to nil, in which case > server-visit-files will need some additional logic or an additional > argument to discern between them.) > Hi Eli, the frame is not raised for a -t shell script nor for any other scenario you listed (considering a very limited set of examples, at least). This change is similar to my first patch except that mine also covered the handful of hooks surrounding that part. But even if yours is more selective it still could be letting an error pass silently, which was the reason to "record" the output messages and showing them in the right frame. Thank you.