1. 22 Apr, 2021 1 commit
  2. 21 Apr, 2021 7 commits
  3. 19 Apr, 2021 11 commits
    • emacspace's avatar
      df15f8cc
    • Maximilian Wolff's avatar
    • Diego Berrocal's avatar
      Add Emacs Window Manager (EXWM) Layer AKA SpacemacsOS (#3321) · a664569a
      Diego Berrocal authored
      
      * Add Emacs Window Manager (EXWM) Layer
      
      The time has come of SpacemacsOS
      
      * set window manager name to EXWM
      
      * update copyright notice
      
      * start server when EXWM is active
      
      When using EXWM, Emacs should be ready to receive clients but the final choice
      should be the user's in their shell configuration.
      
      * respect Spacemacs naming conventions and layer organization
      
      * leave keyboard remapping to users
      
      * add EXWM states for Evil
      
      * add support for helm-exwm when helm is in use
      
      * use both exwm-randr and exwm-systemtray
      
      * set up workspaces to match displays by default
      
      * use ido-config instead of the deprecated workaround
      
      When using helm-exwm, its sources distinguish title and class automatically. It
      is only necessary to keep the buffer name updated when the window title changes.
      When using ido, rename differently for different applications.
      
      * add bindings for common X keys
      
      * use standard prefix commands where available
      
      Spacemacs already has prefix commands for controlling windows.
      These are directly available in exwm-state as well as in exwm-insert-state
      through leader
      
      * remove most keybindings as they are available directly in exwm-state
      
      * enable exwm directly in the layer configuration
      
      It is safe to enable it here as an existing window manager will simply fail with
      a warning.
      
      * add user-configurable variables for RandR and workspaces
      
      By default, create as many workspaces as there are displays and assign them in
      RandR order.
      
      * fix naming convention for variables
      
      * use helm for launching applications when possible
      
      * fix conditional helm-exwm leader keys
      
      * remove redundant function
      
      EXWM provides the equivalent
      
      * conform to naming convention for Spacemacs
      
      * separate prefix commands into those for major mode and global
      
      * remove all default bindings
      
      * improve readability
      
      * clean up bindings
      
      * remove obsolete comments
      Co-authored-by: default avatarM. Domenzain <luis.domenzain@parrot.com>
      a664569a
    • Thanh Vuong's avatar
      [new layer] nav-flash · 235aa8d4
      Thanh Vuong authored
      Ported from Doom
      235aa8d4
    • Maximilian Wolff's avatar
      [visual][popwin] Adjust variable naming to match conventions · 6a8dcd01
      Maximilian Wolff authored
      Private variables must use "--" after the prefix.
      6a8dcd01
    • Thanh Vuong's avatar
      [visual][popwin] add keybiding to resume last popwin buffer · b4cf0043
      Thanh Vuong authored
      bind it to `spc r w`
      b4cf0043
    • Thanh Vuong's avatar
      [defaults] add qickrun · 056eb6b9
      Thanh Vuong authored
      bind it to `SPC x x`, not sure it's the right place but it's easy to invoke
      056eb6b9
    • Daniel Nicolai's avatar
      configure racket-describe-mode keybindings · 866c362d
      Daniel Nicolai authored
      Racket describe mode comes with its own keybinding (i.e. `q` for quit).
      Additionally it contains links, so this PR binds `o` to `link-hint-open-link`
      (`ace-link` does not support this mode)
      866c362d
    • Daniel Nicolai's avatar
      Fix: update eaf layer · 623c75d7
      Daniel Nicolai authored
      The layer got broken due to some minor changes in the eaf package by the eaf
      developers. This commit fixes the layer to a working state.
      623c75d7
    • Lucius Hu's avatar
      core-customization: improved SAFE variable handling (#14679) · 3bbc7a7d
      Lucius Hu authored
      
      * core-customization: improved SAFE variable handling
      
      - SAFE can either be a function or t.
        - When it's t, use a default validation function
          `(lambda (val) (validate-value val TYPE t))`
        - When it's a function, use the supplied function.
      
      * Fixed bugs in go and groovy layer
      
      In almost any cases, it's better to supply `t` instead of a function, to
      `SAFE` argument of `spacemacs|defc`.
      
      For example,
      ```elisp
       (spacemacs|defc go-use-gocheck-for-testing nil
         "If using gocheck for testing when running the tests -check.f will be used instead of -run to specify the test that will be ran. Gocheck is mandatory for testing suites."
        'boolean nil #'booleanp)
      ```
      
      If its value is nil, it evaluate to `nil`, which means that `nil` is not
      a safe value for `go-use-gocheck-for-testing` local variable.
      
      But clearly it is.
      
      * core-customization: improved SAFE variable handling
      
      - Added a function `spacemacs-customization//get-variable-validator`.
        This function is designed to be used with `safe-local-variable`
        property of spacemacs custom variables.
        See details in the docstring.
      
      ```elisp
      (put 'FOO 'safe-local-variable
           (apply-partially 'spacemacs-customization//get-variable-validator
                            'FOO))
      ```
      
      - This is better than a lambda since `apply-partially` returns a compiled
        function. (Though the performace gain may be tiny.)
      - This is better than simply calling `validate-value`, because it returns
        nil when value is nil. But sometimes nil is a valid value.
      Co-authored-by: default avatarLucius Hu <lebensterben@users.noreply.github.com>
      3bbc7a7d
    • Luis Ch's avatar
      react: fix file auto detection (#14680) · 175840bc
      Luis Ch authored
      175840bc
  4. 18 Apr, 2021 1 commit
  5. 17 Apr, 2021 9 commits
  6. 15 Apr, 2021 11 commits