el-patch icon indicating copy to clipboard operation
el-patch copied to clipboard

Enhancement: add ability to patch variables defined in C code

Open hab25 opened this issue 2 years ago • 2 comments

Use case:

I want to customize the global value of mode-line-format while being made aware if the default value changes because that might bring improvements I can use in my customized value, or it may catch an error if the "type" of the variable changes.

hab25 avatar Dec 17 '23 16:12 hab25

Note that mode-line-format has a standard-value symbol property that can be looked at with custom--standard-value. Perhaps this can be used by such an enhancement (however, then the enhancement would be restricted to variables with the standard-value symbol property).

hab25 avatar Dec 17 '23 16:12 hab25

It would be a bit awkward, but I suppose there is no reason we could not do this with a small amount of extra effort, and I do see why it would be useful. Thanks for the suggestion.

raxod502 avatar Dec 22 '23 03:12 raxod502