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: Sun, 27 Oct 2019 19:50:30 +0200 Message-ID: <83ftjersbd.fsf@gnu.org> 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> <83zhhmsp39.fsf@gnu.org> <83mudmryrj.fsf@gnu.org> <83imoarvri.fsf@gnu.org> <83h83uru8e.fsf@gnu.org> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="222080"; mail-complaints-to="usenet@blaine.gmane.org" Cc: lekktu@gmail.com, 37826@debbugs.gnu.org To: Carlos Pita Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 27 18:52:34 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 1iOmiP-000vcV-Uc for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2019 18:52:34 +0100 Original-Received: from localhost ([::1]:46330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOmiN-0004gO-Mi for geb-bug-gnu-emacs@m.gmane.org; Sun, 27 Oct 2019 13:52:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60545) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iOmgy-0000hi-0k for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 13:51:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iOmgx-0004up-2N for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 13:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34694) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iOmgw-0004ud-V3 for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 13:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iOmgv-0006X2-R4 for bug-gnu-emacs@gnu.org; Sun, 27 Oct 2019 13:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 27 Oct 2019 17:51: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.157219864825085 (code B ref 37826); Sun, 27 Oct 2019 17:51:01 +0000 Original-Received: (at 37826) by debbugs.gnu.org; 27 Oct 2019 17:50:48 +0000 Original-Received: from localhost ([127.0.0.1]:43515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOmgh-0006WX-KR for submit@debbugs.gnu.org; Sun, 27 Oct 2019 13:50:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iOmgg-0006WH-6d for 37826@debbugs.gnu.org; Sun, 27 Oct 2019 13:50:46 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60362) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iOmgZ-0004ds-W9; Sun, 27 Oct 2019 13:50:40 -0400 Original-Received: from [176.228.60.248] (port=1441 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iOmgY-0004Nx-2u; Sun, 27 Oct 2019 13:50:38 -0400 In-reply-to: (message from Carlos Pita on Sun, 27 Oct 2019 14:19:51 -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:170265 Archived-At: > From: Carlos Pita > Date: Sun, 27 Oct 2019 14:19:51 -0300 > Cc: Juanma Barranquero , 37826@debbugs.gnu.org > > You dislike the instrumenting/monkey-patching approach, be it by > advicing or by directly accessing the function slot of the symbol. I'm > not sure why It's in the ELisp manual: Emacs's own code should avoid advices. The reason is it complicates code reading and debugging, and it also looks like we are not familiar with our own code, so we piggy-back it instead of changing it. > we could add some global flag or something that message could check > in order to change its output destination. That wouldn't be an > instrumentation. Some infrastructure that would allow doing that would be nice. Maybe we should have delayed-message, like we have delayed-warning.