cycle-themes.el icon indicating copy to clipboard operation
cycle-themes.el copied to clipboard

C-c C-t goes against key binding conventions

Open patrickeganfoley opened this issue 6 years ago • 3 comments

Hi @toroidal-code ! Thanks for writing this - it's a terrific package!

I had some difficulty with a conflict between cycle-themes and org-todo both wanting to control C-c C-t. It's solvable by editing the cycle_themes.el directly, but I think the C-c C-t binding goes against the key binding conventions.

It says

Sequences consisting of C-c followed by a control character or a digit are reserved for major modes.

and

Sequences consisting of C-c followed by any other ASCII punctuation or symbol character are allocated for minor modes. Using them in a major mode is not absolutely prohibited, but if you do that, the major mode binding may be shadowed from time to time by minor modes.

Could we consider changing the default cycle-themes binding? C-c . would work.

Thanks!

patrickeganfoley avatar Mar 16 '18 19:03 patrickeganfoley

I'd also chime in and agree with this. It globally overrides the binding for (org-todo) as one example, which is a common command for org-mode users.

An easy compromise might be to make cycle-themes-mode-map an actual variable, so users can override the theme cycling command to their preference.

waymondo avatar Jan 04 '19 15:01 waymondo

Do I see it correct that it is fixed and commited? Then this can be closed?

buhtz avatar Nov 08 '21 19:11 buhtz

@Codeberg-AsGithubAlternative-buhtz it's fixed in https://github.com/toroidal-code/cycle-themes.el/pull/8, not sure why I didn't make a PR back in February 2020.

runejuhl avatar Nov 09 '21 13:11 runejuhl