Commit graph

1833 commits

Author SHA1 Message Date
Rodrigo Kassick
c8c7c85909
fix: dotspacemacs-directory is expected to end with a slash (#15662) 2022-07-25 12:18:25 -04:00
Lucius Hu
861ea131e1
core-dotspacemacs: cleaning up (#15661)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-07-25 08:31:04 +00:00
Lucius Hu
00d19c3656
core-fonts-support: clarify comment, removed unnecessary codepoints 2022-07-25 03:47:12 -04:00
Lucius Hu
2e897fcc89
fixup! core-configuration-layer: fix quelpa on opensuse 2022-07-23 04:40:37 -04:00
Thanh
c49e80d794 Revert "[spacemacs-bootstrap] Remove whitespace from kill ring. (#15634)"
This reverts commit 91af298090.

it breaks (kill-whole-line) `kill-whole-line` (C-S <backspace>)

the SO link mentioned in it got 0 point.
and hack like this can be put it to user's own config.
2022-07-21 08:57:45 +02:00
Lucius Hu
d428d71a1f
core-configuration-layer: fix quelpa on opensuse
`quelpa-build-explicit-tar-format-p` needs to be non-nil so `tar` uses `--format=gnu`.
This is necessary on OpenSuse
2022-07-20 02:20:48 +00:00
cremacs1
ed8ddd955a
Update core-themes-support.el (#15649) 2022-07-17 19:03:46 +00:00
Richard Kim
e13e8d7b54 Enable tws mode also in text-mode in addition to prog-mode. 2022-07-15 22:47:16 +02:00
Ben
91af298090
[spacemacs-bootstrap] Remove whitespace from kill ring. (#15634)
When `dotspacemacs-enable-paste-transient-state` is on, there exists a minor
annoyance that deleted whitespaces appear in the kill ring. This requires an
extra C-j/C-k to bypass the noise.

This commit uses a advice function to `kill-new` to prevent text with only
whitespaces from entering kill ring.

Credit: https://stackoverflow.com/questions/12102554/emacs-skip-whitespace-kills

Co-authored-by: Lucius Hu <1222865+lebensterben@users.noreply.github.com>
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-07-15 20:22:19 +00:00
Lucius Hu
1aa28d9148
core-spacemacs-buffer: fixed a bug
There is an unreported bug that when startup list is set to shown `recents-by-project`,
Emacs reports that `projectile-mode` is an unknown symbol.

This commit fixed this bug by checking the existence of `projectile-mode`, which is
automatically loaded during startup.
2022-07-13 03:18:18 +00:00
SpacemacsBot
7af1a21724 [bot] "built_in_updates" Fri Jul 1 14:06:03 UTC 2022 2022-07-01 16:06:13 +02:00
Thanh Vuong
d059c4c0b2 [evil] bring back vi-tilde-fringe
https://github.com/syl20bnr/spacemacs/issues/15622
Revert "Delete vim-empty-lines layer and merge its code into spacemacs-evil"

This reverts commit ebd920e23a.
2022-07-01 16:05:23 +02:00
Lin Sun
fbe05e3e08 [core] fix error msg from byte-compiling core-configuration-layer.el 2022-06-21 00:12:05 +02:00
Maxi Wolff
31ccdca097
[core] Fix wrong type for "dotspacemacs-startup-banner-scale"
Fixes #15597
2022-06-19 22:28:19 +02:00
Maxi Wolff
cb09f57cf7
Revise vim-empty-lines integration into spacemacs-evil
Removing any non clarified changes on defaults
and key bindings.
2022-06-19 20:30:59 +02:00
Ray Wang
ebd920e23a
Delete vim-empty-lines layer and merge its code into spacemacs-evil
1. Delete vim-empty-lines layer and merge its code into spacemacs-evil
2. Remove unused function from spacemacs-evil/funcs.el
3. Add variable dotspacemacs-evil-show-empty-line-indicators to toggle vim-empty-lines-mode
4. Update related documents
5. Compatibilities
2022-06-19 20:25:37 +02:00
Lin Sun
22eaeb8ef2 [core] fix functions missed for byte-compiled core-spacemacs-buffer.el 2022-06-15 18:42:02 +02:00
Daniel Nicolai
e31804f5c8 Fix broken recentf functionality due to PR #15574
A final 'force push' to PR #15574 implemented functionality to make the banner
size depend on the actual 'startup list' instead of the configured maximum
startup list size. However, that 'new' functionality uses
`spacemacs-buffer//do-insert-startupify-lists` which activates `recentf-mode`,
and unfortunately, activating `recentf-mode` this early in the startup process
somehow breaks recentf functionality, see comments at
a485b5a84b.

This commit 'reverts' the functionality by making the banner size depend on the
configured maximum startup list size.
2022-06-11 12:41:42 +02:00
Lin Sun
fa28a4f302 [source-control] Evilify the svn/git/hg mode-maps after its mode file be loaded 2022-06-09 19:21:03 +02:00
Lin Sun
216b98c11e [core] Add variable `dotspacemacs-startup-banner-scale' to scale the banner 2022-06-07 19:58:02 +02:00
Daniel Nicolai
a485b5a84b Make startup banner scalable (from dotfile)
The default logo is rather big. Users might prefer to use the screen size for
other information (while still showing a banner).

This commit adds a configuration variable `dotspacemacs-startup-banner-scale`
to the dotfile
2022-06-06 09:24:07 +02:00
Arif Er
00f9ab19ac chore: update copyright headers to 2022
The script used to identify and update the change is added into the GitHub
workflows script directory. A workflow action can be created to trigger the
script to update the headers on the first of every new year. Possibly a task for
a consequent PR.
2022-06-03 17:32:20 +02:00
SpacemacsBot
1bb3ebf10f [bot] "built_in_updates" Thu Jun 2 13:08:50 UTC 2022 2022-06-02 15:09:46 +02:00
Thanh Vuong
b8f471dc1c
[core] new recipe :fetcher local
with this curent (package :location local) can be replaced with (package
:location (recipe :fetcher local)) then quelpa will install local pacakge. We
have the benefit of bytecompile and autoload

[packages] use new fetcher for local
2022-05-29 15:58:19 +02:00
SpacemacsBot
04143bd937 [bot] "built_in_updates" Sun May 29 13:05:01 UTC 2022 2022-05-29 15:49:32 +02:00
SpacemacsBot
06f85fb201 [bot] "built_in_updates" Tue May 24 11:51:51 UTC 2022 2022-05-24 15:10:16 +02:00
Eugene Yaremenko
350953e093
[doc] remove lexical binding from export script 2022-05-24 13:51:13 +02:00
bryce-carson
b5ae2fc3b2
Refactor core-load-paths to an in-lined form
- Remove the two functions that add directories to the load path.
- Inline the body forms of the functions to be removed.
- Rename the variables to be more explicit.

Fix let varlist in core-load-path.el
2022-05-22 14:58:52 +02:00
SpacemacsBot
d7bcc5c716 [bot] "built_in_updates" Sat May 21 09:40:03 UTC 2022 2022-05-21 11:44:17 +02:00
Lucius Hu
15a174c17b core-jump: reworked
- When reporting issues on GitHub, it will copy the issue body to clipboard and
  ask user to manually paste the content to the web browser, when the resulting
  URL become too long.
- Cleaning up.
- Suppressed all compiler warnings.
- Re-ordered all top-level forms into various sections according to its functionality.
2022-05-21 11:39:22 +02:00
Thanh
dd1e077c5d [core] enable lexical binding for all 2022-05-11 19:48:17 +02:00
Bryce
5609868f27
Add doom-tokyo-night to the theme-support alist. (#15453)
* Add doom-tokyo-night to the theme-support alist.

* Remove comments
2022-05-11 19:39:22 +02:00
Dan Kessler
83d687534c tidy read syntax for anonymous functions
First, change read syntax for anonymous functions currently written '(lambda to
instead just be (lambda; otherwise this raises a warning.

Next, while we're at it, change all instances of #'(lambda to just (lambda,
since the two are equivalent and the latter is more concise (excepting anything
in core/libs or in /local/ subdirs of layers)

https://www.gnu.org/software/emacs/manual/html_node/elisp/Anonymous-Functions.html#index-_0023_0027-syntax
2022-05-11 19:24:54 +02:00
SpacemacsBot
11f45d529f
[bot] "built_in_updates" Wed May 11 06:35:02 UTC 2022 (#15508) 2022-05-11 11:39:47 -04:00
SpacemacsBot
c6c17748f6
[bot] "built_in_updates" Mon May 2 04:11:44 UTC 2022 (#15495) 2022-05-02 00:24:02 -04:00
David McFarland
5c0650282f
core-jump: fix incorrect lookup of :async (#15449) 2022-04-06 14:59:38 -04:00
Maxi Wolff
38c034494d
[core] Make startup not fail when home buffer is customised
in #15421 core cannot find a certain text in the home buffer
to start adding additional elements. This did fail the
start up process.

Now if the starting point is not found the cursor is set
to the end of the buffer instead and no error is signaled.

This allows to still have the home buffer work as expected
even when the starting point has been somehow removed.
2022-04-02 21:23:58 +02:00
Aleksander Boruch-Gruszecki
f548975841
Use org-agenda-files correctly in insert-recent-files (#15367) 2022-02-25 12:30:03 -05:00
Dan Kessler
b316ee936f
reinstate cfgl-layer docstring fix (#15376) 2022-02-23 16:01:30 -05:00
Lucius Hu
761e2025aa
spacemacs-buffer: fix pacemacs-buffer||propertize-heading
fixes https://github.com/syl20bnr/spacemacs/issues/15360
2022-02-20 01:56:45 +00:00
Lucius Hu
ee3c558c80
spacemacs-buffer: fixed a bug on native-comnp
This was reported in 82624811dd
2022-02-18 03:22:39 +00:00
Lucius Hu
82624811dd
spacemacs-buffer: bug fix and improvement
- Fixed a bug that when `all-the-icons` is excluded by user, Emacs reports
that using undefined `all-the-icons` functions.
- Changed the `spacemacs-buffer-mode` that now it derives from `special-mode`.
  - Also defined a new command `spacemacs-buffer/return` which binds to `RET`
  key in `spacemacs-buffer-mode`. It opens the button on the current line if
  there's any, or move the cursor to next line.
2022-02-17 17:58:17 -05:00
Lucius Hu
13dedf7250
spacemacs-buffer: fix bug to show random banner
The previous commit has a bug that after killing the startup buffer and re-open
it, the random text banner would not appear.

This commit fixes that.
2022-02-15 14:01:03 -05:00
Lucius Hu
b7e1dee13f
spacemacs-buffer: Added optional feature to show file icons (#15332)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-15 06:52:00 +00:00
Lucius Hu
f2afab0c32
fixup! core-jump: fixed a typo
This commit prevents the error when `handler` is atomic instead of a list.
2022-02-14 21:49:29 -05:00
Lucius Hu
db15a2d5a0
core-jump: fixed a typo
For example, in `rust-mode`, `(spacemacs//get-jump-handlers)` returns
`((lsp-ui-peek-find-definitions :async t) evil-goto-definition)`.

So `-handler` is bound to the first one, i.e. `(lsp-ui-peek-find-definitions :async t)`.
We need to figure out whether it's asynchronous by checking the `:async` keyword argument.

But before this commit, we wrongly checks the second handler in the handlers list.
Even when multiple handlers do exist and they are all async, the typo made it sub-optimal since it uses not the best handler.

This commit fixes that.
2022-02-15 01:24:16 +00:00
SpacemacsBot
8863a34b56
[bot] built_in_updates (#15336)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-02-12 04:16:55 +00:00
Lucius Hu
efdfecbf8f
spacemacs-buffer: allow 'kp-*' keys for jump to number (#15308) 2022-02-10 08:39:31 +00:00
Lucius Hu
a50aa7d225
spacemacs-buffer: lock it in read-only
This commit locks the spacemacs home buffer in read-only mode.

Before this, users may use `SPC b w` to toggle it to writable but
this buffer really should not be modified by users.

Note that, when we need to modify the home buffer in LISP program,
we can always set `inihibit-read-only` to nil. Thus this commit
won't disallow us to update the home buffer when it's needed.
2022-02-09 17:50:57 -05:00
Lucius Hu
cd9d8c5b24
fixup! core-spacemacs-buffer: remoe org (agenda) files from recent files (#15307) 2022-02-03 18:18:44 -05:00