emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [BUG] Source block indentation does not work properly for yaml-mode


From: Sébastien Miquel
Subject: Re: [BUG] Source block indentation does not work properly for yaml-mode [9.6.6 ( @ /home/user/.emacs.d/elpa/org-9.6.6/)]
Date: Tue, 27 Jun 2023 08:54:49 +0000


Ihor Radchenko writes:
This is not a problem. We can just apply appropriate 'display property
in `org-src-font-lock-fontify-block', manually replacing the tab with
appropriate number of spaces (as in the origin buffer).

Ok, that works, thanks.

Here are two patches, the first that removes the special case logic
for LaTeX fragments, and the second that implements what you suggest,
and applies on top of the first one. Does that look ok to you ?

NB: Calling newline-and-indent from the middle of a line is currently
broken, but that has nothing to do with this change.

--
Sébastien Miquel

Attachment: 0001-org-src-contents-for-write-back-simplify-the-case-of.patch
Description: Text Data

Attachment: 0001-org-src.el-Use-native-value-of-indent-tabs-mode-for-.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]