From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Corwin Brust Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Wed, 9 Feb 2022 17:32:00 -0600 Message-ID: References: <86a6fu3xb2.fsf@duenenhof-wilhelm.de> <87tue1j8x0.fsf@russet.org.uk> <86wniw3kdq.fsf@duenenhof-wilhelm.de> <83tue0u8sh.fsf@gnu.org> <86sftk3evj.fsf@duenenhof-wilhelm.de> <83o848tc92.fsf@gnu.org> <86o8473k13.fsf@duenenhof-wilhelm.de> <83ee53ssbx.fsf@gnu.org> <86pmo6v741.fsf@duenenhof-wilhelm.de> <83r18m79t9.fsf@gnu.org> <874k5gapec.fsf@russet.org.uk> <86mtj3syg3.fsf@duenenhof-wilhelm.de> <865ypnsxuy.fsf@duenenhof-wilhelm.de> 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="30852"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Phillip Lord , Eli Zaretskii , chad , Stefan Monnier , Emacs developers To: "H. Dieter Wilhelm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 10 00:33:10 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 1nHwST-0007nZ-Vp for ged-emacs-devel@m.gmane-mx.org; Thu, 10 Feb 2022 00:33:09 +0100 Original-Received: from localhost ([::1]:37508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHwSS-0007dE-LC for ged-emacs-devel@m.gmane-mx.org; Wed, 09 Feb 2022 18:33:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHwRd-0006wx-Pp for emacs-devel@gnu.org; Wed, 09 Feb 2022 18:32:17 -0500 Original-Received: from mail-ej1-f53.google.com ([209.85.218.53]:38416) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHwRb-00042p-JW; Wed, 09 Feb 2022 18:32:17 -0500 Original-Received: by mail-ej1-f53.google.com with SMTP id k25so11263457ejp.5; Wed, 09 Feb 2022 15:32:14 -0800 (PST) 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=4039g1Ouu304ui8U4pAhMIvcCvzWbtE83ODWZbFKkvE=; b=e8bnxD7jMoOQ2K09+zT4V98uTv2iw9K99s3abgsfqiYzbRvmf809zAGlIABisjhD4p exq4jsBIK/pIdkfO3Ww/FRZdMvab46dhO5eX8/24am9na8YZ7UvBvTRtOyqlTkCDmi/m X3dAFFTsDinIV9oqbMKBlSJ4LLjGCijUyrCKxicIb8uVK9emYZDjMmUm5Oiax3TN4ktt bMiddjiYEbCMbHtYB5ycr1aL8x0ZcjzSO2CcbWLfJxj5XzFY/fzAGNm4eRGCkgNOcmQa 511AvMTAVSMe15CRk2l6DFgSRfW6KaDVLIahfkaiZXypyjmTh+hLzXY8HpBxx59VLf78 AYGQ== X-Gm-Message-State: AOAM53070Ut40H3RN2eXpnEH8/nUth4YbDT/LTEVFjmJCs60a7gm8FCt qSmWjFhTSbubsCWnGXp1YJzkqnu+yFBLSVihY6M= X-Google-Smtp-Source: ABdhPJwNhOkbPiRV2Q25Be1LAvPkwJ5t7t6e4bsaRbSzHwRj8fEgfrHhmidhHfqbcTX81mViyNL+0ZuuUOmscMXOaDI= X-Received: by 2002:a17:907:7292:: with SMTP id dt18mr3936021ejc.667.1644449532834; Wed, 09 Feb 2022 15:32:12 -0800 (PST) In-Reply-To: <865ypnsxuy.fsf@duenenhof-wilhelm.de> Received-SPF: pass client-ip=209.85.218.53; envelope-from=mplscorwin@gmail.com; helo=mail-ej1-f53.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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:286117 Archived-At: This is looking good! I have a few suggestions but not all will likely interest you. On Wed, Feb 9, 2022 at 12:23 PM H. Dieter Wilhelm wrote: > > I took up the idea from Alan Third and completed some missing "standard" > features (from nt/INSTALL.W64): > > (defun insert-feature (description test) I wonder if it would be worth separating the name from the rest of the description? This could make the output even prettier. in a similar vein, I think tabulated list mode could be a good fit for this. For the sake of argument, let's suppose the tests are moved to an var, something like: (defcustom list-features-list '((name:"Zlib" description:"compression library" test: zlib-available-p) ;; ... and so on ) "List of optional Emacs features. This is used by `list-features', which see.") At this point `list-features' only has to walk the last transforming the function to results to become suitable for use as a "tabulated-list-entries function". As a bonus, the "testable features list" could enable users to customize which features should usually be tested/listed, for example to add non-standard features (as long as they have a test in mind for them), and to remove things they don't typically care out about per in their own uses Even aside putting the tests into a var, I think the sortable header-line approach taken by tabulated-list-mode could make `list-features' nicely consistent with, e.g. `list-processes. > > ;; jansson = json? I think we only get jason-parse-string if jannson is available, so: (functionp 'json-parse-string) > ;; thread support? Not sure on this one, but I suspect we might be able to use: (functionp 'make-thread) > ;; modules > ;; gmp <- gnutls Pretty sure this is just (gnutls-available-p) > > What do you think? > *I* think `list-features' is going to be very nice to have. Please & thank you!