Skip to content

Commit 995dec4

Browse files
committed
Merge branch 'master' of github.com:bbatsov/prelude
* 'master' of github.com:bbatsov/prelude: Remove helm-config. Update rust module (bbatsov#1388) Search sample/prelude-modules.el in prelude-dir during init Documentation for prelude orgmode Enable cleaner org-habits [Docs] Update the cheatsheet output (png and pdf). Fix copypasta in ruby.md Add magit-section to pinned packages Update installation.md Ignore eln-cache directory Minor typo fix [Docs] Mention flycheck-ocaml [Docs] Document the OCaml support Fix warning Add basic support for Literate Programming (bbatsov#1370) add last change to changelog Disable super-save on go-mode Document a workaround for fixing C-a in term-mode Bump the copyright years [bbatsov#1335] Workaround for which-key display bug (bbatsov#1349) Move go doc to new location (bbatsov#1366) GitHub actions CI (bbatsov#1362) Update of prelude-go to replace gocode backend with lsp-mode and gopls (bbatsov#1363) Fix contribute.md minor issues [DOCS] change pages to nav [DOCS] Add module for Rust language [DOCS] Add missing modules [DOCS] Formating text to 80 char lines and update available modules [DOCS] Update the Changelog [DOCS] Fix problem with Edit in github link [DOCS] Keep index.md to 80 char lines and a couple of minor edits Fix "Symbol's value as variable is void: kill-region" errors in Emacs 29.0.50 (bbatsov#1356)
2 parents fe70b49 + 98331c1 commit 995dec4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+745
-264
lines changed

.github/workflows/github-actions.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Prelude CI
2+
on: push
3+
jobs:
4+
build:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- name: checkout
8+
uses: actions/checkout@v1
9+
- name: install emacs
10+
run: sudo apt-get update && sudo apt-get install -y emacs
11+
- name: put prelude in the right place
12+
run: ln -s $(pwd) $HOME/.emacs.d
13+
- name: load prelude
14+
run: emacs --batch --load init.el

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ transient/
3535
var/
3636
.cache/
3737
.lsp-session*
38+
gotools/
39+
eln-cache/
3840
/indium-workspaces.el
3941
/elpy
4042
/org-clock-save.el

CHANGELOG.md

+11
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44

55
### New features
66

7+
* Enable org-habits
8+
* Neatly track TODO state changes in a drawer (LOGBOOK) thereby
9+
improving readability
10+
* Add a module to enable Literate Programming
711
* Add a Racket module.
812
* Add a Lua module.
913
* Auto-install `racket-mode` if needed.
@@ -15,10 +19,17 @@
1519
* Remove `company-lsp`.
1620
* Replace `yank-pop` key-binding to `counse-yank-pop` for `ivy-mode`.
1721
* The keybinding for `proced` is now enabled unconditionally.
22+
* Replace prelude-go backend with `lsp` instead of unmaintained tools
23+
* Use `rust-analyzer` as language server for prelude-rust and provide nicer syntax highlighting with `tree-sitter`
1824

1925
### Bugs fixed
2026

2127
* Fix `company` still being visible in the mode line.
28+
* [#1335](https://github.com/bbatsov/prelude/issues/1335): Workaround
29+
for `which-key` bug causing display issues in clients to `emacs --daemon`.
30+
* Fix **Edit on GitHub** link in ReadTheDocs site.
31+
* Fix fall back to sample `prelude-modules.el` not working if user has installed to non-default location.
32+
* Stop requiring `helm-config` since upstream has removed the module.
2233

2334
## 1.1.0 (2021-02-14)
2435

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ welcome. GitHub pull requests are even better! :-)
143143

144144
## License
145145

146-
Copyright © 2011-2021 Bozhidar Batsov and
146+
Copyright © 2011-2022 Bozhidar Batsov and
147147
[contributors](https://github.com/bbatsov/prelude/contributors).
148148

149149
Distributed under the GNU General Public License, version 3

core/prelude-core.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; prelude-core.el --- Emacs Prelude: Core Prelude functions.
22
;;
3-
;; Copyright © 2011-2021 Bozhidar Batsov
3+
;; Copyright © 2011-2022 Bozhidar Batsov
44
;;
55
;; Author: Bozhidar Batsov <[email protected]>
66
;; URL: https://github.com/bbatsov/prelude

core/prelude-custom.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; prelude-custom.el --- Emacs Prelude: Prelude's customizable variables.
22
;;
3-
;; Copyright © 2011-2021 Bozhidar Batsov
3+
;; Copyright © 2011-2022 Bozhidar Batsov
44
;;
55
;; Author: Bozhidar Batsov <[email protected]>
66
;; URL: https://github.com/bbatsov/prelude

core/prelude-editor.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; prelude-editor.el --- Emacs Prelude: enhanced core editing experience.
22
;;
3-
;; Copyright © 2011-2021 Bozhidar Batsov
3+
;; Copyright © 2011-2022 Bozhidar Batsov
44
;;
55
;; Author: Bozhidar Batsov <[email protected]>
66
;; URL: https://github.com/bbatsov/prelude
@@ -166,6 +166,7 @@
166166
;; note - this should be after volatile-highlights is required
167167
;; add the ability to cut the current line, without marking it
168168
(require 'rect)
169+
(require 'crux)
169170
(crux-with-region-or-line kill-region)
170171

171172
;; tramp, for sudo access

core/prelude-global-keybindings.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; prelude-global-keybindings.el --- Emacs Prelude: some useful keybindings.
22
;;
3-
;; Copyright © 2011-2021 Bozhidar Batsov
3+
;; Copyright © 2011-2022 Bozhidar Batsov
44
;;
55
;; Author: Bozhidar Batsov <[email protected]>
66
;; URL: https://github.com/bbatsov/prelude

core/prelude-linux.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; prelude-linux.el --- Emacs Prelude: linux specific settings.
22
;;
3-
;; Copyright © 2011-2021 Bozhidar Batsov
3+
;; Copyright © 2011-2022 Bozhidar Batsov
44
;;
55
;; Author: Stanislav Arnaudov <[email protected]>
66
;; URL: https://github.com/bbatsov/prelude

core/prelude-macos.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; prelude-macos.el --- Emacs Prelude: macOS specific settings.
22
;;
3-
;; Copyright © 2011-2021 Bozhidar Batsov
3+
;; Copyright © 2011-2022 Bozhidar Batsov
44
;;
55
;; Author: Bozhidar Batsov <[email protected]>
66
;; URL: https://github.com/bbatsov/prelude

core/prelude-mode.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; prelude-mode.el --- Emacs Prelude: minor mode
22
;;
3-
;; Copyright © 2011-2021 Bozhidar Batsov
3+
;; Copyright © 2011-2022 Bozhidar Batsov
44
;;
55
;; Author: Bozhidar Batsov <[email protected]>
66
;; URL: https://github.com/bbatsov/prelude

core/prelude-packages.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; prelude-packages.el --- Emacs Prelude: default package selection.
22
;;
3-
;; Copyright © 2011-2021 Bozhidar Batsov
3+
;; Copyright © 2011-2022 Bozhidar Batsov
44
;;
55
;; Author: Bozhidar Batsov <[email protected]>
66
;; URL: https://github.com/bbatsov/prelude

core/prelude-ui.el

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; prelude-ui.el --- Emacs Prelude: UI optimizations and tweaks.
22
;;
3-
;; Copyright © 2011-2021 Bozhidar Batsov
3+
;; Copyright © 2011-2022 Bozhidar Batsov
44
;;
55
;; Author: Bozhidar Batsov <[email protected]>
66
;; URL: https://github.com/bbatsov/prelude
@@ -86,8 +86,12 @@
8686
(load-theme prelude-theme t))
8787

8888
;; show available keybindings after you start typing
89-
(require 'which-key)
90-
(which-key-mode +1)
89+
;; add to hook when running as a daemon as a workaround for a
90+
;; which-key bug
91+
;; https://github.com/justbur/emacs-which-key/issues/306
92+
(if (daemonp)
93+
(add-hook 'server-after-make-frame-hook 'which-key-mode)
94+
(which-key-mode +1))
9195

9296
(provide 'prelude-ui)
9397
;;; prelude-ui.el ends here

core/prelude-windows.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; prelude-windows.el --- Emacs Prelude: Windows-specific setup.
22
;;
3-
;; Copyright © 2011-2021 Bozhidar Batsov
3+
;; Copyright © 2011-2022 Bozhidar Batsov
44
;;
55
;; URL: https://github.com/bbatsov/prelude
66

core/prelude-wsl.el

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
;;; prelude-wsl.el --- Emacs Prelude: WSL-specific setup.
22
;;
3-
;; Copyright © 2011-2021 Bozhidar Batsov
3+
;; Copyright © 2011-2022 Bozhidar Batsov
44
;;
55
;; URL: https://github.com/bbatsov/prelude
66

doc/cheatsheet.png

-476 KB
Binary file not shown.

doc/index.md

-119
This file was deleted.

docs/cheatsheet.png

93.3 KB
Loading
File renamed without changes.

doc/contributing.md renamed to docs/contributing.md

+20-18
Original file line numberDiff line numberDiff line change
@@ -2,41 +2,43 @@
22

33
## Issues
44

5-
Report issues and suggest features and improvements on the
6-
[GitHub issue tracker](https://github.com/bbatsov/prelude/issues). Don't ask
7-
questions on the issue tracker - use the [support channels](support.md) instead.
5+
Report issues and suggest features and improvements on the [GitHub
6+
issue tracker](https://github.com/bbatsov/prelude/issues). Don't ask
7+
questions on the issue tracker - use the [support
8+
channels](support.md) instead.
89

9-
If you want to file a bug, please provide all the necessary info listed in
10-
our issue reporting template (it's loaded automatically when you create a
11-
new GitHub issue).
10+
If you want to file a bug, please provide all the necessary info
11+
listed in our issue reporting template (it's loaded automatically when
12+
you create a new GitHub issue).
1213

1314
## Patches
1415

15-
Patches in any form are always welcome! GitHub pull requests are even better! :-)
16+
Patches in any form are always welcome! GitHub pull requests are even
17+
better! :-)
1618

1719
Before submitting a patch or a pull request make sure that your patch
1820
is in line with the [contribution
1921
guidelines](https://github.com/bbatsov/prelude/blob/master/CONTRIBUTING.md).
2022

2123
## Documentation
2224

23-
Good documentation is just as important as good code.
24-
Please, consider improving and extending this manual.
25+
Good documentation is just as important as good code. Please,
26+
consider improving and extending this manual.
2527

2628
### Working on the Manual
2729

2830
The manual is generated from the markdown files in the
29-
[doc](https://github.com/bbatsov/prelude/tree/master/doc) folder of Prelude's
30-
GitHub repo and is published to [Read the Docs](readthedocs.org). The
31-
[MkDocs](http://www.mkdocs.org/) tool is used to convert the markdown sources to
32-
HTML.
31+
[docs](https://github.com/bbatsov/prelude/tree/master/docs) folder of
32+
Prelude's GitHub repo and is published to [Read the
33+
Docs](https://readthedocs.org). The [MkDocs](http://www.mkdocs.org/)
34+
tool is used to convert the markdown sources to HTML.
3335

34-
To make changes to the manual you simply have to change the files under
35-
`doc`. The manual will be regenerated automatically when changes to those files
36-
are merged in `master` (or the latest stable branch).
36+
To make changes to the manual you simply have to change the files
37+
under `docs`. The manual will be regenerated automatically when changes
38+
to those files are merged in `master` (or the latest stable branch).
3739

38-
You can install `MkDocs` locally and use the command `mkdocs serve` to see the
39-
result of changes you make to the manual locally:
40+
You can install `MkDocs` locally and use the command `mkdocs serve` to
41+
see the result of changes you make to the manual locally:
4042

4143
```sh
4244
$ cd path/to/prelude/repo
File renamed without changes.

doc/faq.md renamed to docs/faq.md

File renamed without changes.

0 commit comments

Comments
 (0)