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: Re: Possible problem with compile Date: Thu, 21 Apr 2022 14:55:52 +0200 Message-ID: References: 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="4842"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 21 14:58:27 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 1nhWOB-00018N-Bs for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 14:58:27 +0200 Original-Received: from localhost ([::1]:36886 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhWO9-0005Mg-Vd for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 08:58:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhWMJ-0002cQ-La for emacs-devel@gnu.org; Thu, 21 Apr 2022 08:56:31 -0400 Original-Received: from mail-yw1-x1129.google.com ([2607:f8b0:4864:20::1129]:36565) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhWMH-0004sp-UG for emacs-devel@gnu.org; Thu, 21 Apr 2022 08:56:31 -0400 Original-Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-2f19fdba41fso51049607b3.3 for ; Thu, 21 Apr 2022 05:56:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Y72j4aF35E7uDVudmSPVmrcCTWsq/Ru4O3bM/lRUZsc=; b=l17JfS1JjSLdusfjlV4qfmiORBZWNhBtmlzoLyJIe6e/w+So9OkNgtvKlUA6ncuXiO s8jZhL2BiQpaY7lBoVc8wkQl8EYDpxafQFMemG/CdAUIVzJ0oYLgYB4yp4cRmgu4gwpz mWKEFuulq8kRpfh8Apwg3bR3pr5r25k0vAt1bThB+q/EwA+7xRw1dzABQ7lUwiWVALb6 Mc6vBy2/c2ZpCCz1acdk9ErnbyPkj1Izuy0ROO6byMJb8SlvycOdtqyYD4nfCwdZntQ1 +j9SjoVARpWOCeIiDRwuVo9HGgvHgDhml5KnBsJSWX+q/D3nMPn7LJuJZwva1O4dkIxZ HoWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Y72j4aF35E7uDVudmSPVmrcCTWsq/Ru4O3bM/lRUZsc=; b=u+FDzPfdVcnB1UKNbcBuVGq8seRcd2Vfbjwlxy4aJQUs7GXushTr9XF5afOrQj3R++ X1m+nCJWItljnbkIn+02T4xLdeDH5yFIwBGdZbrIPYNczWFWnpc240DMPHXWMKwpX+Yi MyjqMFw7yM2xpRUHOYs5A9rpYrXqrOVsbLzSkbsZEB2k2K8YmcUPWTGfgu4Zpc8FZofV yo0ohP4VVvqHkBfpcbWiA2Of/XZ9nYc9C5aJj+1C5BYwFI9xk16fG7DfprUpAgEYTghs zGraYdyufdT/3WeWeChyMjMiYd0Zgk6Mfbxuzd2zw+uzdxgH1tbPRwenPu+aC+LYhCeU 07IA== X-Gm-Message-State: AOAM532Z44usKWmqxKJF/W9GzjLB3vIm8f/4Vng6I1zRqh6iJ+XuJKqD iy3K1mokXWU8FQ1cIoEHdCwgp0DJUGXQC6bTRw== X-Google-Smtp-Source: ABdhPJxPHo1udMCAZPjD/PleMISSCjwYfpuyvm1fBBJ1K6iO2lvWT4tiBPdJLzF2i0dLoqJuLElQOEIRrkhyqW23/v0= X-Received: by 2002:a81:8902:0:b0:2eb:e2fd:8a1d with SMTP id z2-20020a818902000000b002ebe2fd8a1dmr25401633ywf.516.1650545788693; Thu, 21 Apr 2022 05:56:28 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::1129; envelope-from=immanuel.litzroth@gmail.com; helo=mail-yw1-x1129.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:288753 Archived-At: On Thu, Apr 21, 2022 at 2:18 PM Stefan Monnier wrote: > > Immanuel Litzroth [2022-04-21 12:06:42] wrote: > > 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") > > When it hurts don't do that? > Why would you pass that kind of argument to `compile`? It was a programming error in some code I was writing where I forgot evaluating in a backquoted list. > Maybe you should > describe the more general setting in which you bumped into this problem? I don't think it matters that much. I just think that behaviour could be improved, seeing that other people might run into it and I was quite confused as to why it wouldn't compile anymore even though I fixed my bug. It's still not clear to me why you would want to eval there? Immanuel -- -- A man must either resolve to point out nothing new or to become a slave to defend it. -- Sir Isaac Newton