Commit graph

72 commits

Author SHA1 Message Date
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
Arne Brasseur 78df5e469c 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-01 11:17:18 +02:00
Arne Brasseur f723227a04 Deal with githubs org-mode rendering 2020-10-01 11:07:35 +02:00
Arne Brasseur 53b6414e32 Add chemacs-version var 2020-10-01 11:06:43 +02:00
Arne Brasseur 5336e1830c Remove .emacs, we will continue with init.el 2020-10-01 11:06:09 +02:00
Arne Brasseur 3bba1c07da Merge remote-tracking branch 'emacs18/early-init3' 2020-10-01 11:05:10 +02:00
Arne Brasseur fb2eb4b1d7 Initial prep work for Chemacs 2 2020-10-01 11:03:43 +02:00
Arne Brasseur 9f91abf371
Merge pull request #41 from plexus/version-1.0
Version 1.0
2020-10-01 10:48:39 +02:00
Arne Brasseur e5d33f9aa7 Add git SHA of v1.0 release to CHANGELOG 2020-10-01 10:43:52 +02:00
Arne Brasseur 4dad0684bc Add a CHANGELOG and chemacs-version variable, bump to 1.0 2020-10-01 10:41:04 +02:00
Richard Kim fc86114bfc use separate files for early-init.el and init.el 2020-09-26 09:56:43 -07:00
Arne Brasseur 233bb7fb4d
Merge pull request #33 from mitchellroe/win-script-name
Fixed script name for Windows
2020-05-04 20:31:39 +02:00
Mitchell Roe 63b4d43557 Fixed script name for Windows 2020-05-04 12:02:01 -04:00
Arne Brasseur e9ec6565f5 Include our own version of realpath
Since OS X doesn't have it.
2020-03-16 08:10:35 +01:00
Arne Brasseur 3c2329e6dd
Merge pull request #25 from league/dedup-load
Prevent init-file from loading twice
2020-03-06 16:37:17 +01:00
Christopher League 70b4ac9676 Prevent init-file from loading twice
When there is no `custom-file` specified, it defaults to `init-file`.
Both must be loaded, so the `init-file` would be loaded twice. This
only loads `custom-file` if it's *different* from `init-file`.
2020-03-06 10:17:09 -05:00
Arne Brasseur 71e30878b0
Merge pull request #24 from jfhbrook/windows
PowerShell port of install.sh
2020-02-23 13:17:14 +01:00
Joshua Holbrook 5a9b287d15 Updates to the README 2020-02-21 12:14:33 -05:00
Joshua Holbrook 4edb279f64 Remove extraneous Out-Null 2020-02-21 01:15:23 -05:00
Joshua Holbrook e901d5589f Copy the file not the directory 2020-02-21 01:11:13 -05:00
Joshua Holbrook 5331c5b2f5 Some formatting issues that were annoying me 2020-02-20 20:17:38 -05:00
Joshua Holbrook 1f09fc8ff2 PowerShell port of install.sh 2020-02-20 20:04:49 -05:00
Arne Brasseur df67e4a33b
Merge pull request #23 from Yumasi/fix-interpreter
fix non-standard shebang
2020-02-03 11:50:41 +01:00
Guillaume Pagnoux 3e1483dcb0
fix non-standard shebang
The only paths you can take for granted are `/bin/sh` and
`/usr/bin/env`. Using `/bin/bash` may not work on every system (for
example on NixOS). This commit fixes this by using `/bin/sh` instead.

Signed-off-by: Guillaume Pagnoux <guillaume.pagnoux@lse.epita.fr>
2020-02-03 10:19:09 +01:00
Arne Brasseur d8fb32b4a5
Merge pull request #22 from idmyn/master
small typo fix
2020-01-14 17:26:02 +01:00
idmyn f9725b28f1 fix typo of =.emacs-profile.el= to =.emacs-profiles.el= 2020-01-14 15:17:49 +00:00
Arne Brasseur 4c27947635
Merge pull request #21 from idmyn/master
fix hyperlink to straight.el repo
2020-01-14 13:28:35 +01:00
idmyn afa18f7881 fix hyperlink to straight.el repo 2020-01-14 11:47:02 +00:00
Arne Brasseur c2ad2dad68 Preemptively fix copyright 2019-12-25 12:56:00 +01:00
Arne Brasseur 677cb7c21e Add support for installing/enabling straight.el 2019-12-25 12:53:50 +01:00
Arne Brasseur abfbd9e640
Update copyright 2019-07-06 09:59:16 +02:00
Arne Brasseur 4a715a6c26
Merge pull request #16 from shervinsafavi/patch-1
Fix a syntax (parenthesis) in the installation instructions
2019-07-06 09:53:56 +02:00