Skip to content

add meow-keypad-capital-letter-add-ctrl #723

Open
ab9986 wants to merge 2 commits intomeow-edit:masterfrom
ab9986:master
Open

add meow-keypad-capital-letter-add-ctrl #723
ab9986 wants to merge 2 commits intomeow-edit:masterfrom
ab9986:master

Conversation

@ab9986
Copy link
Copy Markdown

@ab9986 ab9986 commented Feb 14, 2025

whether to enter a capital letter, add ctrol in front of it and change
the capital letter to lowercase.input uppercase letter add ctrol
before.
For example use SPC x F' to execute C-x C-f' .

letter, add ctrol in front of it and change
  the capital letter to lowercase.input uppercase letter add ctrol
before.
  For example use `SPC x F' to execute `C-x C-f' .
Comment thread meow-keypad.el
(map-keymap
(lambda (key def)
(when (member 'control (event-modifiers key))
(when (if meow-keypad-capital-letter-add-ctrl t (member 'control (event-modifiers key)))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(or meow-keypad-capital-letter-add-ctrl 
    (member 'control (event-modifiers key))

Comment thread meow-keypad.el
(map-keymap
(lambda (key def)
(when (and (not (member 'control (event-modifiers key)))
(when (and (if meow-keypad-capital-letter-add-ctrl t (not (member 'control (event-modifiers key))))
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(or meow-keypad-capital-letter-add-ctrl 
    (not (member 'control (event-modifiers key)))

Comment thread meow-keypad.el
(map-keymap
(lambda (key def)
(unless (member 'control (event-modifiers key))
(unless (if meow-keypad-capital-letter-add-ctrl nil (member 'control (event-modifiers key)))
Copy link
Copy Markdown

@ventruvian ventruvian Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(if (or meow-keypad-capital-letter-add-ctrl 
        (not (member 'control (event-modifiers key))))
...)

@ventruvian
Copy link
Copy Markdown

ventruvian commented Nov 21, 2025

Wouldn't the feature you propose reduce SPC x F to mean the same as SPC x f?

If anything I think SPC x F should rather be translated to C-x C-F (C-x C-S-f)? Otherwise it just adds redundancy at the price of loosing access to a whole set of keybindings.

I didn't know github shows code-comments here so prominently. I didn't actually "review" this, nor am I a contributor, just wanted to make you aware of some trivial simplifications

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants