Select text as string between LEFT DOUBLE QUOTATION MARK and RIGHT DOUBLE QUOTATION MARK
I'm using gptel in Emacs and some llm models return their output as sentences, wrapped with left (“) and right (”) double quotation mark. And meow-inner-of-thing can't select these sentences as string or sentence. Is there a way to add these marks as string identifiers? I'm using GNU Emacs 31.0.50 (built from master)
See the docstring of meow-thing-register. PAIRED-EXPR is suitable for this case. To add this case to string, consider advising/redefining the functions meow--bounds-of-string. Can't recommend this though, because the string meow thing is just the same as the emacs string thing you get with say, bounds-of-thing-at-point.
Instead, I'd try to modify the syntax table for your mode with modify-syntax-entry to set your double quote marks to string quotes. If it works well, it might be worth upstreaming it to gptel. Try:
(modify-syntax-entry ?\“ "\"")
(modify-syntax-entry ?\” "\"")