Adam Spiers

Results 1046 comments of Adam Spiers

@johnx25bd had an idea for an alternative approach but I can't remember what it was 🙈

OK thanks, so you're referring to [ERC-3770](https://eips.ethereum.org/EIPS/eip-3770) prefixes as seen in dApps like app.safe.global. (BTW [the corresponding thread on ethereum-magicians.org](https://ethereum-magicians.org/t/chain-specific-addresses/6449) is very enlightening, and helps explain how this prefix differs...

Ah, I guess we could have "paste at previously focused location" as an option.

@0xmichalis I'm hoping Sonnet can write this for us 😜

Actually, [as noted here](https://github.com/joaotavora/yasnippet/issues/1169#issuecomment-1877067243), I suspect the problem is not so much that it's being set via `setq-local`, but instead that after the file is loaded, `major-mode-remap-alist` somehow reverts to...

In https://github.com/joaotavora/yasnippet/issues/1169#issuecomment-1877387431, @monnier has advised that resetting local variables is expected behaviour for activation of any major mode.

See https://github.com/joaotavora/yasnippet/issues/1169#issuecomment-1877713541 for a recommended way forward here using `derived-mode-add-parents`.

Ah, you mean it works ok on normal web pages?