Commit Graph

80 Commits

Author SHA1 Message Date
Lin Sun 7ec7d843e0 layers/*: remove quote inside the cl-case clauses 2022-10-19 22:19:25 +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
Daniel Nicolai f4b04bcf22 Add obsoletion notification evilified-state-evilify 2022-05-29 14:05:07 +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
Claudio Bley 18ad9759b2
[nixos] Fix variable name in README (#15413) 2022-03-17 11:34:53 -04:00
Dan Kessler 3cc0f99800
[osx] don't set dired-listing-switches (#15371) 2022-02-21 21:45:57 -05:00
SpacemacsBot 6fc9faee85
[bot] "documentation_updates" Sun Feb 13 20:45:13 UTC 2022 (#15343) 2022-02-13 15:46:34 -05:00
Luis Ch ea020911f8
Add basic LSP support to NixOS layer (#15342)
Co-authored-by: Lucius Hu <lebensterben@users.noreply.github.com>
2022-02-13 20:44:16 +00:00
KK 9e30cf9b39
Fix ⌘-s shortcut in macOS (#15329) 2022-02-09 12:31:44 -05:00
SpacemacsBot 59852a6ab5 [bot] "documentation_updates" Wed Aug 25 22:37:51 UTC 2021 2021-08-26 02:00:32 +03:00
Aaron Zeng fdeb770103
[nixos] Add nixos-format-on-save (#14982)
* [nixos] Add nixos-format-on-save
2021-08-20 03:09:00 +00:00
Aaron L. Zeng 70ec22703a [nix] Add key binding for nix-format-buffer 2021-06-06 21:44:34 +02:00
syl20bnr 97cd83e169 Apply GPLv3 terms explicitly to all elisp files 2021-03-25 22:59:32 -04:00
syl20bnr d55a9e2e67 Update header for year 2021 2021-03-25 22:59:32 -04:00
duianto 61ff12cbfc [base] Show a winum required message
problem:
key bindings that use the winum package,
don't work in the spacemacs-base distribution.

for example in the buffer transient state: SPC b .
{number}, C-{number} or M-{number}

shows messages like these:
Wrong type argument: commandp, winum-select-window-1
Symbol’s function definition is void: winum-get-window-by-number

cause:
the winum package is loaded in the spacemacs-navigation layer,
but the layer isn't used in the spacemacs-base distribution.

solution:
show the message:
This command requires the winum package,
winum is part of the spacemacs-navigation layer.
2021-01-09 08:40:32 +01:00
Robert O'Connor 82ba73a1c0
update copyright to 2020 2020-09-23 21:25:01 +02:00
Rory O’Kane 99f8738b4c
[osx] Fix broken code in instructions for setting config variables (#13955)
Fix these problems:

- unbalanced parens
- misspelled name of function `setq-default`
2020-09-18 20:57:09 +02:00
Aaron L. Zeng 1a28a26738 [osx] Don't initialize osx-dictionary on non-mac systems
Restore the `SPC x w d` key binding for define-word-at-point, from
spacemacs-language.
2020-07-12 20:51:06 +02:00
Aaron L. Zeng 17c990629f
[osx] Use gls in dired regardless of exec-path-from-shell
f553b3622d indicated that Spacemacs no
longer uses `exec-path-from-shell`, and instead relies on
`spacemacs-env-vars-file` to make sure environment variables are
set correctly.  This caused `gls` not to be used on macOS any more.

This commit re-enables support for automatically using `gls` in dired.

Fix #10957.
2020-06-20 23:13:52 +02:00
duianto 0a06c7ca6b Fix filenames in layer file headers
Also fixed the groovy/funcs.el header which said: Java
2020-02-20 00:07:30 +01:00
Benjamin Hipple 6781dfe157
[nixos] Update recommended method for disabling nixos-company-options
Per discussion in #13164, we have a standard, consistent technique for doing
this across any layer. Provided that `global-company-mode` is not set, this
works as expected to disable company without requiring custom variables.
2020-02-08 09:05:44 +00:00
syl20bnr f553b3622d Revert "[osx] use init instead of post-init for exec-path-from-shell."
This reverts commit 0141c804f0.

exec-path-from-shell is not used by Spacemacs anymore,
see https://develop.spacemacs.org/doc/DOCUMENTATION.html#default-behavior
2020-02-01 11:59:42 -05:00
emacspace 75cfd40d3c
documentation formatting: Mon Jan 27 22:19:54 UTC 2020 2020-01-27 23:35:09 +01:00
syl20bnr 52d1b0f323 Revert "[clojure] Add sesman keybindings"
This breaks Spacemacs convention:
https://github.com/syl20bnr/spacemacs/blob/develop/doc/CONVENTIONS.org#repls

Need to add session management under an unused prefix, I suggest SPC m S

This reverts commit e47494229b.
2020-01-25 10:17:08 -05:00
emacspace ff5b3ae291 documentation formatting: Thu Jan 23 11:14:51 UTC 2020 2020-01-23 12:18:03 +01:00
Benjamin Hipple d4a27babf6 [nixos] add toggle for company-nixos-options
On some Nix setups, company completion via the Nix repl process can be extremely
slow and hang emacs. This commit adds an option toggle to disable it in the
`nixos` layer. The default behavior is unchanged.

Also updates the comment and license headers to be consistent with other layers.
2020-01-12 11:18:00 +01:00
Nikita Leshenko aaa11a6823 Convert `case' to `cl-case' to fix cl-lib related errors
Broken since PR #13059
2019-12-18 12:08:05 +01:00
Maximilian Wolff 42d2433fc6
Revise osx layer
Add missing changelog entry
Reformat package file and update some styles according to the current standard
2019-12-15 21:53:18 +00:00
Christopher Eames (Chream) 0141c804f0
[osx] use init instead of post-init for exec-path-from-shell. 2019-12-15 21:49:51 +00:00
kalium 1ee7a9a640 Update NixOS layer banner
The NixOS logo has changed since the NixOS layer was made. This commit
replaces the layers banner with the current official NixOS logo.

Source of the new logo: https://github.com/NixOS/nixos-artwork/tree/master/logo
2019-10-19 11:55:56 +02:00
Miciah Masters 97ba556142 Various documentation copy-edits
Follow up the changes in the previous commit with some minor improvements
to formatting, grammar, spelling, and wording.

* layers/+distributions/spacemacs-docker/README.org: Replace "+" with
"and".
* layers/+email/mu4e/README.org: Use full sentences in the comments in the
mu4e-alert example.
* layers/+intl/japanese/README.org: Use verbatim markers for names of
files, functions, packages, and variables.  Capitalize "Linux".
* layers/+os/osx/README.org: Capitalize "Emacs", "Vim", and "Evil".
* layers/+os/osx/config.el (osx-command-as, osx-use-dictionary-app):
* layers/+os/osx/keybindings.el (spacemacs/system-is-mac): Improve
docstrings.
* layers/+readers/dash/README.org: Capitalize "API", "Helm", and "Ivy".
* layers/+spacemacs/spacemacs-defaults/config.el
(delete-by-moving-to-trash): Use full sentences in comment.
* layers/+spacemacs/spacemacs-defaults/funcs.el
(spacemacs/toggle-frame-fullscreen-non-native): Improve docstrings.
2019-10-13 12:04:59 +02:00
Miciah Masters 552fd5953c Update references to macOS
Apple renamed "Mac OS X" to "OS X" in 2012 and then to "macOS" in 2016.
Update references to use the current name.
2019-10-13 12:04:40 +02:00
Binbin Ye f644c59ab8 Add a layer variable osx-swap-option-and-command
set to non-nil to swap command and option key on macOS
2019-06-18 14:21:56 +02:00
Binbin Ye da3c7ee1f7 Add a default value for kbd-mac-command 2019-06-18 14:11:01 +02:00
duianto 3868a5364f [doc] Fix typos and add missing/remove extra ~
Add missing ~ (tilde) around key bindings.
Remove an extra ~.
2019-06-01 20:40:22 +02:00
emacspace c7c348a676 documentation formatting: Sun May 26 20:58:52 UTC 2019 2019-05-27 01:23:35 +03:00
Anton-Latukha f6660f82d4
Switch to the new layers generator 2019-05-15 21:08:21 +03:00
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
Ling Wang 22ecf05c11 Fix OSX keybindings for daemon mode
OSX layer keybindings should be applied on macOS no matter it is in GUI
mode or not. Otherwise the keybindings won't be applied if Emacs is
launched in daemon mode.
2019-04-09 22:38:47 +02:00
Minh Nguyen-Hue 8709b7e727 [osx] Replace pbcopy by osx-clipboard
Why:

* When using emacs >= 26, pbcopy has latency actions in terminal.

This change addresses the need by:

* Replace pbcopy by osx-clipboard
2019-04-06 09:05:08 +02:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
emacspace 901f35849a documentation fixes: Tue Oct 23 14:18:21 UTC 2018 2018-10-23 23:38:16 +03:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
jpathy 13d0212c18 Associate nix-mode with .nix files 2018-08-16 00:19:11 +03:00
syl20bnr 386a8fa79d macOS: disable package pbcopy
See comments.
2018-06-11 12:48:13 -04:00
Codruț Constantin Gușoi 099c2b03a8 Adds documentation for OSX modifiers 2018-05-28 00:38:13 +03:00
fiveNinePlusR f7fb7e45a3 OSX: Fix the function keys not working correctly
page up and page down were not working correctly and this allows the normal emacs handling of system function keys.
2018-05-28 00:34:57 +03:00
syl20bnr b44506fa74 dump: fix lag when deleting line with dd by disabling pbcopy 2018-05-20 03:58:48 -04:00
syl20bnr ebe4c60264 Revert "Defer packages by default using use-package-always-defer"
This reverts commit 29c78ce841 and all other fixes
that have been made afterwards.

The motivation is that use-package is seen by many as a replacement for
`require`. Is use-package always defer the loading of packages then is breaks
this use case, this does not respect POLA so even if it was making Spacemacs
loading faster (up to 3s faster on some startup on my machine) we just cannot
use it, it would be irresponsible. Spacemacs should be easy to use, loading
performance will come with time but it is not a priority.
2018-03-03 23:40:10 -05:00
syl20bnr 29c78ce841 Defer packages by default using use-package-always-defer
Warning now `:defer t` is implied, to force a package to load `:demand t` is
now necessary.
2018-02-27 23:32:52 -05:00