Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Command abbreviation support #414

Open
shader opened this issue Sep 27, 2023 · 1 comment
Open

Command abbreviation support #414

shader opened this issue Sep 27, 2023 · 1 comment

Comments

@shader
Copy link

shader commented Sep 27, 2023

In other IRC clients, I'm used to using shorthand like /j to join a channel, etc., but circe doesn't seem to support it.

Is that something others would like to have? I could try working on it...

Or is it something that you have specifically decided shouldn't be done for some reason?

@wasamasa
Copy link
Collaborator

I cannot speak for @jorgenschaefer (the original author of this project), but personally I've never needed this. Given that this has never come up (unlike the /list thing), I kinda doubt there is a need either.

The beauty of Circe commands being just Emacs commands following the circe-command-NAME scheme is that you can easily create aliases:

(defalias 'circe-command-J 'circe-command-JOIN)

Honestly, unless there are actual issues with this (such as overriding a hypothetical one-letter command, introducing some complicated macro syntax or trampling on already established aliases), I don't really see a problem with contributing that.

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

No branches or pull requests

2 participants