>>>>> Ihor Radchenko <yanta...@posteo.net>:
> This is not the first time we are getting editorconfig clashing with Org
> settings.
> May you try the attached patch?
> It should override editorconfig settings.

I did a fresh clone of org-mode, built with "make autoloads", and added
the following to .emacs:

(let ((git-org-dir (expand-file-name "~/git/org-mode")))
  (when (file-directory-p git-org-dir)
    (add-to-list 'load-path (concat git-org-dir "/lisp"))))

I started a fresh emacs on the offending org-mode file and I still had
the problem.

I applied the patch, rebuilt org-mode with "make autoloads" and started
a fresh emacs on the file, and still had the problem.  I.e. the patch
didn't make a difference.

I have also tried to exclude org mode files from editorconfig by adding
".org" to editorconfig-exclude-regexps, but that didn't help, either:

(when (locate-library "editorconfig")
  (editorconfig-mode 1)
  (setq editorconfig-exclude-regexps '("\\.jar$" "\\.org$")))


Reply via email to