Matus Goljer
Matus Goljer
It's because SP tries to reindent the region but bibtex's indentation is wonky... There's a patch for this waiting to be merged so you can disable this for bibtex then.
There are two settings `sp-no-reindent-after-kill-modes` and `sp-no-reindent-after-kill-indent-line-functions` that you can use to customize this. I thought we already fixed this for haskell out of the box, but it seems we...
It doesn't but it probably should or we should have a setting for that. I have a plan to add a lot more "actions" (i.e. "feature switches) to the interactive...
@ajrouvoet Yea I was just thinking about monkeypatching. There is `sp--indent-region` you could probably advice to do nothing when in haskell mode.
This is implemented in `sp-show--pair-function`. It also has more problems like highlightning also the skipped matches, it needs to be fixed in similar way `sp-get-thing` was (using the `sp--valid-initial-delimiter-p` macro)....
It would also be an option to split the show functionality into a separate package or just deprecate it in favour of the built-in thing, provided it could handle user-registered...
It should work like you describe, so I take it there's some bug in the highlight code. We'll look into it.
This issue, as well as #676 is caused by the fact that the `'` in matlab has punctuation class instead of a string quote class. This makes things all sorts...
I tried to evaluate `(modify-syntax-entry ?' "\"")` in `matlab-mode` buffer and things seem to work. You might try that as you probably use it more extensivly. If nothing odd happens...
note to self: maybe there is some syntax flag for string braces?