Steven Allen <[email protected]> writes:

> This patch applies the syntax table from each source-block's
> major-mode to the source-block itself. This makes it easier to work
> with source blocks without editing them in a new buffer:
>
> - s-expression and symbol navigation/selection work as
>    expected.
> - "<" is not treated as a parentheses within source blocks unless
>    appropriate for the source block's mode, etc.
> - "C-h f" suggests the correct function at point, even when quoted.
>
> From my testing, this seems to work as expected but I'm happy to put
> this behind a config variable if there are concerns about it changing
> default behavior. 

You are not the first who tried this approach.
Just try make test and see that this seemingly innocent patch breaks
Org.

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to