Commit graph

84 commits

Author SHA1 Message Date
Miciah Masters 78cf625521 Add variable rcirc-enable-styles to rcirc layer 2019-05-05 21:38:56 +02:00
Miciah Masters 2d7d0886bd Add variable rcirc-enable-emojify to rcirc layer 2019-05-05 21:38:56 +02:00
JAremko 5d02b1c4bb Add more tags 2019-05-03 03:44:19 +03:00
duianto 3de7081950 Cleanup which-key names
Moved:
- ("ai" "irc") to both the `erc` and `rcirc` layers. They don't have to be
  renamed until the layers are loaded.

- ("ay" "ipython notebook") to the `ipython-notebook` layer.

- ("p$" "projects/shell")
  ("'"  "open shell")
  ("as" "shells")
  to the `shell` layer.

- The commands with keybindings from spacemacs-bootstrap/packages.el to
  spacemacs-defaults/keybindings.el.

Removed:
- ("gd" "diff") it seems to be an old group name, there's no `SPC g d` group at
  the moment.

- ("Re" "elisp") and ("Rp" "pcre") because they have moved to:
  ("xr" "regular expressions")
  ("xre" "elisp")
  ("xrp" "pcre")

- ("xm" "move") seems to be an old move text group, the current keybindings are
  `SPC x J` and `SPC x K` which opens the Move Text Transient State.

- ("b" "persp-buffers") because `SPC b` is also renamed as ("b" "buffers") which
  is more general and not persp-mode specific.
2019-02-18 14:35:00 -05:00
emacspace 45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05:00
Miciah Masters e6811c8355 Add variable rcirc-enable-late-fix to rcirc layer
Add a configuration variable to enable the included rcirc-late-fix package
in the rcirc layer.  The package is still disabled by default.
2018-11-25 12:38:41 +00:00
Miciah Masters 6608d490ce rcirc-late-fix: Fix compiler warnings
Fix the following errors:

    rcirc-late-fix.el:49:12:Warning: ‘rcirc-print-hooks’ is an obsolete
        variable (as of 24.3); use ‘rcirc-print-functions’ instead.

    rcirc-late-fix.el:51:1:Warning: defface for ‘rcirc-late-fix-face’ fails
        to specify containing group

    In rcirc-late-fix-hook:
    rcirc-late-fix.el:79:82:Warning: (lambda (x) ...) quoted with ' rather
        than with #'

    In rcirc-late-fix-matching-buffer:
    rcirc-late-fix.el:85:34:Warning: function ‘find-if’ from cl package
        called at runtime
2018-11-25 12:38:41 +00:00
duianto ee811f7b13 Unify packages list parentheses style
problem:
some layer packages lists have the open and closing parentheses on the same line
as the first and last listed package, but most seem to have them on a separate
lines.

solution:
put the open and close parentheses on separate lines, except for lists with only
a single package, they are written on the same line as the variable name and
parentheses.

fix the lists indentation
2018-11-21 21:35:38 +00:00
duianto 2c8195752f Add missing layer file headers 2018-11-21 21:31:54 +00:00
emacspace 901f35849a documentation fixes: Tue Oct 23 14:18:21 UTC 2018 2018-10-23 23:38:16 +03:00
emacspace 0fb6470acf documentation fixes:Wed Oct 17 04:03:28 UTC 2018 2018-10-17 04:03:28 +00:00
JAremko cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Miciah Masters e0b751bee3 Avoid non-idempotent use of push in init code
Replace push with add-to-list in layer init functions and related code.

Modify spacemacs|add-toggle to check for and update an existing toggle in
spacemacs-toggles and only create a new toggle if none already existed.

Replace a conditional push onto erc-packages with use of :toggle.

When initializing which-key, set which-key-replacement-alist to its default
or customized setting before adding all the Spacemacs replacements.  We
want to keep the stock replacements but avoid adding duplicates of the
Spacemacs replacements.

Replace the emacs-lisp-mode-hook lambda with a named function to avoid
adding duplicate hooks (which can add duplicate definitions of the
evil-surround pair).
2018-06-05 22:17:13 -04:00
Aleksei Fedotov e421377861 jabber: Fix missing optional argument for the alert jabber-alert-echo function.
Jabber alert function should accept an optional second argument containing a
title of the message. The function mimic the default implementation of
jabber-alert-echo by showing the title if it is present and a message body
otherwise.

This commit fixes an error which is thrown when jabber receives a new notification:
(wrong-number-of-arguments (lambda (msg) (if (minibuffer-prompt) nil (message "%s" msg))) 2)
2018-05-27 23:02:17 +03:00
Leslie Shawn Russell 6259f40914 Fix Slack Layer helm menu display
Changed the slack layer to display "+slack" rather than "+prefix"
This matches other layers (i.e. +org, +irc) under <leader> a.
2018-05-16 00:07:06 +03: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
Rhommel Lamas 87cbef1952 Fix docs for rcirc layer where :user-name is the right value 2018-02-17 16:09:06 -05:00
Miciah Masters 1a49c01c82 rcirc: Move defaults to :init to be overridable
Move setq forms in init-rcirc from the :config block to the :init block
in order to enable users to override settings in user-config.
2018-01-14 22:50:28 -05:00
syl20bnr 41e546f040 Move all use-package hook declaration to pre-init functions
Had to create dummy init functions at some places since the owner of a package
is the last layer that defines the init function of a package. And a package
can be installed only if it has an owner.
2018-01-10 23:57:18 -05:00
Miciah Masters 64c212941e Fix errors in rcirc and slack layers
Fix errors that were introduced into the rcirc and slack layers by
commit fea035f413.

