Commit Graph

1888 Commits

Author SHA1 Message Date
Richard Kim 6415adea49 Fixed #15583 and also bound SPC T g to toggle gui elements 2022-08-09 17:33:14 +02:00
lin.sun 9acd341112
*core/core-dumper.el: Enhance for native-compile support (#15686)
reorders the macro `spacemacs|unless-dumping` to suppress native compiler error.
2022-08-06 22:57:01 +00:00
lin.sun 26a975d69a
* core/core-configuration-layer.el: fix log for rshadow relationship (#15685) 2022-08-06 22:32:07 +00:00
Lucius Hu 7d60d894a7
updated COPYRIGHT 2022-08-05 04:10:26 -04:00
SpacemacsBot d5126be700 [bot] "built_in_updates" Sun Jul 31 14:28:15 UTC 2022 2022-07-31 16:34:06 +02:00
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
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
Lucius Hu d7f9eb6342 Update minimum supported emacs version to 27.1 2022-01-01 14:32:46 +01:00
SpacemacsBot 295b86e57a
[bot] "built_in_updates" Thu Dec 30 17:38:33 UTC 2021 (#15229) 2021-12-30 14:15:33 -05:00
SpacemacsBot 5bcedd1912
[bot] built_in_updates (#15210)
Co-authored-by: SpacemacsBot <not@an.actual.email.beep.boop>
2021-12-18 04:24:44 +00:00
Daniel Nicolai 58ca8bd879
Fix package update for emacs versions < 26.2 (issue #15212) (#15215) 2021-12-17 17:44:25 -05:00
Daniel Nicolai 8b895fe290 Fix #15186, broken package update due to commit cac0105 2021-12-07 17:36:53 +01:00
JAremko 1a4912e51f [ci] better error handling in html export 2021-11-15 08:08:16 +02:00
JAremko 089ca14331 [ci] Actually fix html export 2021-11-15 02:13:00 +02:00
JAremko 2dded3117a [ci] pre-create the missing dir 2021-11-14 19:51:47 +02:00
JAremko c9917ea541 [ci] fix html export 2021-11-14 19:36:43 +02:00
Daniel Nicolai cac0105553 Add option to select packages for update
This commit changes the yes-or-no-p to a read-answer with three options y, s and
n (for yes, some and no. This of course could be a, s, c for 'all',
'some/select' and 'cancel', but I decided to keep yes no as users are already
familiar with the y and n).

Finally the user can select packages by answer for each package in the list a
yes-or-no-p (pressing y or n, if you upgrade regularly the list usually is not
too long. It is anyway better than having only the options all or none).

The `nonc` construction is just a non cl alternative to cl-remove-if (I've added
the comment with the explanation).
2021-11-12 15:38:49 +01:00
jrudel 1638bbf39d
Fix typo doftile->dotfile (#15147) 2021-11-09 18:57:31 -05:00
Daniel Nicolai 548edefcce Install org from ELPA instead of Org ELPA
From org version 9.5 org will not be distributed from Org ELPA but from
ELPA (see https://list.orgmode.org/87lfa7tc9v.fsf@gnu.org/t/). This commit makes
Spacemacs use/install org from ELPA.

Besides that, this commit removes some 'hack' that seemed to have no effect. As
org comes with Emacs `package-installed-p 'org` will always return t. Also
activating org via `configuration-layer//activate-package` seems to have no
effect.

Finally, the package is declared including a :min-version because appending only
`:location melpa` seems to have no effect (this can probably be considered a
bug).
I am almost certain that the information that was added when making org install
from Org ELPA is still relevant also for installing org from ELPA so I have just
adapted the version number from 0.104 to 0.300.

As the "org" archive has been removed, the `ert-deftest` for it can be removed
also.
2021-11-06 14:34:18 +01:00
Eugene Yaremenko 1582413370
[ci] Disable org-mode hooks while exporting html 2021-10-24 16:39:38 +03:00
Lin Sun 497c767036 [core] Support packing elisp to *.elc and *.el.gz files
Support packing elisp to *.elc and *.el.gz like vallina Emacs.
2021-09-29 22:15:38 +02:00
SpacemacsBot 250e103cab [bot] "built_in_updates" Wed Sep 29 19:18:45 UTC 2021 2021-09-29 21:23:56 +02:00
Maxi Wolff 8e5b4c7ec3
[core] Reformat core-documentation.el 2021-09-10 21:07:22 +02:00
Evelyn Liang 785035cc28
Warn user they are reading develop docs (#14136)
* Warn user they are reading develop docs

Draft commit, definitely still needs work.

The intent is to let users know they are reading documentation that might not
apply to their version of spacemacs. The default install is based on master,
but the docs for both master and develop show up in search engine results.

Currently the only way to see that you are reading the develop docs is by
looking at the subdomain. You'd also need to know that a non-develop website
exists, which is not obvious.

* Use real redirect link back to non-develop docs

Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2021-09-10 21:04:23 +02:00
Daniel Nicolai c5248ac465 fix issue #14919 (force-init-spacemacs-env fails)
Currently when running the env shell-command, emacs does so using its current
process-environment. Instead we should run the command with the
`initial-environment`, which fixes issue #14919.
2021-07-28 15:37:14 +02:00
SpacemacsBot 5cadadc3ea [bot] "built_in_updates" Wed Jul 28 13:12:20 UTC 2021 2021-07-28 15:35:11 +02:00
feltcat 99e74fbd0e Fix typos in .spacemacs.template
Fix some typos and also change the few instances of "non nil" to
"non-nil", so as to be consistent with the rest of the file.
2021-07-28 15:11:35 +02:00
SpacemacsBot 00599d3255 [bot] "built_in_updates" Thu Jul 8 12:30:53 UTC 2021 2021-07-08 10:13:57 -07:00
SpacemacsBot d818e11529 [bot] "built_in_updates" Wed Jul 7 12:41:15 UTC 2021 2021-07-07 05:43:41 -07:00
SpacemacsBot b992ad29bb [bot] "spacemacs_built_in" Tue Jul 6 16:12:28 UTC 2021 2021-07-06 09:20:39 -07:00
SpacemacsBot db2e6d2be4 Built-in files auto-update: Sat Jul 3 00:04:31 UTC 2021 2021-07-02 19:53:46 -07:00
SpacemacsBot 7f743c907a Built-in files auto-update: Fri Jul 2 18:04:36 UTC 2021 2021-07-02 13:59:05 -07:00
Lucius Hu 64fed6f7da
core-dotspacemacs: Fixes typo
Reported here https://github.com/syl20bnr/spacemacs/issues/14875
2021-06-26 07:01:48 +00:00
Markus Bertheau eda7e19370
Don't fail hard when trying to delete a non-existing package (#14821) 2021-06-04 03:57:26 +00:00
Lucas Martins Mendes 42dbd1d359
swap 'so' and 'such' in the 999 banner (#14815) 2021-05-31 14:41:34 +00:00