From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: gnus-server-to-method crash on virtual server name in gnus-secondary-select-methods Date: Tue, 26 Jan 2021 11:51:15 +0100 Message-ID: <878s8gug2k.fsf@gmail.com> References: <24567.20346.37031.450073@lwm.klanderman.net> <87eeivwae3.fsf@ericabrahamsen.net> <874kjejezr.fsf@lwm.klanderman.net> <875z3p7stg.fsf@ericabrahamsen.net> <8735yogb1z.fsf@lwm.klanderman.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15920"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eric Abrahamsen , emacs-devel@gnu.org To: Greg Klanderman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 26 11:51:59 2021 Return-path: Envelope-to: ged-emacs-devel@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 1l4Lwz-0003yu-VD for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Jan 2021 11:51:57 +0100 Original-Received: from localhost ([::1]:47932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l4Lwz-0000YV-1Z for ged-emacs-devel@m.gmane-mx.org; Tue, 26 Jan 2021 05:51:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l4LwQ-0008Tq-Ha for emacs-devel@gnu.org; Tue, 26 Jan 2021 05:51:22 -0500 Original-Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:38331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l4LwO-0007co-Rq for emacs-devel@gnu.org; Tue, 26 Jan 2021 05:51:22 -0500 Original-Received: by mail-wr1-x432.google.com with SMTP id a9so15933579wrt.5 for ; Tue, 26 Jan 2021 02:51:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:message-id :mime-version; bh=X1wQMpb+xZrOb2YosclDscmT4580Gi5vVG3ERS8qCXk=; b=HUeEmyi7Bu48uYXCHnuu8BrQbnEvJ9htGsOKLZ1A2ZkLN0XFvbyyvsS9wHC7O1fcSs uRpmQovhx18+UjUiZyECihzNxG3ZxPekblA1vMl+nTYDK3SEKS/xFp4BLPqOMmxLR0tn fStmiKzQQJfqj22hJW7zE6+nkZEb2vuHs5LEAtSgRD3Ouw26ro3Nc0vCR7odq4L8LtQ9 6F9l5ikHkk0Hdks8SkxMTFY7BTCNADQC9HB/ujy0nvoFTTsx4kCbYBQS1m+dRqPiBp/f ZPttaqY+0JDmR/r/owLDfJ8d4qW2IRTDEG6E1Sm68cOKFdGEpgWv6jx6v1vHqNDyUonR fXdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:message-id:mime-version; bh=X1wQMpb+xZrOb2YosclDscmT4580Gi5vVG3ERS8qCXk=; b=R8chs4XRv5Ko0UipT9aj/ZSZE8GRXbkj8VMZNwDnMeybTR9BZ92Cdy0yAOGlmTu7F1 TI8OkEPWI1hrA/9jK7Geim+EvH7YtwfuhGpIOSZ5u21fYsXv8/jAj1jeut4+9xORVpKD XB8tOAEtFGtFk4EcKIHor6DVfDNt+r7yvaKKBVVWdyaIOKNoohwI8tMkpZew5FLAEmOh fkj7SUOpsPSNN9e0sl8kfRSmLqXxEqFYutTStqh/OnrhY+P3d7UgaPABrz/OUXa97KEW roXzCkCZpfs/AtAXfEUsz3ddEgHeQxxAR2zZaGhKrrw6o5LxfiXdosZXTnjQa5GrR9uF u4/g== X-Gm-Message-State: AOAM532nTUa/zTm0Y4OSVcxZocqvHVbA5DQuc1UnflzJBzzmqHRLOO68 0iC/lPK8wnUftvQNjsJj9fqWcWU9aVdQkw== X-Google-Smtp-Source: ABdhPJzFqzVq/aTyml7d9Sm9lmC+76f4g46MQQRDSyesoLsKZ6w8AgmmyuIZNYH6blO5rlGOU5KuZw== X-Received: by 2002:adf:d20c:: with SMTP id j12mr5351468wrh.407.1611658278833; Tue, 26 Jan 2021 02:51:18 -0800 (PST) Original-Received: from rltb ([2a01:e34:ecfc:a861:69b6:6aaf:dbd3:8964]) by smtp.gmail.com with ESMTPSA id h23sm2779050wmi.26.2021.01.26.02.51.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Jan 2021 02:51:17 -0800 (PST) Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=rpluim@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:263453 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> On Mon, 25 Jan 2021 12:51:04 -0500, Greg Klanderman said: Greg> My biggest concern now with fully transitioning, other than a lot= more Greg> time, is how slow it is over ssh forwarded X11. As I said xemacs= is Greg> perfectly snappy, but Emacs is taking sometimes 30-60+ sec just to Greg> create a new frame. Does the attached patch improve frame creation? Greg> I turned off tooltips which seemed to be causing much of the late= ncy Greg> issues, then it seemed that toolbars & menubars were the issue be= cause Greg> after dragging another window over an Emacs frame, everything wou= ld Greg> redraw immediately but the menubars and toolbars, which could aga= in Greg> take 30-60+ seconds with Emacs being essentially frozen to input. Greg> Switching gtk to lucid (Debian testing) did not make appreciable Greg> difference. Greg> I've now noticed that the problem only occurs when a frame of Greg> an Emacs is dragged over another frame of the same Emacs, so I su= spect Greg> some problem with the event handling loop. I will submit a bug Greg> report; this is perfectly reproducible with emacs -Q after ssh'ing Greg> from my work laptop (on home network) to my work desktop (in offi= ce Greg> 30mi away) and then back to my personal home desktop, even with Greg> tooltips/tool bars/menu bars/scroll bars off. Which X server are you using? I don=CA=BCt see this at all (but admittedly the two machines in question are a meter apart) --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=check_x_display_less.patch diff --git a/src/xterm.c b/src/xterm.c index 2e0407aff4..448e06eb8b 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -12709,8 +12709,6 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name) ++x_initialized; } - if (! x_display_ok (SSDATA (display_name))) - error ("Display %s can't be opened", SSDATA (display_name)); #ifdef USE_GTK { @@ -12838,6 +12836,7 @@ #define NUM_ARGV 10 /* Detect failure. */ if (dpy == 0) { + error ("Display %s can't be opened", SSDATA (display_name)); unblock_input (); return 0; } --=-=-=--