From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: David Fussner via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#44794: 28.0.50; Frame creation broken with (tool-bar-mode -1) Date: Sun, 22 Nov 2020 19:23:16 +0000 Message-ID: References: <838satxufx.fsf@gnu.org> <83o8jpw813.fsf@gnu.org> Reply-To: David Fussner Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20041"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 44794@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 22 20:26:11 2020 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 1kguzy-000551-Nw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 20:26:10 +0100 Original-Received: from localhost ([::1]:44502 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kguzx-0005w1-J6 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 14:26:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kguzq-0005vg-Cg for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 14:26:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36767) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kguzq-0006Mk-5E for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 14:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kguzq-00055o-0R for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 14:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: David Fussner Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Nov 2020 19:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44794 X-GNU-PR-Package: emacs Original-Received: via spool by 44794-submit@debbugs.gnu.org id=B44794.160607315319562 (code B ref 44794); Sun, 22 Nov 2020 19:26:01 +0000 Original-Received: (at 44794) by debbugs.gnu.org; 22 Nov 2020 19:25:53 +0000 Original-Received: from localhost ([127.0.0.1]:48313 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kguzg-00055S-VN for submit@debbugs.gnu.org; Sun, 22 Nov 2020 14:25:53 -0500 Original-Received: from mail-qt1-f181.google.com ([209.85.160.181]:39959) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kguze-000558-TU for 44794@debbugs.gnu.org; Sun, 22 Nov 2020 14:25:51 -0500 Original-Received: by mail-qt1-f181.google.com with SMTP id p12so11488572qtp.7 for <44794@debbugs.gnu.org>; Sun, 22 Nov 2020 11:25:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Iv24Pfb1wndil6d4p6gMqsOCebNwZ2Cc4Ijb2bDt3yI=; b=NLDhsXfkHfnlQhfy+dBRnPkkKmp3eukVL6myKMSnTniAhHFTsqluaBSKIYZ3oSiVD+ drW/kL8bdYdIy4wfyqXVXxAefsC2Yit9IysNh/ZP9XmnklKTBvWB2UFkHlONwTEsNkoF vncGioCtkJD8TnZVV2FjjYhQEAL4dAMqSCLlGUWtdcCwbtsKvcYWo31EFqAbIovW1WQQ QJT6L7wAgLvFjWmzdnBDbWUTawP2QIPTyWfbJE34Hpazsl9na5rFI+S3mkYsUmHXnOPv De88z7rVUc5T4OsozJyQYNiL3EeuoH0em0XkBrjQufmXzB9N9I8oPR32x1nKqEO/XqJR +nEQ== 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=Iv24Pfb1wndil6d4p6gMqsOCebNwZ2Cc4Ijb2bDt3yI=; b=c9Y1Y5Qluyr8gXEBB6dpNxHnz7+EG4OB83OgKXY8OZUGqJNkYsbXph+IAWoAUgZQV/ qbfItS+Dt3QfvYGtRXFk9QwyPsNozxipKRyyB8Pcpypa4Zweev2sx51hXlWzgzC3N/xN QPmbxm3Ixp12lKjNuSPV4hAtFAKwBERVKc8IGgSCAEX5d0gGYdaWLSypWEUwJlngB6Xz WXTMMA5+Voz/tpEbnMnHdhuzbIwJAg01DqACnp3dqvZjgM7A1nHYGn9ze62ojwgqbUvv 18ajqXcx7t0k2dYsXEnhD90Gf6cpEl6bN1qYDwJU58JMRgwLs6gFTHMfA0D8rdn6r+dy 7I2Q== X-Gm-Message-State: AOAM5329iKAffClYberSBrFpOfm5POUFiQ3ayb6djwo9A2q9yjMrXRtn jkiqLBOdiRMpY+8EBVl+U0eGil6Bd4tTXxQZAhAPDb/tUfXy3A== X-Google-Smtp-Source: ABdhPJx6vrh2NhEBAvpFKZp/qW51EgOid/II9W9z76QMKhXnzlEpf6MeDM6w9TUaRbcRPjhe/eLsD/z5rAmLxns184c= X-Received: by 2002:ac8:4405:: with SMTP id j5mr25951030qtn.47.1606073145455; Sun, 22 Nov 2020 11:25:45 -0800 (PST) In-Reply-To: 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:193868 Archived-At: Thanks for the tip -- it says "GNU Emacs at newfont" when it first comes up, then prepends the buffer name to that later. On Sun, 22 Nov 2020 at 19:16, Stefan Kangas wrote: > > David Fussner writes: > > > Forgive my incompetence, but my idea for how to do that appears to be > > faulty -- what would be the simplest way to detect which branch the > > code takes? > > Maybe one of these could work: > > 1. One way which doesn't involve any coding, but might require you to be > fast, is to type "emacs --no-desktop" to just use your normal init file. > If your init file takes sufficiently long to load, you can glean if the > default title says either "GNU Emacs at foo" or just "GNU Emacs" before > it has time to change. (If it's too fast, maybe you could add a > (sleep-for 10) to the beginning of your init file.) > > 2. If that is impractical for some reason, you could just add a call to > exit() to each of them in turn and see when it doesn't start. > > 3. Or, less intrusively, I think you can just add to one branch: > > Fmessage ("one"); > > And to the other: > > Fmessage ("two"); > > Then check the "*Messages*" buffer for which one gave you any output.