Change the header for the slack layer's funcs.el to refer to the correct
layer.

Change the custom layout definition for rcirc to use the correct name
and binding for the layout and the correct invocation for rcirc.
2018-01-10 22:09:47 -05:00
syl20bnr fea035f413 Make custom layout configs consistent
Use a use-package hook and avoid using lambdas.
Use same naming for all config.
2018-01-09 23:01:34 -05:00
syl20bnr 46c5dfa4a7 cl-loop instead of loop 2018-01-06 21:38:13 -05:00
syl20bnr 326965d4ce Happy New Year 2018! 2018-01-04 02:00:25 -05:00
Miciah Masters 27699fc678 Delete rcirc-reconnect in favor of built-in cmd
Fix issue #9981: rcirc /reconnect command reverts to default port.

rcirc has included a built-in /reconnect command since Emacs 25.1, which
makes the rcirc-reconnect package shipped with the Spacemacs rcirc layer
superfluous.

Modify the rcirc layer's initialization not to load rcirc-reconnect, and
delete rcirc-reconnect from the layer's local packages.
2017-12-17 19:43:10 -05:00
CeleritasCelery e32acfbf3b Fixed feature header 2017-08-29 20:00:44 +03:00
syl20bnr 82220fce3a Remove old wording "contribution layer" 2017-08-28 11:33:55 -04:00
syl20bnr e7205e0097 erc: update documentation for layer variables 2017-08-27 22:54:04 -04:00
Evan Klitzke 8491304371 Conditionally enable ERC notifications via erc-enable-notifications
Enable ERC notifications only when erc-enable-notifications is non-nil; the
default configuration for the variable is t.
2017-08-27 21:56:39 -04:00
J. Patrick Lanigan df7af0ad20 Fix features format in misc README.org's
See #9346
2017-08-22 21:27:13 +03:00
JAremko 06301b2212 Improve exporting/testing 2017-08-18 20:50:21 +03:00
Benjamin Reynolds a0cdccace9 Fix documentation issues with slack and emoji layers
See #9346
2017-08-04 21:37:59 +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
Evan Klitzke ba17dd9158 Actually configure SPC m b to switch between ERC buffers. 2017-07-01 10:43:41 +02: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
Eivind Fonn 37cdf07e91 rcirc: move defuns to funcs.el 2017-06-18 12:47:11 +02:00
Abdo Roig-Maranges ec2184403b Fix rcirc logging where the channel name has '/' in it
This happens when connecting to gitter via irc.gitter.im, for instance.
It turns out that channels are named like #syl20bnr/spacemacs. For the
logging to work, we need to create the directory #syl20bnr first.
2017-06-18 12:40:10 +02:00
Swaroop C H 0d0f19356f [slack] Add key binding to open message thread 2017-06-10 16:34:00 +02:00
Swaroop C H 01de4d8b0e Mention key bindings in README 2017-06-06 12:27:45 +02:00
Swaroop C H 503fdfac62 [slack] Add key binding for slack-message-remove-reaction 2017-06-06 12:27:43 +02:00
Eivind Fonn 8b7626ddb1 Document new slack binding 2017-05-28 15:03:08 +02:00
Swaroop C H 7b8324209c [slack] Add key binding to add reaction 2017-05-28 15:02:25 +02:00
Kristoffer Haugsbakk 79ed1a6b4b Use proper markup for code in readmes
By convention, code markup (`~`) is reserved for keybindings in Org-based
documentation in Spacemacs.  Verbatim markup (`=`) is reserved for code and
other code-like things.  So change several readmes to reflect this convention.

Use verbatim markup for things like (non-exhaustive list):

- Emacs Lisp functions, modes, buffers, etc.
- Environment variables
- Directory paths
- Code in general
2017-05-24 11:57:17 +02:00
JAremko 6c5a0b2b14 update docs to the new toc-org format 2017-05-22 18:35:37 +03:00
syl20bnr a213729981 slack: update documentation 2017-05-07 22:22:27 -04:00
syl20bnr 84fa5a6f8a slack: make the layer depends on emoji layer and move emojify config 2017-05-07 21:37:01 -04:00
d12frosted eb2f736ee5 setup emojify cache directory 2017-05-07 21:33:33 -04:00
Benjamin Reynolds 90d9980878 Allow customization of slack custom layout name and binding
This commit adds two configuration variables to the slack layer allowing a user
to customize the name and keybinding of the slack custom layout, following the
conventions from the erc and mu4e layouts.
2017-05-07 21:11:37 -04:00
JAremko c1e4556882 Format and cleanup docs. Fix links. 2017-04-28 23:29:14 -04:00