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

Allow people to selectively remove stock sequences #484

Open
jmcwilliams403 opened this issue Sep 29, 2022 · 1 comment
Open

Allow people to selectively remove stock sequences #484

jmcwilliams403 opened this issue Sep 29, 2022 · 1 comment

Comments

@jmcwilliams403
Copy link

There may be a way to reduce the amount of clashing between custom sequences and stock sequences without needing to have the original file onhand:

A useful feature may be the ability to overwrite previously defined sequences with ones with an output of either an empty string "" or VoidSymbol (an xorg keysym representing "") to remove the original sequence definition from the list, as opposed to its normal behavior of having a new sequence with a literal output of "".

example:

<Multi_key> <1> <slash>     : "⅟" U215F      # FRACTION NUMERATOR ONE
<Multi_key> <1> <slash>     : ""  VoidSymbol # Overwriting to nothing to remove original sequence definition
<Multi_key> <1> <slash> <2> : "½" onehalf    # VULGAR FRACTION ONE HALF

Which would ultimately allow the sequence <Multi_key> <1> <slash> <2> : "½" to work

@dkeenan7
Copy link

It shouldn't be necessary to explicitly remove an existing sequence. The mere fact of defining a new sequence that extends an old sequence, should be enough to cause that old sequence to be deactivated (or possibly extended with a <space>). See my comment to #479.

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