Skip to content

Unable to exclude editorconfig from org-mode in emacs 30.1 on debian 13.1 "trixie" #377

@steinarb

Description

@steinarb

Platform: debian 13.1 "trixie", amd64
Editorconfig version: melpa 20250809.139
Emacs version: GNU Emacs 30.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.49, cairo version 1.18.4) of 2025-07-18, modified by Debian

I have a conflict with editorconfig and org-mode so I am trying to exclude editorconfig from .org files and have the following config in my .emacs:

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

But the setting doesn't seem to have any effect in editorconfig 20250809.139. I get a problem when pressing TAB to toggle visibility of hidden views in org-mode.

I see that back in august 13 2024 editorconfig-exclude-regexps worked for excluding jar files but in the current version it does not work for excluding .org files.

A datapoint is that it just seems to be a problem in my README org files, such as e.g.
https://github.com/steinarb/frontend-karaf-demo/blob/master/README.org

Maybe it has something to with the uppercase "README"...? (just guessing here)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions