From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Immanuel Litzroth Newsgroups: gmane.emacs.devel Subject: Possible problem with compile Date: Thu, 21 Apr 2022 12:06:42 +0200 Message-ID: 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="5394"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 21 12:12:17 2022 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 1nhTnM-0001GP-84 for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 12:12:16 +0200 Original-Received: from localhost ([::1]:57634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhTnL-0006MX-BV for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 06:12:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39712) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhTic-0000SC-AC for emacs-devel@gnu.org; Thu, 21 Apr 2022 06:07:22 -0400 Original-Received: from mail-yw1-x1134.google.com ([2607:f8b0:4864:20::1134]:36600) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhTiZ-0006yx-SQ for emacs-devel@gnu.org; Thu, 21 Apr 2022 06:07:21 -0400 Original-Received: by mail-yw1-x1134.google.com with SMTP id 00721157ae682-2f19fdba41fso46686497b3.3 for ; Thu, 21 Apr 2022 03:07:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=ukmBDfEy3dHHTYQfu63Wtv94BD2H/xBqLl3fPlGp7yM=; b=XRDtLLOCpH6KUVX5qJGE5fQl37k6d+6jXu6wy2HQIadqWwU9mpCmdsUjrRip6ET2/d /GTMcY9vQYIWPj1OiFfhS+KfCBezjp0b4bNtUE0vJSYZ3gtK6kq4IOXdwd3ZNJscAK4p xLJWD4g4S8+orJDJD4zZj+8J0FJyNEBwdgKo8VGEckbrETiSpTaBhcZBSHr20exxPUD8 7JyV3FygXXJcB6uPF1GEjm+aYiM2qNFdkgJu/GnA5Ho1DE2rIqBlKmK0wOupJMM1Ta6p 2wAAXH2wFwnYIqP3EIMU1R/jvfNUGafEI3OOttCiYWR6x5VhA52HYeSPvkjv457bhDGS 1ZbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=ukmBDfEy3dHHTYQfu63Wtv94BD2H/xBqLl3fPlGp7yM=; b=nXKXbwKSwT+WGlKuHy1x2YvbeOgTa6v1xf1K+PcAHHFwnMGMJcBk1E+7c3eGzpQJ6r lpJvFcfFz97Y94x59xvtQZiC9IDHUcPSVNfcARtEAD6bZHaxCEtIGv2k/pKuPq1/wYL4 pS0ukNlCnzgzbZ6vKnHhB0vM7aq56uexOlz7M/8EJFgOoLQfFENvWD0D9GBHyc8MjKJO aQr8XUHXTk4CyglcSXdVFZ1NEzZOenkMPu2h7KyFRg/Q7W761mwW2M2E4AWhsMM/Pkcc 36IT3NOw8qimwsLDw1fJyyuXYkChOxUzvCKKxRHgmJMCvqQhpXpWDm846ehFjEPfDMXa seAg== X-Gm-Message-State: AOAM5314qehfD/2tKZcWUqQ2zlFa4BFzdwhYRPcc/zB0O27jwkTFFGF9 tVAKcCC6ThN/TNcKA2EeV3AQwLZS8TGU8r/b8V2PdlyYIowL X-Google-Smtp-Source: ABdhPJxY7yqjsXsif3kDP2h4tdSzjMvoMKgNs1iaASQI1N6m1J814vVXXEWP5UUploZbRtIjLnfjeWiTsjYfWuk4lkk= X-Received: by 2002:a81:6145:0:b0:2f1:7a81:83f with SMTP id v66-20020a816145000000b002f17a81083fmr20563848ywb.366.1650535637906; Thu, 21 Apr 2022 03:07:17 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::1134; envelope-from=immanuel.litzroth@gmail.com; helo=mail-yw1-x1134.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:288745 Archived-At: This triggers a problem (compile '(error "you have a problem")) ;; here compile-command is (error "you have a problem") ;; and the next compilation(s) will eval that so they fail (compile "ls") This is the relevant code from compile.el: (unless (equal command (eval compile-command)) (setq compile-command command)) I don't quite understand why the compile-command is evalled before setting in this context. Documentation seems to suggest it should be a string whether whether it is set via (compile something) or (setq compile-command something) Immanuel -- -- A man must either resolve to point out nothing new or to become a slave to defend it. -- Sir Isaac Newton