Commit graph

74 commits

Author SHA1 Message Date
Lucien Cartier-Tilet
77fe8a6139
Fix bug with keyboard-layout layer an bépo layout
When the bépo layout is set from the `keyboard-layout` layer, the
message `(wrong-type-argument keymapp nil)` shows up. After some
digging, it turns out Spacemacs tries to set shortcuts for `nil`
`map` variables in this function.

This commit ensures it is impossible to try to set a shortcut for an
inexisting keymap.

This commit has been tested with Emacs 27.0.90.
It also removes an unused `if` statement
2020-03-31 20:15:34 +02:00
Jonta
0fe53d09ef
[keyboard-layout] Grammatical errors 2020-03-24 21:41:49 +01:00
CharlesHD
bcc3f1292d [keyboard-layout] Quick Fix of 11954
Commented out broken evil-window :common bindings.

https://github.com/syl20bnr/spacemacs/issues/11954
2020-01-13 13:32:39 +01:00
Damien Picard
473d019b47 Fix keys not remapped by keyboard-layout
keyboard-layout was broken by commit da80634, which replaced cl by
cl-lib. Some function calls weren’t replaced. There may be old calls
remaining in other layers.
2019-12-18 15:02:42 +01:00
emacspace
300abd74bd documentation formatting: Tue Nov 12 14:58:39 UTC 2019 2019-11-12 17:19:28 +02:00
wgjak47
58ce74d80d [chinese] Add fcitx5 support 2019-11-12 15:44:17 +01:00
emacspace
c91779aff4 documentation formatting: Fri Nov 8 16:03:53 UTC 2019 2019-11-08 16:08:22 +00: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
Kenji Miyazaki
6e9a80c9f3 [japanese] Fix doc 2019-09-16 20:17:40 +02:00
JAremko
6c12121cec fix links 2019-07-08 23:56:07 +03:00
duianto
ec01b45744 [chinese][doc] Add space before open parenthesis
A space was added before the open parenthesis containing chinese characters, in
the section titles.

This solves a convention issue in the table of contents links (that are
generated from the titles), where the latin and chinese characters were next to
each other without a separating space.

When the space is added, then the generated links change the space to a dash.

A space was also added before any open parenthesis (with chinese characters) in
the non title text.

And a single full-width close parenthesis was changed to the half-width version
to match the other close parenthesis.

Thanks AmaiKinono for pointing out the issue.
2019-06-13 21:40:08 +02:00
emacspace
19c429e7c0 documentation formatting: Thu Jun 13 13:33:14 UTC 2019 2019-06-13 15:49:54 +02:00
AmaiKinono
5b7b5f2526 [chinese] Fix fcitx.el. And add a variable
Make fcitx.el work by default, it was not configured properly.

Added a layer variable to decide if dbus should be used or not:
chinese-fcitx-use-dbus
(default: nil)

Corrected README.org:
It's the dbus interface (not fcitx-remote) that is needed for linux.
2019-06-11 22:53:37 +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
bmag
99b355e2fa Adapt for Magit's move to Transient
Magit now uses Transient instead of magit-popup, and we must adapt. Also had to
replace the recently removed magit-diff-buffer-file-popup with
magit-diff-buffer-file (similar but doesn't offer a popup before displaying the
diff).

Note some upstream packages haven't adapted to this change, but when they do we
might need similar fixes:
- magithub
- magit-gitflow
- magit-svn
2019-02-16 10:21:45 -05:00
CharlesHD
52bbab6343 keyboard-layout: add undo-tree visualizer navigation keys 2019-01-20 17:15:49 +02:00
JAremko
c5ae487b89 Fix links 2019-01-13 20:27:35 +02:00
emacspace
45276bd96f documentation formatting: Wed Dec 5 03:03:03 UTC 2018 2018-12-04 22:06:14 -05: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
emacspace
901f35849a documentation fixes: Tue Oct 23 14:18:21 UTC 2018 2018-10-23 23:38:16 +03:00
Boris Buliga
d81e75584e
bump year in the copyright headers
Folks, this time of year has come. We can bump year in the copyright headers.
Let's celebrate!
2018-10-16 20:27:05 +03:00
JAremko
cd39f80c24 Reformat documentation 2018-10-11 00:13:43 +03:00
Xiang Ji
5c702863bf Add chinese-conv package to chinese layer.
[chinese-conv](https://github.com/gucong/emacs-chinese-conv/) performs
conversion between simplified and traditional Chinese texts
2018-08-21 00:27:37 +03:00
JAremko
6946e255e6 Reformat docs 2018-07-20 02:45:21 +03:00
CharlesHD
1b22f5b30e Keyboard-Layout : after-config hooks for lazy-loaded packages 2018-06-16 03:18:05 -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
JAremko
7ce071b4be Format documentation 2018-02-28 03:29:48 +02:00
Fabien Dubosson
29fa494053 [keyboard-layout] Split evil-magit and magit configurations
Fix #10133 and #10229, supersede #10148
Modification as suggested in [1].

[1] https://github.com/syl20bnr/spacemacs/pull/10148#issuecomment-357577446
2018-02-24 19:49:39 -05:00
syl20bnr
982308f1b3 japanese: add image and format README.org 2018-02-24 19:49:39 -05:00
Kenji Miyazaki
570f7ef3e3 Add Japanese Layer 2018-02-24 19:49:39 -05:00
Benjamin Reynolds
b51826f001 Improve support for workman keyboard layout 2018-01-19 22:59:19 -05:00
smile13241324
8943f856ed Fix doc for chinese, transmission, d, command-log and idris layer 2018-01-19 19:41:40 +01: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
06301b2212 Improve exporting/testing 2017-08-18 20:50:21 +03:00
James Wang
74b8a3460d
Chinese layer: update package name due to upstream renaming 2017-08-01 16:44:33 +03:00
JAremko
106f98497e Update README.org template
Replace some local Org links with GitHub ones
2017-07-23 01:22:20 +03:00
Eivind Fonn
c2a20210e6 keyboard-layout: uniform indentation 2017-06-08 09:52:27 +02:00
fmdkdd
6255081645 Disambiguate the colemak-hnei and colemak-neio layouts 2017-06-08 09:51:36 +02:00
fmdkdd
a8c813a815 Add colemak-jkhl layout to keyboard-layout
This commit remaps the HJKL movement keys to JKHL.

See https://colemak.com/ for a description of the colemak layout.
2017-06-08 09:47:14 +02:00
Eivind Fonn
cbc4717011 Fix keyboard-layout readme
Layout names are not code
2017-06-07 12:50:09 +02:00
benozol
63ba00492c Add neo keyboard layout option to keyboard-layout 2017-06-07 12:46:41 +02:00
Eivind Fonn
383fbe7532 Update keyboard layout layer readme: text/images
Text:
- Rewrite, add missing words, etc.
- Remove the begin and end verse block lines, but kept the verse block text,
  because Github doesn's show text in .org verse blocks.
- Change _after_ to *after*, because Github doesn't show underscores in .org
  files.
- Add the Colemak, Dvorak and Workman layouts vim movement key bindings, and the
  key bindings for the lost (overwritten) keys.
- Fix the image link to the workman layout image, it was missing the square
  brackets.
- Link replaced: The workmanlayout.com domain name seems to have been lost.
  Google Chrome warns "Your connection is not private", and the advanced
  information states that the security certificate is from a "just host" domain.
  The most stable replacement link seems to be the workman section on the
  keyboard layout wikipedia page.
- Indicate the images that have been modified, as suggested by the CC BY-SA
  Attribution section.

Images:
- Add the dvorak simplified layout.
- Fix the programmer dvorak layout, the transparent key faces made it almost
  invisible when viewed in Spacemacs with a dark background.
- Rename images for type, consistency, and most common usage:
  use logo instead of layout for logo names, and use layout for all layout
  images, instead of keymap for some and layout for others. Layout is the most
  common name, wikipedia even redirects keymap to the keyboard layout page.
- Reduce their width to 640px, so that they fit within column 80.
2017-06-06 12:24:30 +02:00
Eivind Fonn
9baa32e3c2 keyboard-layout: remove spurious colemak 2017-06-06 12:22:22 +02:00
duianto
52a03697c1 Update keyboard layout image, gray border
problem:
The keyboard layouts main image, is displayed as a black rectangle, when the
readme.org file, it's opened in Spacemacs. This seems to be because there's an
issue with the transparency when a .png is saved with indexed colors.

When the transparency issue is fixed, by re-saving it as a non-indexed
(grayscale or RGB) image. Then there still is an issue, with themes that have a
dark background, i.e. spacemacs-dark. The black keys become almost invisible.

solution:
Add a 1px gray border, around the keys.
2017-05-30 18:37:02 +02:00