From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#44794: 28.0.50; Frame creation broken with (tool-bar-mode -1) Date: Sun, 22 Nov 2020 13:16:35 -0600 Message-ID: References: <838satxufx.fsf@gnu.org> <83o8jpw813.fsf@gnu.org> 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="40806"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 44794@debbugs.gnu.org To: David Fussner , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 22 20:21:47 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 1kguvi-000ASv-E1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 20:21:46 +0100 Original-Received: from localhost ([::1]:42948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kguvh-0004rZ-FP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Nov 2020 14:21:45 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kgur9-0000r8-34 for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 14:17:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36753) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kgur8-000333-LU for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 14:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kgur8-0004rv-H3 for bug-gnu-emacs@gnu.org; Sun, 22 Nov 2020 14:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Nov 2020 19:17:02 +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.160607260518687 (code B ref 44794); Sun, 22 Nov 2020 19:17:02 +0000 Original-Received: (at 44794) by debbugs.gnu.org; 22 Nov 2020 19:16:45 +0000 Original-Received: from localhost ([127.0.0.1]:48299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kguqq-0004rL-LR for submit@debbugs.gnu.org; Sun, 22 Nov 2020 14:16:44 -0500 Original-Received: from mail-ej1-f44.google.com ([209.85.218.44]:44284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kguqo-0004r6-A7 for 44794@debbugs.gnu.org; Sun, 22 Nov 2020 14:16:42 -0500 Original-Received: by mail-ej1-f44.google.com with SMTP id k9so5481911ejc.11 for <44794@debbugs.gnu.org>; Sun, 22 Nov 2020 11:16:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=BDaqS6VzGnTPvKSS4BBc7KOU+/QjmjgXrQQVfpo4ZM8=; b=D4NIjMUBT6C6bTl03i2JDjYVU3enrkYQyJwNEuSCYNqu+tg9XnY0t+HovaNBYgMvGy UOAjghVB0wY5RFJm4y4NoK12RymH+graRhcXkqctP36Ex+/A5ICMuWPIvXkDunMJu5D8 2wtLO5O2BcVYbZ4xYl+wmhsdtYRJDawUNsbHKz09TXepWb0fQkX6gob79mHY17SYgQbJ 403EYzJxNHE1eEJt8Xlj843Aulasbdn+4296jSIim11XwvWyeVeqm1IRl7bCiFBRlTkv N8QKhr9cJr3Ic6a/cEEUMhiKDYAtW6cxY3JgQnqT0cmZdAzAkBhEqGQgVdlx0eDwagOK nr4Q== X-Gm-Message-State: AOAM532iEyTLzjqD5phBxuaXSRMpb4znaqBRmjJ4s+J6uuklKeZc4uCk h6AJ5qCM+5yva25+dW7Lky3nSMzP1Anc6MoRza4= X-Google-Smtp-Source: ABdhPJyFTi8vN79Rsg28V05QVncOlFdiWENknBo0wFxc8hjVdxPjmBVztvNXLg6nugltawxY6gY6HkjjrF+L3KPQ3Xs= X-Received: by 2002:a17:906:d9d0:: with SMTP id qk16mr14289437ejb.420.1606072596555; Sun, 22 Nov 2020 11:16:36 -0800 (PST) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 22 Nov 2020 13:16:35 -0600 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:193866 Archived-At: 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.