lispy icon indicating copy to clipboard operation
lispy copied to clipboard

lispy unexpectedly expands shorthands in elisp

Open RuijieYu opened this issue 2 years ago • 1 comments
trafficstars

Should probably let-bind read-symbol-shorthands to nil when calling read.

RuijieYu avatar Apr 30 '23 01:04 RuijieYu

I guess I never explained the context.

When I try to format this code:

( kabb-foo )

where the variable read-symbol-shorthands is set buffer-locally as (("kabb" . "kill-all-buffers-below")), lispy would expand the kabb prefix into kill-all-buffers-below, invalidating the whole purpose of setting this variable buffer-locally in the first place.

RuijieYu avatar Apr 30 '23 04:04 RuijieYu