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: Porting my conf to 28.0.60 (MS Windows + native-comp) Date: Sun, 17 Oct 2021 13:50:08 -0500 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="4306"; mail-complaints-to="usenet@ciao.gmane.io" To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 17 20:51:49 2021 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 1mcBG8-0000vA-QL for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Oct 2021 20:51:48 +0200 Original-Received: from localhost ([::1]:40448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcBG7-0007vo-Qf for ged-emacs-devel@m.gmane-mx.org; Sun, 17 Oct 2021 14:51:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcBEp-00078d-3b for emacs-devel@gnu.org; Sun, 17 Oct 2021 14:50:28 -0400 Original-Received: from mail-ed1-f50.google.com ([209.85.208.50]:39661) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcBEk-0002lf-V9 for emacs-devel@gnu.org; Sun, 17 Oct 2021 14:50:25 -0400 Original-Received: by mail-ed1-f50.google.com with SMTP id ec8so61800711edb.6 for ; Sun, 17 Oct 2021 11:50:20 -0700 (PDT) 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=K7Yt+MVnE2GokZ92dGWkPm1vYTwCFd+3wShv+mGDywY=; b=0pcYyGVO5ScZJo+SQL3shyQiABisNQcwc+UoLmur4Z2uR/KrWsPL6/B5lcmIsyYNRr NAimnltQ7TnvY6ecoyAWmGlyKXdIfW9hmcU5nix2C0hSFLtGHEh6aO8SzVUKICtaZ8Ri 0SCO/njPBl9CEpcdva2fwTyuLbUjBNDolzj7iP3heU1LoliXYGFLRSBd/Xjq0cmdfG40 zLpgPe4PvMw/JnO3dXPEAP0QGyB2TRJ+65JaYA4HDX6eEfSKKHY4hEZ1Ft550ztUCtWn cuyZ03iZZk09uhKBgnplWNaxi3/DaVUyXGtrdEwkP43S7qw1VV3/SxoomoJW4TIpkN4f NatQ== X-Gm-Message-State: AOAM530bbvQypKkoePZHPGXUCayo1Aw2sVslaWkMuPvMzq8Zkdx3hEdX CF7mPM5A1HBCq4WHqBuKHhQaoxbhK+9eydxmL9JluVWf1cs= X-Google-Smtp-Source: ABdhPJyyR/XkV+2PEljX26wlCtkYwnZ4GAGTKmsnl7ehJK0zkBFFoUzbqW1LrxAYXQaO/fMS0bDczshelHZsrJMoPeA= X-Received: by 2002:a17:907:935:: with SMTP id au21mr25059018ejc.156.1634496619318; Sun, 17 Oct 2021 11:50:19 -0700 (PDT) Received-SPF: pass client-ip=209.85.208.50; envelope-from=mplscorwin@gmail.com; helo=mail-ed1-f50.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.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:277224 Archived-At: Greetings Emacs developers! This morning I was able to get my configuration fairly portable between 26/2728. I'm running Windows 10 and using msys32_64 to compile. I'd already spent some time getting msys updated to include libgccjit and I'm not going into that process here. Rather this is a quick note to share my configuration with you, along with a couple of things I ran into and haven't solved. My configuration is on GitLab. I use a number of packages from MELPA, and I have a personal configuration "management system", where I create simple packages for groups of configuration based on use/propose of each group. This let's me easily adjust which things load when Emacs starts, and quickly bring in "hunks" of customized functionality when I'm doing stuff outside my regular day-to-day Emacs use. For more information on how I do this start at elisp/init.el My conf repo: https://gitlab.com/mplscorwin/dotfiles/ These two commits show the changes I made: 1. an early init to adjust `package-user-dir' https://gitlab.com/mplscorwin/dotfiles/-/commit/666f4b130a9925be8c989e1e6695f2e03d169b96 2. the rest of my various changes: https://gitlab.com/mplscorwin/dotfiles/-/commit/74f36d0e540188eb231dbce6b0ae003078067983 In the second link the principle changes are to init.el and init-package-management.el - I'm afraid there are some unrelated changes (theme changes, etc) mixed in. For the most part if I've commented stuff out (in any of the elisp files) it is because I've not yet gotten that working with 28/native-comp. Finally, here's the command I'm using to complete Emacs: #+BEGIN_SRC sh git pull && make clean && ./autogen.sh && ./configure --with-native-compilation && make -j 20 #+END_SRC I play to play around with adding NATIVE_FULL_AOT=1 to the end of that string but I'd like to solve the "too many pipes" issue first, given that's solvable. Aside the few (melpa) packages I'm having trouble with and commented out (yaml-mode and forge), I also had to expressly add a line for `fullframe', but I'm not sure why. (Maybe I should have had this all along but I don't remember an error when installing everything on/from an Emacs 26 on a GNU/linux system.) I'm also having some trouble with magit. In fact, magit is completely unusable but I've not started digging deeply as to /why/ that is. Otherwise, my only concern has to do with "too many pipes" errors when I remove my elpa folder and force Emacs to re-fetch all of my "non-core" packages when it next starts-up. I would be grateful indeed for any additional* workarounds the team could suggest for that issue. * I have some workarounds already in place already but they haven't quite solved the issue. I found these starting from use-package issue #96 and have added links in my conf code just above where I've attempted to use them. https://github.com/jwiegley/emacs-async/issues/96 TIA for your thoughts and suggestions and (as always) for keeping the best text editor in history moving forward. Warm regards, Corwin