unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Corwin Brust <corwin@bru.st>
To: Emacs developers <emacs-devel@gnu.org>
Subject: Porting my conf to 28.0.60 (MS Windows + native-comp)
Date: Sun, 17 Oct 2021 13:50:08 -0500	[thread overview]
Message-ID: <CAJf-WoTV2ZO=A3+=Yg3JzDxwQU+P2131ii6bnAEBbohm87QaYQ@mail.gmail.com> (raw)

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



             reply	other threads:[~2021-10-17 18:50 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-17 18:50 Corwin Brust [this message]
2021-10-17 19:20 ` Porting my conf to 28.0.60 (MS Windows + native-comp) Eli Zaretskii
2021-10-17 23:25   ` Corwin Brust
2021-10-18  1:51   ` Corwin Brust
2021-10-18  8:38     ` Andrea Corallo
2021-10-20  1:13       ` Corwin Brust
2021-10-18 12:16     ` Eli Zaretskii
2021-10-18 18:59 ` H. Dieter Wilhelm
2021-10-19 18:41   ` H. Dieter Wilhelm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJf-WoTV2ZO=A3+=Yg3JzDxwQU+P2131ii6bnAEBbohm87QaYQ@mail.gmail.com' \
    --to=corwin@bru.st \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).