Skip to content

Warning: defcustom for ‘boon-command-cursor-type’ #77

Open

Description

@dxlr8r

When installing boon with emacs 26.3 I get:

...
Compiling file /Users/simeny/.emacs.d/elpa/boon-20191104.1313/boon-core.el at Wed Nov  6 22:46:15 2019
boon-core.el:60:1:Warning: defcustom for ‘boon-command-cursor-type’ fails to
    specify type
boon-core.el:60:1:Warning: defcustom for ‘boon-command-cursor-type’ fails to
    specify type
boon-core.el:61:1:Warning: defcustom for ‘boon-insert-cursor-type’ fails to
    specify type
boon-core.el:61:1:Warning: defcustom for ‘boon-insert-cursor-type’ fails to
    specify type
^L
...

I'm also unable to drop back into CMD mode after going to INS, might be related.

Also wondering how to handle modality and Meta commands? I see you have C-x and C-c covered, but couldn't see anything about M, or about how to do C-c x (where x is a letter without C).

Activity

  1. jyp commented on Nov 7, 2019

    @jyp
    Owner

    I fixed the warning in the last commit. As for your other questions:

    1. make sure boon-set-command-state is bound to the key that you want to use to go back to CMD state.
    2. Meta are not covered. These are usually bound to commands which are best served by native 'boon' operations
    3. You can use "c C-x" for "C-c x". But these keybindings are in fact reserved for the user as per emacs guidelines. So don't use them :) One idea is to use backslash (or backspace or return, etc.) as a leader key for those.
  2. dxlr8r commented on Nov 7, 2019

    @dxlr8r
    Author

    I fixed the warning in the last commit.

    Awesome.

    1. unless I'm mistaken, this is by default set to the escape key? I might end up using a different key, but kinda curious for why escape didn't work.
    2. ok, I see M-x is on "x" when in CMD mode.
    3. what about "v"? I know that is used for going into INS mode, but I thought, perhaps, it made more sense to use the CMD mode key as a toggle.
  3. jyp commented on Nov 12, 2019

    @jyp
    Owner
    1. Probably due to something in your configuration?

    point 3. Feel free to rebind keys as you see fit. This is emacs after all :) Boon is quite stable so breakage of any such config is unlikely.

  4. dxlr8r commented on Mar 17, 2020

    @dxlr8r
    Author

    On the subject of why the escape key doesn't work.

    At the moment I'm running macOS, and the only place it seems to work is the official emacs.app (GUI), but it doesn't work in any of the three terminals (Alacritty, iTerm, Terminal) I tested.

    This works however:

    (global-set-key (kbd "<f9>") 'boon-set-command-state)
    

    But I'd rather do this, which doesn't work:

    (custom-set-variables
     '(boon-quit-key [f9])
     '(boon-mode t))
    

    Also seems like boon-mode t doesn't work, with emacs.app, which I'm able to go into CMD mode again with escape, pressing escape again doesn't jump back into CMD mode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions