Commit graph

103 commits

Author SHA1 Message Date
Arne Brasseur c2d700b784 Document alternatives
Fixes #41
Fixes #51
2023-01-20 13:15:59 +01:00
Arne Brasseur aeaf83452d
Merge pull request #54 from league/nix-elisp-bundle
Support specifying a nix-generated elisp package bundle
2023-01-16 16:19:04 +01:00
Christopher League 9cfd833fef For nix-elisp-bundle, use expand-filename, not concat 2023-01-16 10:04:16 -05:00
Arne Brasseur 8c99840f61
Merge pull request #53 from artlogic/bugfix/set-package-user-dir-in-early-init
Set `packge-user-dir` in early-init.el
2023-01-16 11:11:54 +01:00
Christopher League 4a156c5509 Support specifying a nix-generated elisp package bundle
The nix package manager supports a flexible way to bundle sets of
Emacs packages, including ahead-of-time native compilation.  This
change provides a simple mechanism for insinuating a nix elisp
dependency bundle using chemacs, so that different nix package sets
can be selected using `--with-profile`, along-side profiles using
other package managers or distributions like Spacemacs/Doom.
2023-01-04 23:08:30 -05:00
James Kruth deb61b6ee9 Set packge-user-dir in early-init.el
In Emacs 27 and later `package-initialize` is called automatically
after `early-init.el` but before `init.el`. This change allows that
call to actually work with the user's packages. I left the assignment
in the init code for Emacs versions less than 27 that don't support
`early-init.el`.
2023-01-04 00:48:38 -05:00
Arne Brasseur fb6301d156
Merge pull request #50 from porras/args-leak
Remove arguments from the variable after handling them
2022-11-25 11:12:04 +01:00
Sergio Gil e13383b487 Remove arguments from the variable variable after handling them
Fixes #49.
2022-11-16 16:03:27 +01:00
Arne Brasseur d722459287
Merge pull request #44 from zardoz03/main
define chemacs-profiles as the literal profiles.el alist
2022-07-12 10:34:26 -04:00
zardoz03 6379233624 define chemacs-profiles as the literal profiles.el alist 2022-07-12 01:51:03 +01:00
Arne Brasseur 8683883211
Merge pull request #39 from plexus/arne/better-parse-error
Provide a better error when .emacs-profiles.el is invalid
2022-05-03 15:05:05 +02:00
Arne Brasseur 96217e9742 Provide a better error when .emacs-profiles.el is invalid
Right now it seems like it fails to parse chemacs.el, which is incorrect.
2022-05-03 15:04:09 +02:00
Arne Brasseur d53aa5e5e2
Merge pull request #37 from dnbz/main
Update README.org
2022-03-15 08:51:07 +01:00
Dan Baz d939b23e1f
fix typo in README 2022-03-05 10:27:12 +03:00
Arne Brasseur af5d65c0c4
Merge pull request #36 from aisipos/profile-from-env-var
Allow specifying profile in CHEMACS_PROFILE environment variable.
2022-03-01 08:52:33 +01:00
Anton I. Sipos b77b475469 Allow specifying profile in CHEMACS_PROFILE environment variable. 2022-02-28 18:07:54 -08:00
Arne Brasseur 342b909580 Update copyright statement 2022-02-21 07:57:46 +01:00
Arne Brasseur 483b657dac Ask people to comment on the existing issue 2022-02-21 07:57:17 +01:00
Arne Brasseur 1a4465a8f5 Add some more gitignores 2022-02-21 07:55:08 +01:00
Arne Brasseur 3a13c30a54
Merge pull request #35 from sobafuchs/docs/switching-to-chemacs
documents short-term fix for straight.el
2022-02-21 07:53:47 +01:00
Varun Jayaraman ae2390fa69 Add link to github issue 2022-02-21 07:45:18 +01:00
Varun Jayaraman f220aa0268 documents short-term fix for straight.el
Users who switch to chemacs from a non-chemacs configuration might
encounter #31. This does not constitute a long-term fix but this might
help users in the meantime until further debugging is done.
2022-02-19 17:56:30 +01:00
Arne Brasseur 5b11335ce0
Merge pull request #32 from Hewame/master
updating README.org: simple example of emacs as demon using chemacs2
2022-02-01 14:17:52 -05:00
Hewa S 1628271905 updating README.org: simple example of emacs as demon using chemacs2 2022-01-26 23:03:59 +01:00
Arne Brasseur ef82118824
Merge pull request #21 from AndersonTorres/patch-1
Update README.org
2021-05-21 17:04:49 +02:00
Anderson Torres 6d55bb58b3 Update README.org
Clarify that Chemacs 2 can be installed in the Emacs XDG-compatible configuration directory
2021-05-19 18:51:46 -03:00
Arne Brasseur 99b0589909
Merge pull request #17 from kidd/fix/emacs28
Fix for latest emacs master
2021-05-12 10:43:31 +02:00
Raimon Grau b2df8906f5 Fix for latest emacs master 2021-05-04 11:00:16 +01:00
Arne Brasseur 30a20dbc27
Merge pull request #14 from pdbrown/master
Improve support for configuring eln-cache
2021-01-15 09:23:25 +01:00
Phil Brown f4178dfeea Improve support for configuring eln-cache
directory under native-comp. If the user configures a non-default
eln-cache directory (i.e. somewhere other than ~/.emacs.d/eln-cache),
their expectation is that all native compiled .eln outputs end up in the
new location, since that's what happens without chemacs.

