Commit graph

1816 commits

Author SHA1 Message Date
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
Codruț Constantin Gușoi 3cff14b086
Warn about pdumper not working together with Native Compilation (#14730)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-03 19:36:00 +00:00
Lucius Hu 5ad5c6ef83
core-spacemacs-buffer: remoe org (agenda) files from recent files (#15307) 2022-02-03 19:29:05 +00:00
SpacemacsBot 6d42d05bda
[bot] "built_in_updates" Mon Jan 31 04:15:41 UTC 2022 (#15301) 2022-01-30 23:17:18 -05:00
Lucius Hu 42dc30e33c
core-spacemacs: fix daemon font size (#15295)
Co-authored-by: "ruquan.chen" <ccruquan@gmail.com>
2022-01-29 03:18:22 +00:00
SpacemacsBot 4743c01fa9
[bot] "built_in_updates" Sat Jan 29 01:35:00 UTC 2022 (#15292) 2022-01-28 20:45:58 -05:00
Lucius Hu 719b64377f
fix evil-lisp-state prefixes & improve related functions (#15258)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-01-15 02:32:18 +00:00
SpacemacsBot a62b943489
[bot] built_in_updates (#15274)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-01-15 02:30:28 +00:00
Lucius Hu abdb818d06
Revert "[bot] built_in_updates" (#15273) 2022-01-15 02:28:07 +00:00
SpacemacsBot 5b2af0498d
[bot] built_in_updates (#15272)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-01-15 02:26:50 +00:00
SpacemacsBot c3ad21645c
[bot] built_in_updates (#15261)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2022-01-11 04:19:13 +00:00
Maxi Wolff f60aec52a5
[core] Make rolling release message more clear 2022-01-08 21:38:22 +01:00
Maxi Wolff a4e5615f66
[core] Rename next master release to show depreciation message 2022-01-08 16:24:21 +01:00
Maxi Wolff 964f4c5af3
[core] Set version to 0.999 and report rolling release schedule
As we no longer support master releases directly
I think it is important to get rid of this outdated
"almost released" message at startup.
2022-01-08 16:22:15 +01:00
Lin Sun 0206197b22 [core] less ".el" suffix for support both *.el and *.elc 2022-01-03 23:02:43 +01:00
Evan Klitzke 4625745a8b Change core-configuration-layer.el to not use obsolete defmethod 2022-01-03 22:59:11 +01:00
Liu Zhijun 41ea2b2136
Update core-themes-support.el (#15237) 2022-01-03 01:27:29 -05:00
Harvey Chapman 9f92b47ce6 Make dotspacemacs config diffs a little smaller...
Move closing parens on all dotspacemacs/user-* functions to a new line so the
function documentation and closing paren are not part of the config diff when a
user runs `SPC f e D`. This should make it faster to check config changes versus
the template.
2022-01-01 15:59:36 +01:00