Commit Graph

45 Commits

Author SHA1 Message Date
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
syl20bnr 665c09b684 mode-line: fix color space for spaceline separators on MacOS 2018-01-28 22:40:58 -05:00
Profpatsch f74e25467e layers/+os/nixos: disable electric-indent-mode
Electric indent mode doesn’t play well with the nix-mode indent function, so we
disable it.
2018-01-10 00:12:04 -05:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
Benjamin Reynolds b6474ff590 Fix various documentation errors and inconsistencies
Fixes documentation errors from issue #9476 in the following layers...

* syntax-checking
* games
* xkcd
* keyboard-layout
* racket
* osx
2017-10-05 11:15:21 +03:00
JAremko 8a95d3bb92
Fix nix-mode.el URL 2017-08-31 00:23:34 +03:00
JAremko 06301b2212 Improve exporting/testing 2017-08-18 20:50:21 +03:00
Eivind Fonn f4b53d2a4f Rename :depends to :requires 2017-07-03 09:54:53 +02:00
syl20bnr e2e532bb49 core: change <function>p to <function>-p suffixes for consistency
Also defined aliases for backward compatibility with `usedp` functions.
2017-07-02 10:09:39 -04:00
Eivind Fonn 08561d8631 core: implement :depends for package declarations
This replaces the older pattern
:toggle (configuration-layer/package-usedp ..)

This implementation ensures that :disabled-for honors dependent packages, i.e.
if package a depends on package b, which is owned by layer c, and layer c is
disabled for layer d, then neither package a nor b will be configured for layer
d. Previously, this was only true for package a, but not b.

This commit also fixes:

- configuration-layer/describe-package now shows which post-init and pre-init
  functions are disabled, if any
- Does not recreate all layer objects unconditionally when calling
  configuration-layer/discover-layers. Previously, this led to all layers being
  recreated after e.g. `SPC h SPC`, without any of the dotfile information.
  Since this information is now necessary for
  configuration-layer/describe-package, it’s important that we don’t clear the
  indexed layers when invoking this function.
2017-06-22 11:53:05 +02:00
Benno Fünfstück d83fafb2cb nixos layer: defer loading of options 2017-05-28 18:19:23 +02:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
Liu, Joey 42b13b5178 Fix OSX mapping issue, because of a recent commit changed the way of OSX mapping 2017-05-18 23:12:56 -04:00
syl20bnr 8ece2fd1f2 Fix documentation error reported by Travis 2017-05-14 22:56:42 -04:00
Bas Veeling 20535e2ebc Added hide-others shortcut to osx keybindings
In emacs 25.1, the osx system default shortcut cmd+alt+h to hide other windows is broken. This commit fixes this (see #7464).
2017-05-14 21:57:11 -04:00
Aaron Culich 2215ffe68d change osx-command-as default for ⌘ to hyper instead of super
The purpose of this PR is to set the default for ⌘ to `hyper' and to provide the
function `kbd-mac-command` to replace `kbd' when defining keybindings for ⌘ in
case someone decides to explicitly set osx-command-as to `super' or `alt'.

There are problems setting osx-command-as to `alt' and `super',
so we use `hyper' as a default instead because, for example:
  - Using `alt':   Command-x or Command-m inserts, respectively: × µ
  - Using `super': Control-Command-f produces keycode: <C-s-268632078>
Setting to `hyper' seems to avoid both types of the above problems.
Also, while it is possible, it is not recommended to set to `meta'
since standard OSX shortcuts would overshadow important keys such
as M-x.

Two other small changes include:

  - Commenting out the code that defines <C-s-268632078> (C-s-f) since it is
    unnecessary if we use `hyper' as the default; and if we really want to use
    `super' then we should figure out how to solve the weird keycode issue.

  - add keybinding for ⌘` (Command-backtick) to `other-window'.
    Emacs usually swallows this keystroke, so other-window basically restores
    the default behavior that most Mac OSX users would expect.
2017-05-14 21:54:06 -04:00
Chream 5ff0fbe6d9 [enhancement] OSX Layer. add config variables for different OSX modifier keys.
[update] Update defaults.

[update] update README.
2017-05-14 21:34:30 -04:00
Liu, Joey a754c204ce In OSX, add key binding to use command-1..9 for selecting window 2017-05-14 12:32:39 -04:00
William Casarin 0213035784 nix: enable flycheck
nix syntax checking with nix-instantiate was just merged into flycheck:

  https://github.com/flycheck/flycheck/pull/1164

This enables flycheck support in nix-mode to the nixos layer.
2017-04-19 22:50:17 -04:00
syl20bnr fb27ede558 Bump year in copyright headers
Happy New Year 2017!
2017-01-05 23:08:17 -05:00
syl20bnr 74fdbb6795 Refactor and simplify company backends declaration
Enabling a company backend for a specific mode was a tedious tasks with code
scattered at different locations, one for local variable definitions, one for
company hook function definitions and another where the backends were pushed to
the local variables (which was problematic, since we ended up pushing the same
backends over and over again with `SPC f e R`, pushes have been replaced by
add-to-list calls in the new macro).

All these steps are now put together at one place with the new macro
spacemacs|add-company-backends, check its docstring for more info on its
arguments.

This macro also allows to define arbitrary buffer local variables to tune
company for specific modes (similar to layer variables via a keyword :variables)

The code related to company backends management has been moved to the
auto-completion layer in the funcs.el file. A nice side effect of this move is
that it enforces correct encapsulation of company backends related code. We can
now easily detect if there is some configuration leakage when the
auto-completion layer is not used. But we loose macro expansion at file loading
time (not sue it is a big concern though).

The function spacemacs|enable-auto-complete was never used so it has been
deleted which led to the deletion of the now empty file core-auto-completion.el.

The example in LAYERS.org regarding auto-completion is now out of date and has
been deleted. An example to setup auto-completion is provided in the README.org
file of the auto-completion layer.
2017-01-02 00:39:04 -05:00
d12frosted 89137bb482
add notes about setting up osx dictionary
Also fill paragraphs in osx layer readme file.
2016-08-28 14:23:43 +03:00
d12frosted 78d76758e5
add missing headers to osx layer files 2016-08-28 14:23:34 +03:00
Muneeb Shaikh 8e1d449754 osx: add osx-dictionary and make it default for OS X 2016-08-27 21:26:43 +05:30
Profpatsch b3e7f0f65a nixos: inhibit spacemacs indation in nix-mode 2016-08-22 15:05:40 +02:00
syl20bnr a2de9a63af Use :toggle keyword instead of when forms 2016-05-29 22:39:21 -04:00
sooheon 15e6290151 Make check for company-mode explicit, not implicit
People may have company-mode installed without necessarily using the
auto-completion layer.
2016-05-27 00:32:05 -04:00
syl20bnr 1f993bddf6 Rename spacemacs-helm and spacemacs-ivy layers to helm and ivy
For ivy users: be sure to update your dotfile by replacing spacemacs-ivy
by ivy
2016-05-15 22:24:27 -04:00
Steven Allen 9f48b951db Fix file extension matching for filenames with newlines
- "\\.ext$" matches both "abc.ext" and "abc.ext\nsomething".
- "\\.ext\\'" matches only "abc.ext".
2016-04-29 22:16:49 -04:00
syl20bnr 3b0c1fd93d Convert org doc files with doc-fmt 2016-03-30 22:59:55 -04:00
syl20bnr 9d0558992c layers directory: create new categories
+chat
+checkers
+emacs
+intl
+os
+pair-programming
+tags
+theme
+web-services
2016-03-23 21:39:43 -04:00