Until this change, chemacs required seq.el which caused seq and its few
dependencies to be native-compiled to the default eln-cache directory
before the user's init files had a chance to set a custom eln-cache
location.

This change removes chemacs' depenency on seq.el, so no native
compilation is triggered when chemacs loads. Note that chemacs itself
isn't native-compiled either, because chemacs isn't loaded as an .elc
file (native-comp looks for .elc files to indicate it should start
the corresponding .el -> .eln native compilation job).

See also https://www.emacswiki.org/emacs/GccEmacs
2021-01-14 22:47:33 -08:00
Arne Brasseur 33ba6c39d4 Remove WIP warning and clarify difference from v1 2021-01-04 09:32:49 +01:00
Arne Brasseur e1ef9a2ade Create empty custom file if it does not yet exist 2021-01-04 09:27:52 +01:00
Arne Brasseur e518733adc
Merge pull request #13 from tylerware/feat/allow-passing-profile-from-cli
Enable the loading a profile via CLI
2020-12-10 10:00:30 +01:00
Tyler Ware c69d929538 Enable the loading a profile via CLI
Currently a profile must first be specified in `~/.emacs-profiles.el`
in order to be used. In most day-to-day usage this is adequate, but
on occasion it is nice to have a 'throw-away' profile. The rationale
for such a profile is trying someone else's config out for a day / hour
or some such, but it's not something you're committed to.

This change enables the following to work:
```bash
emacs --with-profile '((user-emacs-directory . "/tmp/throw-away-config"))'
```
2020-12-09 09:16:17 -07:00
Arne Brasseur e4f27b1156 Require missing seq library 2020-11-20 08:27:35 +01:00
Arne Brasseur 08bfaad175
Merge pull request #12 from whxvd/master
Restructure and fix some bugs
2020-10-26 15:20:47 +01:00
Sebastian Miele db1f5392bc Restructure and fix some bugs
Restructure so that many things that previously got done at least
twice, now get done only once.

Fix #6, #7, #8, #10, #11.
2020-10-21 16:11:14 +02:00
Arne Brasseur ccea276c63
Merge pull request #5 from Xervon/master
Allow .emacs-profiles.el in $XDG_CONFIG_HOME/chemacs
2020-10-14 10:46:01 +02:00
Mika Dede 657235253d
fix underscores 2020-10-12 19:33:31 +02:00
Mika Dede fac9eb4a37
update README and CHANGELOG 2020-10-12 19:30:49 +02:00
Mika Dede 9314630ec4
allow profiles in $XDG_CONFIG_HOME/chemacs 2020-10-12 17:31:04 +02:00
Arne Brasseur e0b2ba9b0b More README tweaks 2020-10-05 09:12:13 +02:00
Arne Brasseur 2415d6b398 Merge branch 'master' of github.com:plexus/chemacs2 2020-10-05 09:11:48 +02:00
Arne Brasseur f10c90d5c7
Merge pull request #1 from plexus/early-init
Early-init support, aka chemacs 2.0
2020-10-05 09:09:04 +02:00
Arne Brasseur 9a8d51657f Update installation instructions, stop auto-creating profiles file
Remove the installation scripts, people should just clone into .emacs.d.

Remove the auto-creation of ~/.emacs-profiles.el, since we no longer can assume
where the default config lives.
2020-10-05 09:03:56 +02:00
Arne Brasseur efdafa332f Use a chemacs-early-init var
This way people could still symlink .emacs -> chemacs.el, if they don't have a
need for early-init support.
2020-10-05 08:38:52 +02:00
Arne Brasseur 2d49ac1c36
Merge pull request #3 from emacs18/add-gitignore
added .gitignore
2020-10-04 06:27:13 +02:00
Arne Brasseur 3a34a99cb3
Merge pull request #2 from emacs18/trivial-tweaks
fixed file name on first line
2020-10-04 06:26:40 +02:00
Richard Kim c1ec2eeb7d added .gitignore 2020-10-03 11:13:28 -07:00
Richard Kim fa70d2ae5a fixed file name on first line 2020-10-03 11:11:55 -07:00